The tabularx package with new version 2014/04/22 v2.09 produces errors with the following code which compiled without errors before:
\documentclass{article}
\usepackage{array}
\usepackage{tabularx}
\def\myfooA{\tabularx{\linewidth}{|X|}}
\def\myfooB{\endtabularx}
\newenvironment{myfoo}{\myfooA}{\myfooB}
\begin{document}
\begin{myfoo}
Test
\end{myfoo}
\end{document}
I do need \myfooA and \myfooB for my application, so I can't use \tabularx inside the environment definition directly (which would work with the new tabularx version).
How do I have to change \myfooA and \myfooB to work with \tabularx 2.09 ?
Addendum: Here is a MWE for the application which stopped to work:
\documentclass{article}
\usepackage{array}
\usepackage{tabularx}
\usepackage[table]{xcolor}
\usepackage{tcolorbox}
\begin{document}
\begin{tcolorbox}[tabularx={X},title=My table]
Group
\end{tcolorbox}
\end{document}
Update: The problem was solved by David Carlisle with tabularx v2.10
tabularx,\endtabularxmust not be inside a pair of{}. Thus,{\myFooA}works, but{\myFooB}needs to be replaced:\newenvironment{myfoo}{\myfooA}{\endtabularx}. I guess, this is no help, but at least, it is reported on page 4 of the manual. – LaRiFaRi May 12 '14 at 10:43