
Informes de errores
Ver tambiénEl comentario de Max Chernoff. Gracias a Max por las indicaciones para llegar al primero y por indicarme el segundo y el tercero.
- https://github.com/latex3/luaotfload/issues/277
- https://github.com/latex3/luaotfload/issues/281
- https://github.com/latex3/luaotfload/issues/282
Versión
Vanilla (es decir, ascendente) TeX Live 2024 no está del todo actualizado.
$ luaotfload-tool --version
luaotfload-tool:
Luaotfload font management and diagnostic utility.
License: GNU GPL v2.0.
Report problems to <https://github.com/latex3/luaotfload/issues>
luaotfload-tool version: "3.28"
Revision: nil
Lua interpreter: stock; version "Lua 5.3"
Luatex version: 1.18
Platform: type=unix name=linux
+ machine: x86_64
+ nodename: MyComputer
+ release: 6.8.2-arch2-1
+ sysname: Linux
+ version: #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000
Index: version=6 created="2024-03-26 19:18:36" modified="2024-04-05 01:10:24"
y
$ tlmgr info luaotfload
package: luaotfload
category: Package
shortdesc: OpenType 'loader' for Plain TeX and LaTeX
longdesc: The package adopts the TrueType/OpenType Font loader code provided in ConTeXt, and adapts it to use in Plain TeX and LaTeX. It works under LuaLaTeX only.
installed: Yes
revision: 70232
sizes: src: 25k, doc: 1105k, run: 7665k, bin: 5k
relocatable: No
cat-version: 3.28
cat-license: gpl2
cat-topics: font-use luatex
cat-contact-support: https://github.com/latex3/luaotfload/issues
cat-contact-repository: https://github.com/latex3/luaotfload
collection: collection-luatex
Problemas
No uso mucho LuaTeX pero, hasta donde sé, el motor no tiene problemas para encontrar y usar fuentes en mi sistema.
--encontrar
Sin embargo, si intento usarlo luaotfload-tool
en la línea de comando, es una historia diferente. No tiene problemas para generar una lista de fuentes, informar su versión o transmitir su mensaje de ayuda, pero falla el intento de buscar en la base de datos.
$ luaotfload-tool --find "Noto Sans"
...4/texmf-dist/tex/luatex/luaotfload/luaotfload-arabic.lua:19: attempt to index a nil value (global 'node')
--diagnose=archivos
Al intentar diagnosticar esto, probé la primera de las opciones 'VERIFICAR' que aparecen en el mensaje de ayuda.
$ luaotfload-tool --diagnose=files
luaotfload | diagnose : ================ verify files =================
luaotfload | diagnose : Luaotfload revision 73dac18445938c6c54118045944817c4e8c59a1c.
luaotfload | diagnose : Committed by Marcel Fabian Krüger <[email protected]>.
luaotfload | diagnose : Timestamp 2024-02-28 06:18:10 +0100.
luaotfload | diagnose : Testing 88 files for integrity.
<successful lines omitted>
luaotfload | diagnose : FAILED: file mktests missing.
luaotfload | diagnose : FAILED: file mkstatus missing.
luaotfload | diagnose : FAILED: file mkcharacters missing.
luaotfload | diagnose : FAILED: file mkglyphlist missing.
luaotfload | diagnose : FAILED: file mkimport missing.
<successful lines omitted>
luaotfload | diagnose : ===============================================
WARNING
===============================================
The diagnostic detected 5 errors.
This version of luaotfload may have been
tampered with. Modified versions of the
luaotfload source are unsupported. Read the log
carefully and get a clean version from CTAN or
github:
× http://www.ctan.org/pkg/luaotfload
× https://github.com/latex3/luaotfload/releases
If you are uncertain as to how to proceed, then
ask on the lualatex mailing list:
http://www.tug.org/mailman/listinfo/lualatex-dev
===============================================
Para ser honesto, el mensaje parece excesivamente alarmista. mientras esposibleQue alguien haya manipulado mi copia de luaotfload-tool
, no parece muy probable. (Si se trata de un intento de hacer algo nefasto, parece singularmente inepto).
¿Qué pasa con los 'cheques' restantes?
environment
,index
yrepository
todos me dicen que yomay sleep well
.repository
no obstante, informa que no hay acceso al repositorio, pero eso es lo que se espera ya que estoy usando el paquete de TeX Live.
--diagnose=permisos
Pero permissions
nuevamente informa problemas:
luaotfload | diagnose : =============== file permissions ==============
luaotfload | diagnose : Checking permissions of /home/username/.texlive2024/texmf-var/luatex-cache/generic/.
luaotfload | diagnose : Owner: 1000, group 1000, permissions rwxr-xr-x.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /home/username/.texlive2024/texmf-var/luatex-cache/generic/names.
luaotfload | diagnose : Owner: 1000, group 1000, permissions rwxr-xr-x.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /home/username/.texlive2024/texmf-var/luatex-cache/generic/names/luaotfload-names.lua.gz.
luaotfload | diagnose : Owner: 1000, group 1000, permissions rw-r--r--.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /home/username/.texlive2024/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.
attr /home/username/.texlive2024/texmf-var/luatex-cache/generic/names/luaotfload-names.luc nil
Esto falla porque el archivo no existe. luaotfload-names.luc
está presente, pero sólo en formato comprimido como luaotfload-names.luc.gz
. Aparentemente esto está bien cuando se usa LuaTeX, pero no con luaotfload-tool
.
Resumen
Entonces aparentemente tengo no uno sino dos problemas:
luaotfload-tool
espera encontrar 5 scripts inexistentes que no están presentes en (mi copia) del paquete TeX Live.luaotfload-tool
espera encontrar una base de datos de nombres en formato sin comprimir, pero (al menos de forma predeterminada) la base de datos solo se crea en formato comprimido.
¿Son estos errores de software, errores de empaquetado, modificaciones previstas o simplemente idiotez del usuario?
Nota:No estoy proporcionando un MWE precisamente porque sería un MWE en lugar de un MNWE. No he visto ningún problema al compilar documentos.