* References and formulae numbers in upshape @ 2008-03-13 0:39 Morgan Brassel 2008-03-13 12:03 ` Aditya Mahajan 0 siblings, 1 reply; 17+ messages in thread From: Morgan Brassel @ 2008-03-13 0:39 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-13 0:39 References and formulae numbers in upshape Morgan Brassel @ 2008-03-13 12:03 ` Aditya Mahajan 2008-03-13 17:50 ` Morgan Brassel 2008-03-13 18:16 ` Wolfgang Schuster 0 siblings, 2 replies; 17+ messages in thread From: Aditya Mahajan @ 2008-03-13 12:03 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 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 1 sibling, 1 reply; 17+ messages in thread From: Morgan Brassel @ 2008-03-13 17:50 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-13 17:50 ` Morgan Brassel @ 2008-03-13 20:00 ` Aditya Mahajan 0 siblings, 0 replies; 17+ messages in thread From: Aditya Mahajan @ 2008-03-13 20:00 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 1200 bytes --] 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 [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-13 12:03 ` Aditya Mahajan 2008-03-13 17:50 ` Morgan Brassel @ 2008-03-13 18:16 ` Wolfgang Schuster 2008-03-13 18:44 ` Morgan Brassel 1 sibling, 1 reply; 17+ messages in thread From: Wolfgang Schuster @ 2008-03-13 18:16 UTC (permalink / raw) To: ntg-context On Thu, 13 Mar 2008 08:03:22 -0400 (EDT) Aditya Mahajan <adityam@umich.edu> 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-13 18:16 ` Wolfgang Schuster @ 2008-03-13 18:44 ` Morgan Brassel 2008-03-13 19:13 ` Wolfgang Schuster 0 siblings, 1 reply; 17+ messages in thread From: Morgan Brassel @ 2008-03-13 18:44 UTC (permalink / raw) To: mailing list for ConTeXt users 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 <adityam@umich.edu> 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-13 18:44 ` Morgan Brassel @ 2008-03-13 19:13 ` Wolfgang Schuster 2008-03-13 19:59 ` Aditya Mahajan 0 siblings, 1 reply; 17+ messages in thread From: Wolfgang Schuster @ 2008-03-13 19:13 UTC (permalink / raw) To: ntg-context On Thu, 13 Mar 2008 19:44:06 +0100 Morgan Brassel <morgan.brassel@free.fr> 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 <adityam@umich.edu> 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-13 19:13 ` Wolfgang Schuster @ 2008-03-13 19:59 ` Aditya Mahajan 2008-03-14 2:49 ` Morgan Brassel 0 siblings, 1 reply; 17+ messages in thread From: Aditya Mahajan @ 2008-03-13 19:59 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 1602 bytes --] On Thu, 13 Mar 2008, Wolfgang Schuster wrote: > On Thu, 13 Mar 2008 19:44:06 +0100 > Morgan Brassel <morgan.brassel@free.fr> 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 <adityam@umich.edu> 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 [-- Attachment #2: Type: text/plain, Size: 487 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-13 19:59 ` Aditya Mahajan @ 2008-03-14 2:49 ` Morgan Brassel 2008-03-14 8:00 ` Wolfgang Schuster 0 siblings, 1 reply; 17+ messages in thread From: Morgan Brassel @ 2008-03-14 2:49 UTC (permalink / raw) To: mailing list for ConTeXt users > > \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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-14 2:49 ` Morgan Brassel @ 2008-03-14 8:00 ` Wolfgang Schuster 2008-03-14 21:30 ` Morgan Brassel 0 siblings, 1 reply; 17+ messages in thread From: Wolfgang Schuster @ 2008-03-14 8:00 UTC (permalink / raw) To: ntg-context On Fri, 14 Mar 2008 03:49:19 +0100 Morgan Brassel <morgan.brassel@free.fr> 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-14 8:00 ` Wolfgang Schuster @ 2008-03-14 21:30 ` Morgan Brassel 2008-03-15 7:28 ` Wolfgang Schuster 0 siblings, 1 reply; 17+ messages in thread From: Morgan Brassel @ 2008-03-14 21:30 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-14 21:30 ` Morgan Brassel @ 2008-03-15 7:28 ` Wolfgang Schuster 2008-03-15 8:17 ` Jan-Erik Hägglöf 0 siblings, 1 reply; 17+ messages in thread From: Wolfgang Schuster @ 2008-03-15 7:28 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-15 7:28 ` Wolfgang Schuster @ 2008-03-15 8:17 ` Jan-Erik Hägglöf 2008-03-15 8:45 ` Johan Sandblom 0 siblings, 1 reply; 17+ messages in thread From: Jan-Erik Hägglöf @ 2008-03-15 8:17 UTC (permalink / raw) To: mailing list for ConTeXt users -----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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 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 0 siblings, 1 reply; 17+ messages in thread From: Johan Sandblom @ 2008-03-15 8:45 UTC (permalink / raw) To: mailing list for ConTeXt users 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 > ___________________________________________________________________________________ > -- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-15 8:45 ` Johan Sandblom @ 2008-03-15 9:10 ` Jan-Erik Hägglöf 2008-03-15 14:33 ` Wolfgang Schuster 0 siblings, 1 reply; 17+ messages in thread From: Jan-Erik Hägglöf @ 2008-03-15 9:10 UTC (permalink / raw) To: johan.sandblom, mailing list for ConTeXt users -----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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-15 9:10 ` Jan-Erik Hägglöf @ 2008-03-15 14:33 ` Wolfgang Schuster 2008-03-15 15:15 ` Jan-Erik Hägglöf 0 siblings, 1 reply; 17+ messages in thread From: Wolfgang Schuster @ 2008-03-15 14:33 UTC (permalink / raw) To: ntg-context > 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: References and formulae numbers in upshape 2008-03-15 14:33 ` Wolfgang Schuster @ 2008-03-15 15:15 ` Jan-Erik Hägglöf 0 siblings, 0 replies; 17+ messages in thread From: Jan-Erik Hägglöf @ 2008-03-15 15:15 UTC (permalink / raw) To: mailing list for ConTeXt users -----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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2008-03-15 15:15 UTC | newest] Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-03-13 0:39 References and formulae numbers in upshape 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 2008-03-15 14:33 ` Wolfgang Schuster 2008-03-15 15:15 ` Jan-Erik Hägglöf
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).