GithubHelp home page GithubHelp logo

bgamari / slidedex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rschroll/slidedex

1.0 3.0 0.0 140 KB

Editor for LaTeX presentations

License: BSD 2-Clause "Simplified" License

Python 100.00%

slidedex's Introduction

SlideDeX

SlideDeX is an editor for LaTeX presentations. Using Beamer, Prosper, or even the slides class, it's possible to make beautiful slides for your presentation. As the presentation grows, working with it becomes more difficult. Compilation takes longer as the number of slides increases, slowing the tweak-and-test cycle. It can become harder to find the source corresponding to a specific slide.

SlideDeX attempts to solve these problems by splitting the presentation into its individual slides. Each can be edited and compiled individually, and the source of a given slide is readily available. To do this, SlideDeX relies on the fact that, unlike many types of LaTeX documents, presentations have pages which are largely independent of each other. Thus, the original LaTeX file may be split into a header, a footer, and a set of individual slides. Each slide may be assembled into a document with the header and footer and then compiled quickly. Only when all slides are ready does the entire presentation need to be compiled together.

SlideDeX is currently very much pre-alpha software โ€” use at your own risk! The author finds it usable, but there are many missing features. Although it hasn't caused any data loss for me, I can't promise that you'll be so lucky. Back up your presentations before using SlideDeX!

Requirements

SlideDeX is written in Python 2. It should work with any 2.6 or 2.7 version, though that has not been carefully tested. SlideDeX uses pyGTK and Glade. Linux systems probably have these installed; Mac and Windows people may be in for an adventure. (If you get it working, please let us know how!)

The Poppler library and its Python bindings are used for displaying the slides. The former is probably installed on your Linux system; the latter may not be. In Debian-based systems, install the python-poppler package. Again, good luck to you Mac and Windows users.

Of course, you also need a working TeX installation somewhere on your path.

Installation

The best way to get SlideDeX is by cloning the git repository:

git clone git://github.com/rschroll/slidedex.git

Alternatively, you can download and unpack the tarball.

Currently, SlideDeX has no installation procedure. Instead, run the script from wherever you downloaded it:

/path/to/install/slidedex/bin/slidex <filename>

Usage

Unfortunately, SlideDeX does not currently import existing presentations. You must either create them from an empty presentation or edit an existing presentation to be in the form that SlideDeX expects. Specifically, you need to add a separator :

%%SLIDEEDIT%%

after the header, before the footer, and in between all slides.

Before compiling the presentation, in whole or in part, it must have a filename chosen. SlideDeX will prompt you for the name at an appropriate place. If you do not provide a name, SlideDeX will complain about you in a passive-aggressive manner. Whether this is a bug or a feature has not been decided.

The compilation process is currently hardcoded in the _do_latex method of LatexDocument to be :

latex -halt-on-error <basename>
dvips <basename>
ps2pdf <basename>.ps

If you want to change that, change the first argument of self.executor.add() in that method. Hopefully this will become more configurable soon.

Development

SlideDeX is being developed on GitHub. Check out that site for updated versions. Please report bugs and feature requests to the Github bug tracker.

SlideDeX has been written (thus far) by Robert Schroll ([email protected]). Feel free to get in touch with questions and comments.

slidedex's People

Contributors

rschroll avatar bgamari avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.