ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Markus Boeing <mboeing@web.de>
Cc: ntg-context@ntg.nl
Subject: Re: Q: \starttyping with color -> only output on first page is colored
Date: Sun, 13 Oct 2002 12:42:27 +0200	[thread overview]
Message-ID: <773B0E75-DE98-11D6-B20A-0003939E5310@web.de> (raw)
In-Reply-To: <5.1.0.14.1.20021012183215.03cca3a8@remote-1>

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
+---


  reply	other threads:[~2002-10-13 10:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 17:25 Markus Boeing
2002-10-12 16:35 ` Hans Hagen
2002-10-13 10:42   ` Markus Boeing [this message]
2002-10-13 18:41     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=773B0E75-DE98-11D6-B20A-0003939E5310@web.de \
    --to=mboeing@web.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).