ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* references to footnotes are broken in mkiv
@ 2009-10-19  6:50 Thomas A. Schmitz
  2009-10-19  8:34 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas A. Schmitz @ 2009-10-19  6:50 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hi all,

the following example produces the correct reference in mkii but no  
reference in mkiv. Has anything changed, or is this a bug?

Thanks

Thomas

\starttext

A text\footnote[fnt:1]{A footnote} with a reference\footnote[fnt:2] 
{Another one} to a \in[fnt:2] footnote.

\stoptext
___________________________________________________________________________________
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] 6+ messages in thread

* Re: references to footnotes are broken in mkiv
  2009-10-19  6:50 references to footnotes are broken in mkiv Thomas A. Schmitz
@ 2009-10-19  8:34 ` Hans Hagen
  2009-10-19  9:14   ` Thomas A. Schmitz
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2009-10-19  8:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thomas A. Schmitz wrote:
> Hi all,
> 
> the following example produces the correct reference in mkii but no 
> reference in mkiv. Has anything changed, or is this a bug?
> 
> Thanks
> 
> Thomas
> 
> \starttext
> 
> A text\footnote[fnt:1]{A footnote} with a 
> reference\footnote[fnt:2]{Another one} to a \in[fnt:2] footnote.
> 
> \stoptext

fixed in next version; i'll send you a patch

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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] 6+ messages in thread

* Re: references to footnotes are broken in mkiv
  2009-10-19  8:34 ` Hans Hagen
@ 2009-10-19  9:14   ` Thomas A. Schmitz
  2009-10-19 20:37     ` Thomas A. Schmitz
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas A. Schmitz @ 2009-10-19  9:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Oct 19, 2009, at 10:34 AM, Hans Hagen wrote:

> fixed in next version; i'll send you a patch

Excellent, your patch works!

Thanks, and all best

Thomas
___________________________________________________________________________________
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] 6+ messages in thread

* Re: references to footnotes are broken in mkiv
  2009-10-19  9:14   ` Thomas A. Schmitz
@ 2009-10-19 20:37     ` Thomas A. Schmitz
  2009-10-22 21:33       ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas A. Schmitz @ 2009-10-19 20:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Oct 19, 2009, at 11:14 AM, Thomas A. Schmitz wrote:

>> fixed in next version; i'll send you a patch
>
> Excellent, your patch works!
>
> Thanks, and all best
>
> Thomas

Sorry to be a PITA, but could you fix references to items as well?  
They don't work either in mkiv:

\starttext

\startitemize[n]
\item[one] One
\item Two
\stopitemize

In item \in[one].

\stoptext

(Works in mkii, but not in mkiv)

All best

Thomas
___________________________________________________________________________________
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] 6+ messages in thread

* Re: references to footnotes are broken in mkiv
  2009-10-19 20:37     ` Thomas A. Schmitz
@ 2009-10-22 21:33       ` Hans Hagen
  2009-10-25  9:58         ` Thomas A. Schmitz
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2009-10-22 21:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thomas A. Schmitz wrote:
> 
> On Oct 19, 2009, at 11:14 AM, Thomas A. Schmitz wrote:
> 
>>> fixed in next version; i'll send you a patch
>>
>> Excellent, your patch works!
>>
>> Thanks, and all best
>>
>> Thomas
> 
> Sorry to be a PITA, but could you fix references to items as well? They 
> don't work either in mkiv:
> 
> \starttext
> 
> \startitemize[n]
> \item[one] One
> \item Two
> \stopitemize
> 
> In item \in[one].
> 
> \stoptext
> 
> (Works in mkii, but not in mkiv)

i'll fix this (we just need to register this ref class)

it will be possible to nil the stoppers for those numbers in an upcoming 
release, so you have to live with it for the moment.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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] 6+ messages in thread

* Re: references to footnotes are broken in mkiv
  2009-10-22 21:33       ` Hans Hagen
@ 2009-10-25  9:58         ` Thomas A. Schmitz
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas A. Schmitz @ 2009-10-25  9:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Oct 22, 2009, at 11:33 PM, Hans Hagen wrote:

> i'll fix this (we just need to register this ref class)
>
> it will be possible to nil the stoppers for those numbers in an  
> upcoming release, so you have to live with it for the moment.
>
> Hans

Hi Hans,

thanks for fixing this! There still is a slight inconsistency in the  
mkiv reference code. Look at the following example:

\starttext
\section{One}
\startitemize[n]
\item[one] One
\item Two
\stopitemize
In item \in[one].
\stoptext

In mkiv, the reference becomes "11" because the section number is  
prefixed. I didn't find a way to configure this, and if it gets  
prefixed, there should be something typeset in between, so it becomes  
1:1 or 1-1 or something.

All best

Thomas
___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2009-10-25  9:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-19  6:50 references to footnotes are broken in mkiv Thomas A. Schmitz
2009-10-19  8:34 ` Hans Hagen
2009-10-19  9:14   ` Thomas A. Schmitz
2009-10-19 20:37     ` Thomas A. Schmitz
2009-10-22 21:33       ` Hans Hagen
2009-10-25  9:58         ` Thomas A. Schmitz

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