我正在运行 Debian 10,并使用通过 从文件emacs 26.1
创建 PDF 。一切正常,但最近,花费的时间比以前长得多。当我跟踪该过程时,我看到很多行,如下所示:org
xelatex
xelatex
access("/home/loris/texmf/tex/latex/longtable.sty", R_OK) = -1 ENOENT (No such file or directory)
access("/home/loris/texmf/tex/latex/mtheme-master/longtable.sty", R_OK) = -1 ENOENT (No such file or directory)
access("/home/loris/texmf/tex/latex/mtheme-master/demo/longtable.sty", R_OK) = -1 ENOENT (No such file or directory)
access("/home/loris/texmf/tex/latex/mtheme-master/docker/longtable.sty", R_OK) = -1 ENOENT (No such file or directory)
access("/home/loris/texmf/tex/latex/mtheme-master/source/longtable.sty", R_OK) = -1 ENOENT (No such file or directory)
access("/home/loris/texmf/tex/latex/mtheme-master/doc/longtable.sty", R_OK) = -1 ENOENT (No such file or directory)
单个文件确实不存在,但路径,例如
/home/loris/texmf/tex/latex/mtheme-master
这样做。因此,在本例中,对 的递归搜索似乎longtable.sty
减慢了整个过程。该文件实际上可在此处找到:
/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty
因此,看起来软件包的搜索顺序不正确。有人能告诉我在哪里可以配置它吗?$TEXMF*
我的环境中似乎没有定义任何变量。
答案1
正如我在评论中提到的,我遇到的问题是由于org
通过sshfs
VPN 访问文件而导致的。这些额外的层似乎会导致速度急剧下降。