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.
for HansH: I did not want to call \startattributes, so I invented a new macro called '\getstylevalue'. \def\verbatimfont{\dosetfontattribute{#1}\c!style\normalnoligatures\font}%
so, there is a macro that kind of does what your's does: \dosetfontattribute i'll apply your patch (i need to move the attr code from core-spa to font-att or so) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------