# [NTG-context] lmtx

Hans Hagen j.hagen at xs4all.nl
Fri Feb 19 13:32:52 CET 2021

Hi,

In the last couple of lmtx uploads \startTEXpage should work a bit
better. These uploads also introduced a new option for alignments, which
can be checked in:

\def\DemoA#1{\vbox{\red                      \hsize#1\input tufte }}
\def\DemoB#1{\vbox{\green \setupalign[always]\hsize#1\input tufte }}
\def\DemoC#1{\startTEXpage[offset=10pt]\DemoA{#1pt}\blank\DemoB{#1pt}\blank#1pt\stopTEXpage}

\starttext

\dostepwiserecurse{300}{600}{10}{
\startTEXpage[offset=10pt]
\startoverlay
{\DemoA{#1pt}}
{\DemoB{#1pt}}
\stopoverlay
\blank
\the\dimexpr#1pt\relax
\stopTEXpage
}

\DemoC{370} \DemoC{390} \DemoC{490} \DemoC{540} \DemoC{580}

\stoptext

I leave it to users to determine if the few cases where the results
differ are better or worse but one can for instance use it to influence
(as side effect) the last line. In general, tweaking the machinery can
give different results and i guess that hardly any user can make
consistent claims about what is better. It all depends on what one deals
with.

(The keyword is suboptimal, it kind of tells what happens but on the
other obscurew what really goes on: always forcing a first hyphenation
pass when breaking lines.)

Hans

-----------------------------------------------------------------