From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode@gnu.org
Subject: Re: Exporting LaTeX
Date: Thu, 21 Aug 2008 01:35:15 -0500 [thread overview]
Message-ID: <20080821063515.GG7647@thinkpad.adamsinfoserv.com> (raw)
In-Reply-To: <BLU103-W28CD2038B7E2465FC81756E56B0@phx.gbl>
On Thu, Aug 21, 2008 at 05:17:07AM +0000, Charles Howard wrote:
>
> I am trying to implement a variation on what Russell Adams describes in
>
I've heard of that guy! He's nothing but trouble!
> http://lists.gnu.org/archive/html/emacs-orgmode/2008-08/msg00044.html
>
> on starting emacs. The only way I could get C^c C^e l to write my preamble commands to file.tex
> was by inserting my block of code
>
>
> directly into /usr/local/share/emacs/site-lisp/org-export-latex.el
>
> Although this works for me, I'd still like to understand why the corresponding code into ~/.emacs did not work.
> Can someone tell me why this was so?
>
> I'm using Orgmode 6.06b and emacs 22.1.1 on Ubuntu 7.10.
>
> Many thanks, Chas
Did you have the setq and cons around it? That appends the custom
values to the existing variable.
(setq org-export-latex-classes (cons '("aisarticle"
"% BEGIN latex
% END latex
"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
org-export-latex-classes))
Glad to see my experiments are coming in handy!
------------------------------------------------------------------
Russell Adams RLAdams@AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
next prev parent reply other threads:[~2008-08-21 6:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 5:17 Exporting LaTeX Charles Howard
2008-08-21 6:35 ` Russell Adams [this message]
2008-08-22 10:24 ` Charles Howard
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=20080821063515.GG7647@thinkpad.adamsinfoserv.com \
--to=rladams@adamsinfoserv.com \
--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).