After updating my TeXLive today (last updated about six weeks ago), the following MWE will stop with the recrimination:
Illegal pream-token (^): `c' used.
If I comment the Latin activation line, then no problem. I have tried all variants of Latin, and checked the manuals of array
and polyglossia
for hints, but I can't spot the culprit, any ideas? Any recommended hack?
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass{book}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\setotherlanguage{latin}
\usepackage{array}
\newcolumntype{$}{>{\global\let\currentrowstyle\relax}} % row format
\newcolumntype{^}{>{\currentrowstyle}}
\newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}%
#1\ignorespaces
}
\begin{document}
\begin{tabular}{$c^c^c}
\rowstyle{\bfseries} 1&2&3\\
\end{tabular}
\end{document}