Mac 快速安装配置Latex并实现实时pdf预览
在写新的小论文的时候,会议方提供了latex 模板,所以在mac上安装配置,在此记录过程以及相关问题的解决方法。
安装
-
在MacTeX - TeX Users Group上下载BasicTeX(也就是下面的那个“Smaller Install”,大概75MB的样子),按照安装器的提示安装就行了。
http://tug.org/mactex/ -
安装好以后,在这个链接TeXstudio - A LaTeX Editor下载安装,
https://sourceforge.net/projects/texstudio/ -
然后就可以使用了。
解决Package inputenc Error: Invalid UTF-8 byte sequence. This electronic document is a Òl
在第一行添加
\UseRawInputEncoding
即可解决问题
解决 Metric (TFM) file not found \maketitle
执行下属代码即可解决
cd ~
sudo tlmgr update --self
sudo tlmgr install collection-fontsrecommended collection-fontsextra
上述解决方案参考自:
https://tex.stackexchange.com/questions/269927/metric-tfm-file-not-found-error-only-in-texstudio-under-mac-os-x