![latexmk는 패키지 파일을 어떻게 찾나요?](https://rvso.com/image/327805/latexmk%EB%8A%94%20%ED%8C%A8%ED%82%A4%EC%A7%80%20%ED%8C%8C%EC%9D%BC%EC%9D%84%20%EC%96%B4%EB%96%BB%EA%B2%8C%20%EC%B0%BE%EB%82%98%EC%9A%94%3F.png)
texlive-latexextra
패키지를 사용하기 위해 Arch Linux에 TexLive를 함께 설치했는데 파일을 찾을 수 todonotes
없습니다 . 이것이 인쇄되는 내용입니다:latexmk
todonotes.sty
$ 라텍스mk --
pdf latex-preview.tex
Latexmk: This is Latexmk, John Collins, 5 February 2015, version: 4.43a.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': File changes, etc:
Non-existent destination files:
'latex-preview.pdf'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex -recorder "latex-preview.tex"'
------------
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Arch Linux) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./latex-preview.tex
LaTeX2e <2015/10/01> patch level 2
Babel <3.9m> and hyphenation patterns for 79 languages loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
! LaTeX Error: File `todonote.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
수동으로 찾았는데 /usr/share/texmf-dist/tex/latex/todonotes/
.
어떤 이유로 이 폴더는 latexmk
sty 파일 위치 검색에 추가되지 않았습니다.
그렇다면 latexmk
sty 파일을 어떻게 찾고 검색할 폴더를 어떻게 추가합니까?
달리기는 texhash
다음을 제공합니다.
texhash: Updating /etc/texmf/ls-R...
texhash: Updating /usr/share/texmf-dist/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
그런데 그 이후나 재부팅 후에는 작동이 안되네요..
texhash
시청한다고 주장합니다 ls -R /usr/share/texmf-dist/
. 다음을 고려하여 거기에서 찾아야 합니다.
$ ls -R /usr/share/texmf-dist/ | grep todonotes
fixmetodonotes
todonotes
/usr/share/texmf-dist/tex/latex/fixmetodonotes:
fixmetodonotes.sty
/usr/share/texmf-dist/tex/latex/todonotes:
todonotes.sty
luatodonotes
/usr/share/texmf-dist/tex/lualatex/luatodonotes:
luatodonotes.lua
luatodonotes.sty
todonotes-xetex-bidi.def
그리고
$ kpsewhich todonotes.sty
/usr/share/texmf-dist/tex/latex/todonotes/todonotes.sty
답변1
! LaTeX Error: File `todonote.sty' not found.
그리고
/usr/share/texmf-dist/tex/latex/todonotes:
todonotes.sty
하나는 s가 있고 하나는 없습니다....