On Sun, 21 May 2006, Hans Hagen wrote:

> 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]  []

Isn't this same as type? In font-ini.tex you have

\definealternativestyle [\v!type]      [\tt]  []

> (i will add the extra definitions to the core)

Can you also add something for \em.


Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to