From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/550 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Comment, verbatim Date: Wed, 16 Jun 1999 17:39:28 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3767C530.BF8E3A44@wxs.nl> References: <3767A734.D2B749EC@gmx.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391404 25011 80.91.224.250 (23 Oct 2002 16:43:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:43:24 +0000 (UTC) Original-To: Tobias Burnus Xref: main.gmane.org gmane.comp.tex.context:550 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:550 Tobias Burnus wrote: > using \startcomment[title] ... \stopcomment to comment out an part of the script > (which should appear as note), I noticed that the linefeed is obeyed but not the > space when used for indenting. Can this be changed? Hm. Something \obeyspaces. Maybe an option? > I use syntax highlighted verbatim (JV alias Java), but I haven't figured out how > to change the fonts so, that keywords become bold, the rest should be roman > (\tt). > (Ok if I'd manage to get the comment signs and the comments in italic (or > slanted) I would be glad). > Somehow trials with something like \definefont[JVidentifierfont][MonoBold at > \bodyfontsize] or so (borrowed from Berend's verb-sql) end with noting or even > with an error message :-( It's somewhere else, see core-ver: \def\setupcommonverbatim#1% {\def\verbatimfont {\tttf}% \def\prettyidentifierfont {\ttsl}% \def\prettyvariablefont {}% if you change this to: \def\setupcommonverbatim#1% {\def\verbatimfont {\tttf}% \def\prettyidentifierfont {\bf}% \def\prettyvariablefont {\it}% you will succeed. If we can work out proper keys, I will add an option [somestyle=...] normal reserved whatever Now who has ideas on keys? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------