From: Adam Reviczky <reviczky@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: format error with latest 2020-11-16 19:40 with mkiv (luatex)
Date: Tue, 17 Nov 2020 02:06:05 +0000 [thread overview]
Message-ID: <CABaoHutpfxvkOjZUN9yHGUEQoXyxO2kkukOgpQpJ-tA21r=i5w@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2533 bytes --]
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
<to be read again>
*
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
[-- Attachment #1.2: Type: text/html, Size: 4461 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2020-11-17 2:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-17 2:06 Adam Reviczky [this message]
2020-11-17 8:54 ` Hans Hagen
2020-11-17 14:11 ` Adam Reviczky
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='CABaoHutpfxvkOjZUN9yHGUEQoXyxO2kkukOgpQpJ-tA21r=i5w@mail.gmail.com' \
--to=reviczky@gmail.com \
--cc=ntg-context@ntg.nl \
/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).