Redian新闻
>
how to add TeX cls file under Unix?
avatar
how to add TeX cls file under Unix?# TeX - TeX电子排版系统
n*r
1
I want to use some non-standard cls file like prosper,
and the Tex system I used does not contain these non-standard
packages, so I download one, every time I use this cls file
I have to copy the file into my editing directory, how to add
the cls file to a default searching path while you are not
the administator?
avatar
T*n
2
Assuming you are using teTeX, you can put the .cls file under
/home/userid/texmf/tex/latex/.../prosper.cls
then run the command "texhash" or "mktexlsr" to update the files
database.
You can also put the file under /usr/local/share/texmf/tex/latex/...
and then run texhash or mktexlsr as root.

【在 n********r 的大作中提到】
: I want to use some non-standard cls file like prosper,
: and the Tex system I used does not contain these non-standard
: packages, so I download one, every time I use this cls file
: I have to copy the file into my editing directory, how to add
: the cls file to a default searching path while you are not
: the administator?

avatar
b*n
3
Also you can
1) make a directory called : texmf under your home directory
2) copy the .cls file to that directory
3) run : texhash
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。