[NTG-context] "Flushbottom" / \setupalign[line] in LMTX

denis.maier at unibe.ch denis.maier at unibe.ch
Wed Mar 9 17:52:26 CET 2022

I forgot to include the link to my original question: https://www.mail-archive.com/ntg-context@ntg.nl/msg98171.html

Von: Maier, Denis Christian (UB)
Gesendet: Mittwoch, 9. März 2022 17:51
An: 'mailing list for ConTeXt users' <ntg-context at ntg.nl>
Betreff: "Flushbottom" / \setupalign[line] in LMTX

Hi everyone,

a quick follow-up to todays monthly meeting: A couple of months ago I ran into issues getting "flushbottom" typesetting right. See:

Today, some of these issues seem to have been fixed. But I still have the impression that vertical glue is still not working completely reliable. Below are a couple of examples.

While the second example seems to work ok with \setupalign[height] the last line differs if we have different font size, cf. e.g. page 3 and 4.

Best,
Denis

% From the Wiki : https://wiki.contextgarden.net/Flush_bottom %%%%%%
\setupalign[line]

\def\Par{bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla}
\def\Fig{\placefigure{A figure.}{\framed{\vbox to 5cm{bla}}}}
\def\Tab{\placetable{A table.}{\framed{\vbox to 5cm{bla}}}}
\starttext
\section{Section}\Par\Par\Par\Fig\Par\Par\par\Par\par\Tab
\Par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par
\section{Section}\Par\Par\Par\Fig\Par\Par\par\Par\par\Tab
\Par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par
\section{Section}\Par\Par\Par\Fig\Par\Par\par\Par\par\Tab
\Par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Another Example %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setuppapersize[A5][A5]
\showframe
\setupalign[line]
% \setupalign[height]
\setupdelimitedtext[blockquote]
[
before={\setupindenting[yes]\tfx\setupinterlinespace},
spacebefore=medium,
indentnext=no,
leftmargin=no,
rightmargin=no,
]

\starttext

\subject{asdf}

\dorecurse{5}{

\input knuth

\startblockquote
\input ward
\stopblockquote

\input knuth

\input ward

\subject{asdf}

\input knuth

\startblockquote
\input ward
\stopblockquote

\input knuth

}

\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220309/7125bc8b/attachment-0001.htm>