ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Markus Boeing <mboeing@web.de>
Subject: Q: \starttyping with color -> only output on first page is colored
Date: Mon, 7 Oct 2002 19:25:18 +0200	[thread overview]
Message-ID: <BFF66BA0-DA19-11D6-A908-0003939E5310@web.de> (raw)

Hi,

may I ask a basic question regarding the \starttyping environment?

I want to typeset some verbatim text with color=blue. So I defined:

\setuptyping
	[space=off,		% on off
	page=yes,			% yes no
	option=none,		% slanted normal commands color none
	text=yes,			% yes no
	% icommand=,		% command
	% vcommand=,		% command
	% ccommand=,		% command
	% before=,		% command
	% after=,			% command
	margin=no,		% dimension standard yes no
	% evenmargin=, 	% dimension
	% oddmargin=, 	% dimension
	blank=line, 		% dimension small medium big standard halfline line
	escape=/,			% escape character
	indentnext=yes,	% yes no
	style=normal,	% normal bold slanted boldslanted type cap small... 
command
	color=blue,		% name
	palet=colorpretty,
	lines=no]			% yes no hyphenated

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.

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

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.

Thanks,
/Markus.

+---
Markus A. Boeing
mailto://markus@boeing-online.de
http://www.boeing-online.de
+---


             reply	other threads:[~2002-10-07 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 17:25 Markus Boeing [this message]
2002-10-12 16:35 ` Hans Hagen
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=BFF66BA0-DA19-11D6-A908-0003939E5310@web.de \
    --to=mboeing@web.de \
    /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).