Hi,

 

in addition to my previous mails about \setupalign[height], a further question related to page building :

I’m trying to understand how ConTeXt builds pages, and how this can be influenced. Regarding the example below, the aim is to have pages that always end at the same place.

Now, how will ConTeXt use stretching? Blanks are set to flexible, and the interlinespacing is set to stretch. (But different values for blockquotes.)

In which order will ConTeXt proceed? Interlinespacing first, then blanks? Or the other way round? Or both at the same time?

And, can this be influenced somehow?

 

Best,

Denis

 

 

\setuppapersize[A5][A5]

\showframe

 

\setupblank[big,flexible]

 

\setupinterlinespace[stretch=0.03]

\setuptolerance[vertical,stretch]

\setupalign[height]

 

\setuphead

                [section,subject]

                [

                before={\blank[2*big,flexible]},

                after={\blank[big,flexible]},

                ]

 

\setupdelimitedtext[blockquote]

                                                               [

                                                               before={\tfx\setupinterlinespace[stretch=0.05]},

                                                               spacebefore={medium,flexible},

                                                               left=

                                                               ]             

 

\starttext

 

\input knuth

 

\section{A section heading}

 

\input knuth\par

\blank

\input knuth\par

 

\startblockquote

\input knuth\par

\stopblockquote

 

\input knuth\par

 

\startblockquote

\input knuth\par

\stopblockquote

 

\input knuth\par

 

\stoptext