* Invalid keyword \spaceskip
@ 2021-06-26 20:12 Steffen Wolfrum
2021-06-26 20:26 ` Steffen Wolfrum
0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2021-06-26 20:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
This mwe gives the error below:
\starttext
{\spaceskip=1.0pt plus1pt minus1.5pt Matilda, 24, 345, 348, 361, 366}
\stoptext
Steffen
–––
… $ ~/context-osx-64/tex/texmf-osx-64/bin/mtxrun --script context --autogenerate /Users/steffen/Desktop/error_1.tex
resolvers | formats | executing runner 'run luametatex format': /Users/steffen/context-osx-64/tex/texmf-osx-64/bin/luametatex --jobname="error_1" --fmt=/Users/steffen/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Users/steffen/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:autogenerate --c:currentrun=1 --c:fulljobname="/Users/steffen/Desktop/error_1.tex" --c:input="/Users/steffen/Desktop/error_1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/Users/steffen/context-osx-64/tex/texmf-osx-64/bin"
fonts > beware: no fonts are loaded yet, using 'lm mono' in box
system >
system > ConTeXt ver: 2021.06.25 22:49 LMTX fmt: 2021.6.26 int: english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name '/Users/steffen/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name '/Users/steffen/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname 'error_1', input '/Users/steffen/Desktop/error_1', result 'error_1'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 1, order 2, name '/Users/steffen/Desktop/error_1.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
tex error > tex error on line 4 in file /Users/steffen/Desktop/error_1.tex: Valid keyword expected, likely 'minus'
<line 3.4> {\spaceskip=1.0pt plus1pt minus1.5pt Ma
tilda, 24, 345, 348, 361, 366}
1
2 \starttext
3
4 >> {\spaceskip=1.0pt plus1pt minus1.5pt Matilda, 24, 345, 348, 361, 366}
5
6 \stoptext
You started a keyword but it seems to be an invalid one. The first character(s)
might give you a clue. You might want to quit unwanted lookahead with \relax.
mtx-context | fatal error: return code: 256
___________________________________________________________________________________
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] 8+ messages in thread
* Re: Invalid keyword \spaceskip
2021-06-26 20:12 Invalid keyword \spaceskip Steffen Wolfrum
@ 2021-06-26 20:26 ` Steffen Wolfrum
2021-06-26 20:43 ` Wolfgang Schuster
0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2021-06-26 20:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
PS: with
% engine=luatex
it works fine.
Steffen
> Am 26.06.2021 um 22:12 schrieb Steffen Wolfrum <context@st.estfiles.de>:
>
> This mwe gives the error below:
>
>
> \starttext
>
> {\spaceskip=1.0pt plus1pt minus1.5pt Matilda, 24, 345, 348, 361, 366}
>
> \stoptext
>
>
> Steffen
>
> –––
>
> … $ ~/context-osx-64/tex/texmf-osx-64/bin/mtxrun --script context --autogenerate /Users/steffen/Desktop/error_1.tex
>
> resolvers | formats | executing runner 'run luametatex format': /Users/steffen/context-osx-64/tex/texmf-osx-64/bin/luametatex --jobname="error_1" --fmt=/Users/steffen/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Users/steffen/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:autogenerate --c:currentrun=1 --c:fulljobname="/Users/steffen/Desktop/error_1.tex" --c:input="/Users/steffen/Desktop/error_1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/Users/steffen/context-osx-64/tex/texmf-osx-64/bin"
> fonts > beware: no fonts are loaded yet, using 'lm mono' in box
> system >
> system > ConTeXt ver: 2021.06.25 22:49 LMTX fmt: 2021.6.26 int: english/english
> system >
> system > 'cont-new.mkxl' loaded
> open source > level 1, order 1, name '/Users/steffen/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
> system > beware: some patches loaded from cont-new.mkiv
> close source > level 1, order 1, name '/Users/steffen/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
> system > files > jobname 'error_1', input '/Users/steffen/Desktop/error_1', result 'error_1'
> fonts > latin modern fonts are not preloaded
> languages > language 'en' is active
> open source > level 1, order 2, name '/Users/steffen/Desktop/error_1.tex'
> fonts > preloading latin modern fonts (second stage)
> fonts > 'fallback modern-designsize rm 12pt' is loaded
> tex error > tex error on line 4 in file /Users/steffen/Desktop/error_1.tex: Valid keyword expected, likely 'minus'
>
> <line 3.4> {\spaceskip=1.0pt plus1pt minus1.5pt Ma
> tilda, 24, 345, 348, 361, 366}
> 1
> 2 \starttext
> 3
> 4 >> {\spaceskip=1.0pt plus1pt minus1.5pt Matilda, 24, 345, 348, 361, 366}
> 5
> 6 \stoptext
> You started a keyword but it seems to be an invalid one. The first character(s)
> might give you a clue. You might want to quit unwanted lookahead with \relax.
> mtx-context | fatal error: return code: 256
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 8+ messages in thread
* Re: Invalid keyword \spaceskip
2021-06-26 20:26 ` Steffen Wolfrum
@ 2021-06-26 20:43 ` Wolfgang Schuster
2021-06-26 21:38 ` Steffen Wolfrum
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2021-06-26 20:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
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.
Wolfgang
___________________________________________________________________________________
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] 8+ messages in thread
* Re: Invalid keyword \spaceskip
2021-06-26 20:43 ` Wolfgang Schuster
@ 2021-06-26 21:38 ` Steffen Wolfrum
2021-06-26 21:56 ` Wolfgang Schuster
0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2021-06-26 21:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 26.06.2021 um 22:43 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
>
> 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?
Thanks for the fix! Steffen
___________________________________________________________________________________
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] 8+ messages in thread
* Re: Invalid keyword \spaceskip
2021-06-26 21:38 ` Steffen Wolfrum
@ 2021-06-26 21:56 ` Wolfgang Schuster
2021-06-27 7:16 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2021-06-26 21:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
Steffen Wolfrum schrieb am 26.06.2021 um 23:38:
>> Am 26.06.2021 um 22:43 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
>>
>> 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.
Wolfgang
___________________________________________________________________________________
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] 8+ messages in thread
* Re: Invalid keyword \spaceskip
2021-06-26 21:56 ` Wolfgang Schuster
@ 2021-06-27 7:16 ` Hans Hagen
2021-06-27 9:36 ` Steffen Wolfrum
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2021-06-27 7:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
>>> <wolfgang.schuster.lists@gmail.com>:
>>>
>>> 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:
\starttext
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}
\stoptext
compare pdftex and luametatex.
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 / 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] 8+ messages in thread
* Re: Invalid keyword \spaceskip
2021-06-27 7:16 ` Hans Hagen
@ 2021-06-27 9:36 ` Steffen Wolfrum
2021-06-27 11:40 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2021-06-27 9:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 27.06.2021 um 09:16 schrieb Hans Hagen <j.hagen@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 <wolfgang.schuster.lists@gmail.com>:
>>>>
>>>> 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:
>
> \starttext
> 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}
>
> \stoptext
>
> compare pdftex and luametatex.
ok. but why does this run fine
\starttext
Test \spaceskip = 1.0pt plus 1pt minus 1.5pt Wolfgang
\stoptext
while this ends in an error message?
\starttext
Test \spaceskip = 1.0pt plus 1pt minus 1.5pt Matilda
\stoptext
Steffen
___________________________________________________________________________________
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] 8+ messages in thread
* Re: Invalid keyword \spaceskip
2021-06-27 9:36 ` Steffen Wolfrum
@ 2021-06-27 11:40 ` Hans Hagen
0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2021-06-27 11:40 UTC (permalink / raw)
To: mailing list for ConTeXt users, Steffen Wolfrum
On 6/27/2021 11:36 AM, Steffen Wolfrum wrote:
>
>
>> Am 27.06.2021 um 09:16 schrieb Hans Hagen <j.hagen@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 <wolfgang.schuster.lists@gmail.com>:
>>>>>
>>>>> 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:
>>
>> \starttext
>> 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}
>>
>> \stoptext
>>
>> compare pdftex and luametatex.
>
>
> ok. but why does this run fine
>
> \starttext
>
> Test \spaceskip = 1.0pt plus 1pt minus 1.5pt Wolfgang
>
> \stoptext
>
>
> while this ends in an error message?
>
>
> \starttext
>
> Test \spaceskip = 1.0pt plus 1pt minus 1.5pt Matilda
>
> \stoptext
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
-----------------------------------------------------------------
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 / 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] 8+ messages in thread
end of thread, other threads:[~2021-06-27 11:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-26 20:12 Invalid keyword \spaceskip Steffen Wolfrum
2021-06-26 20:26 ` Steffen Wolfrum
2021-06-26 20:43 ` Wolfgang Schuster
2021-06-26 21:38 ` Steffen Wolfrum
2021-06-26 21:56 ` Wolfgang Schuster
2021-06-27 7:16 ` Hans Hagen
2021-06-27 9:36 ` Steffen Wolfrum
2021-06-27 11:40 ` Hans Hagen
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).