ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Eliminating orpans in the Index
       [not found] <002d01cee85f$27e04770$77a0d650$@tosovsky@email.cz>
@ 2013-11-26 21:09 ` Jan Tosovsky
       [not found] ` <007301ceeaeb$cd9dfb60$68d9f220$@tosovsky@email.cz>
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2013-11-26 21:09 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

On 2013-11-23 Jan Tosovsky wrote:
>
> in my two-column index there are several cases when the last 
> entry in the given letter group overflows to the next column/page. 
> In the extreme case it is just the last page reference. 
> ...
> Additionaly, columns are not balanced properly in all cases. When the
> first is longer, it is not a big problem. But the opposite case 
> looks weird.

As the registers are rendered programatically, I cannot intervene into this
process. But can I influence it e.g. using 'processors' applied to
problematic index entries?

Processors can be used for setting the font-weight or color of particular
entry. Can the same method used for manual setting of
'keep-with-previous/next' ?

Thanks, Jan
 



___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Eliminating orpans in the Index
       [not found] ` <007301ceeaeb$cd9dfb60$68d9f220$@tosovsky@email.cz>
@ 2013-11-27 22:12   ` Hans Hagen
  2013-11-29 22:15     ` Jan Tosovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-11-27 22:12 UTC (permalink / raw)
  To: ntg-context

On 11/26/2013 10:09 PM, Jan Tosovsky wrote:
> On 2013-11-23 Jan Tosovsky wrote:
>>
>> in my two-column index there are several cases when the last
>> entry in the given letter group overflows to the next column/page.
>> In the extreme case it is just the last page reference.
>> ...
>> Additionaly, columns are not balanced properly in all cases. When the
>> first is longer, it is not a big problem. But the opposite case
>> looks weird.
>
> As the registers are rendered programatically, I cannot intervene into this
> process. But can I influence it e.g. using 'processors' applied to
> problematic index entries?
>
> Processors can be used for setting the font-weight or color of particular
> entry. Can the same method used for manual setting of
> 'keep-with-previous/next' ?

I can think of a hack but it will always be for last minute work.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Eliminating orpans in the Index
  2013-11-27 22:12   ` Hans Hagen
@ 2013-11-29 22:15     ` Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2013-11-29 22:15 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

On 2013-11-27 Hans Hagen wrote:
> On 11/26/2013 10:09 PM, Jan Tosovsky wrote:
> > On 2013-11-23 Jan Tosovsky wrote:
> >>
> >> in my two-column index there are several cases when the last
> >> entry in the given letter group overflows to the next column/page.
> >> In the extreme case it is just the last page reference.
> >> ...
> >> Additionaly, columns are not balanced properly in all cases. When
> >> the first is longer, it is not a big problem. But the opposite 
> >> case looks weird.
> >
> > As the registers are rendered programatically, I cannot intervene
> > into this process. But can I influence it e.g. using 'processors' 
> > applied to problematic index entries?
> >
> > Processors can be used for setting the font-weight or color of
> > particular
> > entry. Can the same method used for manual setting of
> > 'keep-with-previous/next' ?
> 
> I can think of a hack but it will always be for last minute work.

I am also investigating grids. Switching this feature on has introduced
orphan/widows in the standard body text. I've applied setups according to:
http://www.mail-archive.com/ntg-context@ntg.nl/msg66393.html

and it now fixes also problematic index entries :-)

Like orphan/widow settings weren't specified by default...

But I suspect the correct result to be rather coincidence... Some higher
number of lines kept together still produce orphans... But it is overall
much better now.

One extra observation. Regardless the number of lines in the setups max. two
lines seem to be kept together in the index...

Jan

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-29 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <002d01cee85f$27e04770$77a0d650$@tosovsky@email.cz>
2013-11-26 21:09 ` Eliminating orpans in the Index Jan Tosovsky
     [not found] ` <007301ceeaeb$cd9dfb60$68d9f220$@tosovsky@email.cz>
2013-11-27 22:12   ` Hans Hagen
2013-11-29 22:15     ` Jan Tosovsky

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).