ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Find all words set into the margin
Date: Tue, 27 Nov 2012 11:19:14 +0100	[thread overview]
Message-ID: <CAF=dkzz_gNcwf3wSyzpKoGS0dA1vT+4khhzou3Bf+XFQpaeiWQ@mail.gmail.com> (raw)
In-Reply-To: <CAG5iGsDvkc4hgwghgpN32qLSC5J1o9y9DZuEQz5M8BM5-oO85g@mail.gmail.com>

Huseyin wrote:
>> Is there a command like "\showallmarginruns", which gives something like
>> this: "Margin runs on p. 34,67,101,145,204,298" - it may use somehow the
>> blocks of \version[temporary], that would be perfect for me.
>>
>> Could I make clear, what I am looking for (sorry for my leck of English)?

Yes, that is very clear. Your English is very good. I have no answer,
but some pointers:

* Printing these blocks is done by using the TeX primitive
\overfullrule (setting it to 5pt, specifically).

* Patrick Gundlach wrote a LuaTeX callback that changes the color of
the \overfullrule, but it uses the post_linebreak_filter callback, and
I don't know if the page number information is known yet at that
point.

* The log, like Luigi mentions, reports the source location of
overfull hboxes. This might help you at least a bit in finding the
output page.
Overfull \hbox (15.80962pt too wide) in paragraph at lines 1--25
\3>modern-designsize-12pt-rm-tf-0--0 par-al-lel, and|

Cheers,
-Sietse

On Tue, Nov 27, 2012 at 8:23 AM, luigi scarso <luigi.scarso@gmail.com> wrote:
> On Tue, Nov 27, 2012 at 7:36 AM, "H. Özoguz" <h.oezoguz@mmnetz.de> wrote:
>> Am 26.11.2012 18:01, schrieb ntg-context-request@ntg.nl:
>>>>
>>>> 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
>>
>>
>> Thanks for that! These black blocks are quite useful, but not as powerful,
>> as I am looking for.
>>
>> I am looking for a command, which builds a register of all occurences of
>> these blocks. Imagine I am working on a 300-page book, than I have to check
>> every single page for these margin-runs (f.e. after changing the layout),
>> with these black boxes its much easier, of course, but still a mess.
>>
>> Is there a command like "\showallmarginruns", which gives something like
>> this: "Margin runs on p. 34,67,101,145,204,298" - it may use somehow the
>> blocks of \version[temporary], that would be perfect for me.
>>
>> Could I make clear, what I am looking for (sorry for my leck of English)?
> Not an answer, but do you have seen the informations of the log ?
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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:[~2012-11-27 10:19 UTC|newest]

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

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='CAF=dkzz_gNcwf3wSyzpKoGS0dA1vT+4khhzou3Bf+XFQpaeiWQ@mail.gmail.com' \
    --to=sbbrouwer@gmail.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).