【发布时间】:2009-09-07 20:17:31
【问题描述】:
我设置了一个 LaTeX 项目:
tex/
- documents/
- some_file.tex
- support/
- todonotes.sty
其中some_file.tex 使用todonotes:
\usepackage[colorinlistoftodos,textwidth=0.9\marginparwidth]{todonotes}
但是当我尝试在 TextMate 中构建 PDF 时,我得到“LaTeX 错误:找不到文件 `todonotes.sty'”。如何告诉 LaTex 或 TextMate 我的 .sty 文件?
稍后
具体来说,我正在使用来自 MacPorts 的 tetex,尽管到目前为止给出了答案,但我可能会尝试其他发行版。
【问题讨论】:
-
抱歉,我没有看到您使用的是 tetex。它可能已经很老了……看看 MacTeX,它很不错,而且包管理器也很不错。