\in: incorrect space in example in reference
Dear ConTeXt folks, in the example for `\in` in the reference [1] there is a space after the »(«. \placeformula[eq:pythagoras] \startformula a^2+b^2=c^2 \stopformula This is explained in \in{Equation (}{)}[eq:pythagoras]. Normally this space is useful since the suffix is something like Table or Figure. Can `\in` be used with brackets or does another command have to be defined/used for that? Thanks, Paul [1] http://wiki.contextgarden.net/Reference/en/in
Am 16.11.2011 um 10:44 schrieb Paul Menzel:
Dear ConTeXt folks,
in the example for `\in` in the reference [1] there is a space after the »(«.
\placeformula[eq:pythagoras] \startformula a^2+b^2=c^2 \stopformula
This is explained in \in{Equation (}{)}[eq:pythagoras].
Normally this space is useful since the suffix is something like Table or Figure.
Can `\in` be used with brackets or does another command have to be defined/used for that?
Use \definereferenceformat to create your own command. Wolfgang
Dear ConTeXt folks, Am Mittwoch, den 16.11.2011, 11:20 +0100 schrieb Wolfgang Schuster:
Am 16.11.2011 um 10:44 schrieb Paul Menzel:
in the example for `\in` in the reference [1] there is a space after the »(«.
\placeformula[eq:pythagoras] \startformula a^2+b^2=c^2 \stopformula
This is explained in \in{Equation (}{)}[eq:pythagoras].
Normally this space is useful since the suffix is something like Table or Figure.
Can `\in` be used with brackets or does another command have to be defined/used for that?
Use \definereferenceformat to create your own command.
to correct this in the reference do I just edit the Wiki article or is the reference automatically created? Thanks, Paul
I replied to the original thread, but no reply of that so far.
Am I the only one that has the problem not getting
%%% Start example
\definereferenceformat[eqref][left={(},right={)}]
\starttext
\placeformula[eq:gamma]
\startformula
\Gamma(n+1)=n!
\stopformula
The fundamental formula~\eqref[eq:gamma]\ldots.
\stoptext
%%% Stop example
to work in the latest mkiv minimals?
I get no number in the reference, only a ().
/Mikael
PS This seems to work for other numbers than the equation numbers.
On Thu, Nov 17, 2011 at 2:35 PM, Patrick Gundlach
to correct this in the reference do I just edit the Wiki article or is the reference automatically created?
Edit the Wiki article.
Patrick
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Same here. ConTeXt ver: 2011.11.09 20:58 MKIV. Referencing formulas with a number is not possible, due to the number not being typeset. Must be some sort of bug. Log says: references > unknown reference [][eq:gamma]
-----Ursprüngliche Nachricht----- Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Mikael P. Sundqvist Gesendet: Donnerstag, 17. November 2011 16:09 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)
I replied to the original thread, but no reply of that so far.
Am I the only one that has the problem not getting %%% Start example \definereferenceformat[eqref][left={(},right={)}]
\starttext \placeformula[eq:gamma] \startformula \Gamma(n+1)=n! \stopformula The fundamental formula~\eqref[eq:gamma]\ldots. \stoptext %%% Stop example
to work in the latest mkiv minimals?
I get no number in the reference, only a ().
/Mikael
PS This seems to work for other numbers than the equation numbers.
On Thu, Nov 17, 2011 at 2:35 PM, Patrick Gundlach
wrote: to correct this in the reference do I just edit the Wiki article or is the reference automatically created?
Edit the Wiki article.
Patrick
__________________________________________________________ _________________________
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
__________________________________________________________ _________________________
__________________________________________________________ _________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __________________________________________________________ _________________________
Am Donnerstag, den 17.11.2011, 16:32 +0100 schrieb Christian:
Same here. ConTeXt ver: 2011.11.09 20:58 MKIV. Referencing formulas with a number is not possible, due to the number not being typeset. Must be some sort of bug. Log says: references > unknown reference [][eq:gamma]
There is another thread were Wolfgang wrote he is aware of this but it takes time fixing. He even offered a work around [1]. Re: [NTG-context] No numbers with `\ref` and floats like `\placetable` Thanks, Paul PS: Please you should all follow the netiquette [2]. Mikael, especially regarding subject lines. [1] http://www.ntg.nl/pipermail/ntg-context/2011/062930.html [2] http://en.opensuse.org/openSUSE:Mailing_list_netiquette
On 17-11-2011 16:32, Christian wrote:
Same here. ConTeXt ver: 2011.11.09 20:58 MKIV. Referencing formulas with a number is not possible, due to the number not being typeset. Must be some sort of bug.
I'll look into it (probably this weekend) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Dear Paul,
this used to work:
%%% Start example
\definereferenceformat[eqref][left={(},right={)}]
\starttext
\placeformula[eq:gamma]
\startformula
\Gamma(n+1)=n!
\stopformula
The fundamental formula~\eqref[eq:gamma]\ldots.
\stoptext
%%% Stop example
But with the latest minimals it does not. It gives empty () where
there is supposed to be (1). I hope someone will look into this, since
it would be convenient to get it to work again.
Best regards, Mikael
On Wed, Nov 16, 2011 at 10:44 AM, Paul Menzel
Dear ConTeXt folks,
in the example for `\in` in the reference [1] there is a space after the »(«.
\placeformula[eq:pythagoras] \startformula a^2+b^2=c^2 \stopformula
This is explained in \in{Equation (}{)}[eq:pythagoras].
Normally this space is useful since the suffix is something like Table or Figure.
Can `\in` be used with brackets or does another command have to be defined/used for that?
Thanks,
Paul
[1] http://wiki.contextgarden.net/Reference/en/in
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (6)
-
Christian
-
Hans Hagen
-
Mikael P. Sundqvist
-
Patrick Gundlach
-
Paul Menzel
-
Wolfgang Schuster