![¿Cómo encuentra latexmk los archivos de paquetes?](https://rvso.com/image/327805/%C2%BFC%C3%B3mo%20encuentra%20latexmk%20los%20archivos%20de%20paquetes%3F.png)
Instalé TexLive en Arch Linux junto con texlive-latexextra
para usar el paquete todonotes
, pero latexmk
no encuentro el todonotes.sty
archivo. Esto es lo que imprime:
$ látexmk --
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:
Lo localicé manualmente, está en /usr/share/texmf-dist/tex/latex/todonotes/
.
Por alguna razón, esta carpeta no se ha agregado a las latexmk
búsquedas de ubicaciones para archivos sty.
Entonces, ¿cómo se latexmk
buscan archivos sty y cómo agrego carpetas para buscar?
Correr texhash
da esto:
texhash: Updating /etc/texmf/ls-R...
texhash: Updating /usr/share/texmf-dist/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
Pero no funciona después de eso o después de reiniciar.
texhash
dice mirar ls -R /usr/share/texmf-dist/
. Debería encontrarlo allí, considerando esto:
$ 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
Y
$ kpsewhich todonotes.sty
/usr/share/texmf-dist/tex/latex/todonotes/todonotes.sty
Respuesta1
! LaTeX Error: File `todonote.sty' not found.
y
/usr/share/texmf-dist/tex/latex/todonotes:
todonotes.sty
uno tiene una s y el otro no....