From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Custom XML Pretty Printer
Date: Sun, 16 Jan 2011 17:06:41 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.01.1101161658460.12968@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4D33566B.6010608@nibua-r.org>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 630 bytes --]
On Sun, 16 Jan 2011, Renaud AUBIN wrote:
> Now available on tlcontrib:
> http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4591828845/action=view/id=388
Any particular reasons why the spaces are not part of the syntax
highlighting group? For example just add
\def\RaXmlSnippetComment#1{«#1»}
and observe the output:
«<!--» «T»«h»«a»«t» «i»«s» «a» «t»«e»«s»«t» «-->»
I want to use a different syntax highlighting scheme that provides
background colors and such. For that, it will be much nicer if the output
were
«<!-- That is a test -->»
Is that possible?
Aditya
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2011-01-16 22:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-18 22:39 Renaud AUBIN
2011-01-16 20:34 ` Renaud AUBIN
2011-01-16 22:06 ` Aditya Mahajan [this message]
2011-01-17 19:42 ` Renaud AUBIN
2011-01-18 21:46 ` Renaud AUBIN
2011-01-18 23:11 ` Aditya Mahajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.01.1101161658460.12968@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).