With full TeX Live 2014 ucharclasses
package no longer works with fontspec
. It works with BasicTeX 2014 because BasicTeX 2014 uses old version of font spec from 2013.
Here is an example document which works with fontspec
2013 but no longer works with fontspec
from full TeX Live 2014:
\documentclass[12pt]{article}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\usepackage[Latin, Thai]{ucharclasses}
\setDefaultTransitions{\fontspec{Hoefler Text}}{}
\setTransitionTo{Thai}{\fontspec[Scale=1]{Thonburi}}
\begin{document}
Test ไทย
\end{document}
Anybody knows how to fix it?