Igor Schein on Mon, 21 Apr 2003 17:31:55 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: \o3 glitch


On Mon, Apr 21, 2003 at 11:06:08PM +0200, Karim BELABAS wrote:
> On Mon, 21 Apr 2003, Igor Schein wrote:
> > On Mon, Apr 21, 2003 at 06:10:31PM +0200, Bill Allombert wrote:
> >> On Mon, Apr 21, 2003 at 02:51:53AM -0400, Igor Schein wrote:
> >>> Hi,
> >>>
> >>> ? \o3
> >>>    output = 3 (external prettyprint)
> >>> ? 1/x
> >>> Got finishing event `' in the outermost block, rest= at /home/ingvar/local/pari/bin/tex2mail line 431, <> chunk 3.
> >>
> >> I cannot reproduce it. Could you give more background ?
> >> Which perl version do you have ?
> >
> >           GP/PARI CALCULATOR Version 2.2.6 (development CHANGES-1.741)
> >             i686 running linux (ix86/GMP-4.1 kernel) 32-bit version
> >        compiled: Apr 20 2003, gcc-3.2 20020903 (Red Hat Linux 8.0 3.2-7)
> >                 (readline v4.3 enabled, extended help available)
> >
> > This is perl, v5.8.0 built for i386-linux-thread-multi
> 
> Can you add a 'print' somewhere to see exactly what tex2mail is being fed ?
> 
> For instance, line 862
> 
>   print "BEGIN|$par|END\n";
> 
> I get
> 
>   ? \o3
>    output = 3 (external prettyprint)
>   ? 1/x
>   BEGIN|\%1 = {{1}\over{x}}
> 
>   |END
>        1
>   %1 = -
>        x
> 

I get:

? \o3
   output = 3 (external prettyprint)
? 1/x
BEGIN|{{1}\over{x}}

|END
Got finishing event `' in the outermost block, rest= at ./tex2mail line 431, <> chunk 3.
? 

> Double check:
> 
>   (23:03) geo-kb% echo '\%1 = {{1}\over{x}}\n' |\
>                     tex2mail -TeX -noindent -ragged -by_par
>   BEGIN|\%1 = {{1}\over{x}}
> 
>   |END
>        1
>   %1 = -
>        x

This works the same way for me.

Thanks

Igor