From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27506 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \to broken in figure captions Date: Wed, 26 Apr 2006 16:00:00 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146081648 25186 80.91.229.2 (26 Apr 2006 20:00:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 20:00:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 26 22:00:45 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYqBR-0006UI-Ft for gctc-ntg-context-518@m.gmane.org; Wed, 26 Apr 2006 22:00:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7DAAB12796; Wed, 26 Apr 2006 22:00:20 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11646-02; Wed, 26 Apr 2006 22:00:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE1561279B; Wed, 26 Apr 2006 22:00:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A057A1279B for ; Wed, 26 Apr 2006 22:00:13 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11740-01 for ; Wed, 26 Apr 2006 22:00:11 +0200 (CEST) Original-Received: from playinggod.mr.itd.umich.edu (playinggod.mr.itd.umich.edu [141.211.14.79]) by ronja.ntg.nl (Postfix) with SMTP id 694BD12796 for ; Wed, 26 Apr 2006 22:00:10 +0200 (CEST) Original-Received: from aditya.engin.umich.edu ([141.212.55.160]) by playinggod.mr.itd.umich.edu (smtp) with ESMTP id k3QK04jZ027718 for ; Wed, 26 Apr 2006 16:00:09 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27506 Archived-At: 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