[luatex] behavior of \write in LuaTeX differs from the one of PdfTeX/XeTeX

Hans Hagen pragma at wxs.nl
Wed Mar 25 14:06:25 CET 2015


On 3/25/2015 1:37 PM, jfbu wrote:
> le 25/03/2015 11:12 selon Hans Hagen:
>> On 3/24/2015 7:36 PM, jfbu wrote:
>>
>>> This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014) (preloaded format=xetex 2014.7.10)  24 MAR 2015 19:25
>>>
>>> This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdfetex 2015.1.21)  24 MAR 2015 19:35
>>>
>>> This is LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971)  (format=luatex 2014.7.10)  24 MAR 2015 19:36
>>
>> btw, you should run pdftex/xetex in -8bit mode in order to compare
>
> I didn't know about these options, thanks
>
> regarding:
>
>
>> (btw, in general you cannot expect luatex to behave exactly like pdftex and xetex esp when it comes to file io and logging)
>
> could there be a -7bit option to luatex for matters of \write ?

no, that will not happen .. luatex us 8 bit and utf and if you want 
something else you can use the callbacks and or luatex for implementing 
whatever file thingies you like

> else packages from the pre-scantokens pre-detokenize area which
> rely on external file output+input might be broken in certain
> circumstances (I dont' have anything specific in mind, this is
> pure rhetoric)

adapt the packages to modern times

> and about the \scantokens issue
>
> the tracker
>
> http://tracker.luatex.org/view.php?id=733
>
> displays the topic as open
>
> is there anything in the works ?

not yet (certainly not around the current code freeze for tl 2015)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list