【发布时间】:2011-04-25 14:14:49
【问题描述】:
我使用了一些不属于 texlive 的 .sty 文件,并希望将它们放在包含我的 main.tex 的文件夹的子目录中。我使用以下行来加载包:
\usepackage{sty/prettythesis}
这可行,但是用 xelatex 编译 main.tex 并使用 rubber 会给我一个警告:
sty/prettythesis.sty: You have requested package `sty/prettythesis',
but the package provides `prettythesis'. (page 1)
有没有办法防止这个警告或处理这种情况,而不必在所有 .sty-files 的 \ProvidesPackage 命令中包含“sty\”或设置 TEXINPUTS 环境变量(这似乎无法从 main. tex 本身)?
【问题讨论】: