Taco Hoekwater wrote:
%% allows XML tag names to continue after colons (namespaces)
\input verb-xml % TRICK
\appended\gdef\XMLsetspecials{\setpretty`\:=10 }
thanks, patched
Hans
-
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 the "ns" gets colored
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 the "ns" gets
colored with tag-color, the "tag" with attr-color. I
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]
\definecolor[MYcolo
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
\definec