[tex-live] script for LuaTeX font database updating

Manuel Pégourié-Gonnard mpg at elzevir.fr
Thu Feb 25 18:31:20 CET 2010


Elie Roux a écrit :
> thank you for your answer!
> 
> I have another technical question : how is the wrapper working exactly?
> From the script developer point of view is it just something that will
> call lua on the good script (which means we don't have to rename it)
> with the same options it was passed (plus eventually a --sys if the -sys
> variant was called)?

Yes, precisely.

I suggest you add #!/usr/bin/env texlua to the beginning of the script, so that
under Unix we can just symlink it in the bin directory, just as we do we other
script. If it works this way under Unix, then thanks to Tomek's magic it will
Just Work® on Windows too (the only limitation is that arg[0] won't have the
same value as in the Unix case, hence the use of --sys instead of arg[0]-based
behaviour).

> Also, our script works under texlua (it calls
> fontloader), is it a problem?
> 
We're using texlua as our Lua interpreter, so no problem here.

Manuel.



More information about the tex-live mailing list