From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Latex export & Prosper Presentation Date: Tue, 14 Oct 2008 20:46:17 +0200 Message-ID: <18703BF3-E9F4-49DE-B893-D81DCD4918DF@uva.nl> References: <20080926163357.GS11943@thinkpad.adamsinfoserv.com> <48E6FDAD.7070107@gmail.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/mixed; boundary="===============1896890389==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpoub-0008S0-EC for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 14:46:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpouZ-0008QO-F0 for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 14:46:28 -0400 Received: from [199.232.76.173] (port=55978 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpouZ-0008QF-79 for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 14:46:27 -0400 Received: from nf-out-0910.google.com ([64.233.182.190]:13928) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpouW-00050M-6J for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 14:46:27 -0400 Received: by nf-out-0910.google.com with SMTP id c7so1127847nfi.26 for ; Tue, 14 Oct 2008 11:46:21 -0700 (PDT) In-Reply-To: <48E6FDAD.7070107@gmail.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: "Daniel J. Sinder" Cc: Org Mode List --===============1896890389== Content-Type: multipart/alternative; boundary=Apple-Mail-1-889642168 --Apple-Mail-1-889642168 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Oct 4, 2008, at 7:22 AM, Daniel J. Sinder wrote: > 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? Hi Daniel, I do! This is a good idea, and I have implemented it. The structures are now (class-name header-string (numbered-heading . unnumbered-heading) .......) or (class-name header-string (numbered-open numbered-close unnumbered-open unnumbered-close) .......) Mixtures of the two are also allowed. - Carsten > > > > Dan > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-1-889642168 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Oct 4, 2008, = at 7:22 AM, Daniel J. Sinder wrote:

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=3Dblue]{hyperref}
% END Prosper = Defaults
"
=     ("\\begin{slide}{%s}" . = "\\begin{slide}{%s}"))
=             &n= bsp;           &nbs= p;           org-ex= port-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?




Hi Daniel, I do!

This is = a good idea, and I have implemented it.  The structures = are
now

  (class-name   header-string
     (numbered-heading . = unnumbered-heading)
     = .......)

or

&nb= sp; (class-name
   header-string
   =   (numbered-open numbered-close unnumbered-open = unnumbered-close)
     = .......)

Mixtures of the two are also = allowed.


- = Carsten



Dan


________________________________= _______________
Emacs-orgmode mailing list
Remember: use `Reply = All' to send replies to the list.
Emacs-orgmode@gnu.org
http://= lists.gnu.org/mailman/listinfo/emacs-orgmode
<= br>= --Apple-Mail-1-889642168-- --===============1896890389== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1896890389==--