29 Jan
2015
29 Jan
'15
8:39 p.m.
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