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 16:21:46 +1100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0

Hi Charles,

Thanks for your suggestion. I've tried it out it doesn't work for me.


I ran this elisp to add the export class

(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}")))

made an org file:

#+LaTeX_CLASS: ltugboat
TEST


but when I export it gives an error:

user-error: Unknown LaTeX class `ltugboat'

Thanks,

Jason



Charles Millar wrote, On 28/11/2013 11:37 PM:
> Jason,
> 
> On 11/28/2013 7:02 AM, Jason Lewis wrote:
>> Hi,
>>
>> How can I export an org file to LaTeX with a document class of ltugboat?
>>
>> I've seen the example linked below but it doesn't appear to work in
>> 8.2.1 and in fact states its for org < 8.0.
>> http://orgmode.org/worg/org-tutorials/org-latex-export.html
>>
>> Is this documented somewhere for versions > 8.0?
>>
>> Any pointers would be appreciated.
>>
>> Thanks,
>>
>> Jason
>>
> 
> I just started LaTeX export recently and referred to that page.
> 
> I added (require 'ox-latex) to my .emacs and the custom classes example
> (as modified for my purposes) worked fine.
> 
> Charlie Millar
> 
> ---
> This email is free from viruses and malware because avast! Antivirus
> protection is active.
> http://www.avast.com
> 
> 


-- 
Jason Lewis
http://emacstragic.net



Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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