emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] FR: Define Latex macros from export header


From: Carsten Dominik
Subject: Re: [Orgmode] FR: Define Latex macros from export header
Date: Fri, 20 Feb 2009 11:05:03 +0100


On Feb 19, 2009, at 9:02 PM, Russell Adams wrote:

Carsten,

I was thinking of just exporting all key/value pairs in the header with
an org prefix (no - or _ or /, ie: "orgAUTHOR").

OK, try

(setq org-export-latex-import-inbuffer-stuff t)


We don't need to pick any specific ones. The only one that we have to
worry about is properly quoting the OPTIONS line.

I am not sure if there is anything to worry about.
If you want to use the content of that line, yes,
but that seems unlikely.

FYI I love the LATEX_HEADER line, I've done away with the latex
classes entirely in some recent documents. Its not in the manual yet
though.

Thanks, they are now documented, but will reach the manual
on the web only with the next release.

- Carsten



Thanks.

On Thu, Feb 19, 2009 at 08:24:39PM +0100, Carsten Dominik wrote:
Hi Russel,

can you come up with a complete list of macros you'd like
to have defined?  Right now you are leaving the guesswork to me.

- Carsten

On Feb 15, 2009, at 7:59 AM, Russell Adams wrote:

I think this one should be very easy!

For each option in the export template at the head of the file, could
we export them for use in Latex?

For example:
#+AUTHOR:    Russell Adams

becomes

\def\ORG_AUTHOR{Russell Adams}

in the header of the Latex output?

I'm finding myself redefining these macros, especially when I'm using
a custom maketitle.

Thanks.

------------------------------------------------------------------
Russell Adams                            address@hidden

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



------------------------------------------------------------------
Russell Adams                            address@hidden

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]