From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Lewis Subject: Re: LaTeX export with documentclass ltugboat Date: Fri, 29 Nov 2013 16:21:46 +1100 Message-ID: <5298246A.5070207@dickson.st> References: <529730D7.6000700@dickson.st> <52973923.6020400@verizon.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l5U0FsFv61hqcfM5N7C2uWVHCP29v0cuT" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmGWh-0007H3-MA for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 00:22:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VmGWd-0002Ju-98 for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 00:22:03 -0500 Received: from ipmail06.adl6.internode.on.net ([2001:44b8:8060:ff02:300:1:6:6]:18962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmGWc-0002Jb-QX for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 00:21:59 -0500 Received: from [10.0.2.240] (unknown [10.0.2.240]) by debian.organictrader.com.au (Postfix) with ESMTPSA id 974EE11A0149 for ; Fri, 29 Nov 2013 16:21:52 +1100 (EST) In-Reply-To: <52973923.6020400@verizon.net> 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: org mode This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --l5U0FsFv61hqcfM5N7C2uWVHCP29v0cuT Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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, >=20 > 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 ltugboa= t? >> >> 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 >> >=20 > I just started LaTeX export recently and referred to that page. >=20 > I added (require 'ox-latex) to my .emacs and the custom classes example= > (as modified for my purposes) worked fine. >=20 > Charlie Millar >=20 > --- > This email is free from viruses and malware because avast! Antivirus > protection is active. > http://www.avast.com >=20 >=20 --=20 Jason Lewis http://emacstragic.net --l5U0FsFv61hqcfM5N7C2uWVHCP29v0cuT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iQIcBAEBCAAGBQJSmCRvAAoJEPpXHsdQXnZOSkMP/1QThNxoC7THBUx00zS0xEHk XTo7T+wwDkLy3N1REoPkfBMfmMcnehoj310UWJxctOT6s1+8r+rXlbXITuQdAe6V h5cEZ1XuAIb04F9rn4sLBmWJuh1gFM8TUtF5iqPJXTez3VgEUEO+vUNdoXv+PM8X aAFJrzlSUCTNHTwBfLlvjFhHEJX6E1mWwzVgSq5B3CiWYdIABzv/rJ514kPqeA4d PvQgem0whi8rDNFScvy9uIVX2+2tiUOSMHw5mPxrZQDR2FTEmeNLS1MkJl5JyQtb k+c/UxKecHnYm0w8OMzz2NQG79Ceq2g2YQB1SXfvESxMW1N6MfUm3hV/NulnYndx plDGadyt5Bi9IuQRSQ2yqDjpYI5PBM/0R8KvUlGDfpLBsE6N1CBQhbKn1V5MLKu5 afj/LO9amEJ0da5uzwzhON/cYOBS6GXl0qF+AyG+meI8sgnQ+2J8SghO7BBapKB3 tFkfjolo3S2pZs2VShdm0YYu1SltaslJtHHecO6sGwpvMg5U53RA1NoflKmMZT2d yPa6vuYlGau2j6KAARoEm0Jfjriq3VFC23mp/AwHhg2iU4Fv446N0UBFiBdfDUUq QtiQ83ESDDsbQHQHLzmYKGC3jMyLrCIP4SCSQ7iO/IBr0A2BZf6nntU+YINI7GVc 3+4lVY3+rGiVSsnO/KKv =OWxp -----END PGP SIGNATURE----- --l5U0FsFv61hqcfM5N7C2uWVHCP29v0cuT--