From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114461 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: "Flushbottom" / \setupalign[line] in LMTX Date: Wed, 9 Mar 2022 16:52:26 +0000 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2573160597116539512==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17610"; mail-complaints-to="usenet@ciao.gmane.io" Cc: denis.maier@unibe.ch To: Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 09 17:54:46 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRzaH-0004Fa-Ro for gctc-ntg-context-518@m.gmane-mx.org; Wed, 09 Mar 2022 17:54:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 684E62A312D; Wed, 9 Mar 2022 17:52:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L3eeZVM_wtg4; Wed, 9 Mar 2022 17:52:33 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D75432A312F; Wed, 9 Mar 2022 17:52:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8FE652A3123 for ; Wed, 9 Mar 2022 17:52:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1eSc1PRVSs6z for ; Wed, 9 Mar 2022 17:52:28 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.84; helo=mailhub-lb3.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Original-Received: from mailhub-lb3.unibe.ch (mailhub-lb3.unibe.ch [130.92.0.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 58A652A3122 for ; Wed, 9 Mar 2022 17:52:28 +0100 (CET) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-03.campus.unibe.ch [130.92.13.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb3.unibe.ch (Postfix) with ESMTPS id 0AE3950014F for ; Wed, 9 Mar 2022 17:52:27 +0100 (CET) Thread-Topic: "Flushbottom" / \setupalign[line] in LMTX Thread-Index: Adgz1Iv16tfn4BqdTt6NBbf18/5fmwAAWwZg In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:114461 Archived-At: --===============2573160597116539512== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_c1bf4aa0d61f486a89b753a09d156073unibech_" --_000_c1bf4aa0d61f486a89b753a09d156073unibech_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I forgot to include the link to my original question: https://www.mail-arch= ive.com/ntg-context@ntg.nl/msg98171.html Von: Maier, Denis Christian (UB) Gesendet: Mittwoch, 9. M=E4rz 2022 17:51 An: 'mailing list for ConTeXt users' Betreff: "Flushbottom" / \setupalign[line] in LMTX Hi everyone, a quick follow-up to todays monthly meeting: A couple of months ago I ran i= nto issues getting "flushbottom" typesetting right. See: Today, some of these issues seem to have been fixed. But I still have the i= mpression that vertical glue is still not working completely reliable. Belo= w 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 bl= a 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=3D{\setupindenting[yes]\tfx\setupinterlinespace}, spacebefore=3Dmedium, indentnext=3Dno, leftmargin=3Dno, rightmargin=3Dno, ] \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --_000_c1bf4aa0d61f486a89b753a09d156073unibech_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

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

 

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

 

Hi everyone,

 

a quick follow-up to todays monthly meeting: A coupl= e of months ago I ran into issues getting “flushbottom” typeset= ting 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 com= pletely 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 differ= ent font size, cf. e.g. page 3 and 4.

 

Best,

Denis

 

% From the Wiki : https://wik= i.contextgarden.net/Flush_bottom %%%%%%

\setupalign[line]

 

\def\Par{bla bla bla bla bla bl= a 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\F= ig\Par\Par\par\Par\par\Tab

\Par\Par\Par\par\Par\Par\par\Pa= r\Par\par\Par\Par\par\Par\Par\Par\Par\Par

\section{Section}\Par\Par\Par\F= ig\Par\Par\par\Par\par\Tab

\Par\Par\Par\par\Par\Par\par\Pa= r\Par\par\Par\Par\par\Par\Par\Par\Par\Par

\section{Section}\Par\Par\Par\F= ig\Par\Par\par\Par\par\Tab

\Par\Par\Par\par\Par\Par\par\Pa= r\Par\par\Par\Par\par\Par\Par\Par\Par\Par

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

% Another Example %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setuppapersize[A5][A5]

\showframe

\setupalign[line]

% \setupalign[height]

\setupdelimitedtext[blockquote]=

   [

   before=3D{\setupin= denting[yes]\tfx\setupinterlinespace},

   spacebefore= =3Dmedium,

   indentnext=3Dno,

   leftmargin=3Dno,

   rightmargin=3Dno,<= o:p>

   ]

     &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;         

\starttext

 

\subject{asdf}

 

\dorecurse{5}{

 

\input knuth<= /p>

 

\startblockquote

\input ward

\stopblockquote

 

\input knuth<= /p>

 

\input ward

 

\subject{asdf}

 

\input knuth

 

\startblockquote

\input ward

\stopblockquote

 

\input knuth

 

}

 

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

--_000_c1bf4aa0d61f486a89b753a09d156073unibech_-- --===============2573160597116539512== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2573160597116539512==--