From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96076 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Trace references Date: Thu, 08 Sep 2016 18:38:56 +0200 Message-ID: <57D19420.909@gmail.com> References: <34c430e8-19e1-a83a-d24b-bb445546a3bc@gmail.com> <57D16BBE.30403@gmail.com> <2781f626-0c48-1639-349e-5915a00afb7e@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3991914082753621663==" X-Trace: blaine.gmane.org 1473352780 17202 195.159.176.226 (8 Sep 2016 16:39:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2016 16:39:40 +0000 (UTC) User-Agent: Postbox 5.0b5 (Macintosh/20160907) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 08 18:39:36 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi2MQ-0003p7-CC for gctc-ntg-context-518@m.gmane.org; Thu, 08 Sep 2016 18:39:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 16F91176D0; Thu, 8 Sep 2016 18:39:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jsV8Ph_B0Mau; Thu, 8 Sep 2016 18:39:11 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 9E167177A2; Thu, 8 Sep 2016 18:39:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7F2B0176D0 for ; Thu, 8 Sep 2016 18:39:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FmwDqqHAFLRa for ; Thu, 8 Sep 2016 18:39:10 +0200 (CEST) Original-Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 11A0710E67 for ; Thu, 8 Sep 2016 18:39:00 +0200 (CEST) Original-Received: by mail-wm0-f43.google.com with SMTP id b187so179228993wme.1 for ; Thu, 08 Sep 2016 09:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=fbPv97/X16BvzAjPx1xGJ6bU45bwr68mPXVcQ1pvSUo=; b=BCJ6RbnUQSrgTtwVBAi8uQHKz0wG4ASX/Xau25yE27SYg10uUoygU92AZoxMpcS4t5 D8jbMDlOCO8ol8B2XrICJgrt1+VzHdH0Li1Y6Eg7uds/rYqKWfDBh8nDditIZeNJeh4r 7AheHaGps4p8Zvl7+O0apDtzTI+TmnFmtKGpncn6WZ0cWeXGHOzax5+88fyl8oR25m64 DjZNv+/e6E8FbWE0uKbI10uRPOcm1F3O4lkZBpkOwzmr/tz4bUgSh73Stc/gqZivlh4c +OXCIbhACeLu2w2JUlDtGb1EodQ5+fhE5YSczEDt/sblQp/KSUFgJy/+KWZntq/5d2Uk 8l7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=fbPv97/X16BvzAjPx1xGJ6bU45bwr68mPXVcQ1pvSUo=; b=Hj24FxPpK3iaEV6+P7hrhYx6/f9SXpcOJf8Z1NRLD55eUavGahGhg6N60mFddL7bhZ jcUxn0/FMPGt5H3hz3KtAWc4o2/yZbTumfttZbLNd68RupX8Od39u95hd+q6t4QMDWZg MCWZlXi17Ns6tFvtKOmmMkwQgf62OhyTq90Q4Tzzis2K/tS3P/Fyc92coKYCn6BBbrqU 76JUiLZEAAYRxuoh6tO7cfrj1bhWTJZUHs4mbDujT07gKCYnx1W5R2wws+aWcaIxh4BI uwTWVKhOPchkucaNo4mPnzYYSnjS4W9wudpy6d/wqYoIz/f5w76HIZBlm8LxCM2v7jGX 8PCQ== X-Gm-Message-State: AE9vXwMmI63CUCNUI6z3yYKR+HXgWoDOK+LfzdRQbaegBeLpsSqAeDaRi5j6pT4P5dO8Ag== X-Received: by 10.28.184.19 with SMTP id i19mr1141864wmf.43.1473352739412; Thu, 08 Sep 2016 09:38:59 -0700 (PDT) Original-Received: from keima.localdomain (x2f24590.dyn.telefonica.de. [2.242.69.144]) by smtp.gmail.com with ESMTPSA id kk6sm42832801wjb.44.2016.09.08.09.38.58 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Sep 2016 09:38:58 -0700 (PDT) In-Reply-To: <2781f626-0c48-1639-349e-5915a00afb7e@wxs.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96076 Archived-At: This is a multi-part message in MIME format. --===============3991914082753621663== Content-Type: multipart/alternative; boundary="------------040208010209070803000908" This is a multi-part message in MIME format. --------------040208010209070803000908 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Hans Hagen > 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 --------------040208010209070803000908 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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
--------------040208010209070803000908-- --===============3991914082753621663== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============3991914082753621663==--