From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39520 Path: news.gmane.org!not-for-mail From: "Johan Sandblom" Newsgroups: gmane.comp.tex.context Subject: Re: References and formulae numbers in upshape Date: Sat, 15 Mar 2008 09:45:36 +0100 Message-ID: <97a06f070803150145l27c30850gb9018a972c5294e0@mail.gmail.com> References: <200803140349.19954.morgan.brassel@free.fr> <20080314090049.fb43ade4.schuster.wolfgang@googlemail.com> <200803142230.30269.morgan.brassel@free.fr> <20080315082854.2caecd0c.schuster.wolfgang@googlemail.com> <47DB862B.5050800@bredband.net> Reply-To: johan.sandblom@ki.se, 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 1205570848 12665 80.91.229.12 (15 Mar 2008 08:47:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Mar 2008 08:47:28 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 15 09:47: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 1JaS3W-0006Dn-1V for gctc-ntg-context-518@m.gmane.org; Sat, 15 Mar 2008 09:47:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D5DAA1FBBD; Sat, 15 Mar 2008 09:47:16 +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 03277-02-5; Sat, 15 Mar 2008 09:46:37 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E7B271FB72; Sat, 15 Mar 2008 09:46:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 31C641FB72 for ; Sat, 15 Mar 2008 09:46:33 +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 03277-02-4 for ; Sat, 15 Mar 2008 09:46:03 +0100 (CET) Original-Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by ronja.ntg.nl (Postfix) with ESMTP id 8A3F71FB6B for ; Sat, 15 Mar 2008 09:45:37 +0100 (CET) Original-Received: by mu-out-0910.google.com with SMTP id g7so5407013muf.0 for ; Sat, 15 Mar 2008 01:45:37 -0700 (PDT) Original-Received: by 10.64.28.3 with SMTP id b3mr3737965qbb.2.1205570736738; Sat, 15 Mar 2008 01:45:36 -0700 (PDT) Original-Received: by 10.64.251.12 with HTTP; Sat, 15 Mar 2008 01:45:36 -0700 (PDT) In-Reply-To: <47DB862B.5050800@bredband.net> Content-Disposition: inline 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:39520 Archived-At: I believe the easy way is \mainlanguage{sv] which also has lots of other useful side effects. Johan, also from Sweden 2008/3/15, Jan-Erik H=E4ggl=F6f : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Wolfgang Schuster skrev: > > > 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= : > >>> 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 com= mand > >> similar to the one in LaTeX, with upshape number. But maybe a new opt= ion > >> would be welcome? (just as for numberstyle=3Dnormal in \setupformulae= ). What 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 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 > > ______________________________________________________________________= _____________ > > > > Hi! > > As a new Context user (former LateX) from Sweden according to the above > discussion about references style to figures. I have a following > question. How do I customize the appearance of the figure text, I mean > for example: > Under every figure there is : Figure 1, Figure 2, Figure 3 and so on. > How do I make it like this : Picture 1, Picture 2, Picture 3 or > Picture 1a .....1b and such.? > In the swedish translation there is "Figur 1......." > I understand that it has to do with defining my own kind of \definefloat > or similar. > > Best Regards > > Janneman > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFH24Yr/zRis+sQPvARAltuAKCRX8yebwmD1hUvOrO0lToDea+RowCgp1/E > QuGKQMpRfcnoMSU0lXkVE28=3D > =3DwSRD > -----END PGP SIGNATURE----- > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry t= o the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-c= ontext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ________________________________________________________________________= ___________ > -- = Johan Sandblom, MD PhD m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________