On 22 December 2009 Hartmut Henkel wrote:

 > seems to be a 32/64 bit issue. After sprinkling the md5.c code with 32
 > bit MASKs (see diff) luatex indeed gives the correct
 > 098f6bcd4621d373cade4e832627b4f6 on an x86_64 AMD debian Linux PC.
 > Unclear which MASK made it, but i guess it's in the rotate().

Though this problem will not exist in future versions of luatex, it
seems that I have to wait a few years until I can enable the MD5 code
again.  I simply commented it out for the time being.  Not everybody
has a recent version of luatex.  There are systems like CentOs or
Debian which still support old stuff (no package updates, only
security fixes).

The MD5 stuff is not essential in my script, but I'd like to use it
whenever possible.  Currently it's commented out.

luatex provides some TeX primitives:

  \luatexversion
  \luatexrevision
  \luatexdatestamp

However, I'm not using luatex but texlua and couldn't figure out how to
access these variables in lua.  If this isn't supported already, what
about providing a luatex table?

  luatex.version
  luatex.revision
  luatex.datestamp

...and maybe even more:

  luatex.author, luatex.license...  :)

If I can evaluate, for instance, luatex.datestamp, I can enable MD5
checks in my script on sytems where it works.  That would be nice.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotu...@web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to