ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marcus Vinicius Mesquita via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
Subject: Re: [NTG-context] new version
Date: Fri, 23 Jun 2023 06:54:46 -0300	[thread overview]
Message-ID: <CAK9ODgQEDOAiUMJ_ctf8P+6_mA_uNV4do42i1zt==9GyQR-g1Q@mail.gmail.com> (raw)
In-Reply-To: <1ba04840-8525-b37a-99df-a96641dd3343@xs4all.nl>

Should then \setupalign[granular] be used before defining font features?

On Thu, Jun 22, 2023 at 9:37 AM Hans Hagen via ntg-context
<ntg-context@ntg.nl> wrote:
>
> Hi,
>
> I uploaded a new lmtx version (so the next series will be luametatex
> 2.10.10). Although Mikael and I are still in improving math mode, we
> side tracked a bit to the par builder (better breaking of math etc). In
> the end some experiments there turned features.
>
> (1) We already had a more granular par builder but that was never really
> enabled. From now on you can do that with
>
> \setupalign[granular]
>
> After quite some tests and careful inspection of outcome we think that
> the results look better, which is why if could become a default. The
> main impact is a bit more even spacing between neighbouring lines,
> because we operate in five instead of three ranges of primary badness now.
>
> (2) As side effect of (3) initialization of expansion (as well as
> compression and protrusion) is delayed till it kicks in. This means that
>
> \definefontfeature[default][default][expansion=quality]
>
> has become cheaper and might as well become the default.
>
> (3) The biggest new feature (already known to some of you as we chat
> about it) is that in addition to the (upto three) passes that create a
> paragraph we can now have extra ones. This is discussed in
> lowlevel-lines.pdf (preliminary). The second pass is the most important
> one (it uses hyphenation but not yet emergency stretch) and, based on
> criteria that can be set, between the second and third pass multiple
> attempts can be triggered.
>
> So, for instance one can start careful (pass one), less careful (pass
> two), test all kind of variants (pass 2 subpasses) etc. These subpasses
> can have different tolerances, demerits, expansion, etc and quit once
> soem criteria are met.
>
> The problem here is: what makes good defaults. Therefore we have some
> tests definitions added (see spac-pas-tests) that we hope users will
> test on realistic documents.
>
> In case one wonders: performance is quite okay and you won't notice much
> difference on a reasonable run. Also, when you normally use expansion
> for a whole document, you can now let it kick in more selectively. As a
> result a run can be faster and the resulting pdf file can be smaller.
> This feature kind of assumes (1) above.
>
> (4) There's also a new feature for optional content: you can have marked
> sections in a paragraph that can be enabled or disabled in attempts to
> get better output. Of course one can wonder it this is useful but it was
> one of the older todo's. When it is considered usefull it can evolve.
>
> (The lowlevel-lines manual is work in progress and in a few weeks we
> will pick up on that.)
>
> Hans
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________



-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
corpo nem seus membros, por ser descanso da alma, primavera do
coração, distração do aflito, entretenimento do solitário, e viático
do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

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

  reply	other threads:[~2023-06-23  9:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-22 12:36 Hans Hagen via ntg-context
2023-06-23  9:54 ` Marcus Vinicius Mesquita via ntg-context [this message]
2023-06-23 10:58   ` Hans Hagen via ntg-context
2023-06-23 19:50     ` Marcus Vinicius Mesquita via ntg-context

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='CAK9ODgQEDOAiUMJ_ctf8P+6_mA_uNV4do42i1zt==9GyQR-g1Q@mail.gmail.com' \
    --to=ntg-context@ntg.nl \
    --cc=marcusvinicius.mesquita@gmail.com \
    /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).