From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39502 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: References and formulae numbers in upshape Date: Fri, 14 Mar 2008 09:00:49 +0100 Message-ID: <20080314090049.fb43ade4.schuster.wolfgang@googlemail.com> References: <20080313201352.c8819a36.schuster.wolfgang@googlemail.com> <200803140349.19954.morgan.brassel@free.fr> 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 1205482528 3993 80.91.229.12 (14 Mar 2008 08:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 08:15:28 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 14 09:15:55 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 1Ja54z-0003Yl-Lu for gctc-ntg-context-518@m.gmane.org; Fri, 14 Mar 2008 09:15:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0249E1FC01; Fri, 14 Mar 2008 09:15:19 +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 29217-02-7; Fri, 14 Mar 2008 09:14:38 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D4BD71FBC5; Fri, 14 Mar 2008 09:14:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E949B1FBB9 for ; Fri, 14 Mar 2008 09:14:37 +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 28475-02-6 for ; Fri, 14 Mar 2008 09:14:05 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by ronja.ntg.nl (Postfix) with ESMTP id 8706C1FBC5 for ; Fri, 14 Mar 2008 09:14:05 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id e12so3252345fga.8 for ; Fri, 14 Mar 2008 01:14:05 -0700 (PDT) Original-Received: by 10.86.78.4 with SMTP id a4mr10784692fgb.3.1205482445296; Fri, 14 Mar 2008 01:14:05 -0700 (PDT) Original-Received: from rover ( [91.41.102.126]) by mx.google.com with ESMTPS id d6sm15806613fga.9.2008.03.14.01.14.03 (version=SSLv3 cipher=OTHER); Fri, 14 Mar 2008 01:14:04 -0700 (PDT) In-Reply-To: <200803140349.19954.morgan.brassel@free.fr> X-Mailer: Sylpheed 2.5.0beta1 (GTK+ 2.10.14; i686-pc-mingw32) 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:39502 Archived-At: On Fri, 14 Mar 2008 03:49:19 +0100 Morgan Brassel wrote: > > > > \definereferenceformat > > > [eqref] > > > [left=\bgroup\normal(, > > > right=)\egroup] > > > > This was my first attempt, but it gave some trouble. I need to go back and > > check. > > > > Aditya > > I now realize that my first question was not very clear: what I need in fact > is to typeset *all* references obtained by the \in command in upshape. For > example, in {\it See \in{Figure}[fig:det] for details.}, I would like to > see 'Figure 1' in upshape and the rest in italic. I tried: > > \setupreferencing > [left=\bgroup\normal, > right=\egroup] > > without success. Is there a way to achieve this without defining new reference > formats? What do you want seems to be not possible but you could use the following solution although it is better to define a new command. \let\normalin\in \definereferenceformat [figref] [left=\normal, text=\normal Figure, command=\normalin] \let\in\figref \starttext \placefigure [here][fig:det] {Example} {\blackrule[width=3cm,height=3cm]} \it See \in[fig:det] for details. \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________