Re: [NTG-context] How to customize the default verbatim colors

2005-08-29 Thread Hans Hagen Outside
Taco Hoekwater wrote: %% allows XML tag names to continue after colons (namespaces) \input verb-xml % TRICK \appended\gdef\XMLsetspecials{\setpretty`\:=10 } thanks, patched Hans -

Re: [NTG-context] How to customize the default verbatim colors

2005-08-27 Thread Taco Hoekwater
Eugene Toporov wrote: Thanks a lot, Taco! I knew there should be a good way! Maybe it would be useful to add it to http://contextgarden.net/Verbatim_text ? Be my guest ;-) I also noticed that XML verbatim does not correctly handle tags with namespace. In the xml like ns:tag

Re: [NTG-context] How to customize the default verbatim colors

2005-08-26 Thread Eugene Toporov
Thanks a lot, Taco! I knew there should be a good way! Maybe it would be useful to add it to http://contextgarden.net/Verbatim_text ? I also noticed that XML verbatim does not correctly handle tags with namespace. In the xml like ns:tag attribute=somevalue the ns gets colored with tag-color, the

Re: [NTG-context] How to customize the default verbatim colors

2005-08-25 Thread Taco Hoekwater
Hi! Eugene Toporov wrote: I expect there is a way to redefine whole palette or something. Yes, sure (you need to define an XXXcolorpretty palet for each type you want to change): \definecolor[MYcolorone] [r=.8,g=.5,b=.5] \definecolor[MYcolortwo] [r=.8,g=.5,b=.2]

[NTG-context] How to customize the default verbatim colors

2005-08-24 Thread Eugene Toporov
Hi all! I recently started using Verbatim Macroses to make source code pieces look prettier in my docs. I use things like \setuptyping[JV] and then \startJV - \stopJV But I'd like to change the default colors in the macroses to my own. I only found that redefining some colors like this