[dev-context] Inconsistent Reference Counting

Mike Bird mgb-debian at yosemite.net
Sun Dec 31 21:29:48 CET 2006


References are classified as forward or backward based on
comparison of \crossreferencenumber against the sequence
number of the reference loaded from the previous pass.

\crossreferencenumber is incremented on all reference
definition writes including duplicates.

References loaded from the previous pass do not include
duplicates.

Thus forward/backward classification (e.g. in \somewhere)
is wrong in the presence of duplicate references.

One fix would be to not increment \crossreferencenumber
if this reference has already been written to the file.

Does anyone have any suggestions how to do this?

Thanks,

--Mike Bird



More information about the dev-context mailing list