Hi, Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Andreas Leha <andreas.l...@med.uni-goettingen.de> 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 contains @@latex:\texorpdfstring{$\prod_{k=1}^N$}{product 1toN}@@ > math >
There is now the obvious follow-up question: What do I do if I want to export that same document to other backends as well? I assume I'd have to list each of the others individually as well like: @@latex:foo@@ @@html:bar@@ @@ascii:bar@@ @@odt:bar@@ ? Or is there some functionality @@latex:foo@else@bar@@ or @@non-latex:bar@@? Thanks, Andreas