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: Charles Millar
Subject: Re: [O] LaTeX export with documentclass ltugboat
Date: Fri, 29 Nov 2013 07:41:36 -0500
User-agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 11/29/2013 12:21 AM, Jason Lewis wrote:
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




I have read of your success using Tom Dye's suggestion.

I realize that my original reply was not complete, so just to be sure - did you put (require 'ox-letex) before your customized LaTeX class?

Charlie

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com




reply via email to

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