ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unicode and simplifiedcommands in bookmarks
@ 2006-05-30 12:50 Daniel Wallin
  0 siblings, 0 replies; only message in thread
From: Daniel Wallin @ 2006-05-30 12:50 UTC (permalink / raw)


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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-30 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-30 12:50 Unicode and simplifiedcommands in bookmarks Daniel Wallin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).