ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Validate (cross)references
Date: Fri, 27 May 2011 20:03:30 +0200	[thread overview]
Message-ID: <4FB29C60-7C2C-472F-ABA6-D234FD949727@elvenkind.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1105271349570.12284@ybpnyubfg.ybpnyqbznva>





On 27 mei 2011, at 19:50, Aditya Mahajan <adityam@umich.edu> 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
___________________________________________________________________________________


  reply	other threads:[~2011-05-27 18:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-27 15:04 Andreas Schneider
2011-05-27 15:09 ` Wolfgang Schuster
2011-05-27 15:19   ` Andreas Schneider
2011-05-27 16:58     ` Jesse Alama
2011-05-27 17:50       ` Aditya Mahajan
2011-05-27 18:03         ` Taco Hoekwater [this message]
2011-05-27 21:00           ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FB29C60-7C2C-472F-ABA6-D234FD949727@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).