[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to expand macro in LaTeX export? How to use different options pe
From: |
Eric S Fraga |
Subject: |
Re: How to expand macro in LaTeX export? How to use different options per export type? |
Date: |
Wed, 31 Mar 2021 11:03:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Wednesday, 31 Mar 2021 at 12:40, Jean Louis wrote:
> But then the line with \def\version{ {{{version}}} } gets shown in
> HTML export, which is not what I want. How to resolve that?
Can you surround the line with @@latex: ... @@?
You might need to do @@latex:\def\version{@@ {{{version}}} @@latex:}@@
Also, a macro can itself use the @@ directive to provide alternate
versions for LaTeX and HTML, as in
#+macro: blah @@html:some HTML code@@@@latex: some LaTeX code@@
> Another issue related to this setup is that I would like:
I cannot help you with this unfortunately.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-254-g37749c
Re: How to expand macro in LaTeX export? How to use different options per export type?, Greg Minshall, 2021/03/31