Re: [NTG-context] \to broken in figure captions

2006-05-23 Thread Sanjoy Mahajan
From:Hans Hagen [EMAIL PROTECTED], Thu, 27 Apr 2006 16:35:47 +0200 Sanjoy Mahajan wrote: A workaround: \starttext \def\myto{\to} \placefigure[abc]{ABC $n\myto1$.}{} \input tufte \stoptext i need to change the \convertargument#1\to#2 macro so for the moment, use this

Re: [NTG-context] \to broken in figure captions

2006-04-27 Thread Hans Hagen
Sanjoy Mahajan wrote: A workaround: \starttext \def\myto{\to} \placefigure[abc]{ABC $n\myto1$.}{} \input tufte \stoptext i need to change the \convertargument#1\to#2 macro so for the moment, use this solution or add {} as in \placefigure[abc]{{ABC $n\to1$.}}{} \input tufte

[NTG-context] \to broken in figure captions

2006-04-26 Thread Sanjoy Mahajan
A workaround: \starttext \def\myto{\to} \placefigure[abc]{ABC $n\myto1$.}{} \input tufte \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] \to broken in figure captions

2006-04-26 Thread Aditya Mahajan
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'

Re: [NTG-context] \to broken in figure captions

2006-04-26 Thread Sanjoy Mahajan
From:Aditya Mahajan [EMAIL PROTECTED] Replacing $...$ with \mathematics{...} works without errors. Good suggestion -- also works here. Shouldn't $...$ be equivalent to \mathematics{...}? $$...$$ is deprecated relative to \startformula...\stopformula, so I wrote a Python script to convert