Re: [NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)
Thank you Hans, all fine now again! Adam On Tue, Nov 17, 2020 at 8:54 AM Hans Hagen wrote: > On 11/17/2020 3:06 AM, Adam Reviczky wrote: > > Hi, > > > > I am getting the following error message trying to generate the formats > > (context --make) with the latest version (latest 2020-11-16 19:40) with > > luatex 1.13.0 7385 (not lmtx). > > > > loading > ConTeXt Typesetting Macros / Triggering Actions > > resolvers > lua > loading file > > '/usr/share/texmf/tex/context/base/mkiv/typo-inj.lua' succeeded > > > > tex error > tex error on line 49 in file > > /usr/share/texmf/tex/context/base/mkiv/typo-inj.mkiv: ! Parameters must > > be numbered consecutively > > > > > > * > > l.49 \permanent\tolerant\protected\def\checkinjector [#1]#* > > > > [#2]{\clf_checkinjector{#1}{#2}} > I'll upload a fixed zip. > > \permanent\tolerant\protected\def\checkinjector[#1]#*[#2]{...} > > is lmtx speak for pick up [#1], skip spaces, pickup [#2] but don't bark > when these are missing (be \tolerant). And, prevent the user from > overloading this macro {\permanent). > > 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 ___
Re: [NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)
On 11/17/2020 3:06 AM, Adam Reviczky wrote: Hi, I am getting the following error message trying to generate the formats (context --make) with the latest version (latest 2020-11-16 19:40) with luatex 1.13.0 7385 (not lmtx). loading > ConTeXt Typesetting Macros / Triggering Actions resolvers > lua > loading file '/usr/share/texmf/tex/context/base/mkiv/typo-inj.lua' succeeded tex error > tex error on line 49 in file /usr/share/texmf/tex/context/base/mkiv/typo-inj.mkiv: ! Parameters must be numbered consecutively * l.49 \permanent\tolerant\protected\def\checkinjector [#1]#* [#2]{\clf_checkinjector{#1}{#2}} I'll upload a fixed zip. \permanent\tolerant\protected\def\checkinjector[#1]#*[#2]{...} is lmtx speak for pick up [#1], skip spaces, pickup [#2] but don't bark when these are missing (be \tolerant). And, prevent the user from overloading this macro {\permanent). 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 ___
[NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)
Hi, I am getting the following error message trying to generate the formats (context --make) with the latest version (latest 2020-11-16 19:40) with luatex 1.13.0 7385 (not lmtx). loading > ConTeXt Typesetting Macros / Triggering Actions resolvers > lua > loading file '/usr/share/texmf/tex/context/base/mkiv/typo-inj.lua' succeeded tex error > tex error on line 49 in file /usr/share/texmf/tex/context/base/mkiv/typo-inj.mkiv: ! Parameters must be numbered consecutively * l.49 \permanent\tolerant\protected\def\checkinjector [#1]#* [#2]{\clf_checkinjector{#1}{#2}} 39 %D \placeregister[index][criterium=text] 40 %D \page 41 %D \startsection[title=Alpha] first \index{first} \stopsection 42 %D \startsection[title=Beta] second \index{second} \stopsection 43 %D \startsection[title=Gamma] third \index{third} \stopsection 44 %D \startsection[title=Delta] fourth \index{fourth} \stopsection 45 %D \stoptext 46 47 \permanent \protected\def\resetinjector [#1]{\clf_resetinjector{#1}} 48 \permanent \protected\def\markinjector [#1]{\dontleavehmode\clf_markinjector{#1}} 49 >> \permanent\tolerant\protected\def\checkinjector [#1]#*[#2]{\clf_checkinjector{#1}{#2}} 50 \permanent \protected\def\checknextinjector [#1]{\clf_checkinjector{#1}{\v!next}} 51 \permanent \protected\def\checkpreviousinjector [#1]{\clf_checkinjector{#1}{\v!previous}} 52 %permanent \protected\def\checknextinjector [#1]{\clf_checknextinjector{#1}} 53 %permanent \protected\def\checkpreviousinjector [#1]{\clf_checkpreviousinjector{#1}} 54 \permanent\tolerant\protected\def\setinjector [#1]#*[#2]#*[#3]{\clf_setinjector{#1}{#2}{#3}} 55 \permanent\tolerant\protected\def\showinjector [#1]{\clf_showinjector{#1}} 56 57 \permanent\protected\def\domarkinjector#1#2% called at the lua end 58 {\dontleavehmode\llap{\infofont\ifcase#1\else\red\fi<#2>\quad}} 59 Swapping typo-inj.mkxl with typo-inj.mkiv makes it work though, changing \permanent\tolerant\protected\def\checkinjector [#1]#*[#2]{\clf _checkinjector{#1}{#2}} \permanent\tolerant\protected\def\setinjector [#1]#*[#2]#*[#3]{\clf _setinjector{#1}{#2}{#3}} back to \unexpanded\def\docheckinjector [#1][#2]{\clf_checkinjector{#1}{#2}} \unexpanded\def\dosetinjector [#1][#2][#3]{\clf_setinjector{#1}{#2}{#3}} Were the files mixed up? Shouldn't the former be for mkxl (lmtx) and the latter for mkiv? Adam ___ 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 ___