Unicode and simplifiedcommands in bookmarks
![](https://secure.gravatar.com/avatar/5db7cfeccd64ac11ab4db333078e9bed.jpg?s=120&d=mm&r=g)
How do I get both unicode characters and simplifiedcommands in PDF bookmarks? The code below produces an error: ! Improper alphabetic constant. <to be read again> \groupedcommand <argument> \ifnum `\groupedcommand =255 32\else `\groupedcommand \fi \utfdiv #1->\the \numexpr \ifcase \numexpr #1 \relax 0\else (#1-\utf@g )/\utf... \PDFunicodechar ...bers \@EA {\number \utfdiv {#1} }\@EA \lchexnumbers \@EA {... \nodoPDFuni ...ar {\ifnum `#1=255 32\else `#1\fi } \doPDFuni \bookmarktext ...nicodechar {246}ݧroupedcommand {\tt }{}{\unicodechar {229... ... l.18 \enableregime[utf] \mainlanguage[sv] \usetypescript[modern][ec] \setupbodyfont[10pt,rm] \setupinteraction[state=start] \appendtoks \let\groupedcommand\thirdofthreearguments \to \simplifiedcommands \unprotected \definealternativestyle [\v!mono] [\tt] [] \input spec-tst.tex \placebookmarks \starttext \chapter{åäö \mono{åäö} \bold{åäö}} \stoptext -- Daniel Wallin
participants (1)
-
Daniel Wallin