From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68794 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Validate (cross)references Date: Fri, 27 May 2011 20:03:30 +0200 Message-ID: <4FB29C60-7C2C-472F-ABA6-D234FD949727@elvenkind.com> References: <15410263440.20110527170442@gmx.de> <9969F0B4-6FAD-43E7-B58F-6923425027B6@googlemail.com> <1213928373.20110527171930@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (iPad Mail 8J2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306519400 19858 80.91.229.12 (27 May 2011 18:03:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 May 2011 18:03:20 +0000 (UTC) Cc: mailing list for ConTeXt users To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 27 20:03:15 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QQ1NS-0003tr-9Y for gctc-ntg-context-518@m.gmane.org; Fri, 27 May 2011 20:03:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1B4FCAD93; Fri, 27 May 2011 20:03:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wesqDgYQw7Wd; Fri, 27 May 2011 20:03:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1BACECAD79; Fri, 27 May 2011 20:03:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 493D9CAD79 for ; Fri, 27 May 2011 20:03:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AMrbU01Ydb1T for ; Fri, 27 May 2011 20:02:57 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 99061CAC8D for ; Fri, 27 May 2011 20:02:57 +0200 (CEST) Original-Received: from server5.aanhet.net (server5.aanhet.net [195.12.62.5]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4RHPF1M002729 for ; Fri, 27 May 2011 19:25:16 +0200 Original-Received: from localhost (server5.aanhet.net [127.0.0.1]) by server5.aanhet.net (Postfix) with ESMTP id 27B042000C16 for ; Fri, 27 May 2011 20:02:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at server5.aanhet.net Original-Received: from server5.aanhet.net ([127.0.0.1]) by localhost (server5.aanhet.net [127.0.0.1]) (amavisd-new, port 10025) with LMTP id O9IuRKu2x2lV for ; Fri, 27 May 2011 20:02:55 +0200 (CEST) Original-Received: from [192.168.178.32] (boo.demon.nl [83.163.247.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by server5.aanhet.net (Postfix) with ESMTPSA id D1BB82000245 for ; Fri, 27 May 2011 20:02:55 +0200 (CEST) In-Reply-To: X-Mailer: iPad Mail (8J2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=195.12.62.5; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aEMFpfKI - 0f76c7d4df6a - 20110527 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68794 Archived-At: On 27 mei 2011, at 19:50, Aditya Mahajan wrote: > On Fri, 27 May 2011, Jesse Alama wrote: > >> Throwing an error would be one way to do this. If throwing an error is not possible, perhaps being able to customize what gets printed when an undefined reference is encountered. E.g., instead of "??", a big, annoying, impossible-to-miss mark in the margin (as one sees when working with overfull lines) or a giant red stopsign saying "UNDEFINED REFERENCE", would do just as well. > > \def\dummyreference{{\red\bfd UNKNOWN REFERENCE}} > I think this is good. Undefined references can not simply be converted to errors, because then 'context' stops processing, and of course in any first run there will be undefined references, so you would never get past that if it was simply an error. But it would also help (for interactive use, at least) if context reported undefined references last, maybe even after the 'x processed pages' line. Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________