emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel J. Sinder" <djsinder@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Latex export & Prosper Presentation
Date: Fri, 03 Oct 2008 22:22:53 -0700	[thread overview]
Message-ID: <48E6FDAD.7070107@gmail.com> (raw)
In-Reply-To: <20080926163357.GS11943@thinkpad.adamsinfoserv.com>

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

  reply	other threads:[~2008-10-04  5:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 16:33 Latex export & Prosper Presentation Russell Adams
2008-10-04  5:22 ` Daniel J. Sinder [this message]
2008-10-14 18:46   ` Carsten Dominik
2008-10-04 16:36 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48E6FDAD.7070107@gmail.com \
    --to=djsinder@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).