emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] LaTeX export with documentclass ltugboat


From: Jason Lewis
Subject: Re: [O] LaTeX export with documentclass ltugboat
Date: Fri, 29 Nov 2013 22:59:08 +1100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 29/11/2013 5:53 pm, Thomas S. Dye wrote:
> Jason Lewis <address@hidden> writes:
>
>> (require 'org-latex)
>> (unless (boundp 'org-export-latex-classes)
>> (add-to-list 'org-export-latex-classes
>>              '("ltugboat"
>>                "\\documentclass{ltugboat}"
>>                ("\\section{%s}" . "\\section*{%s}")
>>                ("\\subsection{%s}" . "\\subsection*{%s}")
>>                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>>                ("\\paragraph{%s}" . "\\paragraph*{%s}")
>>                ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
> It looks like you are using < 8.0 functions.
>
> Try something like this:
>
> (require 'ox-latex)
> (add-to-list 'org-latex-classes
>               '("ltugboat"
>                 "\\documentclass{ltugboat}"
>                 ("\\section{%s}" . "\\section*{%s}")
>                 ("\\subsection{%s}" . "\\subsection*{%s}")
>                 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>                 ("\\paragraph{%s}" . "\\paragraph*{%s}")
>                 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> Note: org-latex -> ox-latex
>       org-export-latex-classes -> org-latex-classes
>
> hth,
> Tom
>
Thanks Tom, that works perfectly.

Jason

-- 
Jason Lewis
http://emacstragic.net


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]