ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Umlaut causes footnotline to jump
@ 2007-03-15 16:12 Steffen Wolfrum
  2007-03-15 16:23 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Steffen Wolfrum @ 2007-03-15 16:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

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


Steffen

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

* Re: Umlaut causes footnotline to jump
  2007-03-15 16:12 Umlaut causes footnotline to jump Steffen Wolfrum
@ 2007-03-15 16:23 ` Hans Hagen
  2007-03-15 16:48   ` Steffen Wolfrum
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2007-03-15 16:23 UTC (permalink / raw)
  To: Steffen Wolfrum; +Cc: mailing list for ConTeXt users

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Umlaut causes footnotline to jump
  2007-03-15 16:23 ` Hans Hagen
@ 2007-03-15 16:48   ` Steffen Wolfrum
  2007-03-15 17:05     ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Steffen Wolfrum @ 2007-03-15 16:48 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

Sorry, I don't understand this.
Please take a look at this more realistic, extended example:

\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 1.\footnote{BVerwGE 17, 306, 309; 65, 167, 174; {\em Dürig}, in: Maunz{|/|}Dürig, GG, Sonderdruck, Art.\,2~I Rn.\,48; auch heute wird dies noch z.\,T. so gesehen, z.\,B. bei {\em Arndt}, in: Steiner, BesVerwR, VII~B, Rn.\,131; {\em Schünemann}, in: GroßKomm. UWG, Rn.\,A~65; auch das \"O OVG Münster, NWVBl. 2005, 68, 70, scheint die grundrechtlich geschützte Wettbewerbsfreiheit nicht als eine Ausprägung der Berufsfreiheit zu sehen.}

Test 2.\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


What is the difference between footnote 1 and footnote 2, why does the \"O on footnote 1 fit in its line and not in footnote 2?
There have both interlinespace[line=9.8pt] ...

Steffen



On Thu, 15 Mar 2007 17:23:22 +0100, Hans Hagen wrote:
> 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
> -----------------------------------------------------------------
> 

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

* Re: Umlaut causes footnotline to jump
  2007-03-15 16:48   ` Steffen Wolfrum
@ 2007-03-15 17:05     ` Hans Hagen
  2007-03-15 17:22       ` Steffen Wolfrum
  2007-03-15 17:28       ` Steffen Wolfrum
  0 siblings, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2007-03-15 17:05 UTC (permalink / raw)
  To: Steffen Wolfrum; +Cc: mailing list for ConTeXt users

Steffen Wolfrum wrote:
> Sorry, I don't understand this.
> Please take a look at this more realistic, extended example:
>
> \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 1.\footnote{BVerwGE 17, 306, 309; 65, 167, 174; {\em D�rig}, in: Maunz{|/|}D�rig, GG, Sonderdruck, Art.\,2~I Rn.\,48; auch heute wird dies noch z.\,T. so gesehen, z.\,B. bei {\em Arndt}, in: Steiner, BesVerwR, VII~B, Rn.\,131; {\em Sch�nemann}, in: Gro�Komm. UWG, Rn.\,A~65; auch das \"O OVG M�nster, NWVBl. 2005, 68, 70, scheint die grundrechtlich gesch�tzte Wettbewerbsfreiheit nicht als eine Auspr�gung der Berufsfreiheit zu sehen.}
>
> Test 2.\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
>
>
> What is the difference between footnote 1 and footnote 2, why does the \"O on footnote 1 fit in its line and not in footnote 2?
> There have both interlinespace[line=9.8pt] ...
>   
the height and depth of the line as calculated by tex based on the 
actual text; 9.8 pt lineheight is nog enough to squeeze the char with 
the most height and depth in so you need to choose a larger value than 
9.8pt (and maybe set lineskip to 0pt)
> Steffen
>
>
>
> On Thu, 15 Mar 2007 17:23:22 +0100, Hans Hagen wrote:
>   
>> 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
>> -----------------------------------------------------------------
>>
>>     


-- 

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Umlaut causes footnotline to jump
  2007-03-15 17:05     ` Hans Hagen
@ 2007-03-15 17:22       ` Steffen Wolfrum
  2007-03-15 18:50         ` Peter Rolf
  2007-03-15 17:28       ` Steffen Wolfrum
  1 sibling, 1 reply; 10+ messages in thread
From: Steffen Wolfrum @ 2007-03-15 17:22 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Thu, 15 Mar 2007 18:05:41 +0100, Hans Hagen wrote:
>> \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 1.\footnote{BVerwGE 17, 306, 309; 65, 167, 174; {\em D╴rig}, 
>> in: Maunz{|/|}D╴rig, GG, Sonderdruck, Art.\,2~I Rn.\,48; auch heute 
>> wird dies noch z.\,T. so gesehen, z.\,B. bei {\em Arndt}, in: 
>> Steiner, BesVerwR, VII~B, Rn.\,131; {\em Sch╴nemann}, in: Gro╴
>> Komm. UWG, Rn.\,A~65; auch das \"O OVG M╴nster, NWVBl. 2005, 68, 
>> 70, scheint die grundrechtlich gesch╴tzte Wettbewerbsfreiheit nicht 
>> als eine Auspr╴gung der Berufsfreiheit zu sehen.}
>> 
>> Test 2.\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
>> 
>> 
>> What is the difference between footnote 1 and footnote 2, why does 
>> the \"O on footnote 1 fit in its line and not in footnote 2?
>> There have both interlinespace[line=9.8pt] ...
>>   
> the height and depth of the line as calculated by tex based on the 
> actual text; 9.8 pt lineheight is nog enough to squeeze the char with 
> the most height and depth in so you need to choose a larger value 
> than 9.8pt (and maybe set lineskip to 0pt)



The awkward thing about this is that the chosen values are given by the publishers...

After some trying I saw that interlinespace[line=10.6pt] instead of 9.8pt would work. But this far beyond. 
The document I am working on is to be published as part of a series. So I can't change the footnote's interlinespace from 9.8pt to 10.6pt!

Is there truly no other workaround?

Steffen
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Umlaut causes footnotline to jump
  2007-03-15 17:05     ` Hans Hagen
  2007-03-15 17:22       ` Steffen Wolfrum
@ 2007-03-15 17:28       ` Steffen Wolfrum
  2007-03-15 20:00         ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Steffen Wolfrum @ 2007-03-15 17:28 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Thu, 15 Mar 2007 18:05:41 +0100, Hans Hagen wrote:
>> \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 1.\footnote{BVerwGE 17, 306, 309; 65, 167, 174; {\em D°Zrig}, 
>> in: Maunz{|/|}D°Zrig, GG, Sonderdruck, Art.\,2~I Rn.\,48; auch heute 
>> wird dies noch z.\,T. so gesehen, z.\,B. bei {\em Arndt}, in: 
>> Steiner, BesVerwR, VII~B, Rn.\,131; {\em Sch°Znemann}, in: Gro°Z
>> Komm. UWG, Rn.\,A~65; auch das \"O OVG M°Znster, NWVBl. 2005, 68, 
>> 70, scheint die grundrechtlich gesch°Ztzte Wettbewerbsfreiheit nicht 
>> als eine Auspr°Zgung der Berufsfreiheit zu sehen.}
>> 
>> Test 2.\footnote{{\em R.~Schmidt}, °Zff. 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
>> 
>> 
>> What is the difference between footnote 1 and footnote 2, why does 
>> the \"O on footnote 1 fit in its line and not in footnote 2?
>> There have both interlinespace[line=9.8pt] ...
>>   
> the height and depth of the line as calculated by tex based on the 
> actual text; 9.8 pt lineheight is nog enough to squeeze the char with 
> the most height and depth in so you need to choose a larger value 
> than 9.8pt (and maybe set lineskip to 0pt)



The awkward thing about this is that the chosen values are given by the publishers...

After some trying I saw that interlinespace[line=10.6pt] instead of 9.8pt would work. But this far beyond. 
The document I am working on is to be published as part of a series. So I can't change the footnote's interlinespace from 9.8pt to 10.6pt!

Is there truly no other workaround?

Steffen

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

* Re: Umlaut causes footnotline to jump
  2007-03-15 17:22       ` Steffen Wolfrum
@ 2007-03-15 18:50         ` Peter Rolf
  2007-03-15 18:56           ` Steffen Wolfrum
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Rolf @ 2007-03-15 18:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Steffen Wolfrum wrote:
> On Thu, 15 Mar 2007 18:05:41 +0100, Hans Hagen wrote:
>>> \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 1.\footnote{BVerwGE 17, 306, 309; 65, 167, 174; {\em D╴rig}, 
>>> in: Maunz{|/|}D╴rig, GG, Sonderdruck, Art.\,2~I Rn.\,48; auch heute 
>>> wird dies noch z.\,T. so gesehen, z.\,B. bei {\em Arndt}, in: 
>>> Steiner, BesVerwR, VII~B, Rn.\,131; {\em Sch╴nemann}, in: Gro╴
>>> Komm. UWG, Rn.\,A~65; auch das \"O OVG M╴nster, NWVBl. 2005, 68, 
>>> 70, scheint die grundrechtlich gesch╴tzte Wettbewerbsfreiheit nicht 
>>> als eine Auspr╴gung der Berufsfreiheit zu sehen.}
>>>
>>> Test 2.\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
>>>
>>>
>>> What is the difference between footnote 1 and footnote 2, why does 
>>> the \"O on footnote 1 fit in its line and not in footnote 2?
>>> There have both interlinespace[line=9.8pt] ...
>>>   
>> the height and depth of the line as calculated by tex based on the 
>> actual text; 9.8 pt lineheight is nog enough to squeeze the char with 
>> the most height and depth in so you need to choose a larger value 
>> than 9.8pt (and maybe set lineskip to 0pt)
> 
> 
> 
> The awkward thing about this is that the chosen values are given by the publishers...
> 
> After some trying I saw that interlinespace[line=10.6pt] instead of 9.8pt would work. But this far beyond. 
> The document I am working on is to be published as part of a series. So I can't change the footnote's interlinespace from 9.8pt to 10.6pt!
> 
> Is there truly no other workaround?
> 
hi steffen,

you can try to lower the baseline for the footnotes by changing the
relation of height and depth. this way you get a different \strut (same
total height, but bigger height part). i think the \strut command is
also the cause of the different appearance in your two examples (add
\showstruts after \startext; \strut and Ö in the same line..).

try something like

setupinterlinespace[line=9.8pt,height=.79,depth=.21]

the values are font dependent and probably don't fit here (taken from my
experiments with ms-sansserif). if i remember it right the default
values are height=.72 and depth=.28 .

hth, peter

> Steffen
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Umlaut causes footnotline to jump
  2007-03-15 18:50         ` Peter Rolf
@ 2007-03-15 18:56           ` Steffen Wolfrum
  0 siblings, 0 replies; 10+ messages in thread
From: Steffen Wolfrum @ 2007-03-15 18:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter that's it, that is exactly the kind of adjustment what I was looking for.

Thank you very, very much!
Steffen

On Thu, 15 Mar 2007 19:50:21 +0100, Peter Rolf wrote:
> you can try to lower the baseline for the footnotes by changing the
> relation of height and depth. this way you get a different \strut (same
> total height, but bigger height part). i think the \strut command is
> also the cause of the different appearance in your two examples (add
> \showstruts after \startext; \strut and Ö in the same line..).
> 
> try something like
> 
> setupinterlinespace[line=9.8pt,height=.79,depth=.21]
> 
> the values are font dependent and probably don't fit here (taken from my
> experiments with ms-sansserif). if i remember it right the default
> values are height=.72 and depth=.28 .

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

