ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Q: \starttyping with color -> only output on first page is colored
@ 2002-10-07 17:25 Markus Boeing
  2002-10-12 16:35 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Boeing @ 2002-10-07 17:25 UTC (permalink / 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
+---


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-13 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-07 17:25 Q: \starttyping with color -> only output on first page is colored Markus Boeing
2002-10-12 16:35 ` Hans Hagen
2002-10-13 10:42   ` Markus Boeing
2002-10-13 18:41     ` Hans Hagen

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).