
버그 신고
또한보십시오Max Chernoff의 코멘트. 첫 번째 경로를 알려주고 두 번째와 세 번째 경로를 알려준 Max에게 감사드립니다.
- https://github.com/latex3/luaotfload/issues/277
- https://github.com/latex3/luaotfload/issues/281
- https://github.com/latex3/luaotfload/issues/282
버전
바닐라(예: 업스트림) TeX Live 2024는 아직 최신 버전이 아닙니다.
$ 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"
그리고
$ 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
문제
나는 LuaTeX를 많이 사용하지 않지만, 내가 아는 한, 엔진은 내 시스템에서 글꼴을 찾고 사용하는 데 아무런 문제가 없습니다.
--찾다
luaotfload-tool
하지만 명령줄에서 사용하려고 하면 이야기가 달라집니다. 글꼴 목록을 생성하거나 글꼴 버전을 보고하거나 도움말 메시지를 전달하는 데는 문제가 없지만 데이터베이스 검색 시도는 실패합니다.
$ luaotfload-tool --find "Noto Sans"
...4/texmf-dist/tex/luatex/luaotfload/luaotfload-arabic.lua:19: attempt to index a nil value (global 'node')
--diagnose=파일
이를 진단하기 위해 도움말 메시지에 나열된 'CHECK' 옵션 중 첫 번째 옵션을 시도했습니다.
$ 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
===============================================
솔직히 말해서 그 메시지는 지나치게 경각심을 불러일으키는 것 같습니다. 그러는 동안가능한누군가가 내 사본을 변조했다는 사실은 luaotfload-tool
그다지 가능성이 없어 보입니다. (사악한 일을 하려는 시도라면 유난히 무능한 것 같습니다.)
남은 '수표'는 무엇입니까?
environment
,index
그리고repository
모두 나에게 내가may sleep well
.repository
그럼에도 불구하고 저장소에 대한 액세스가 없다고 보고하지만 TeX Live 패키지를 사용하고 있기 때문에 이는 예상되는 현상입니다.
--diagnose=권한
그러나 permissions
다시 문제를 보고합니다.
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
파일이 존재하지 않기 때문에 실패합니다. luaotfload-names.luc
존재하지만 luaotfload-names.luc.gz
. LuaTeX를 사용할 때는 문제가 없지만 luaotfload-tool
.
요약
그래서 나는 분명히 하나도 아닌 두 가지 문제를 가지고 있습니다.
luaotfload-tool
TeX Live 패키지(내 복사본)에 없는 존재하지 않는 스크립트 5개를 찾을 것으로 예상됩니다.luaotfload-tool
압축되지 않은 형식의 이름 데이터베이스를 찾을 것으로 예상하지만 (적어도 기본적으로) 데이터베이스는 압축 형식으로만 생성됩니다.
이러한 소프트웨어 오류, 패키징 오류, 의도된 수정, 아니면 단지 사용자의 멍청함인가요?
메모:MNWE가 아니라 MWE가 되기 때문에 정확하게 MWE를 제공하는 것은 아닙니다. 문서를 컴파일하는 데 어떤 문제도 본 적이 없습니다.