emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jason Lewis <jason@dickson.st>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX export with documentclass ltugboat
Date: Fri, 29 Nov 2013 22:59:08 +1100	[thread overview]
Message-ID: <5298818C.7060107@dickson.st> (raw)
In-Reply-To: <m1ob53y9zn.fsf@poto.westell.com>

[-- Attachment #1: Type: text/plain, Size: 1329 bytes --]

On 29/11/2013 5:53 pm, Thomas S. Dye wrote:
> Jason Lewis <jason@dickson.st> 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]

  reply	other threads:[~2013-11-29 11:59 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
2013-11-29  6:53     ` Thomas S. Dye
2013-11-29 11:59       ` Jason Lewis [this message]
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5298818C.7060107@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).