nico wrote:
Hello,
Is there a trick so that I can put styles like {\bf ...} or {\tt ...} in the headings without having any weird text in the bookmarks?
Adding \bf or \tt as empty macros to the simplifiedcommands doesn't avoid the curly braces to appear (which is normal). Do I need to use something like \def\textbf#1{\def\textbf#1{\bgroup\bf #1\egroup} to have this working?
\setupinteraction[state=start] \appendtoks \let\groupedcommand\thirdofthreearguments \to \simplifiedcommands % no command for monospaced yet \unprotected \definealternativestyle [\v!mono] [\tt] [] \placebookmarks \starttext \chapter{test \mono{test} \bold{test}} \stoptext (i will add the extra definitions to the core) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------