为 TeX Live [Arch Linux] 使用手动安装的 .sty 包时出错
Error When Using Manually Installed .sty Package for TeX Live [Arch Linux]
我正在尝试在 Arch Linux 上安装 mathpartir。我从存储库(pdflatex 版本 3.14159265-2.6-1.40.18)安装了 Tex Live。我 运行 通过 LaTeX 生成 .ins 文件并生成了一个 .sty 文件。我已将 .sty 文件移动到 /usr/share/texmf-dist/tex/latex/mathpartir 和 运行 texhash 和 mktexlsr,但是当我尝试 运行 pdflatex 文件时
\documentclass{article}
\begin{document}
\begin{mathpar}
\end{mathpar}
\end{document}
我收到错误:
! LaTeX Error: Environment mathpar undefined.
我也试过将 .sty 文件放在 /usr/share/texmf-dist/tex/latex/base 中,与我 运行ning 中的 .tex 文件放在同一目录中,并且在 ~/texmf 中,但没有任何效果。有人知道如何解决这个问题吗?
您需要在示例中包含包:
\documentclass{article}
\usepackage{mathpartir}
\begin{document}
\begin{mathpar}
\end{mathpar}
\end{document}
我正在尝试在 Arch Linux 上安装 mathpartir。我从存储库(pdflatex 版本 3.14159265-2.6-1.40.18)安装了 Tex Live。我 运行 通过 LaTeX 生成 .ins 文件并生成了一个 .sty 文件。我已将 .sty 文件移动到 /usr/share/texmf-dist/tex/latex/mathpartir 和 运行 texhash 和 mktexlsr,但是当我尝试 运行 pdflatex 文件时
\documentclass{article}
\begin{document}
\begin{mathpar}
\end{mathpar}
\end{document}
我收到错误:
! LaTeX Error: Environment mathpar undefined.
我也试过将 .sty 文件放在 /usr/share/texmf-dist/tex/latex/base 中,与我 运行ning 中的 .tex 文件放在同一目录中,并且在 ~/texmf 中,但没有任何效果。有人知道如何解决这个问题吗?
您需要在示例中包含包:
\documentclass{article}
\usepackage{mathpartir}
\begin{document}
\begin{mathpar}
\end{mathpar}
\end{document}