emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Expansion of macros conditional on export type


From: Giacomo M
Subject: [O] Expansion of macros conditional on export type
Date: Fri, 27 May 2016 12:03:15 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

Dear all,

I'm working on a paper where some co-authors use word and some (myself included) latex. Org seems the perfect way to mantain a central version. How do I deal with constructs that should be exported in different ways, e.g. \textdegree{} in latex vs corresponding symbol in odt, or \ce{CO2} vs CO_2? For citations I'm using org-add-link-type as found in reddit, but it looks cumbersome to create specific alternatives via links each time. Another issue seems to declare institutes along with authors in latex vs odt in the title section.

I know one way would be to use @@latex: ... @@ w/ ascii counterpart each time, but I would rather envision a single macro, which then gets defined in different way depending on the export, in order to reduce redundancy.

Any ideas on where I can find related best practices?

Thanks,

Giacomo M


reply via email to

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