ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \in: incorrect space in example in reference
@ 2011-11-16  9:44 Paul Menzel
  2011-11-16 10:20 ` Wolfgang Schuster
  2011-11-16 10:23 ` \in: incorrect space in example in reference Mikael P. Sundqvist
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Menzel @ 2011-11-16  9:44 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 546 bytes --]

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

[-- Attachment #1.1.2: in.pdf --]
[-- Type: application/pdf, Size: 12639 bytes --]

[-- Attachment #1.1.3: in.tex --]
[-- Type: text/x-tex, Size: 156 bytes --]

\starttext
\placeformula[eq:pythagoras]
\startformula
  a^2+b^2=c^2
\stopformula

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \in: incorrect space in example in reference
  2011-11-16  9:44 \in: incorrect space in example in reference Paul Menzel
@ 2011-11-16 10:20 ` Wolfgang Schuster
  2011-11-16 12:26   ` Edid of reference in Wiki (was: \in: incorrect space in example in reference) Paul Menzel
  2011-11-16 10:23 ` \in: incorrect space in example in reference Mikael P. Sundqvist
  1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-11-16 10:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: \in: incorrect space in example in reference
  2011-11-16  9:44 \in: incorrect space in example in reference Paul Menzel
  2011-11-16 10:20 ` Wolfgang Schuster
@ 2011-11-16 10:23 ` Mikael P. Sundqvist
  1 sibling, 0 replies; 9+ messages in thread
From: Mikael P. Sundqvist @ 2011-11-16 10:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
<paulepanter@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Edid of reference in Wiki (was: \in: incorrect space in example in reference)
  2011-11-16 10:20 ` Wolfgang Schuster
@ 2011-11-16 12:26   ` Paul Menzel
  2011-11-17 13:35     ` Patrick Gundlach
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Menzel @ 2011-11-16 12:26 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 830 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Edid of reference in Wiki (was: \in: incorrect space in example in reference)
  2011-11-16 12:26   ` Edid of reference in Wiki (was: \in: incorrect space in example in reference) Paul Menzel
@ 2011-11-17 13:35     ` Patrick Gundlach
  2011-11-17 15:08       ` Mikael P. Sundqvist
  0 siblings, 1 reply; 9+ messages in thread
From: Patrick Gundlach @ 2011-11-17 13:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Edid of reference in Wiki (was: \in: incorrect space in example in reference)
  2011-11-17 13:35     ` Patrick Gundlach
@ 2011-11-17 15:08       ` Mikael P. Sundqvist
  2011-11-17 15:32         ` Christian
  0 siblings, 1 reply; 9+ messages in thread
From: Mikael P. Sundqvist @ 2011-11-17 15:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <patrick@gundla.ch> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Edid of reference in Wiki (was: \in: incorrect space in example in reference)
  2011-11-17 15:08       ` Mikael P. Sundqvist
@ 2011-11-17 15:32         ` Christian
  2011-11-17 16:23           ` Paul Menzel
  2011-11-18  7:20           ` Edid of reference in Wiki Hans Hagen
  0 siblings, 2 replies; 9+ messages in thread
From: Christian @ 2011-11-17 15:32 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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 <patrick@gundla.ch>
> 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
> __________________________________________________________
> _________________________

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Edid of reference in Wiki (was: \in: incorrect space in example in reference)
  2011-11-17 15:32         ` Christian
@ 2011-11-17 16:23           ` Paul Menzel
  2011-11-18  7:20           ` Edid of reference in Wiki Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Paul Menzel @ 2011-11-17 16:23 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 751 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Edid of reference in Wiki
  2011-11-17 15:32         ` Christian
  2011-11-17 16:23           ` Paul Menzel
@ 2011-11-18  7:20           ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2011-11-18  7:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-18  7:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-16  9:44 \in: incorrect space in example in reference Paul Menzel
2011-11-16 10:20 ` Wolfgang Schuster
2011-11-16 12:26   ` Edid of reference in Wiki (was: \in: incorrect space in example in reference) Paul Menzel
2011-11-17 13:35     ` Patrick Gundlach
2011-11-17 15:08       ` Mikael P. Sundqvist
2011-11-17 15:32         ` Christian
2011-11-17 16:23           ` Paul Menzel
2011-11-18  7:20           ` Edid of reference in Wiki Hans Hagen
2011-11-16 10:23 ` \in: incorrect space in example in reference Mikael P. Sundqvist

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