* Re: Umlaut causes footnotline to jump
  2007-03-15 17:28       ` Steffen Wolfrum
@ 2007-03-15 20:00         ` Hans Hagen
       [not found]           ` <20070315211229917650.e0e3eb9c@st.estfiles.de>
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2007-03-15 20:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Steffen Wolfrum wrote:
>
> The awkward thing about this is that the chosen values are given by the publishers...
>   
well, many designers and publishers are often not aware of these things 
(actually, in most of the styles i make for publishers i end up with not 
using any font or color system simply because there is no logic in the 
choices made);

in luatex we can cheat by creating a virtual font with zero ht/dp glyphs 
but in tex this is not possible without changing font metrics
> After some trying I saw that interlinespace[line=10.6pt] instead of 9.8pt would work. But this far beyond. 
> The document I am working on is to be published as part of a series. So I can't change the footnote's interlinespace from 9.8pt to 10.6pt!
>   
as suggested, you may try to change the ht/dp ratio and cross your 
fingers that no ( ) are used (or math with superscript)
> Is there truly no other workaround?
>   
no, it's like building a wall with 10cm heigh bricks and wanting 10 layers mount up to 80cm 

Hans 

Hans 

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

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

* Re: Umlaut causes footnotline to jump
       [not found]               ` <20070315212513696240.148ffb62@st.estfiles.de>
