Am 26.06.2011 um 14:54 schrieb Thomas A. Schmitz:

> Hi all, 
> 
> I'm in the final phase of editing a scholarly book with a pretty big index. 
> What follows is less a question than an observation: no matter where I place 
> the \index command, there can always be unwanted side effects:
> 
> foo\index{bar}: here, the entry may point to the page following the name, if 
> the page break falls at this position. Moreover, when this is followed by 
> punctuation or footnotes, there may be a line break between the word and the 
> punctuation/footnote mark. Placing it at the end of a long footnote is asking 
> for even more trouble, because there's a real risk that a page break may 
> occur.
> 
> \index{bar}foo: the book is typeset with character protrusion, and this seems 
> to introduce additional material which can disturb line endings, so that 
> lines before such an indexed word appear to be missing one character at the 
> end.
> 
> So this is what I observe. Working around this is possible, but painful - I 
> have to check every page for such bad linebreaks or misplaced punctuation 
> marks. My question then is: will it be possible, at one point in luatex 
> development, to find a more robust solution for this? This would be 
> wonderful, I think!


So do I ... Below is a minimal showing both unhappy cases.

Steffen
-------


Anfang der weitergeleiteten E-Mail:

> Von: Steffen Wolfrum <cont...@st.estfiles.de>
> Datum: 24. Mai 2011 11:28:03 MESZ
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: where to put an \index{foo} ?
> 
> ...
> 
> \showframe
> 
> \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt]
> 
> \definetolerancemethod
> [horizontal]
> [MySpace]
> {\spaceskip3.02pt plus1.99998pt minus1.0pt\relax}
> 
> \setupalign[line,block,hanging]
> \setuptolerance[MySpace]
> 
> \setupindenting[10pt,yes]
> 
> \definepapersize[stw][width=14.7cm,height=22.3cm]
> \setuppapersize[stw][stw]
> 
> \setuplayout
>       [width=113mm,height=572pt,
>       backspace=17mm,topspace=17mm,
>       header=12pt,headerdistance=6pt,
>       footer=36pt,footerdistance=0pt,
>       location=middle,marking=off]
> 
> 
> \starttext
> 
> {\em Case 1: line wrap before dot}
> 
> \noindent dieses ist dabei typisch für den Bereich der Architekten- oder
> Ingenieurleistungen\index{Ingenieurleistungen}. Warum?
> 
> \blank
> 
> {\em Case 2: line wrap after visible space}
> 
> Bei den Grünen werden neben den beiden Fraktionsvorsitzenden, Renate 
> \index{Künast}Künast und Jürgen Trittin ...
> \stoptext

___________________________________________________________________________________
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 via email to