ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Denis Maier via ntg-context <ntg-context@ntg.nl>
To: <ntg-context@ntg.nl>
Cc: denis.maier@unibe.ch
Subject: Re: "Flushbottom" / \setupalign[line] in LMTX
Date: Wed, 9 Mar 2022 16:52:26 +0000	[thread overview]
Message-ID: <c1bf4aa0d61f486a89b753a09d156073@unibe.ch> (raw)
In-Reply-To: <adc9101d22784711ba35cc1b468f3a96@unibe.ch>


[-- Attachment #1.1: Type: text/plain, Size: 2261 bytes --]

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@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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[-- Attachment #1.2: Type: text/html, Size: 8835 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2022-03-09 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-09 16:50 Denis Maier via ntg-context
2022-03-09 16:52 ` Denis Maier via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c1bf4aa0d61f486a89b753a09d156073@unibe.ch \
    --to=ntg-context@ntg.nl \
    --cc=denis.maier@unibe.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).