Hi,

 

how do you usually calcultate your layouts? For example in this example, the third value for height is not really helpful as there will never be a complete line :

 

=================

\setupbodyfont[10pt]

 

\definepapersize[test][width=140mm,height=208mm]

\setuppapersize[test][test]

 

\setuplayout[reset]

\setuplayout[backspace=17mm,

                                          topspace=19mm,

                                          header=0mm,

                                          footerdistance=4mm,

                                          footer=5mm,

                                          width=105mm,

                                          %height=174mm,

                                          height=178mm,

                                          %height=177mm, % does not suffice for a complete line

                                          rightmargin=0mm,

                                          leftmargin=0mm,

                                          ]

                                         

\startsetups[mypenalties]

    \setdefaultpenalties

    \setpenalties\clubpenalties{2}{0}

    \setpenalties\widowpenalties{2}{0}

    \setpenalties\displaywidowpenalties{2}{0}

\stopsetups

\setuplayout[setups=mypenalties]        

 

%\showframe

\showmakeup

%\showsetups

 

\starttext

 

\dorecurse{5}{\input knuth\par}

 

\stoptext

=================

 

How do you do this usually? Any best-practices? Hints? Trial and error seems to work ok, but maybe there is a more efficient method...

 

Best

Denis