On Wed, 26 Apr 2006, Sanjoy Mahajan wrote:

> In inline math, \to works fine (produces a right arrow), but in a figure
> caption all hell breaks loose.
>
> The culprit may be this redefinition of \to in enco-ini.tex:
>
>  $ find texmf -name '*.tex' |xargs egrep -n '\\((e|g|)def|let)\\to\b'
>  texmf/tex/context/base/core-pos.tex:642:  %\edef\to  {\POSprefix#1}%
>  texmf/tex/context/base/enco-ini.tex:1565:  {\appendtoks\let\to\everylowercase
>  texmf/tex/context/base/enco-ini.tex:1570:  {\appendtoks\let\to\everyuppercase
>
> [context : ver: 2006.04.17 23:14]
>
> This test file:
>
> \starttext
> \placefigure[abc]{ABC $n\to1$.}{} \input tufte
> \stoptext
>
> produces lots of errors beginning with
> [snip]

Replacing $...$ with \mathematics{...} works without errors.

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to