LaTeX 或 LyX 未找到 invoice2.sty

LaTeX 或 LyX 未找到 invoice2.sty

我看过类似的问题,但没有找到适合我的情况的答案。

在 Slackware-14.2 上运行 TeXLive-20170520 和 LyX-2.2.3。

我从 CTAN 下载了 invoice2 包并构建了它。文件位于 ~/documents/LaTeX/invoice2/。副本放在 /usr/share/texmf/tex/latex/invoice2/ 中,然后运行 ​​texhash。

当 invoice2.sty 包含在序言中 (\usepackage{invoice2}) 时,lyx 或 latex 都无法找到它。我无法使用 kpsewhere (或 kpsewhich) 找到它。我错过了什么步骤?

答案1

正确的位置是 /usr/share/texmf-dist/tex/latex/invoice2/。

相关内容