emacs-orgmode
[Top][All Lists]

## Re: [Orgmode] Latex export & Prosper Presentation

 From: Daniel J. Sinder Subject: Re: [Orgmode] Latex export & Prosper Presentation Date: Fri, 03 Oct 2008 22:22:53 -0700 User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

Russell Adams wrote:

I've gotten a basic export to Prosper working for a presentation I'm
writing to give this weekend.

Here is the extra portion for .emacs:
(setq org-export-latex-classes (cons '("prosper"
"% BEGIN Prosper Defaults
\\documentclass[pdf, contemporain]{prosper}
\\usepackage[utf8]{inputenc}
\\usepackage[T1]{fontenc}
% END Prosper Defaults

"
("\\begin{slide}{%s}" . "\\begin{slide}{%s}"))
org-export-latex-classes))

Unfortunately it doesn't appear that I can add a closure for the
slide, so a manual "\end{slide}" must go at the end of each.



Thanks for describing this -- it works great!


The \end{slide} issue is a drag though. In fact, I'm now wondering if it's possible to have a backward compatible change to org-export-latex-classes that adds optional 3rd and 4th sectioning strings to close each section so that the structure is:

(class-name
(unnumbered-section numbered-section
[unnumbered-section-close numbered-section-close])
...)


where I've used square braces to indicate optional elements -- sorry I'm not much of a Lisp programmer.


Something like this would provide a lot more flexibility, and would allow one to do all sorts of "fancy" things -- minipages, boxes, maybe pictures constructed from hierarchical elements, etc. You could even do tables without using org tables, say if the elements contain multiple paragraphs, which doesn't work so neatly in org tables.

Does anyone else think this would be useful?

Dan