From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/551 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: [Fwd: Comment, verbatim] Date: Wed, 16 Jun 1999 17:58:31 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3767C9A7.55EC9D4C@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------5D0032D68E1D28D9AAFA4B48" X-Trace: main.gmane.org 1035391405 25024 80.91.224.250 (23 Oct 2002 16:43:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:43:25 +0000 (UTC) Original-To: NTG-CONTEXT Xref: main.gmane.org gmane.comp.tex.context:551 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:551 This is a multi-part message in MIME format. --------------5D0032D68E1D28D9AAFA4B48 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit -- ----------------------------------------------------------------- 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 ----------------------------------------------------------------- --------------5D0032D68E1D28D9AAFA4B48 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: Received: from smtp01.wxs.nl ([195.121.6.61]) by po02.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA6DBD for ; Wed, 16 Jun 1999 17:58:46 +0200 Received: from wxs.nl ([195.121.140.108]) by smtp01.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA30BE; Wed, 16 Jun 1999 17:58:45 +0200 Message-ID: <3767C530.BF8E3A44@wxs.nl> Date: Wed, 16 Jun 1999 17:39:28 +0200 From: Hans Hagen X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: Tobias Burnus Subject: Re: Comment, verbatim References: <3767A734.D2B749EC@gmx.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 ----------------------------------------------------------------- --------------5D0032D68E1D28D9AAFA4B48--