由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - How can I make latex find required .sty on its own?
相关主题
Link 合集我的Yap (DVI查看器)究竟出了什么问题
LaTex请教:重装系统之后WinEdt 不编译
A problem with Latex (MikTex+WinEdt), many thanksLATEX忽然不支持EPS了,
WinEdt, Latex, and BeamerLatex slides package installaton prob~
菜鸟请教我的tex的cite都是?
大家是直接写latex,还是先写word再写latex?tex可以写简历吗?
如何在Linux下使用LaTeX阿dvips怎么include eps文件?
求助:无法编译tex文件"cite.sty is missing" 怎么解决? 急!在线等
相关话题的讨论汇总
话题: sty话题: files话题: latex话题: miktex话题: find
进入TeX版参与讨论
1 (共1页)
r**********e
发帖数: 28
1
When I run latex with a tex document (eg. A.tex), it requires some .sty files.
I have to copy these required .sty files to the folder where the document A.tex located. Otherwise, latex doesn't know where to find .sty files. Because I have many different files in
different folders, I am sick to copy these .sty files to all these folders. It is stupid. But I don't what I can do otherwise, so that latex could find .sty files on its own? Could anyone please help me?
Thanks alot.
T*******n
发帖数: 493
2
You need to tell us which TeX distribution you are using, i.e., MikTeX,
teTeX, fpTeX, or something else.
LaTeX searches for files in a database, not on disk, so after you install
a package, you need to update the database. For teTeX, run "texhash";
for MikTeX, go through the MikTeX menus and look for "Refresh/update
filename database"; for fpTeX, look for "Rebuild ls-R filename databases".
For some distributions the command "mktexlsr" also works.

files.
.tex located. Otherwise, latex doesn't k

【在 r**********e 的大作中提到】
: When I run latex with a tex document (eg. A.tex), it requires some .sty files.
: I have to copy these required .sty files to the folder where the document A.tex located. Otherwise, latex doesn't know where to find .sty files. Because I have many different files in
: different folders, I am sick to copy these .sty files to all these folders. It is stupid. But I don't what I can do otherwise, so that latex could find .sty files on its own? Could anyone please help me?
: Thanks alot.

p*****u
发帖数: 310
3
I use MikTex and Winedt. I have same problems too.

Because

【在 T*******n 的大作中提到】
: You need to tell us which TeX distribution you are using, i.e., MikTeX,
: teTeX, fpTeX, or something else.
: LaTeX searches for files in a database, not on disk, so after you install
: a package, you need to update the database. For teTeX, run "texhash";
: for MikTeX, go through the MikTeX menus and look for "Refresh/update
: filename database"; for fpTeX, look for "Rebuild ls-R filename databases".
: For some distributions the command "mktexlsr" also works.
:
: files.
: .tex located. Otherwise, latex doesn't k

J*******r
发帖数: 379
4
reinstall your miktex and install a complete package,
never need to worry about a new package, almost.

【在 p*****u 的大作中提到】
: I use MikTex and Winedt. I have same problems too.
:
: Because

1 (共1页)
进入TeX版参与讨论
相关主题
"cite.sty is missing" 怎么解决? 急!在线等菜鸟请教
导入一大堆figures,说“pdflatex.exe: Too many open files”大家是直接写latex,还是先写word再写latex?
LaTeX 2.09 question如何在Linux下使用LaTeX阿
linux 下的kile求助:无法编译tex文件
Link 合集我的Yap (DVI查看器)究竟出了什么问题
LaTex请教:重装系统之后WinEdt 不编译
A problem with Latex (MikTex+WinEdt), many thanksLATEX忽然不支持EPS了,
WinEdt, Latex, and BeamerLatex slides package installaton prob~
相关话题的讨论汇总
话题: sty话题: files话题: latex话题: miktex话题: find