LaTeX 笔记---Q&A

Q: Is it possible to check which package do I need to install to get certain .sty file from tlmgr rather than googling it or going to CTAN?

A:

$ tlmgr search --global --file cfr-lm.sty
tlmgr: package repository http://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet
cfr-lm:
texmf-dist/tex/latex/cfr-lm/cfr-lm.sty

You should try this:

tlmgr --help


Q: Basic utility of tlmgr.

A:

tlmgr manages an existing TeX Live installation, both packages and configuration options.

After successfully installing TeX Live, here are a few common operations with "tlmgr":

tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet

Tell "tlmgr" to use a nearby CTAN mirror for future updates; useful if you installed TeX Live from the DVD image and want continuing updates.

tlmgr update --list

Report what would be updated without actually updating anything.

tlmgr update --all

Make your local TeX installation correspond to what is in the package repository (typically useful when updating from CTAN).

tlmgr info what

Display detailed information about a package what, such as the installation status and description, of searches for what in all packages.

上一篇:接口测试之基于LoadRunner的一个简单示例


下一篇:Latex笔记(参考文献) 分类: LaTex 2014-11-08 17:41 239人阅读 评论(0) 收藏