On Mon, 21 Jan 2008, Wolfgang Schuster wrote:
On Jan 21, 2008 2:13 PM,
wrote: Hi,
The simple example:
\starttext \placefigure[][]{$x \to 0$}{My figure} \stoptext
does not compile, whether it's on my installation or on the live interface. It seems that there is a problem with using \to in captions... Or maybe I'm missing something...
Morgan
ConTeXt use \to as part of an internal macro and is missinterpreted in this case but you could use \rightarrow instead.
\starttext \placefigure[][]{$x \rightarrow 0$}{My figure} \stoptext
I thought that this bug had been removed almost a year ago, but it is still there. Hans, how about defining another macro, \!!appendtokens ... \!!to ... and changing the internal usage to this macro. The macro \appendtokens ... \to ... macro must stay (since it is present in many user docs). Would this get rid of this bug? Aditya