From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel J. Sinder" Subject: Re: Latex export & Prosper Presentation Date: Fri, 03 Oct 2008 22:22:53 -0700 Message-ID: <48E6FDAD.7070107@gmail.com> References: <20080926163357.GS11943@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlzbX-0003Ow-VU for emacs-orgmode@gnu.org; Sat, 04 Oct 2008 01:23:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlzbW-0003Oh-3x for emacs-orgmode@gnu.org; Sat, 04 Oct 2008 01:22:59 -0400 Received: from [199.232.76.173] (port=39071 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlzbV-0003Oe-Q5 for emacs-orgmode@gnu.org; Sat, 04 Oct 2008 01:22:57 -0400 Received: from mailbigip.dreamhost.com ([208.97.132.5]:53532 helo=randymail-a12.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlzbV-0003Z8-Ah for emacs-orgmode@gnu.org; Sat, 04 Oct 2008 01:22:57 -0400 In-Reply-To: <20080926163357.GS11943@thinkpad.adamsinfoserv.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode List 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} > \\usepackage[colorlinks,linkcolor=blue]{hyperref} > % 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 header-string (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