Re: [NTG-context] \translate and PDF bookmarks
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \translate and PDF bookmarks
> 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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \translate and PDF bookmarks
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___