ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* colored typing
@ 2000-10-25 17:07 Johannes Hüsing
  2000-10-25 17:44 ` Berend de Boer
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Hüsing @ 2000-10-25 17:07 UTC (permalink / raw)


Dear ConTeXtuals,

I would like to have all code in a different (but the same) color,
i.e. 
\starttyping[gnuplot] 
set logscale y
\stoptyping

should typeset "set logscale" in a line of its own, monospaced,
and darkgreen. \setuptyping does not offer a color switch. Do I
have to create a palet with one color or even set up a pretty printing 
"set" of rules? I must admit that I didn't understand the contents of 
the verb*.tex modules when browsing them -- they seemed quite code 
specific.

Any suggestions?

Thank you very much an groetjes

Johannes


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

* Re: colored typing
  2000-10-25 17:07 colored typing Johannes Hüsing
@ 2000-10-25 17:44 ` Berend de Boer
  2000-10-26 13:07   ` Johannes Hüsing
  2000-10-26 15:13   ` Denis B. Roegel
  0 siblings, 2 replies; 5+ messages in thread
From: Berend de Boer @ 2000-10-25 17:44 UTC (permalink / raw)
  Cc: ntg-context

Johannes Hüsing wrote:

> I would like to have all code in a different (but the same) color,
> i.e.
> \starttyping[gnuplot]
> set logscale y
> \stoptyping

\definetyping
	[gnuplot]

\setuptyping
	[gnuplot]
	[color=blue]

Groetjes,

Berend. (-:


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

* Re: colored typing
  2000-10-25 17:44 ` Berend de Boer
@ 2000-10-26 13:07   ` Johannes Hüsing
  2000-10-26 15:19     ` Denis B. Roegel
  2000-10-26 15:13   ` Denis B. Roegel
  1 sibling, 1 reply; 5+ messages in thread
From: Johannes Hüsing @ 2000-10-26 13:07 UTC (permalink / raw)


On Wed 2000-10-25 (19:44), Berend de Boer wrote:
> Johannes Hüsing wrote:
> 
> > I would like to have all code in a different (but the same) color,
> > i.e.
> > \starttyping[gnuplot]
> > set logscale y
> > \stoptyping
> 
> \definetyping
> 	[gnuplot]
> 
> \setuptyping
> 	[gnuplot]
> 	[color=blue]

I tried this before, and failed. However, it failed me that I have to
type \startgnuplot set logscale y \stopgnuplot instead of \starttyping[gnuplot].

That was the problem on my side. Thanks for reassuring me.

Groetjes

Johannes

> 
> Groetjes,
> 
> Berend. (-:


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

* Re: colored typing
  2000-10-25 17:44 ` Berend de Boer
  2000-10-26 13:07   ` Johannes Hüsing
@ 2000-10-26 15:13   ` Denis B. Roegel
  1 sibling, 0 replies; 5+ messages in thread
From: Denis B. Roegel @ 2000-10-26 15:13 UTC (permalink / raw)
  Cc: johannes.huesing, ntg-context

When I try

\setupcolors[state=start]

\starttext

\definetyping
        [gnuplot]

\setuptyping
        [gnuplot]
        [color=red]

\starttyping[gnuplot] 
set logscale y
\stoptyping

\stoptext

I don't get any color, both with texexec,
texexec --color, and texexec --pdf --color.

Did I forget something?

Thanks,

Denis


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

* Re: colored typing
  2000-10-26 13:07   ` Johannes Hüsing
@ 2000-10-26 15:19     ` Denis B. Roegel
  0 siblings, 0 replies; 5+ messages in thread
From: Denis B. Roegel @ 2000-10-26 15:19 UTC (permalink / raw)
  Cc: Denis B. Roegel

`=?iso-8859-1?Q?Johannes_H=FCsing?=' wrote
>   
>   I tried this before, and failed. However, it failed me that I have to
>   type \startgnuplot set logscale y \stopgnuplot instead of \starttyping[gnuplot].
>   

Thanks, that was also my problem in the message I just sent.
Sorry for not having read your answer.

Denis


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

end of thread, other threads:[~2000-10-26 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-25 17:07 colored typing Johannes Hüsing
2000-10-25 17:44 ` Berend de Boer
2000-10-26 13:07   ` Johannes Hüsing
2000-10-26 15:19     ` Denis B. Roegel
2000-10-26 15:13   ` Denis B. Roegel

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