* Trace references
@ 2016-09-08 13:35 Henri Menke
2016-09-08 13:46 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Henri Menke @ 2016-09-08 13:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Trace references
2016-09-08 13:35 Trace references Henri Menke
@ 2016-09-08 13:46 ` Wolfgang Schuster
2016-09-08 14:45 ` Henri Menke
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2016-09-08 13:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 946 bytes --]
> 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
[-- Attachment #1.2: Type: text/html, Size: 1958 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Trace references
2016-09-08 13:46 ` Wolfgang Schuster
@ 2016-09-08 14:45 ` Henri Menke
2016-09-08 16:17 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Henri Menke @ 2016-09-08 14:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Trace references
2016-09-08 14:45 ` Henri Menke
@ 2016-09-08 16:17 ` Hans Hagen
2016-09-08 16:38 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2016-09-08 16:17 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Trace references
2016-09-08 16:17 ` Hans Hagen
@ 2016-09-08 16:38 ` Wolfgang Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2016-09-08 16:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 681 bytes --]
> 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
[-- Attachment #1.2: Type: text/html, Size: 1830 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-09-08 16:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 13:35 Trace references Henri Menke
2016-09-08 13:46 ` Wolfgang Schuster
2016-09-08 14:45 ` Henri Menke
2016-09-08 16:17 ` Hans Hagen
2016-09-08 16:38 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).