ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: no looseness in LMTX?
Date: Tue, 7 Sep 2021 15:13:19 +0200	[thread overview]
Message-ID: <DD6313E2-1FAD-49E2-85EC-21825F2335A5@fiee.net> (raw)
In-Reply-To: <c907e9bd-c3db-9a64-5bf1-4a15beb1ee7f@gmail.com>



> Am 07.09.2021 um 13:15 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
> 
> Henning Hraban Ramm via ntg-context schrieb am 07.09.2021 um 11:49:
>> In my magazine and book projects, I sometimes fix pagebreaking by stretching paragraphs with \looseness=1
>> 
>> Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no effect with LMTX.
>> 
>> I tried different examples (e.g. the attached file) and can’t reproduce the problem, there MkIV and LMTX always behave the same.
>> So it must be something in my settings.
>> 
>> What could cause the difference?
>> I tried English and German and different settings of alignment and tolerance.
>> Might it be font dependent?
> 
> Do you enable protrusion and font expansion for your document font or is it just missing in your example?

You’re right, this was missing in the example:

\definefontfeature[default]
[mode=node,liga=no,kern=yes,tlig=no,
  ccmp=yes,language=dflt,
  protrusion=quality,
  expansion=quality]

But that also doesn’t change that the example works the same with MkIV and LMTX, but not my project.

> Have you checked if the alignment changes when you use the "extremestretch" keyword for \setupalign?

I see no difference, and again it works in both versions the same.
It also doesn’t change that \looseness isn’t working in my project.


But \updateparagraphproperties (see Hans’ message) helps, it’s just inconvenient.

Hraban
___________________________________________________________________________________
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:[~2021-09-07 13:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-07  9:49 Henning Hraban Ramm via ntg-context
2021-09-07 11:15 ` Wolfgang Schuster via ntg-context
2021-09-07 13:13   ` Henning Hraban Ramm via ntg-context [this message]
2021-09-07 13:27     ` Hans Hagen via ntg-context
2021-09-07 12:07 ` Hans Hagen via ntg-context
2021-09-07 12:57   ` Henning Hraban Ramm 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=DD6313E2-1FAD-49E2-85EC-21825F2335A5@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).