From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39521 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan-Erik_H=E4ggl=F6f?= Newsgroups: gmane.comp.tex.context Subject: Re: References and formulae numbers in upshape Date: Sat, 15 Mar 2008 10:10:52 +0100 Message-ID: <47DB929C.2000701@bredband.net> 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> <97a06f070803150145l27c30850gb9018a972c5294e0@mail.gmail.com> 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 1205572586 16954 80.91.229.12 (15 Mar 2008 09:16:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Mar 2008 09:16:26 +0000 (UTC) To: johan.sandblom@ki.se, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 15 10:16: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 1JaSVa-0004vB-Nq for gctc-ntg-context-518@m.gmane.org; Sat, 15 Mar 2008 10:16:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7FC321FBCB; Sat, 15 Mar 2008 10:16: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 06973-04-5; Sat, 15 Mar 2008 10:15:40 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A4201FB6D; Sat, 15 Mar 2008 10:15:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD2B41FB6D for ; Sat, 15 Mar 2008 10:15: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 09114-03 for ; Sat, 15 Mar 2008 10:14:55 +0100 (CET) Original-Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by ronja.ntg.nl (Postfix) with ESMTP id 7A64B1FB60 for ; Sat, 15 Mar 2008 10:10:53 +0100 (CET) Original-Received: from ironport.bredband.com (195.54.101.120) by proxy1.bredband.net (7.3.127) id 479F27B700E9BFCF for ntg-context@ntg.nl; Sat, 15 Mar 2008 10:10:53 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AowQAM8u20fVceFDPGdsb2JhbAAIkG0BAQEBNgGXSg Original-Received: from c-43e171d5.08-114-6f72653.cust.bredbandsbolaget.se (HELO [192.168.1.4]) ([213.113.225.67]) by ironport1.bredband.com with ESMTP; 15 Mar 2008 10:10:52 +0100 User-Agent: Thunderbird 2.0.0.12 (X11/20080227) In-Reply-To: <97a06f070803150145l27c30850gb9018a972c5294e0@mail.gmail.com> X-Enigmail-Version: 0.95.0 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:39521 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johan Sandblom skrev: > 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 =E9cri= t : >> >>> 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 co= mmand >> >> similar to the one in LaTeX, with upshape number. But maybe a new op= tion >> >> would be welcome? (just as for numberstyle=3Dnormal in \setupformula= e). 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 ... wi= th >> > the current implementation. >> > >> > Wolfgang >> > _____________________________________________________________________= ______________ >> > If your question is of interest to others as well, please add an entr= y to the Wiki! >> > >> > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-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 = 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 >> _______________________________________________________________________= ____________ >> > = > = Good to have more pals from sweden! Thanks for the answer, actually it was not what I meant. I already use \mainlanguage[sv], but how do you customize so it appears like: Bild 1 , Bild 2, ...... or whatever 1 whatever 2 ..... or maybe if you want to referencing to subfigures like whatever 1a whatever 1b ....? Thanks in Advance Best Regards Janneman -- =D6rebro - sweden -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH25Kb/zRis+sQPvARApFAAKC+TUUkQObvJwQQPvkjNP86tCH3CgCgjRZI mcVAhziSRr0JkjOU2otjqT4=3D =3DEo0R -----END PGP SIGNATURE----- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________