* break after index
@ 2010-10-26 13:01 Steffen Wolfrum
2010-10-26 16:03 ` Jano Kula
0 siblings, 1 reply; 3+ messages in thread
From: Steffen Wolfrum @ 2010-10-26 13:01 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
Hi Hans,
in strc-reg.mkiv I found your remark:
% needs thinking ... bla\index{bla}. will break before the . but adding a
% penalty is also no solution
Is this problem solved, ie. is there a working solution?
I am working on a book right now where the author set 4906 index marks ... sometimes right-in-the-middle of a word, but most often behind (and before dot or comma).
Steffen
___________________________________________________________________________________
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: break after index
2010-10-26 13:01 break after index Steffen Wolfrum
@ 2010-10-26 16:03 ` Jano Kula
2010-10-26 20:22 ` Steffen Wolfrum
0 siblings, 1 reply; 3+ messages in thread
From: Jano Kula @ 2010-10-26 16:03 UTC (permalink / raw)
To: ntg-context
Hi Steffen,
On 10/26/2010 03:01 PM, Steffen Wolfrum wrote:
> I am working on a book right now where the author set 4906 index marks ... sometimes right-in-the-middle of a word, but most often behind (and before dot or comma).
and what about to clean up the file with regular expression similar to this:
sed -e 's/\b\(\w*\)\\index{\([^}]*\)}/\\index{\2}\1/g' old.tex > new.tex
I would guess, that index entries in the middle of the world break
kerning and hyphenation.
Jano
___________________________________________________________________________________
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: break after index
2010-10-26 16:03 ` Jano Kula
@ 2010-10-26 20:22 ` Steffen Wolfrum
0 siblings, 0 replies; 3+ messages in thread
From: Steffen Wolfrum @ 2010-10-26 20:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Jano,
Am 26.10.2010 um 18:03 schrieb Jano Kula:
> On 10/26/2010 03:01 PM, Steffen Wolfrum wrote:
>
>> I am working on a book right now where the author set 4906 index marks ... sometimes right-in-the-middle of a word, but most often behind (and before dot or comma).
>
> and what about to clean up the file with regular expression similar to this:
sure, that's what I always do in the end ;o)
But I really don't like this heavy "cleaning" and actually moving things at all.
I would prefer to leave the responsibility to the author ... and change the original document as little as possible.
Steffen
___________________________________________________________________________________
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:[~2010-10-26 20:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 13:01 break after index Steffen Wolfrum
2010-10-26 16:03 ` Jano Kula
2010-10-26 20:22 ` Steffen Wolfrum
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).