Open niudong1001 opened 6 years ago
--> Describe the problem
Latex is a good text editor, but installing the entire MacTex is too big, sometimes we would like to use a smaller BasicTex. The following is a general introduction to its installation and use.
--> Demonstrate the solution
Install steps:
Download BasicTeX.pkg and install it.
Add BasicTex bin path to environmental variable PATH:
bin
PATH
export PATH=/usr/local/texlive/2018basic/bin/x86_64-darwin/:$PATH
--repository
sudo tlmgr update --self --repository http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet sudo tlmgr install latexmk --repository http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet
Usage:
*.tex
xelatex *.tex
sudo tlmgr install <package_name>
--> Describe the problem
Latex is a good text editor, but installing the entire MacTex is too big, sometimes we would like to use a smaller BasicTex. The following is a general introduction to its installation and use.
--> Demonstrate the solution
Install steps:
Download BasicTeX.pkg and install it.
Add BasicTex
bin
path to environmental variablePATH
:--repository
can be modified):Usage:
*.tex
file:xelatex *.tex
.sudo tlmgr install <package_name>
.