From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15058 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: verbatim problem Date: Tue, 27 Apr 2004 15:29:10 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <408E6026.8040108@boede.nl> References: <20040422185559.9ECCA10B6A@ref.ntg.nl> <200404270753.20710.john@wexfordpress.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1083072682 23325 80.91.224.253 (27 Apr 2004 13:31:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 13:31:22 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Apr 27 15:31:04 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 1BISfw-0004ej-00 for ; Tue, 27 Apr 2004 15:31:04 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C4D4210B15; Tue, 27 Apr 2004 15:27:10 +0200 (MEST) Original-Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by ref.ntg.nl (Postfix) with ESMTP id 1DCE210AB6 for ; Tue, 27 Apr 2004 15:25:23 +0200 (MEST) Original-Received: from boede.nl (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3RDTBEg024613 for ; Tue, 27 Apr 2004 15:29:11 +0200 (CEST) User-Agent: Mozilla Thunderbird 0.6+ (Windows/20040417) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: <200404270753.20710.john@wexfordpress.com> 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:15058 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15058 Hi, may be I do not get it correctly, but there is a command \startlines ... \stoplines. Willi John Culleton wrote: > On Thursday 22 April 2004 08:59 am, Severin Obertüfer 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 > in \obeylines but interpet the lines (font changes etc.) in > the usual way. I did not want space left between lines. > Neither the plain TeX nor the Context solutions fit this > purpose exactly, but plain was closer. So I cobbled up this > code: > \def\startobey{\medskip\setupwhitespace[none]\obeylines} > \def\stopobey{\setupwhitespace[small] \medskip} > > I start the section needing verbatim line endings with > {\startobey > .... and end it with > \stopobey} > > I don't know if the braces are necessary but the TeXBook > seems to imply such. > > My solution tends to ignore blank lines so I have to put a > \medskip instead of a blank line. > > This is a terrible solution but the best I could come up > with in a hurry. No doubt someone will suggest a better > one. > > BTW whre is \startEIFFEL documented? I don't recall seeing > it before.