TeXstudio处理中文模板会遇到LaTex Critical Package ctex Error: CTeX fontset `fandol‘ is unavailable in current(ctex) mode.
解决方案:
是因为texstudio编译配置默认是pdflatex,不支持中文,中文编译使用xelatex
因此,打开Options->Configure->Build->Default Compiler:
默认为:txs:///pdflatex
改为:txs:///xelatex