ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Pb with verb-pas
@ 2008-11-09 10:40 Eric DÉTREZ
  2008-11-10 13:31 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Eric DÉTREZ @ 2008-11-09 10:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello

A funny problem

When I use pascal verbatim I've got a curious feature (?)

Here is a minimal problem

\starttext
\startPAS
   i/ 2;
   nom/ 2;
  ;
\stopPAS
\stoptext

When I typeset it the i desappear.

I only occurs when the / is followed by a space and when the variable  
before / is made from letters (not followed by a space)

It seems it comes from the gestion of comments but I don't understand  
where it comes from.

I could type spaces before / but I need this to type oCaml source code  
and I changed comments (there are (* ..... *)) but I also need to  
refer arrays as t.(i).

Eric DÉTREZ
Lycée Faidherbe Lille
Maths PC* : http://sites.google.com/site/pc1faidherbe/
Info MP-MP* : http://sites.google.com/site/infofaidherbe/





___________________________________________________________________________________
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] 3+ messages in thread

* Re: Pb with verb-pas
  2008-11-09 10:40 Pb with verb-pas Eric DÉTREZ
@ 2008-11-10 13:31 ` Taco Hoekwater
  2008-11-10 19:01   ` Eric DÉTREZ
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2008-11-10 13:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Eric DÉTREZ wrote:
> Hello
> 
> A funny problem
> 
> When I use pascal verbatim I've got a curious feature (?)

bug. Here is the fix:

--- verb-pas.tex.orig	2004-09-05 02:34:26.000000000 +0200
+++ verb-pas.tex       2008-11-10 14:27:19.147979056 +0100
@@ -94,7 +94,8 @@
    {\handlenextnextpretty\doPAStypefourthree\PLtypefourtwo}

  \gdef\doPAStypefourthree#1#2%
-  {\ifinPLcomment
+  {\endPLtypesix
+   \ifinPLcomment
       \let\next=\PLtypefourtwo
     \else
       \ifinPLsingle


( verb-pas.tex is in <texmf>/tex/context/base )

Best wishes,
Taco
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Pb with verb-pas
  2008-11-10 13:31 ` Taco Hoekwater
@ 2008-11-10 19:01   ` Eric DÉTREZ
  0 siblings, 0 replies; 3+ messages in thread
From: Eric DÉTREZ @ 2008-11-10 19:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Le 10 nov. 08 à 14:31, Taco Hoekwater a écrit :

>
>
> Eric DÉTREZ wrote:
>> Hello
>>
>> A funny problem
>>
>> When I use pascal verbatim I've got a curious feature (?)
>
> bug. Here is the fix:
>
> --- verb-pas.tex.orig	2004-09-05 02:34:26.000000000 +0200
> +++ verb-pas.tex       2008-11-10 14:27:19.147979056 +0100
> @@ -94,7 +94,8 @@
>    {\handlenextnextpretty\doPAStypefourthree\PLtypefourtwo}
>
>  \gdef\doPAStypefourthree#1#2%
> -  {\ifinPLcomment
> +  {\endPLtypesix
> +   \ifinPLcomment
>       \let\next=\PLtypefourtwo
>     \else
>       \ifinPLsingle

Waouh
Wonderful !
It works fine.
Thank's, thank's, thank's, thank's, thank's


Eric DÉTREZ
Lycée Faidherbe Lille
Maths PC* : http://sites.google.com/site/pc1faidherbe/
Info MP-MP* : http://sites.google.com/site/infofaidherbe/





___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2008-11-10 19:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-09 10:40 Pb with verb-pas Eric DÉTREZ
2008-11-10 13:31 ` Taco Hoekwater
2008-11-10 19:01   ` Eric DÉTREZ

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