'pdflatex.fmt' 형식 파일을 찾을 수 없습니다!

'pdflatex.fmt' 형식 파일을 찾을 수 없습니다!

저는 Fedora Silverblue 39를 사용하고 rpm-ostree있으며 texlive-scheme-full.

를 사용하여 명령줄에서 .tex 파일을 컴파일하려고 시도했지만 pdflatex이 오류가 반환되었습니다.

kpathsea: Running mktexfmt pdflatex.fmt
mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
mktexfmt:   /var/home/stevicheliz/.texlive2023/texmf-config/web2c/fmtutil.cnf
mktexfmt [INFO]: writing formats under /var/home/stevicheliz/.texlive2023/texmf-var/web2c
mktexfmt [INFO]: Did not find entry for byfmt=pdflatex skipped
mktexfmt [INFO]: total formats: 0
mktexfmt [INFO]: exiting with status 0
I can't find the format file `pdflatex.fmt'!

온라인으로 검색하고 실행을 시도했는데 sudo fmtutil -sys --all결과는 다음과 같습니다.

fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
fmtutil:   /usr/share/texlive/texmf-config/web2c/fmtutil.cnf
fmtutil [INFO]: writing formats under /var/lib/texmf/web2c
fmtutil [WARNING]: You seem to have no formats defined in your fmtutil.cnf files!
fmtutil [INFO]: total formats: 0
fmtutil [INFO]: exiting with status 0

파일이 여전히 컴파일되지 않습니다.

재설치를 시도했지만 texlive-scheme-full여전히 동일한 오류가 발생했습니다. 제거 texlive-scheme-full및 설치 도 시도했지만 texlive-scheme-basic여전히 컴파일되지 않습니다. rpm-ostree설치하기 전에 모든 패키지를 자동으로 업데이트하므로 종속성 문제가 발생하지 않습니다. 그래도 시스템 업데이트를 하고 재부팅하고 texlive를 설치하고 다시 재부팅했습니다. 여전히 컴파일되지 않습니다.

편집: fmtutil.cnf기록된 경로 중 하나에 존재하지 않습니다.

답변1

tex-live설치 를 통해 설치 tug.org한 후 LWP 번들을 설치하는 것이 좋습니다. Fedora Silverblue에는 Perl 자체 외에는 Perl 패키지가 없는 것으로 나타났습니다. Perl 필수 요소와 LWP를 설치하자마자 문제 없이 컴파일할 수 있었습니다. 나중에도 매력처럼 작동했지만, tex 명령을 찾기 위해 fmtutil-sys이리저리 만지작거려야 했습니다 .sudo

관련 정보