From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39495 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: References and formulae numbers in upshape Date: Thu, 13 Mar 2008 20:13:52 +0100 Message-ID: <20080313201352.c8819a36.schuster.wolfgang@googlemail.com> References: <20080313191602.cdd05520.schuster.wolfgang@googlemail.com> <200803131944.06455.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 1205436029 5182 80.91.229.12 (13 Mar 2008 19:20:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2008 19:20:29 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 13 20:20:57 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 1JZsyt-0004WE-9O for gctc-ntg-context-518@m.gmane.org; Thu, 13 Mar 2008 20:20:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 95C781FC45; Thu, 13 Mar 2008 20:20:07 +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 25474-03-2; Thu, 13 Mar 2008 20:19:28 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6895A1FBC9; Thu, 13 Mar 2008 20:19:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 798B31FBB5 for ; Thu, 13 Mar 2008 20:19:25 +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 25474-03 for ; Thu, 13 Mar 2008 20:18:49 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by ronja.ntg.nl (Postfix) with ESMTP id F28271FBC9 for ; Thu, 13 Mar 2008 20:18:48 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id e12so3007310fga.8 for ; Thu, 13 Mar 2008 12:18:48 -0700 (PDT) Original-Received: by 10.82.161.19 with SMTP id j19mr9097169bue.12.1205435928404; Thu, 13 Mar 2008 12:18:48 -0700 (PDT) Original-Received: from rover ( [91.41.108.204]) by mx.google.com with ESMTPS id f19sm3157171fka.18.2008.03.13.12.18.46 (version=SSLv3 cipher=OTHER); Thu, 13 Mar 2008 12:18:47 -0700 (PDT) In-Reply-To: <200803131944.06455.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:39495 Archived-At: On Thu, 13 Mar 2008 19:44:06 +0100 Morgan Brassel wrote: > Le Thursday 13 March 2008 19:16:02 Wolfgang Schuster, vous avez =E9crit= =A0: > > On Thu, 13 Mar 2008 08:03:22 -0400 (EDT) > > > > Aditya Mahajan wrote: > > > On Thu, 13 Mar 2008, Morgan Brassel wrote: > > > > Hi everyone, > > > > > > > > I'm looking for an easy way to typeset all references produced by t= he > > > > \in command in upshape format (even in an italic paragraph for > > > > example). I tried with the 'left' option of \definereferenceformat,= but > > > > without good results. > > > > > > > > I would also like to typeset all formulae numbers in upshape. I know > > > > Aditya posted about this a long time ago but I can't find the thread > > > > any more... > > > > > > I also could not get things to work with \definereferenceformat. > > > This is what I use: > > > > > > \definereferenceformat [doeqref] [left=3D(,right=3D)] > > > \def\eqref[#1]{{\normal \doeqref[#1]}} > > > > Why not > > > > \definereferenceformat > > [eqref] > > [left=3D\normal(, > > right=3D)] > > > > Wolfgang > = > Is it so simple, really? Great! But can't this have some side effects in = > particular cases? I mean, the {} around \normal aren't needed here? Not in this case because references are grouped by themselve but it is better to use grouping. \definereferenceformat [eqref] [left=3D\bgroup\normal(, right=3D)\egroup] > Well, it seems ok for me in slanted enumerations for theorems and such. 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 ___________________________________________________________________________= ________