[tex-live] Missing quoting in tlmgr when making formats
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Wed May 8 16:00:28 CEST 2013
Hi,
I know that I'm calling for troubles (but to my defence: at least I'm
doing it intentionally, to be able to spot such problems).
If I install TeX Live to some path with spaces, the following line in
tlmgr becomes problematic:
$errors += do_cmd_and_check("fmtutil$sysmode --byhyphen $lang");
because $lang may itself contain spaces and fmtutil treats it as if
there were several parameters present.
Here's the error after running "tlmgr install collection-langother":
tlmgr: package log updated: /Users/mojca/app/tex/tl/i
2013/texmf-var/web2c/tlmgr.log
running mktexlsr ...
done running mktexlsr.
running mtxrun --generate ...
done running mtxrun --generate.
regenerating language.dat
regenerating language.def
regenerating language.dat.lua
running fmtutil-sys --byhyphen /Users/mojca/app/tex/tl/i
2013/texmf-var/tex/generic/config/language.dat ...
fmtutil-sys --byhyphen /Users/mojca/app/tex/tl/i
2013/texmf-var/tex/generic/config/language.dat failed (status 1),
output:
fmtutil: unknown option
`2013/texmf-var/tex/generic/config/language.dat'; try fmtutil --help
if you need it.
running fmtutil-sys --byhyphen /Users/mojca/app/tex/tl/i
2013/texmf-var/tex/generic/config/language.def ...
fmtutil-sys --byhyphen /Users/mojca/app/tex/tl/i
2013/texmf-var/tex/generic/config/language.def failed (status 1),
output:
fmtutil: unknown option
`2013/texmf-var/tex/generic/config/language.def'; try fmtutil --help
if you need it.
running fmtutil-sys --byhyphen /Users/mojca/app/tex/tl/i
2013/texmf-var/tex/generic/config/language.dat.lua ...
fmtutil-sys --byhyphen /Users/mojca/app/tex/tl/i
2013/texmf-var/tex/generic/config/language.dat.lua failed (status 1),
output:
fmtutil: unknown option
`2013/texmf-var/tex/generic/config/language.dat.lua'; try fmtutil
--help if you need it.
tlmgr: exiting unsuccessfully (status 1).
I tried some quoting which makes the program fail later, but I didn't
succeed in making the recreate_by_hyphenfile function work.
Mojca
More information about the tex-live
mailing list