From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60800 Path: news.gmane.org!not-for-mail From: "Yury G. Kudryashov" Newsgroups: gmane.comp.tex.context Subject: Re: referenceformat, text Date: Mon, 09 Aug 2010 02:22:11 +0400 Message-ID: References: <4C5EDF2B.5010807@wxs.nl> <4C5EE9C4.3080707@wxs.nl> <4C5F1554.1000106@wxs.nl> 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: dough.gmane.org 1281306153 17864 80.91.229.12 (8 Aug 2010 22:22:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Aug 2010 22:22:33 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 09 00:22:31 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OiEGF-0002if-8n for gctc-ntg-context-518@m.gmane.org; Mon, 09 Aug 2010 00:22:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7BF0DCA146; Mon, 9 Aug 2010 00:22:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aKHvIRhHYPyk; Mon, 9 Aug 2010 00:22:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B4AECA184; Mon, 9 Aug 2010 00:22:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C7152CA184 for ; Mon, 9 Aug 2010 00:22:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ms4KLzzyo1nw for ; Mon, 9 Aug 2010 00:22:22 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by balder.ntg.nl (Postfix) with ESMTP id 478F3CA146 for ; Mon, 9 Aug 2010 00:22:22 +0200 (CEST) Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OiEG5-0002gI-R6 for ntg-context@ntg.nl; Mon, 09 Aug 2010 00:22:21 +0200 Original-Received: from 106-33-94-178.pool.ukrtel.net ([178.94.33.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Aug 2010 00:22:21 +0200 Original-Received: from urkud by 106-33-94-178.pool.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Aug 2010 00:22:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.comp.tex.context Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 106-33-94-178.pool.ukrtel.net User-Agent: KNode/4.4.5 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:60800 Archived-At: Hans Hagen wrote: > On 8-8-2010 7:40, Yury G. Kudryashov wrote: > >>> this is only one case (we also need labels, content, left and right to >>> work ok) > > I uploaded a beta that handles the following as intended. > > \starttext > > \definereferenceformat [intesta] [left=(,right=),text=Whatever~] > \definereferenceformat [intestb] [left=(,right=),label=figure] > > \placeformula[x]\startformula a \stopformula > > \starttabulate[|||||] > \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in > {left}{right}[x] \NC \NR I see no "left" or "right" in the first string in PDF output. Just "1\t1\t1\t1". Other strings work as expected except for "~" in text= field. In the earlier versions ~ was inserted automatically. For example, http://wiki.contextgarden.net/References suggests \definereferenceformat[insec][text=section] Am I right that the main difference between "text" and "label" (in the new version) is that context automatically uppercases "label" and adds ~ after it? ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________