From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Howard Subject: RE: Exporting LaTeX Date: Fri, 22 Aug 2008 10:24:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWToz-0005kf-2f for emacs-orgmode@gnu.org; Fri, 22 Aug 2008 06:24:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWTow-0005hz-QS for emacs-orgmode@gnu.org; Fri, 22 Aug 2008 06:24:44 -0400 Received: from [199.232.76.173] (port=59333 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWTow-0005hP-DI for emacs-orgmode@gnu.org; Fri, 22 Aug 2008 06:24:42 -0400 Received: from blu0-omc1-s23.blu0.hotmail.com ([65.55.116.34]:14388) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWTow-00069r-Ab for emacs-orgmode@gnu.org; Fri, 22 Aug 2008 06:24:42 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This problem seems to have been caused by a badly written .emacs file and b= y having the lisp files in two dirs.=20 My thanks for the individual replies ! Chas ---------------------------------------- > From: incubando@hotmail.co.uk > To: emacs-orgmode@gnu.org > Date: Thu=2C 21 Aug 2008 05:17:07 +0000 > Subject: [Orgmode] Exporting LaTeX >=20 >=20 > I am trying to implement a variation on what Russell Adams describes in >=20 > http://lists.gnu.org/archive/html/emacs-orgmode/2008-08/msg00044.html=20 >=20 > but I get the message=20 >=20 >>>> >=20 > An error has occurred while loading `/home/ogham/.emacs': >=20 > Symbol's value as variable is void: org-export-latex-classes >=20 > <<< >=20 > on starting emacs. The only way I could get C^c C^e l to write my preambl= e commands to file.tex > was by inserting my block of code >=20 >>>> > ("myarticle" > "\\documentclass[11pt]{article} > \\usepackage[utf8]{inputenc} > \\usepackage[T1]{fontenc} > \\usepackage{hyperref} > \\setlength{\\textwidth}{16cm} > \\setlength{\\textheight}{23cm} > \\setlength{\\voffset}{-1cm} > \\setlength{\\hoffset}{-1.5cm} > \\setlength{\\parindent}{0cm} > \\addtolength{\\parskip}{2mm} > \\usepackage{titlesec} > \\titleformat{\\section}[block]{\\bfseries}{\\S\\=2C\\thesection\\enspace= }{.5em}{} > \\titleformat{\\subsection}[block]{\\mdseries}{\\thesubsection\\enspace}{= .3em}{} > \\titleformat{\\subsubsection}[block]{\\mdseries}{{\\footnotesize\\thesub= subsection\\enspace}}{.1em}{\\footnotesize}" > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > ("\\paragraph{%s}" . "\\paragraph*{%s}") > ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) > =20 > <<< >=20 > directly into /usr/local/share/emacs/site-lisp/org-export-latex.el=20 >=20 > Although this works for me=2C I'd still like to understand why the corres= ponding code into ~/.emacs did not work.=20 > Can someone tell me why this was so? >=20 > I'm using Orgmode 6.06b and emacs 22.1.1 on Ubuntu 7.10.=20 >=20 > Many thanks=2C Chas > _________________________________________________________________ > Win a voice over part with Kung Fu Panda & Live Search and 100=92s of= Kung Fu Panda prizes to win with Live Search > http://clk.atdmt.com/UKM/go/107571439/direct/01/ >=20 > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode _________________________________________________________________ Win New York holidays with Kellogg=92s & Live Search=20 http://clk.atdmt.com/UKM/go/107571440/direct/01/=