VS Code 下格式化latex文件报错

在Mac X下格式化.tex文件出现报错,报错提示:

formatting failed. Please refer to LaTex Workshop Output for details.

LaTex Workshop输出:

aborted at /Library/TeX/texbin/latex indent line 39.

解决方法:

sudo cpan Unicode::GCString
sudo cpan App::cpanminus
sudo cpan YAML::Tiny
sudo perl -MCPAN -e 'install "File::HomeDir"'

ps:如果您有好的建议,欢迎交流 :-D,也欢迎访问我的个人博客:tundrazone.com

你可能感兴趣的:(VS Code 下格式化latex文件报错)