From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [export] latex: texorpdfstring in heading
Date: Tue, 25 Nov 2014 16:00:42 +0100 [thread overview]
Message-ID: <873897nx45.fsf@selenimh.mobile.lan> (raw)
In-Reply-To: <87egsr72k9.fsf@gmx.us> (rasmus@gmx.us's message of "Tue, 25 Nov 2014 15:55:02 +0100")
Rasmus <rasmus@gmx.us> writes:
> You could use a macro if it's only for one document, see
> (info "(org) Macro replacement").
E.g, something like
#+MACRO: latex-or-not (eval (if (org-export-derived-backend-p org-export-current-backend 'latex) "$1" "$2"))
{{{latex-or-not(latex code,something else)}}}
Regards,
next prev parent reply other threads:[~2014-11-25 15:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 15:16 [export] latex: texorpdfstring in heading Andreas Leha
2014-11-24 16:22 ` Eric S Fraga
2014-11-25 1:25 ` Andreas Leha
2014-11-25 11:16 ` Eric S Fraga
2014-11-24 16:24 ` Nicolas Goaziou
2014-11-24 21:15 ` Andreas Leha
2014-11-25 13:23 ` Andreas Leha
2014-11-25 14:55 ` Rasmus
2014-11-25 15:00 ` Nicolas Goaziou [this message]
2014-11-25 15:07 ` Andreas Leha
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=873897nx45.fsf@selenimh.mobile.lan \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=rasmus@gmx.us \
/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).