[luatex] Luatex primitive names

Hans Hagen pragma at wxs.nl
Tue Mar 10 14:18:18 CET 2009


Ulrike Fischer wrote:
> Am Tue, 10 Mar 2009 11:09:14 +0100 schrieb Hans Hagen:
> 
>>>>> Btw, extra care should be taken while writing code that should be portable:
>>>>> - across different version of LuaTeX
>>>>> - across different TeX engines.
>>>> For that, I assume it would be better if luatex exposed \luatexversion
>>>> by default also? Fine by me, just make up your collective mind and let
>>>> me know if that makes more sense.
>>> I think that \luatexversion should be enabled by default. 
>  
>> for a short while we considered it but it contradicts the fact that we 
>> want to start up as tex82 and settled on only \directlua
> 
> Yes, enabling \luatexversion is not so clean and consistent. But I
> like the idea to have a simple and reliable command to identify the
> engine. This would avoid problems like the one we got with faulty
> \pdfoutput-tests. 

\directlua will always be there as it is needed to enable the primitives 
  so it is a save test


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


More information about the luatex mailing list