On 6/27/2021 11:36 AM, Steffen Wolfrum wrote:

Am 27.06.2021 um 09:16 schrieb Hans Hagen <j.ha...@xs4all.nl>:

On 6/26/2021 11:56 PM, Wolfgang Schuster wrote:
Steffen Wolfrum schrieb am 26.06.2021 um 23:38:
Am 26.06.2021 um 22:43 schrieb Wolfgang Schuster 

Steffen Wolfrum schrieb am 26.06.2021 um 22:26:
PS: with

% engine=luatex

it works fine.
Add \relax after the last skip value, i.e.

  \spaceskip = 1pt plus 1pt minus 1.5pt\relax

LMTX allows multiple plus and minus values for a skip value and the M in 
Matilda starts the scan for an additional minus value.
Wow, this sounds interesting. Is there an example of how to use multiple values?
I think the only examples are in mails from Hans. When you set multiple plus or 
minus values (as far as i remember) only the last setting is used and all 
previous ones are ignored.
Maybe in some article. Anyway, here is an example:

  test \skip0=10pt plus 10pt minus 10pt plus 20pt

  test \skip0=10pt plus 10pt plus 20pt minus 10pt

  test \vrule width 10pt height 10pt depth 10pt depth 10pt height 10pt

%  test \hbox to 10pt to 10pt {x}


compare pdftex and luametatex.

ok. but why does this run fine


Test \spaceskip = 1.0pt plus 1pt minus 1.5pt Wolfgang


while this ends in an error message?


Test \spaceskip = 1.0pt plus 1pt minus 1.5pt Matilda


because scanning is case insensitive so the m triggeres the keyword error ... keep in mind that by omitting a \relax you've always been lucky so far (probably no follow up texts that had plus or minus) .. luametatex just warns earlier


                                          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 

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 via email to