From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39496 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: References and formulae numbers in upshape Date: Thu, 13 Mar 2008 15:59:25 -0400 (EDT) Message-ID: References: <20080313191602.cdd05520.schuster.wolfgang@googlemail.com> <200803131944.06455.morgan.brassel@free.fr> <20080313201352.c8819a36.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-95387284-1205438369=:21022" X-Trace: ger.gmane.org 1205438408 14137 80.91.229.12 (13 Mar 2008 20:00:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2008 20:00:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 13 21:00:34 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 1JZtbB-0002xN-Bx for gctc-ntg-context-518@m.gmane.org; Thu, 13 Mar 2008 21:00:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BB08B1FBF6; Thu, 13 Mar 2008 20:59:46 +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 29767-03-3; Thu, 13 Mar 2008 20:59:05 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A50801FB7E; Thu, 13 Mar 2008 20:59:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9453D1FB5A for ; Thu, 13 Mar 2008 20:59:04 +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 29710-03-2 for ; Thu, 13 Mar 2008 20:58:31 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id 961A91FBF1 for ; Thu, 13 Mar 2008 20:58:31 +0100 (CET) Original-Received: FROM adi-laptop.local (Unknown [141.212.53.237]) BY tombraider.mr.itd.umich.edu ID 47D98763.D2472.24621 ; 13 Mar 2008 15:58:28 -0400 In-Reply-To: <20080313201352.c8819a36.schuster.wolfgang@googlemail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:39496 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-95387284-1205438369=:21022 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 13 Mar 2008, Wolfgang Schuster wrote: > 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 the >>>>> \in command in upshape format (even in an italic paragraph for >>>>> example). I tried with the 'left' option of \definereferenceformat, b= ut >>>>> 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] This was my first attempt, but it gave some trouble. I need to go back and= =20 check. Aditya --8323329-95387284-1205438369=:21022 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323329-95387284-1205438369=:21022--