From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15055 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: verbatim problem Date: Tue, 27 Apr 2004 07:53:20 -1000 Organization: Wexford Press Sender: ntg-context-admin@ntg.nl Message-ID: <200404270753.20710.john@wexfordpress.com> References: <20040422185559.9ECCA10B6A@ref.ntg.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1083067158 7601 80.91.224.253 (27 Apr 2004 11:59:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 11:59:18 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Apr 27 13:59:06 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIREw-0006Kd-00 for ; Tue, 27 Apr 2004 13:59:06 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 70C2110B1E; Tue, 27 Apr 2004 13:55:11 +0200 (MEST) Original-Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by ref.ntg.nl (Postfix) with ESMTP id E7AB510B15 for ; Tue, 27 Apr 2004 13:53:18 +0200 (MEST) Original-Received: from md-wmnsmd-cuda2-c3d-74.chvlva.adelphia.net ([67.20.162.74]) by mta10.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040427115701.MTTD8065.mta10.adelphia.net@md-wmnsmd-cuda2-c3d-74.chvlva.adelphia.net>; Tue, 27 Apr 2004 07:57:01 -0400 Original-To: ntg-context@ntg.nl, Severin =?iso-8859-1?q?Obert=FCfer?= User-Agent: KMail/1.5.4 In-Reply-To: <20040422185559.9ECCA10B6A@ref.ntg.nl> Content-Disposition: inline Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15055 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15055 On Thursday 22 April 2004 08:59 am, Severin Obert=FCfer wrote: > hello > > i have a little verbatim problem > > i used the \startEIFFEL \stopEIFFEL verbatim environment > in a verry simple way like this: Similarly I needed to have the program obey line breaks as=20 in \obeylines but interpet the lines (font changes etc.) in=20 the usual way. I did not want space left between lines.=20 Neither the plain TeX nor the Context solutions fit this=20 purpose exactly, but plain was closer. So I cobbled up this=20 code: \def\startobey{\medskip\setupwhitespace[none]\obeylines} \def\stopobey{\setupwhitespace[small] \medskip} I start the section needing verbatim line endings with=20 {\startobey =2E... and end it with \stopobey} I don't know if the braces are necessary but the TeXBook=20 seems to imply such. My solution tends to ignore blank lines so I have to put a=20 \medskip instead of a blank line. This is a terrible solution but the best I could come up=20 with in a hurry. No doubt someone will suggest a better=20 one.=20 BTW whre is \startEIFFEL documented? I don't recall seeing=20 it before. =20 =2D-=20 John Culleton Able Typesetters and Indexers http://wexfordpress.com