From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: Re: LaTeX export with documentclass ltugboat Date: Fri, 29 Nov 2013 07:41:36 -0500 Message-ID: <52988B80.1020509@verizon.net> References: <529730D7.6000700@dickson.st> <52973923.6020400@verizon.net> <5298246A.5070207@dickson.st> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmNOV-0002xq-KS for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 07:42:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VmNOO-0002Sa-JS for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 07:42:03 -0500 Received: from vms173003pub.verizon.net ([206.46.173.3]:55772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmNOO-0002SS-Em for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 07:41:56 -0500 Received: from [127.0.0.1] ([unknown] [70.209.132.18]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MX0007BEZ9FJB40@vms173003.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 06:41:40 -0600 (CST) In-reply-to: <5298246A.5070207@dickson.st> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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