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

denis.maier at unibe.ch denis.maier at unibe.ch
Wed Mar 9 17:50:31 CET 2022


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/4b153691/attachment.htm>


More information about the ntg-context mailing list