ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan-Erik Hägglöf" <janerik.hagglof@bredband.net>
To: johan.sandblom@ki.se,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: References and formulae numbers in upshape
Date: Sat, 15 Mar 2008 10:10:52 +0100	[thread overview]
Message-ID: <47DB929C.2000701@bredband.net> (raw)
In-Reply-To: <97a06f070803150145l27c30850gb9018a972c5294e0@mail.gmail.com>

-----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ägglöf <janerik.hagglof@bredband.net>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>>  Hash: SHA1
>>
>>  Wolfgang Schuster skrev:
>>
>>> On Fri, 14 Mar 2008 22:30:30 +0100
>>  > Morgan Brassel <morgan.brassel@free.fr> wrote:
>>  >
>>  >> Le Friday 14 March 2008 09:00:49 Wolfgang Schuster, vous avez écrit :
>>  >>> 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=\normal,
>>  >>>    text=\normal Figure,
>>  >>>    command=\normalin]
>>  >>>
>>  >>> \let\in\figref
>>  >>>
>>  >>> \starttext
>>  >>>
>>  >>> \placefigure
>>  >>>   [here][fig:det]
>>  >>>   {Example}
>>  >>>   {\blackrule[width=3cm,height=3cm]}
>>  >>>
>>  >>> \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=normal 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=
>>  =wSRD
>>  -----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 -- Örebro - 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=
=Eo0R
-----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
___________________________________________________________________________________


  reply	other threads:[~2008-03-15  9:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13  0:39 Morgan Brassel
2008-03-13 12:03 ` Aditya Mahajan
2008-03-13 17:50   ` Morgan Brassel
2008-03-13 20:00     ` Aditya Mahajan
2008-03-13 18:16   ` Wolfgang Schuster
2008-03-13 18:44     ` Morgan Brassel
2008-03-13 19:13       ` Wolfgang Schuster
2008-03-13 19:59         ` Aditya Mahajan
2008-03-14  2:49           ` Morgan Brassel
2008-03-14  8:00             ` Wolfgang Schuster
2008-03-14 21:30               ` Morgan Brassel
2008-03-15  7:28                 ` Wolfgang Schuster
2008-03-15  8:17                   ` Jan-Erik Hägglöf
2008-03-15  8:45                     ` Johan Sandblom
2008-03-15  9:10                       ` Jan-Erik Hägglöf [this message]
2008-03-15 14:33                         ` Wolfgang Schuster
2008-03-15 15:15                           ` Jan-Erik Hägglöf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47DB929C.2000701@bredband.net \
    --to=janerik.hagglof@bredband.net \
    --cc=johan.sandblom@ki.se \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).