* Latex export & Prosper Presentation
@ 2008-09-26 16:33 Russell Adams
2008-10-04 5:22 ` Daniel J. Sinder
2008-10-04 16:36 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Russell Adams @ 2008-09-26 16:33 UTC (permalink / raw)
To: Org Mode List
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
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.
Attached is the sample presentation, and it compiles after export
with:
latex Backups.tex && dvips Backups.dvi && ps2pdf Backups.ps
The pdflatex command doesn't work with Prosper.
Enjoy!
------------------------------------------------------------------
Russell Adams RLAdams@AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
[-- Attachment #2: Backups.org --]
[-- Type: text/plain, Size: 723 bytes --]
#+LaTeX_CLASS: prosper
#+TITLE: Linux Backups
#+AUTHOR: Russell Adams
#+EMAIL: rladams@adamsinfoserv.com
#+DATE: <2008-09-26 Fri>
#+LANGUAGE: en
#+OPTIONS: H:3 num:t toc:nil \n:t @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:nil skip:nil d:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
* Linux Backup
| a | B | C |
|---+---+---|
| 1 | 2 | 3 |
\end{slide}
* cp
Yadda
- A
- B
- C
\end{slide}
* tar
Yadda
- A
- B
- C
\end{slide}
* Amanda
Yadda
- A
- B
- C
\end{slide}
* rsnapshot
Yadda
- A
- B
- C
\end{slide}
* Duplicity
Yadda
- A
- B
- C
\end{slide}
* BackupPC
Yadda
- A
- B
- C
\end{slide}
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Latex export & Prosper Presentation
2008-09-26 16:33 Latex export & Prosper Presentation Russell Adams
@ 2008-10-04 5:22 ` Daniel J. Sinder
2008-10-14 18:46 ` Carsten Dominik
2008-10-04 16:36 ` Carsten Dominik
1 sibling, 1 reply; 4+ messages in thread
From: Daniel J. Sinder @ 2008-10-04 5:22 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Latex export & Prosper Presentation
2008-09-26 16:33 Latex export & Prosper Presentation Russell Adams
2008-10-04 5:22 ` Daniel J. Sinder
@ 2008-10-04 16:36 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-10-04 16:36 UTC (permalink / raw)
To: Russell Adams; +Cc: Org Mode List
On Sep 26, 2008, at 6:33 PM, 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.
As a hack, until we get around to define a closure: I guess you could
live with a single empty first slide?
Then you can do
("\\end{slide}\n\\begin{slide}{%s}" . "\\end{slide}\n\\begin{slide}
{%s}"))
org-export-latex-classes))
And just put a single \begin{slide} at the beginning and a single
\end{slide} at the end.....
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Latex export & Prosper Presentation
2008-10-04 5:22 ` Daniel J. Sinder
@ 2008-10-14 18:46 ` Carsten Dominik
0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-10-14 18:46 UTC (permalink / raw)
To: Daniel J. Sinder; +Cc: Org Mode List
[-- Attachment #1.1: Type: text/plain, Size: 2323 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 3968 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-14 18:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-26 16:33 Latex export & Prosper Presentation Russell Adams
2008-10-04 5:22 ` Daniel J. Sinder
2008-10-14 18:46 ` Carsten Dominik
2008-10-04 16:36 ` Carsten Dominik
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).