ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <gundlach@irb.cs.uni-dortmund.de>
Subject: prettyprinting
Date: Thu, 30 Aug 2001 14:28:07 +0200	[thread overview]
Message-ID: <200108301228.OAA13118@sol.cs.uni-dortmund.de> (raw)

Hi,

I have defined (like verb-jv.tex) a new prettyprinting style. 
Everything is fine, except for the / character. 

inst auth+ myauth {  // comment
  target  = /home/users
  subject = /noth/ing
  action = open(), close() 
  }

is an example of the language. I would like to use the / as a 
beginning of a single line comment (//) and for a double line 
comment (/*...*/) but also in the language but with the same 
appearance as the word home and users (second line). But now the 
/ appears as a green / and the other words black. 
These are the specials I have now.

\gdef\PONsetspecials%
  {\PLsetspecials
    \setpretty`\+=62
   \setpretty`\#=32
   \setpretty`\%=41
   \setpretty`\/=43
   \setpretty`\*=44 }

Viele Grüße,

  Patrick Gundlach

- I TeX, therefore I am -


             reply	other threads:[~2001-08-30 12:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-30 12:28 Patrick Gundlach [this message]
2001-08-30 16:40 ` prettyprinting Hans Hagen
2001-08-30 14:32 prettyprinting Patrick Gundlach

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=200108301228.OAA13118@sol.cs.uni-dortmund.de \
    --to=gundlach@irb.cs.uni-dortmund.de \
    /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).