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
_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to