From: Charles Millar <millarc@verizon.net>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX export with documentclass ltugboat
Date: Fri, 29 Nov 2013 07:41:36 -0500 [thread overview]
Message-ID: <52988B80.1020509@verizon.net> (raw)
In-Reply-To: <5298246A.5070207@dickson.st>
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
prev parent reply other threads:[~2013-11-29 12:42 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
2013-11-29 12:41 ` Charles Millar [this message]
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=52988B80.1020509@verizon.net \
--to=millarc@verizon.net \
--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).