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. Another thing, my bibliography emits like a hundred lines of backend > references > no internal reference 0 What triggers this warning? Cheers, Henri
Henri Menke mailto:henrimenke@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] Wolfgang
On 09/08/2016 03:46 PM, Wolfgang Schuster wrote:
Henri Menke mailto:henrimenke@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. Cheers, Henri
Wolfgang
___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 9/8/2016 4:45 PM, Henri Menke wrote:
On 09/08/2016 03:46 PM, Wolfgang Schuster wrote:
Henri Menke mailto:henrimenke@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 -----------------------------------------------------------------
Hans Hagen mailto:pragma@wxs.nl 8. September 2016 um 18:17
then just look in the log file
\in[foo]
produces
references > start problematic references
references > unknown > 1: [][foo]
references > stop problematic references Duplicates are only listed with user set references, sections or floats are mentioned in the log.
\starttext \chapter[sec:first] {First chapter} \chapter[sec:second]{Second chapter} \chapter[sec:first] {Third chapter} \pagereference[ref:page] \pagereference[ref:page] \stoptext shows only references > redundant reference 'ref:page' but 'sec:first' is missing. Wolfgang
participants (3)
-
Hans Hagen
-
Henri Menke
-
Wolfgang Schuster