@ 2007-03-15 20:32                 ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2007-03-15 20:32 UTC (permalink / raw)
  To: Steffen Wolfrum, mailing list for ConTeXt users

Steffen Wolfrum wrote:
> On Thu, 15 Mar 2007 21:19:50 +0100, Hans Hagen wrote:
>   
>> Steffen Wolfrum wrote:
>>     
>>> On Thu, 15 Mar 2007 21:00:05 +0100, Hans Hagen wrote:
>>>
>>>   
>>>       
>>>> as suggested, you may try to change the ht/dp ratio and cross your 
>>>> fingers that no ( ) are used (or math with superscript)
>>>>     
>>>>         
>>> There is no math, that's for sure. But what do you mean by " that no 
>>> ( ) are used" ?
>>>   
>>>       
>> there are normally the chars with most height and depth, so a few of 
>> them in different line are your worst nightmare when interlinespace 
>> is to little 
>> Hans 
>>     
>
>
> Hmm ... to avoid a nightmare, is there a chance to set something like
>
> setupinterlinespace[line=9.8pt,height=.79,depth=.21] 
>
> only locally, only for these footnotes affected?
>
>   
please wikify this:

\starttext
    \hbox to \hsize \bgroup \showbaselines \showstruts
        \ruledvtop \bgroup \hsize.45\hsize
            \switchtobodyfont[rm,9pt]\setupinterlinespace[line=9.8pt]
            \begstrut \input tufte \endstrut \endgraf
        \egroup
        \hss
        \ruledvtop \bgroup \hsize.45\hsize
            
\switchtobodyfont[rm,9pt]\setupinterlinespace[line=9.8pt,height=.79,depth=.21]
            \begstrut \input tufte \endstrut \endgraf
        \egroup
    \egroup
\stoptext


-- 

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

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

end of thread, other threads:[~2007-03-15 20:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-15 16:12 Umlaut causes footnotline to jump Steffen Wolfrum
2007-03-15 16:23 ` Hans Hagen
2007-03-15 16:48   ` Steffen Wolfrum
2007-03-15 17:05     ` Hans Hagen
2007-03-15 17:22       ` Steffen Wolfrum
2007-03-15 18:50         ` Peter Rolf
2007-03-15 18:56           ` Steffen Wolfrum
2007-03-15 17:28       ` Steffen Wolfrum
2007-03-15 20:00         ` Hans Hagen
     [not found]           ` <20070315211229917650.e0e3eb9c@st.estfiles.de>
     [not found]             ` <45F9AA66.6050101@wxs.nl>
     [not found]               ` <20070315212513696240.148ffb62@st.estfiles.de>
2007-03-15 20:32                 ` Hans Hagen

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