[NTG-context] \in: incorrect space in example in reference

2011-11-16 Thread 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


in.pdf
Description: Adobe PDF document
\starttext
\placeformula[eq:pythagoras]
\startformula
  a^2+b^2=c^2
\stopformula

This is explained in \in{Equation (}{)}[eq:pythagoras].
\stoptext


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] \in: incorrect space in example in reference

2011-11-16 Thread Wolfgang Schuster

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


Re: [NTG-context] \in: incorrect space in example in reference

2011-11-16 Thread Mikael P. Sundqvist
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
paulepan...@users.sourceforge.net wrote:
 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
 ___

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