Karim BELABAS on Mon, 21 Apr 2003 23:06:08 +0200 (MEST)


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

Re: \o3 glitch


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

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

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://www.parigp-home.de/  [PARI/GP]