From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38744 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Bug with command \to in captions Date: Mon, 21 Jan 2008 13:10:35 -0500 (EST) Message-ID: References: <1200921232.47949a9080a46@imp.free.fr> <115224fb0801210911p6f15a143wb20fa8e18655c194@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200939145 22692 80.91.229.12 (21 Jan 2008 18:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 18:12:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 21 19:12:43 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1JH18U-0005wF-BI for gctc-ntg-context-518@m.gmane.org; Mon, 21 Jan 2008 19:12:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9D6D1FBB5; Mon, 21 Jan 2008 19:12:02 +0100 (CET) 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 03191-04-7; Mon, 21 Jan 2008 19:11:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A60E61FADC; Mon, 21 Jan 2008 19:11:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 40A211FA4C for ; Mon, 21 Jan 2008 19:11:18 +0100 (CET) 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 08755-02-2 for ; Mon, 21 Jan 2008 19:10:41 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id A22F01FADC for ; Mon, 21 Jan 2008 19:10:38 +0100 (CET) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY hackers.mr.itd.umich.edu ID 4794E01B.53B7B.17571 ; 21 Jan 2008 13:10:36 -0500 X-X-Sender: adityam@adi-laptop In-Reply-To: <115224fb0801210911p6f15a143wb20fa8e18655c194@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:38744 Archived-At: 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________