From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28772 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: reference formatting Date: Thu, 22 Jun 2006 17:13:12 -0400 (EDT) Message-ID: References: <1A225B6D-F10C-49B1-BBF1-A3FF63C49975@science.uva.nl> 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 1151010824 20584 80.91.229.2 (22 Jun 2006 21:13:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Jun 2006 21:13:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 22 23:13:40 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 1FtWUV-0003qz-DV for gctc-ntg-context-518@m.gmane.org; Thu, 22 Jun 2006 23:13:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 39B6912824; Thu, 22 Jun 2006 23:13:30 +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 19216-09; Thu, 22 Jun 2006 23:13:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0812912805; Thu, 22 Jun 2006 23:13:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4DAA712805 for ; Thu, 22 Jun 2006 23:13:22 +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 20084-08 for ; Thu, 22 Jun 2006 23:13:20 +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 9FEB3127FB for ; Thu, 22 Jun 2006 23:13:19 +0200 (CEST) Original-Received: from eecs4327u07.engin.umich.edu (eecs4327u07.engin.umich.edu [141.213.51.135]) by playinggod.mr.itd.umich.edu (smtp) with ESMTP id k5MLDCkq017785 for ; Thu, 22 Jun 2006 17:13:17 -0400 X-X-Sender: adityam@eecs4327u07.engin.umich.edu Original-To: mailing list for ConTeXt users In-Reply-To: <1A225B6D-F10C-49B1-BBF1-A3FF63C49975@science.uva.nl> 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:28772 Archived-At: On Thu, 22 Jun 2006, Hans van der Meer wrote: > With \definereferenceformat[pin][left=(,right=)] it is possible to typeset > references with > \pin[ref] and get "(ref)" > > I have two questions in this respect: > > 1. is it possible to change the general setup in the same way, > e.g. let \in[ref] do the same as \pin[ref] here. > The left and right are not in setupreferencing. Don't know about this. > 2. some strange interchange takes place when using \pin{A}{B}[ref]. > Instead of the expected "A (ref) B" one gets "A (refB); > it therefore seems the right parenthesis from the setup comes too > late in play. As I understand referencing, this is the expected behaviour. I think that \in{..}{..}[...] was for things like As seen in \in{Figure}{a}[fig]... that is when you want to refer to a subfigure (or a subformula). That is why there is no space between the number and the content in the second {..} This is what core-ref.tex says %D \placefigure %D [here][three calls] %D {Three alternatives reference calls.} %D {\startcombination[1*3] %D {\framed{\type{ \in }}} {a} %D {\framed{\type{ \at }}} {b} %D {\framed{\type{\goto}}} {c} %D \stopcombination} %D %D \startbuffer %D \in figure[fig:three calls] %D \in{figure}[fig:three calls] %D \in figure a[fig:three calls] %D \in{figure}{a}[fig:three calls] %D figure~\in[fig:three calls] %D \stopbuffer %D %D \typebuffer %D %D This turns up as: %D %D \startlines %D \getbuffer %D \stoplines I was not aware of that the braces around figure can be omitted! Aditya