[NTG-context] Interaction and accented letters

Alan BRASLAU alan.braslau at cea.fr
Fri Sep 19 22:20:24 CEST 2008


On Friday 19 September 2008 19:00:42 Flavien Lambert wrote:
> Dear all, is there a way to put accented letters in the interaction command
> ? I tried
> \setupinteraction[state=start,
>   author={Flavien Lambert},
>   title={Optique géométrique},
>   date={Septembre 2008}]
>
> and
>
> \setupinteraction[state=start,
>   author={Flavien Lambert},
>   title={Optique g\'eom\'etrique},
>   date={Septembre 2008}]
>
> but both trials led to strange things in Acrobat Reader and Evince.

\enableregime[utf]
\mainlanguage[fr]
% before \placebookmarks :
\input spec-tst % to prevent turning accented characters
                % into their unaccented counterparts
\placebookmarks[chapter,section,subsection][chapter,section]
\setupinteraction[state=start, % make hyperlinks active, etc.
option=bookmark,
title={Titre accentué},
subtitle={etc...},
author={moi-même},
keyword={français}]

Works with acroread and okular...

The "\input spec-tst" trick is somewhere in the documentation or wiki...




More information about the ntg-context mailing list