After update from TeX Live 2013 to TeX Live 2015 on Ubuntu Linux I am getting following error message:
CTeX fontset 'fandol' is unavailable in current mode.
When trying to use:
pdflatex --shell-escape --synctex=1 document.tex
on Chinese document, starting with:
\documentclass[UTF8,a4paper, 11pt]{ctexart}
\begin{document}
第一项
\end{document}
TeX Live 2013 was using simhei.ttf
fonts, but I could live with fandol
if necessary… How could I make it work again?
Any help will be highly appreciated (I have spent 6 hours on this with no luck at all…)
Best Answer
Disclaimer: I can't read the documentation, I looked in the code and tried to guess what it is meant to do.
You can change the "fontset" loaded by ctexart with an option:
\documentclass[fontset=ubuntu,UTF8,a4paper, 11pt]{ctexart}
There is a
ctexopts.cfg
which looks as if it is meant for local configurations. You could make a copy in a local tree and then add a line likeBut imho there is an error either in the fandol fontset (the code shows that it is currently not meant for to be used in pdf-mode) or in the code which choose the default fontset, so a bug report should be made.