ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* "Flushbottom" / \setupalign[line] in LMTX
@ 2022-03-09 16:50 Denis Maier via ntg-context
  2022-03-09 16:52 ` Denis Maier via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Maier via ntg-context @ 2022-03-09 16:50 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier


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

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: 7907 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "Flushbottom" / \setupalign[line] in LMTX
  2022-03-09 16:50 "Flushbottom" / \setupalign[line] in LMTX Denis Maier via ntg-context
@ 2022-03-09 16:52 ` Denis Maier via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Maier via ntg-context @ 2022-03-09 16:52 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-09 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-09 16:50 "Flushbottom" / \setupalign[line] in LMTX Denis Maier via ntg-context
2022-03-09 16:52 ` Denis Maier via ntg-context

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).