rschroll/slidedex — Issue #11: Import non-SlideDeX presentations
Author: rschroll
Created: 2011-11-29 01:32:17+00:00
State: open

We should make a reasonable attempt at importing existing LaTeX presentations. We will need a set of import rules. I see three possibilities:

1. Have the import rules be Python code that takes a LaTeX file and inserts the SlideDeX comments as appropriate.
2. Have some syntax specifying where to split the LaTeX file into slides.
3. Analyze the templates (#9) to try to find things that look like the slide skeletons.

I'm very tempted by (3), since it means the import rules don't need to be explicitly listed. But it will require some kind of fuzzy reasoning to try to figure out what is a slide.

We don't have to be perfect, but if we're less than 90% accurate, the "automatic" import will be more of a pain than doing it by hand.

We should make a guess about which template to use for import, but inform the user and let them change it before doing anything. Also, we should make a backup of the LaTeX file before we completely screw it up.