Hi Rasmus and Nicolas,
Nicolas Goaziou writes:
> Rasmus 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
Andreas Leha writes:
> Hi,
>
> Nicolas Goaziou writes:
>> Hello,
>>
>> Andreas Leha writes:
>>
>>> So, here is my question: How do I use \texorpdfstring correctly in an
>>> org heading?
>>>
>>>
>>> And here is a minimal example:
>>>
>>> #+latex_header: \usepackage{hyperref}
>>>
>>> * This conta
Rasmus 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)}}}
Re
Hi,
Nicolas Goaziou writes:
> Hello,
>
> Andreas Leha writes:
>
>> So, here is my question: How do I use \texorpdfstring correctly in an
>> org heading?
>>
>>
>> And here is a minimal example:
>>
>> #+latex_header: \usepackage{hyperref}
>>
>> * This contains \texorpdfstring{$\prod_{k=1}^N$}{prod
On Tuesday, 25 Nov 2014 at 01:25, Andreas Leha wrote:
[...]
> (It seems that you sent your reply even earlier than Nicolas --
> unfortunately I only just saw it now appearing on the list)
Yes: I process most of my emails while commuting and offline and my
emails only get sent once I connect agai
Hi Eric,
Eric S Fraga writes:
> On Monday, 24 Nov 2014 at 15:16, Andreas Leha wrote:
>
> [...]
>
>> So, here is my question: How do I use \texorpdfstring correctly in an
>> org heading?
>>
>> #+latex_header: \usepackage{hyperref}
>>
>> * This contains \texorpdfstring{$\prod_{k=1}^N$}{product 1toN
On Monday, 24 Nov 2014 at 15:16, Andreas Leha wrote:
[...]
> So, here is my question: How do I use \texorpdfstring correctly in an
> org heading?
>
> #+latex_header: \usepackage{hyperref}
>
> * This contains \texorpdfstring{$\prod_{k=1}^N$}{product 1toN} math
> For some reason.
Use the @@latex:x
Hi Nicolas,
Nicolas Goaziou writes:
> Hello,
>
> Andreas Leha writes:
>
>> So, here is my question: How do I use \texorpdfstring correctly in an
>> org heading?
>>
>>
>> And here is a minimal example:
>>
>> #+latex_header: \usepackage{hyperref}
>>
>> * This contains \texorpdfstring{$\prod_{k=1}^
Hello,
Andreas Leha writes:
> So, here is my question: How do I use \texorpdfstring correctly in an
> org heading?
>
>
> And here is a minimal example:
>
> #+latex_header: \usepackage{hyperref}
>
> * This contains \texorpdfstring{$\prod_{k=1}^N$}{product 1toN} math
> For some reason.
* This c
Hi all,
Background: I am always loading the hyperref package in my latex
exports. That one complains (warns) about math in headings. ("Token
not allowed in a PDF string")
The proposed solution in LaTeX is to use \texorpdfstring{}{}. I've used
that successfully in the past also from org.
As it
10 matches
Mail list logo