Re: [dev-context] Inconsistent Reference Counting

2006-12-31 Thread Mike Bird
I was mistaken about the duplicate references.  It is footnotes which
are interfering with the reference counters.

Test case:

\starttext
\chapter[A]{One}
\footnote{foot}
\somewhere{before}{after}[B]
\chapter[B]{Two}
\stoptext

Any thoughts on a solution?

Thanks, 

--Mike Bird
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


Re: [dev-context] Inconsistent Reference Counting

2006-12-31 Thread Mike Bird
FWIW:

Using \Footnote defined as below in a document with
about 70 footnotes seems to correct all the \somewhere
problems.

\def\Footnote#1%
{\global\advance\crossreferencenumber\minusone\relax%
 \footnote{#1}}

Presumably \footnote is indirectly calling
\dodowritereference although I haven't traced the
full invocation path yet.

--Mike Bird
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context