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