
Fehlerberichte
Siehe auchKommentar von Max Chernoff. Danke an Max für die Wegbeschreibung zum ersten und die Anregung zum zweiten und dritten.
- https://github.com/latex3/luaotfload/issues/277
- https://github.com/latex3/luaotfload/issues/281
- https://github.com/latex3/luaotfload/issues/282
Ausführung
Vanilla (d. h. Upstream) TeX Live 2024 nicht ganz aktuell.
$ 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"
Und
$ 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
Probleme
Ich verwende LuaTeX nicht oft, aber soweit ich das beurteilen kann, hat die Engine keine Probleme, Schriftarten auf meinem System zu finden und zu verwenden.
--finden
Wenn ich jedoch versuche, es über die Befehlszeile zu verwenden luaotfload-tool
, sieht die Sache anders aus. Es hat kein Problem, eine Liste der Schriftarten zu erstellen, ihre Version zu melden oder ihre Hilfemeldung weiterzuleiten, aber der Versuch, die Datenbank zu durchsuchen, schlägt fehl.
$ luaotfload-tool --find "Noto Sans"
...4/texmf-dist/tex/luatex/luaotfload/luaotfload-arabic.lua:19: attempt to index a nil value (global 'node')
--diagnose=Dateien
Um dies zu diagnostizieren, habe ich die erste der in der Hilfemeldung aufgeführten „CHECK“-Optionen ausprobiert.
$ 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
===============================================
Ehrlich gesagt, scheint diese Botschaft übertrieben alarmistisch.möglichdass jemand meine Kopie von manipuliert hat luaotfload-tool
, erscheint mir nicht sehr wahrscheinlich. (Wenn es ein Versuch ist, etwas Böses zu tun, dann scheint es ein ausgesprochen ungeschickter Versuch zu sein.)
Was ist mit den verbleibenden „Schecks“?
environment
,index
undrepository
alle sagen mir, ichmay sleep well
.repository
meldet dennoch keinen Zugriff auf das Repository, aber das ist zu erwarten, da ich das Paket von TeX Live verwende.
--diagnose=Berechtigungen
Aber permissions
wieder meldet Ärger:
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
Dies schlägt fehl, da die Datei nicht existiert. luaotfload-names.luc
ist vorhanden, aber nur im komprimierten Format als luaotfload-names.luc.gz
. Dies ist bei Verwendung von LuaTeX offenbar kein Problem, bei jedoch nicht luaotfload-tool
.
Zusammenfassung
Ich habe also offensichtlich nicht nur ein, sondern gleich zwei Probleme:
luaotfload-tool
erwartet, 5 nicht vorhandene Skripte zu finden, die im TeX Live-Paket (meiner Kopie) nicht vorhanden sind.luaotfload-tool
erwartet, eine Datenbank mit Namen im unkomprimierten Format zu finden, aber (zumindest standardmäßig) wird die Datenbank nur im komprimierten Format erstellt.
Handelt es sich hierbei um Softwarefehler, Verpackungsfehler, beabsichtigte Modifikationen oder einfach nur um Benutzeridiotie?
Notiz:Ich stelle kein MWE zur Verfügung, da es sich dann um ein MWE und nicht um ein MNWE handeln würde. Ich habe beim Zusammenstellen der Dokumente keine Probleme festgestellt.