ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Q: \starttyping with color -> only output on first page is colored
Date: Sat, 12 Oct 2002 18:35:46 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20021012183215.03cca3a8@remote-1> (raw)
In-Reply-To: <BFF66BA0-DA19-11D6-A908-0003939E5310@web.de>

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)

>Also the coloring works only for \starttyping and \typefile but not for \type.

\setuptype[color=green]

actually, you can do things like:

\definetype [blabla] \setyptype[blabla][color=red] \blabla{this should be 
red} indeed

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

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


  reply	other threads:[~2002-10-12 16:35 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 [this message]
2002-10-13 10:42   ` Markus Boeing
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=5.1.0.14.1.20021012183215.03cca3a8@remote-1 \
    --to=pragma@wxs.nl \
    --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).