On 9/27/2014 4:20 PM, Zdenek Wagner wrote:
Your definition is fragile but a robust macro is needed inside \caption. Use \DeclareRobustCommand instead of \newcommand, the syntax is the same.
Ah, thanks, I'll try that! -- Mike Maxwell maxw...@umiacs.umd.edu "My definition of an interesting universe is one that has the capacity to study itself." --Stephen Eastmond -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex