On 9/8/2016 4:45 PM, Henri Menke wrote:
On 09/08/2016 03:46 PM, Wolfgang Schuster wrote:
Henri Menke <mailto:henrime...@gmail.com>
8. September 2016 um 15:35
Dear list,
when using cross referencing in my document, LaTeX has the nice warning messages
LaTeX Warning: Reference 'foo' on page XX undefined on input line YY.
LaTeX Warning: Label `foo' multiply defined.
LaTeX Warning: There were undefined references.
LaTeX Warning: There were multiply-defined labels.
Is there something similar in ConTeXt? The wiki is a little outdated in that
regard as \tracereferences does not exist anymore and also is probably not what
I'm looking for. I already found \usemodule[references-show] but this only
prints annotations on the page.
You can use trackers:
\enabletrackers[structures.referencing]
\enabletrackers[structures.referencing.analyzing]
\enabletrackers[structures.referencing.identifying]
\enabletrackers[structures.referencing.importing]
\enabletrackers[structures.referencing.empty]
Thanks for the pointer, but that is not really what I'm after. Enabling all
these trackers clutters my log all the internal reference information. I just
want to know which ones are undefined and which are duplicate.
then just look in the log file
\in[foo]
produces
references > start problematic references
references > unknown > 1: [][foo]
references > stop problematic references
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 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
___________________________________________________________________________________