From: Jason Lewis <jason@dickson.st>
To: org mode <emacs-orgmode@gnu.org>
Subject: Re: LaTeX export with documentclass ltugboat
Date: Fri, 29 Nov 2013 16:21:46 +1100 [thread overview]
Message-ID: <5298246A.5070207@dickson.st> (raw)
In-Reply-To: <52973923.6020400@verizon.net>
[-- Attachment #1: Type: text/plain, Size: 1705 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 834 bytes --]
next prev parent reply other threads:[~2013-11-29 5:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-28 12:02 LaTeX export with documentclass ltugboat Jason Lewis
2013-11-28 12:32 ` Suvayu Ali
2013-11-28 12:37 ` Charles Millar
2013-11-29 5:21 ` Jason Lewis [this message]
2013-11-29 6:53 ` Thomas S. Dye
2013-11-29 11:59 ` Jason Lewis
2013-11-29 12:41 ` Charles Millar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5298246A.5070207@dickson.st \
--to=jason@dickson.st \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.