From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39518 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: References and formulae numbers in upshape Date: Sat, 15 Mar 2008 08:28:54 +0100 Message-ID: <20080315082854.2caecd0c.schuster.wolfgang@googlemail.com> References: <200803140349.19954.morgan.brassel@free.fr> <20080314090049.fb43ade4.schuster.wolfgang@googlemail.com> <200803142230.30269.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="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1205566244 3094 80.91.229.12 (15 Mar 2008 07:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Mar 2008 07:30:44 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 15 08:31:11 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 1JaQrG-0000Rg-22 for gctc-ntg-context-518@m.gmane.org; Sat, 15 Mar 2008 08:31:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C5E01FBF1; Sat, 15 Mar 2008 08:30:27 +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 25454-02-2; Sat, 15 Mar 2008 08:29:39 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C17451FB74; Sat, 15 Mar 2008 08:29:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9C91C1FB74 for ; Sat, 15 Mar 2008 08:29: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 25454-02 for ; Sat, 15 Mar 2008 08:29:00 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by ronja.ntg.nl (Postfix) with ESMTP id 35E1D1FB6D for ; Sat, 15 Mar 2008 08:29:00 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id e12so3670692fga.8 for ; Sat, 15 Mar 2008 00:29:00 -0700 (PDT) Original-Received: by 10.86.51.2 with SMTP id y2mr11618053fgy.15.1205566140068; Sat, 15 Mar 2008 00:29:00 -0700 (PDT) Original-Received: from rover ( [91.41.117.151]) by mx.google.com with ESMTPS id f19sm7438297fka.18.2008.03.15.00.28.58 (version=SSLv3 cipher=OTHER); Sat, 15 Mar 2008 00:28:59 -0700 (PDT) In-Reply-To: <200803142230.30269.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:39518 Archived-At: On Fri, 14 Mar 2008 22:30:30 +0100 Morgan Brassel wrote: > Le Friday 14 March 2008 09:00:49 Wolfgang Schuster, vous avez =E9crit=A0: > > 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=3D\normal, > > text=3D\normal Figure, > > command=3D\normalin] > > > > \let\in\figref > > > > \starttext > > > > \placefigure > > [here][fig:det] > > {Example} > > {\blackrule[width=3D3cm,height=3D3cm]} > > > > \it See \in[fig:det] for details. > > > > \stoptext > Thank you for your help, Wolfgang! I think I'll define a new \ref command = > similar to the one in LaTeX, with upshape number. But maybe a new option = > would be welcome? (just as for numberstyle=3Dnormal in \setupformulae). W= hat do = > you think? Is it a bad idea? I'm just curious... A new command to set the style for the number is OK but you need also one for the text but this need to be done by Hans because it is not possible to change the style for the predefined command in, at ... with the current implementation. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________