* Re: verb-c.tex
[not found] <mailman.1364.1188589233.2346.ntg-context@ntg.nl>
@ 2007-09-06 17:45 ` Wolfgang Werners-Lucchini
2007-09-10 8:35 ` verb-c.tex Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-09-06 17:45 UTC (permalink / raw)
To: ntg-context
Hmm!
I can not find the problem.
Here is a short example, showing the error.
Hope that someone can give me a hint!
\usemodule[verb-c]
\starttext
\startC
"*\0"
\stopC
\stoptext
and the errormessage:
! Extra \else.
\doCtypefiveA ...mment \getpretties {#1}{#2}\else
\ifinCsingle
\getprettydat...
\doCtypefourfour ...pretty \expandafter #2\fi \fi
\fi \fi \fi
<argument> "*\
0"\relax \flushrestofverbatimline
\processverbatimline #1->#1
\dodoverbatimline ...ax \flushrestofverbatimline }
\endverbatimline
\global \...
\presetlastverbatimline ...r \doflushverbatimline
\else \kern
\zeropoint \do...
...
l.16 \stopC
?
___________________________________________________________________________________
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] 7+ messages in thread
* Re: verb-c.tex
2007-09-06 17:45 ` verb-c.tex Wolfgang Werners-Lucchini
@ 2007-09-10 8:35 ` Wolfgang Schuster
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2007-09-10 8:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
2007/9/6, Wolfgang Werners-Lucchini <wwl@musensturm.de>:
> Hmm!
>
> I can not find the problem.
> Here is a short example, showing the error.
> Hope that someone can give me a hint!
>
> \usemodule[verb-c]
> \starttext
> \startC
> "*\0"
> \stopC
> \stoptext
use \definetyping and not \usemodule, the following works.
\definetyping[C][option=C]
\starttext
\startC
"*\0"
\stopC
\stoptext
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] 7+ messages in thread
* verb-c.tex
@ 2007-08-31 16:49 Wolfgang Werners-Lucchini
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-08-31 16:49 UTC (permalink / raw)
To: ntg-context
Hallo!
I forgot to say that I am using a patched version.
See the following discussion:
http://www.ntg.nl/pipermail/ntg-context/2006/020934.html
The 'verb-c.tex' in the distribution does not work with backslashes
at all.
In my example the problem is with the '*\0\0' part of the string.
I hope that someone can help!
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] 7+ messages in thread
* verb-c.tex
@ 2007-08-31 16:35 Wolfgang Werners-Lucchini
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-08-31 16:35 UTC (permalink / raw)
To: ntg-context
Hallo!
'verb-c.tex' stumbles over
#define IMPORTFILTER "Diary (*.dry)\0*.dry\0Address
(*.adr)\0*.adr\0All Files(*.*)\0*.*\0\0"
(one line)
How can this be fixed?
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] 7+ messages in thread
* Re: verb-c.tex
[not found] <mailman.392.1155890252.2039.ntg-context@ntg.nl>
@ 2006-08-18 15:09 ` wwl
0 siblings, 0 replies; 7+ messages in thread
From: wwl @ 2006-08-18 15:09 UTC (permalink / raw)
> can it be that the (here commented)
>
> \beginofpretty[\!!prettyeight]%
> \beginofpretty[\!!prettynine]%
>
> pickup is not needed? i guess that it has no matching stop and since
> colors are grouped ...
Yes, works!
Wolfgang
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: verb-c.tex
2006-08-17 20:26 verb-c.tex wwl
@ 2006-08-17 20:30 ` Nikolai Weibull
0 siblings, 0 replies; 7+ messages in thread
From: Nikolai Weibull @ 2006-08-17 20:30 UTC (permalink / raw)
On 8/17/06, wwl@musensturm.de <wwl@musensturm.de> wrote:
> Hallo!
>
> I have a little problem with the module 'verb-c'.
>
> Backslashes in verbatim text seem to disturb colors.
> ----------------------------------------------------
> \usemodule[verb-c]
> \setupcolors[state=start]
> \setuptyping[C][color=blue,palet=colorpretty,
> numbering=line]
> \starttext
> Davor
> \startC
> #include <stdio.h>
>
> int main()
> {
> printf("Hallo\n");
> }
> \stopC
> Danach
> \stoptext
> ----------------------------------------------------
> Problem:
>
> 'Danach' is blue!
> Last line number has the same color as the
> quotet String "Hallo ConTeXt\n".
>
> Delete the newline char and all is ok!
>
> How can this be fixed?
puts("Hallo");
nikolai
^ permalink raw reply [flat|nested] 7+ messages in thread
* verb-c.tex
@ 2006-08-17 20:26 wwl
2006-08-17 20:30 ` verb-c.tex Nikolai Weibull
0 siblings, 1 reply; 7+ messages in thread
From: wwl @ 2006-08-17 20:26 UTC (permalink / raw)
Hallo!
I have a little problem with the module 'verb-c'.
Backslashes in verbatim text seem to disturb colors.
----------------------------------------------------
\usemodule[verb-c]
\setupcolors[state=start]
\setuptyping[C][color=blue,palet=colorpretty,
numbering=line]
\starttext
Davor
\startC
#include <stdio.h>
int main()
{
printf("Hallo\n");
}
\stopC
Danach
\stoptext
----------------------------------------------------
Problem:
'Danach' is blue!
Last line number has the same color as the
quotet String "Hallo ConTeXt\n".
Delete the newline char and all is ok!
How can this be fixed?
Wolfgang
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-09-10 8:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1364.1188589233.2346.ntg-context@ntg.nl>
2007-09-06 17:45 ` verb-c.tex Wolfgang Werners-Lucchini
2007-09-10 8:35 ` verb-c.tex Wolfgang Schuster
2007-08-31 16:49 verb-c.tex Wolfgang Werners-Lucchini
-- strict thread matches above, loose matches on Subject: below --
2007-08-31 16:35 verb-c.tex Wolfgang Werners-Lucchini
[not found] <mailman.392.1155890252.2039.ntg-context@ntg.nl>
2006-08-18 15:09 ` verb-c.tex wwl
2006-08-17 20:26 verb-c.tex wwl
2006-08-17 20:30 ` verb-c.tex Nikolai Weibull
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).