[dev-context] verb-xml.tex patch

Taco Hoekwater taco at elvenkind.com
Sun Aug 28 10:52:35 CEST 2005


Hi Hans (and others),

First, here is a small patch for verb-xml that fixes
some wrong highlighting within attribute values, for
the equals sign and the semicolon. Spotted by Mojca.


Second, it would be nice if you could extend the
\setuptyping command in such a way that the special
handlers can receive options themselves (see the thread
about namespaces). Something like this would be cool:

   \setuptyping[XML][option=namespaces] % doesn't work

This does not work, because it is an 'unknown' option,
and therefore it is treated as a pretty handler. And an
undefined pretty handler at that, so the highlighting
reverts to TEX style.

In fact,

   \setuptyping[XML][option=JS]

makes \startXML behave like \startJS, which is cute but
somewhat silly ;-)


I know I could easily create a verb-namespaces.tex, but it
would be much nicer to have these really small options
in-lined (also for things like visible spaces etc.). Is
that doable?

Cheers, Taco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: verb-xml.patch
Type: text/x-patch
Size: 884 bytes
Desc: not available
Url : http://www.ntg.nl/mailman/private/dev-context/attachments/20050828/552e5023/verb-xml.bin


More information about the dev-context mailing list