ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: overfull hbox (was: Re:  Highlight changes)
Date: Wed, 16 Jul 2008 09:11:57 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.1.00.0807160910070.24970@nqv-yncgbc> (raw)
In-Reply-To: <20080716104901.GA15139@gaston.couberia.bzh>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1007 bytes --]

On Wed, 16 Jul 2008, Peter Münster wrote:

> On Wed, Jul 16 2008, Olivier Guéry wrote:
>
>> In the same idear, i realy miss something to highlight the « overfull hbox »
>
> \version[temporary]
> \starttext
> \hsize1pt
> abcd
> \stoptext

Sometimes, you do not want \version[temporary]. In those cases, I usually 
use

\overfullrule5\points

This can also be incorporated in the \version command,


\unprotect
\def\doversion[#1]%
   {\chardef\conceptmode\zerocount
    \overfullrule\zeropoint
    \processaction % \v!final=>
      [#1]
      [  \v!concept=>\chardef\conceptmode\plusone,  % simple banner
            \v!file=>\chardef\conceptmode\plustwo,  % full banner
       \v!temporary=>\chardef\conceptmode\plusthree % full banner plus
                     \overfullrule5\points,         % info in the margin
              draft=>%\chardef\conceptmode\plusfour
                     \overfullrule5\points]}

\protect

and then one can use \version[draft].

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-07-16 13:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 18:52 Highlight changes John Devereux
2008-07-15 19:55 ` Peter Münster
2008-07-18 20:51   ` John Devereux
2008-07-19 15:52     ` Peter Münster
2008-07-19 17:54       ` John Devereux
2008-07-19 18:40         ` Peter Münster
2008-07-20  8:30           ` John Devereux
2008-07-16  9:25 ` Olivier Guéry
2008-07-16 10:49   ` overfull hbox (was: Re: Highlight changes) Peter Münster
2008-07-16 13:11     ` Aditya Mahajan [this message]
2008-07-16 13:15       ` Olivier Guéry

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=alpine.DEB.1.00.0807160910070.24970@nqv-yncgbc \
    --to=adityam@umich.edu \
    --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).