Install macro packages for your tex compiler
2014-09-10 18:22
218 查看
Some TeX software distribution has its own package manager and can download packages automatically. However on my PC I don't have a LaTeX software distribution with a package manager, and when I encountered with an error " package 'proof.sty' not found ",
I searched for a solution to this problem, the answers are not so convenient until I found this.
This solution is for linux users:
First you need to install apt-file.
sudo apt-get install apt-file
Then find the package you need:
apt-file update
apt-file -x search '\proof.sty'
You will get a response like this
texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/lkproof/proof.sty
And you know where this file is.
The only thing left is to install the package texlive-latex-extra,
sudo apt-get install texlive-latex-extra
The solution is easy but dumpy, since you need to install the entire
texlive-latex-extra package of about 480mb in order to use only one macro package.
I searched for a solution to this problem, the answers are not so convenient until I found this.
This solution is for linux users:
First you need to install apt-file.
sudo apt-get install apt-file
Then find the package you need:
apt-file update
apt-file -x search '\proof.sty'
You will get a response like this
texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/lkproof/proof.sty
And you know where this file is.
The only thing left is to install the package texlive-latex-extra,
sudo apt-get install texlive-latex-extra
The solution is easy but dumpy, since you need to install the entire
texlive-latex-extra package of about 480mb in order to use only one macro package.
相关文章推荐
- 【崩溃了】There are no packages available for install
- install.packages("simpleaffy") 报错package ‘simpleaffy’ is not available (for R version 3.3.1)
- FindBugs:Compiler output path for module can not be null. check your module/project settings问题原因
- package control: install提示There Are No Packages Available For Installation
- Install FORTRAN Compiler for Cygwin
- Install Adobe Flash for your Firefox on Cent OS...
- No SDKs could be found for the IOS Device Platform, did you install the command line tools on your
- ubuntu install problem the configuration defaults for gnome power manager have not been installed correctly,please contact your
- where would you like to install the boot loader for your system?
- can't find compiler executable in your configured search path's for GUN GCC Complier的应对办法
- How to install Windows on your Mac for free
- There are no packages available for install
- FindBugs:Compiler output path for module can not be null. check your module/project settings问题原因
- Required RPM packages for your RedHat53 kernel module development environment
- FindBugs:Compiler output path for module can not be null. check your module/project settings问题原因
- How to build a cross compiler for your Raspberry Pi
- pythonYour PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x
- Install FORTRAN Compiler for Cygwin
- Generic Macro for UNICODE and ANSI
- Silent install, repair and uninstall command lines for the .NET Framework 4