# [NTG-context] setuptyping

Hans Hagen pragma at wxs.nl
Mon Jan 30 12:27:06 CET 2006

```Taco Hoekwater wrote:
> Hans van der Meer wrote:
>> I get some unexpected results with setuptyping.
>> According to the manual the style-parameter has options normal,
>> bold,  small, etc.
>
> AFAICS, this has not worked in a very very long time, and it may
> even be a bug in the documentation. But it was easy to fix the code,
> so see attached file with a small change to the \setupcommonverbatim
> routine.
it's indeed a bug in the documentation, and maybe a font parameter is
better; the reason is that verbatim is one of the trickiest part of
(any) tex macro package, if only because tex needs to be able to typeset
tex
>
> for HansH: I did not want to call \startattributes, so I invented
> a new macro called '\getstylevalue'.
i'll have a look at it

Hans

-----------------------------------------------------------------