From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9512 Path: main.gmane.org!not-for-mail From: Markus Boeing Newsgroups: gmane.comp.tex.context Subject: Re: Q: \starttyping with color -> only output on first page is colored Date: Sun, 13 Oct 2002 12:42:27 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <773B0E75-DE98-11D6-B20A-0003939E5310@web.de> References: <5.1.0.14.1.20021012183215.03cca3a8@remote-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399826 3608 80.91.224.250 (23 Oct 2002 19:03:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:03:46 +0000 (UTC) Cc: ntg-context@ntg.nl Original-Received: from hermes.hrz.uni-giessen.de (hermes.hrz.uni-giessen.de [134.176.2.15]) by osiris.hrz.uni-giessen.de (8.11.6+Sun/8.11.6) with ESMTP id g9DAhfe00676 for ; Sun, 13 Oct 2002 12:43:41 +0200 (MEST) Original-Received: from smail.let.uu.nl by hermes.hrz.uni-giessen.de with ESMTP for Guenter.Partosch@hrz.uni-giessen.de; Sun, 13 Oct 2002 12:43:24 +0200 Original-Received: by smail.let.uu.nl (8.9.3/8.9.3/JEvW) id MAA17729 for ntg-context-list; Sun, 13 Oct 2002 12:42:32 +0200 (MET DST) X-Authentication-Warning: smail.let.uu.nl: majordom set sender to owner-ntg-context@let.uu.nl using -f Original-Received: from ref.ntg.nl (ref.vet.uu.nl [131.211.172.13]) by smail.let.uu.nl (8.9.3/8.9.3/JEvW) with ESMTP id MAA17725 for ; Sun, 13 Oct 2002 12:42:28 +0200 (MET DST) Original-Received: by ref.ntg.nl (Postfix) id 9C01510AD2; Sun, 13 Oct 2002 12:42:28 +0200 (MEST) Original-Received: from smtp.web.de (smtp03.web.de [217.72.192.158]) by ref.ntg.nl (Postfix) with ESMTP id 5A4F810AC2 for ; Sun, 13 Oct 2002 12:42:28 +0200 (MEST) Original-Received: from [64.103.37.2] (helo=mboeing-isdn-home2.cisco.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.75 #2) id 180gCZ-0007Wl-00; Sun, 13 Oct 2002 12:42:27 +0200 Original-To: Hans Hagen In-Reply-To: <5.1.0.14.1.20021012183215.03cca3a8@remote-1> X-Mailer: Apple Mail (2.482) Precedence: bulk Xref: main.gmane.org gmane.comp.tex.context:9512 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9512 Am Samstag den, 12. Oktober 2002, um 18:35, schrieb Hans Hagen: > At 07:25 PM 10/7/2002 +0200, Markus Boeing wrote: > >> Verbatim text fitting on a single page ist colored blue. However, if >> the text spans multiple pages then only verbatim text on the first >> page is colored blue. On the following pages verbatim text is set in >> black. I have no idea where to look for my mistake. Any help would be >> well appreciated. > > This works ok here, do you run a recent version ? (at least sync with > my latest version to be sure) Well, I was afraid this proposal might come up. :) I don't think I am running your latest code. Actually I have no idea what version of code I am running. I just installed the MacOS X distribution of tetex about a year ago. So it is going into the bits and pieces of a TeX installation then? Weeeeeell..guess I am about destroying my TeX in the course of it. :) > >> Also the coloring works only for \starttyping and \typefile but not >> for \type. > > \setuptype[color=green] I was missing that piece. Thanks, works great. >> I do have yet another issue. When I have a \subsection followed >> immediately by a \starttyping then sometimes I end up with the section >> title as the last item on a page. Verbatim text starts on the >> following page. In that case I would like to have the section title on >> the same page as the verbatim text. Again, I have no idea where to >> look for my mistake. > > try to add \page[no] before the starttyping; the break results from the > \blank preceding the typing (which is legal); this is something on my > agenda of 'to be sorted out' I experimented with that without success so far. However, I found that some more strange behavior disappeared when I removed some \setuphead definitions. Looks like my ConTeXt code is full with errors. :( Thanks for your help. /Markus. +--- Markus A. Boeing mailto://markus@boeing-online.de http://www.boeing-online.de +---