Steffen Wolfrum wrote:
Hi,
again, unfortunately close to the printing, we have found an insoluble ugly detail in the footnotes. There is a very strange thing with german umlaut (actually it took me 2 hours to see this point).
Have a look at the example below: When you change the \"O to O the interlinespace snaps back to its correct value. But \"O (or � the same) does not always distort the interlinespace. It's just sometimes (and to me unpredictably...).
As it is a quite striking feature it needs to be corrected -- but how??
\usetypescript[postscript][\defaultencoding] \setupencoding[default=texnansi] \mainlanguage[de] \enableregime[mac]
\setupbodyfont[postscript,10pt] \setupinterlinespace[line=12pt]
\definepapersize[MyPage][width=15.7cm,height=23.2cm] \setuppapersize[MyPage][A4] \setuplayout [width=113mm,height=576pt, backspace=20mm,topspace=15mm, header=12pt,headerdistance=6pt, footer=42pt,footerdistance=0pt, location=middle,marking=on,grid=no]
\def\setnotebodyfont {\let\setnotebodyfont\relax \restoreglobalbodyfont \switchtobodyfont[rm,9pt]\setupinterlinespace[line=9.8pt]\parskip2pt}
\starttext Test.\footnote{{\em R.~Schmidt}, �ff. Wirtschaftsrecht, AT, S.\,163; {\em Manssen}, in: v.\,Mangoldt|\,/\,|Klein|\,/\,|Starck, GG, Bd.\,1, Art.\,12 Abs.\,1, Rn.\,70; {\em Schliesky}, Offentliches \"O Wettbewerbsrecht, S.\,197; {\em Tsiliotis}, Wettbewerbsfreiheit, S.\,65, mit vielen weiteren Nachweisen.} \stoptext
no bug at all \usetypescript[postscript][\defaultencoding] \setupencoding[default=texnansi] \setupbodyfont[postscript,10pt] \setupinterlinespace[line=12pt] \starttext \switchtobodyfont[rm,9pt]\setupinterlinespace[line=9.8pt] \dontleavehmode\setbox\scratchbox\hbox {O}\copy\scratchbox : \the\ht\scratchbox,\the\dp\scratchbox,\the\htdp\scratchbox\crlf \dontleavehmode\setbox\scratchbox\hbox{\"O}\copy\scratchbox : \the\ht\scratchbox,\the\dp\scratchbox,\the\htdp\scratchbox\crlf line:\the\lineheight,ht:\the\strutht,dp:\the\strutdp,total:\the\htdp\strutbox\crlf \stoptext your lineheight is too small, andin this case the line with teh \"O has at least .5pt more height than assumed max ht, and sincethe lines touch then, will force an extra interlineskip of 1pt whether or not you observe this is a coincidence since in many cases lines have ht/dp < the max values -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------