Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Wolfgang Schuster
On Fri, 14 Mar 2008 22:30:30 +0100
Morgan Brassel [EMAIL PROTECTED] 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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Jan-Erik Hägglöf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wolfgang Schuster skrev:
 On Fri, 14 Mar 2008 22:30:30 +0100
 Morgan Brassel [EMAIL PROTECTED] 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 .1band 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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Johan Sandblom
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 [EMAIL PROTECTED]:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1

  Wolfgang Schuster skrev:

  On Fri, 14 Mar 2008 22:30:30 +0100
   Morgan Brassel [EMAIL PROTECTED] 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 .1band 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
  
 ___



-- 
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 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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Jan-Erik Hägglöf
-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 [EMAIL PROTECTED]:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1

  Wolfgang Schuster skrev:

 On Fri, 14 Mar 2008 22:30:30 +0100
   Morgan Brassel [EMAIL PROTECTED] 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 .1band 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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Wolfgang Schuster
 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

\setuplabeltext[sv][figure=Bild ]

 if you want to referencing to subfigures like whatever 1a  whatever 1b ?

\placefigure[here][fig:dummy]
  {\startcombination[2*1]
 {\externalfigure[dummy]}{a}
 {\externalfigure[dummy]}{b}
   \stopcombination}

See \in{figure}{a}[fig:dummy] and \in{figure}{b}[fig:dummy].

Greetings
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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Jan-Erik Hägglöf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wolfgang Schuster skrev:
 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
 
 \setuplabeltext[sv][figure=Bild ]
 
 if you want to referencing to subfigures like whatever 1a  whatever 1b ?
 
 \placefigure[here][fig:dummy]
   {\startcombination[2*1]
  {\externalfigure[dummy]}{a}
  {\externalfigure[dummy]}{b}
\stopcombination}
 
 See \in{figure}{a}[fig:dummy] and \in{figure}{b}[fig:dummy].
 
 Greetings
 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
 ___
 

Just Great!
Many thanks, it is good to to have you around!

Janneman - Örebro - Sweden




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH2+go/zRis+sQPvARAgszAKDEanNAprgNVuj49C4432GlBEMgIACg4qp7
aKqRPDNCxystR4CtZpnXH10=
=Im34
-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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-14 Thread Wolfgang Schuster
On Fri, 14 Mar 2008 03:49:19 +0100
Morgan Brassel [EMAIL PROTECTED] wrote:

 
   \definereferenceformat
[eqref]
[left=\bgroup\normal(,
 right=)\egroup]
 
  This was my first attempt, but it gave some trouble. I need to go back and
  check.
 
  Aditya
 
 I now realize that my first question was not very clear: what I need in fact 
 is to typeset *all* references obtained by the \in command in upshape. For 
 example, in {\it See \in{Figure}[fig:det] for details.}, I would like to 
 see 'Figure 1' in upshape and the rest in italic. I tried:
 
 \setupreferencing
   [left=\bgroup\normal,
right=\egroup]
 
 without success. Is there a way to achieve this without defining new 
 reference 
 formats?

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

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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-14 Thread Morgan Brassel
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

 Wolfgang

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...

Morgan
___
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
___


[NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Morgan Brassel

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, 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...

Greetings,
Morgan
___
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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Aditya Mahajan
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, 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=(,right=)]
\def\eqref[#1]{{\normal \doeqref[#1]}}

And then \eqref[tag]..

Aditya
___
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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Morgan Brassel
Le Thursday 13 March 2008 13:03:22 Aditya Mahajan, vous avez écrit :
 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, 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=(,right=)]
 \def\eqref[#1]{{\normal \doeqref[#1]}}

 And then \eqref[tag]..

 Aditya

Thank you, I'll use this too! It could be useful to add an option to 
\definereferenceformat to get the same result. Is it hard to implement?

And concerning the equation tag itself, I mean the one introduced by 
\placeformula, is there a way to have it always typeset in upshape?

Morgan
___
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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Wolfgang Schuster
On Thu, 13 Mar 2008 08:03:22 -0400 (EDT)
Aditya Mahajan [EMAIL PROTECTED] 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, 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=(,right=)]
 \def\eqref[#1]{{\normal \doeqref[#1]}}

Why not

\definereferenceformat
  [eqref]
  [left=\normal(,
   right=)]

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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Morgan Brassel
Le Thursday 13 March 2008 19:16:02 Wolfgang Schuster, vous avez écrit :
 On Thu, 13 Mar 2008 08:03:22 -0400 (EDT)

 Aditya Mahajan [EMAIL PROTECTED] 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, 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=(,right=)]
  \def\eqref[#1]{{\normal \doeqref[#1]}}

 Why not

 \definereferenceformat
   [eqref]
   [left=\normal(,
right=)]

 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?

Well, it seems ok for me in slanted enumerations for theorems and such.
Thank you!

Morgan
___
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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Wolfgang Schuster
On Thu, 13 Mar 2008 19:44:06 +0100
Morgan Brassel [EMAIL PROTECTED] wrote:

 Le Thursday 13 March 2008 19:16:02 Wolfgang Schuster, vous avez écrit :
  On Thu, 13 Mar 2008 08:03:22 -0400 (EDT)
 
  Aditya Mahajan [EMAIL PROTECTED] 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, 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=(,right=)]
   \def\eqref[#1]{{\normal \doeqref[#1]}}
 
  Why not
 
  \definereferenceformat
[eqref]
[left=\normal(,
 right=)]
 
  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=\bgroup\normal(,
   right=)\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 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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Aditya Mahajan

On Thu, 13 Mar 2008, Wolfgang Schuster wrote:


On Thu, 13 Mar 2008 19:44:06 +0100
Morgan Brassel [EMAIL PROTECTED] wrote:


Le Thursday 13 March 2008 19:16:02 Wolfgang Schuster, vous avez écrit :

On Thu, 13 Mar 2008 08:03:22 -0400 (EDT)

Aditya Mahajan [EMAIL PROTECTED] 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, 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=(,right=)]
\def\eqref[#1]{{\normal \doeqref[#1]}}


Why not

\definereferenceformat
  [eqref]
  [left=\normal(,
   right=)]

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=\bgroup\normal(,
  right=)\egroup]


This was my first attempt, but it gave some trouble. I need to go back and 
check.


Aditya___
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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Aditya Mahajan

On Thu, 13 Mar 2008, Morgan Brassel wrote:


Le Thursday 13 March 2008 13:03:22 Aditya Mahajan, vous avez écrit :

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, 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=(,right=)]
\def\eqref[#1]{{\normal \doeqref[#1]}}

And then \eqref[tag]..

Aditya


Thank you, I'll use this too! It could be useful to add an option to
\definereferenceformat to get the same result. Is it hard to implement?

And concerning the equation tag itself, I mean the one introduced by
\placeformula, is there a way to have it always typeset in upshape?


\setupformulas[numberstyle=normal]

Aditya
___
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
___


Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Morgan Brassel

  \definereferenceformat
   [eqref]
   [left=\bgroup\normal(,
right=)\egroup]

 This was my first attempt, but it gave some trouble. I need to go back and
 check.

 Aditya

I now realize that my first question was not very clear: what I need in fact 
is to typeset *all* references obtained by the \in command in upshape. For 
example, in {\it See \in{Figure}[fig:det] for details.}, I would like to 
see 'Figure 1' in upshape and the rest in italic. I tried:

\setupreferencing
  [left=\bgroup\normal,
   right=\egroup]

without success. Is there a way to achieve this without defining new reference 
formats?

Thanks in advance,
Morgan
___
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
___