ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: john Culleton <John@wexfordpress.com>
To: ntg-context@ntg.nl
Subject: Re: Find all words set into the margin
Date: Mon, 30 Sep 2013 11:13:43 -0400	[thread overview]
Message-ID: <20130930111343.3e6818fd@localb.wexfordpress.net> (raw)
In-Reply-To: <50B36624.2090301@mmnetz.de>

On Mon, 26 Nov 2012 13:52:52 +0100
"H. Özoguz" <h.oezoguz@mmnetz.de> wrote:

> I use
> 
> \definefontfeature[default][default][expansion=quality,protrusion=quality]
> 
> \setupalign[hz,hanging]
> 
> \usetypescript[times]
> 
> \setupbodyfont[times,11pt]
> 
> 
> \setuptolerance[verystrict]
> 
> 
> Is there a command or a macro to find all occurences in a file (or 
> projekt), where some word is printed into the margin? (Maybe because
> of bad hyphenation or something else.) - Would be perfect for manual 
> check-up and corrections!
> 
> 
> Thanks.
> Huseyin
> 
> 
You could try setting \overfullrule=5pt
This is an original TeX primitive. Plain TeX sets it at 5pt. You can
then scan pages looking for a black rectangle in the right margin. I
cannot determine which code to search for in e.g., grep but perhaps you
can. 

I just tested it and \overfillrule  works with MKIV context if it is
set for some value other than zero. 


-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2013-09-30 15:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-26 12:52 "H. Özoguz"
2012-11-26 14:40 ` Sietse Brouwer
2013-09-30 15:13 ` john Culleton [this message]
     [not found] <mailman.390.1353949275.2161.ntg-context@ntg.nl>
2012-11-27  6:36 ` "H. Özoguz"
2012-11-27  7:23   ` luigi scarso
2012-11-27 10:19     ` Sietse Brouwer
2012-11-27 15:07       ` Hans Hagen
     [not found] <mailman.413.1354037841.2161.ntg-context@ntg.nl>
2012-11-27 19:22 ` "H. Özoguz"
2012-11-27 21:27   ` Hans Hagen
     [not found] <mailman.424.1354052349.2161.ntg-context@ntg.nl>
2012-11-28  6:45 ` "H. Özoguz"

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=20130930111343.3e6818fd@localb.wexfordpress.net \
    --to=john@wexfordpress.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).