From: Hans Hagen <pragma@wxs.nl>
Subject: Re: alternative setting of comments
Date: Fri, 21 Mar 2003 11:56:35 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20030321114856.031f9bc8@server-1> (raw)
In-Reply-To: <20030321093530.8971@news.comp.lancs.ac.uk>
At 09:35 AM 3/21/2003 +0000, you wrote:
>I was wondering if anyone who works with the verbatim environments has
>tried to set comments in a different style. It would be ideal to be able
>to set comments in \tf text font or some variant. I'm not really
>interested in colors at the moment.
>
>The immediate need is for working with a Pascal-like language, but I've
>been a bit baffled as to how to grab and process XML comments also
>(though I haven't look at that recently).
\starttext
\setuptyping[option=TEX]
\starttyping
test test %%\ N {\sl test}
\stoptyping
\stoptext
So, %%\ triggers some kind of mode (see verb-ini.tex for details and examples)
Another way is:
\setuptyping[option=slanted]
\starttyping
test test <<test>> test
\stoptyping
There is yet another way but i just found out that it has a problem (seems
that i never use it)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
next prev parent reply other threads:[~2003-03-21 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 9:35 Adam Lindsay
2003-03-21 10:56 ` Hans Hagen [this message]
2003-03-21 16:42 ` Adam Lindsay
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=5.1.0.14.1.20030321114856.031f9bc8@server-1 \
--to=pragma@wxs.nl \
--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).