#2277 Adjust the wrapper luaotfload-tool to the new luaotfload

attic
luatex (4)
2016-04-20
2013-07-14
U_Fischer
No
  1. The binary wrapper luaotfload-tool.exe seems still to use the mkluatexfontdb-compability mode. This can been seen by comparing the help-messages:

    luaotfload-tool --help
    luaotfload-tool --alias=mkluatexfontdb --help

both gives the "mkluatexfontdb help" while

 luaotfload-tool --alias=luaotfload-tool --help

gives the new "luaotfload-tool help".

Please adapt the binary wrapper so that it does the same as

 luaotfload-tool --alias=luaotfload-tool

(This request has been discussed with the author Philipp Gesang on the luatex mailing list. He asked me to forward it).

  1. There is still a mkluatexfontdb.exe in miktex/bin but currently it gives an error:
    G:\Z-Test>mkluatexfontdb --help
    mkluatexfontdb: The Lua script is not registered.
    mkluatexfontdb: Data: mkluatexfontdb

I suggest to map it to
luaotfload-tool --alias=mkluatexfontdb

Ulrike Fischer

Discussion

  • Christian Schenk

    The luaotfload-tool wrapper cannot be changed (in the near future) because the logic for the Lua scripts is very dumb at the moment:
    luaotfload-tool.exe... is equivalent to
    texlua.exe --luaonly luaotfload-tool.lua...
    Extra script arguments (like --alias) are not supported.

     
  • Christian Schenk

    I will fix the bug as soon as possible, but I am afraid that it can take a few weeks. Since luatofload is broken (in MiKTeX), I will temporarily remove it from the distribution.

     
  • Christian Schenk

    • status: open --> accepted
    • assigned_to: Christian Schenk
     
  • Christian Schenk

    Btw, "luaotfload-tool --alias=luaotfload-tool" makes no sense to me. (Hello: my real name is Christian but please call me Christian instead.)

     
  • U_Fischer

    U_Fischer - 2013-07-15

    Please don't do anything yet. There is currently only a small problem with luaotfload in miktex and it will be resolved soon. I will discuss an update of luaotfload to CTAN with Philipp.

    I'm not sure that I understand the argument about extra arguments with texlua-scripts. If I run
    texlua.exe --luaonly luaotfload-tool.lua --alias=luaotfload-tool --help
    on the command line, it works fine. But the extra argument would be needed anyway only for the mkluatexfontdb compability mode.

    (And I knew that "--alias=luaotfload-tool" was "doppel gemoppelt". But with all this luaotfload-variants it is difficult to describe a variant without some repetitions ;-).)

     
  • Christian Schenk

    The "extra arguments" are those arguments that were not specified by the user. The new (to be implemented) luaotfload wreapper has to add --alias=progname to the argument list. TeX Live already does this (see runscript.tlu).

     
    Last edit: Christian Schenk 2013-07-15
  • U_Fischer

    U_Fischer - 2013-07-16

    The newest luaotfload "2013/07/10 v2.3a" version is already on CTAN (it has not been announced so I missed it). It should resolve the current problems in miktex. (Despite the confusing version name it is newer than the miktex version (2013/05/23 v2.3d)).

    If you update please don't forget to update also lualatexiniconfig.tex as described in bug 2276 so that unicode-math works too.

    Ulrike Fischer

     
  • Christian Schenk

    • labels: --> luatex
     
  • Christian Schenk

    • Status: accepted --> attic
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks