Find all words set into the margin
![](https://secure.gravatar.com/avatar/4a68af71fe5327c72564458ef9d00c6b.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/1930c667fbd3884fd581e95eb4d5b15c.jpg?s=120&d=mm&r=g)
"H. Özoguz" wrote:
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!
\version[temporary] prints blocks next to lines that run into the margin. http://wiki.contextgarden.net/Command/version Is that what you're looking for? --Sietse
![](https://secure.gravatar.com/avatar/8b3c344f0adba6016612e05447039f44.jpg?s=120&d=mm&r=g)
On Mon, 26 Nov 2012 13:52:52 +0100
"H. Özoguz"
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
participants (3)
-
"H. Özoguz"
-
john Culleton
-
Sietse Brouwer