* c-code
@ 2008-02-26 11:25 Wolfgang Werners-Lucchini
2008-02-26 13:36 ` c-code Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Werners-Lucchini @ 2008-02-26 11:25 UTC (permalink / raw)
To: ntg-context
Hallo,
some times ago, I tried to use the module 'verb-c'
but something like the following didn't work:
\usemodule[verb-c]
\setupcolors[state=start]
\starttext
\startC
"*\0"
\stopC
\stoptext
Wolfgang Schuster told me, not to use 'verb-c' and to use
for example:
\setupcolors[state=start]
\definetyping[C][option=C]
\starttext
\startC
"*\0"
\stopC
\stoptext
The problematic C-code is typeset ok here, but the colorscheme used,
doesn't fit to C-code rather to TeX-Code.
How can this be changed?
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c-code
2008-02-26 11:25 c-code Wolfgang Werners-Lucchini
@ 2008-02-26 13:36 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2008-02-26 13:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Feb 26, 2008 at 12:25 PM, Wolfgang Werners-Lucchini
<wwl@musensturm.de> wrote:
> Hallo,
>
> some times ago, I tried to use the module 'verb-c'
> but something like the following didn't work:
>
> \usemodule[verb-c]
> \setupcolors[state=start]
> \starttext
> \startC
> "*\0"
> \stopC
> \stoptext
>
> Wolfgang Schuster told me, not to use 'verb-c' and to use
> for example:
>
> \setupcolors[state=start]
> \definetyping[C][option=C]
> \starttext
> \startC
> "*\0"
> \stopC
> \stoptext
>
> The problematic C-code is typeset ok here, but the colorscheme used,
> doesn't fit to C-code rather to TeX-Code.
>
> How can this be changed?
You could try another value for option than C, like
\definetyping[C][coption=JAVA].
You could find a list with more alternatives in core-ver.tex.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-26 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-26 11:25 c-code Wolfgang Werners-Lucchini
2008-02-26 13:36 ` c-code Wolfgang Schuster
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).