Dear list, I have the following sample: \setupinteraction[state=start] \placebookmarks[section][criterium=all] \def\FootnotesHeading{\translate[en=English Notes, es=Notas en español]} \def\mimo{\section{\FootnotesHeading}} \starttext \es\mimo \en\mimo \stoptext Headings except in PDF bookmarks are fine. How can I get titles in PDF bookmarks? Many thanks for your help, Pablo -- http://www.ousia.tk
Am 29.01.2015 um 20:28 schrieb Pablo Rodriguez
: Dear list,
I have the following sample:
\setupinteraction[state=start] \placebookmarks[section][criterium=all] \def\FootnotesHeading{\translate[en=English Notes, es=Notas en español]} \def\mimo{\section{\FootnotesHeading}} \starttext \es\mimo \en\mimo \stoptext
Headings except in PDF bookmarks are fine.
How can I get titles in PDF bookmarks?
You can’t use the \translate command to set different texts for bookmarks because it is unexpandable. What you can do is to use language dependent modes, e.g. \startmode[*en] English notes. \stopmode \startmode[*es] Notas en español. \stopmode Wolfgang
On 01/29/2015 08:39 PM, Wolfgang Schuster wrote:
Am 29.01.2015 um 20:28 schrieb Pablo Rodriguez: [...] How can I get titles in PDF bookmarks?
You can’t use the \translate command to set different texts for bookmarks because it is unexpandable.
What you can do is to use language dependent modes, e.g.
Many thanks for your fast reply, Wolfgang. This was exactly what I needed. Many thanks for your help, Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster