summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-03 21:16:41 +0000
committerKarl Berry <karl@freefriends.org>2024-04-03 21:16:41 +0000
commitf525d07b31d375ec7bdd3078768c3b979bccac44 (patch)
treee621dbfd26dda21b7288bc300564cd14f8b79915 /Master/texmf-dist/tex/luatex
parentf07a9a1c37bc288c1d2190f26e5c8d2fb3f4377e (diff)
minim (3apr24)
git-svn-id: svn://tug.org/texlive/trunk@70848 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r--Master/texmf-dist/tex/luatex/minim/minim-alloc.lua2
-rw-r--r--Master/texmf-dist/tex/luatex/minim/minim-alloc.tex6
-rw-r--r--Master/texmf-dist/tex/luatex/minim/minim-doc.sty3
-rw-r--r--Master/texmf-dist/tex/luatex/minim/minim-hooks.tex4
-rw-r--r--Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex2
-rw-r--r--Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua4
-rw-r--r--Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex2
7 files changed, 14 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/luatex/minim/minim-alloc.lua b/Master/texmf-dist/tex/luatex/minim/minim-alloc.lua
index ce53e5d4407..3b14f5cc80c 100644
--- a/Master/texmf-dist/tex/luatex/minim/minim-alloc.lua
+++ b/Master/texmf-dist/tex/luatex/minim/minim-alloc.lua
@@ -45,7 +45,7 @@ end
-- re-encode to utf-16
local function pdf_hex_string(text)
local str = { [1] = '<feff' }
- for i in text:utfvalues() do
+ for _, i in utf8.codes(text) do
if i <= 0xffff then
insert_formatted(str, '%04x', i)
else
diff --git a/Master/texmf-dist/tex/luatex/minim/minim-alloc.tex b/Master/texmf-dist/tex/luatex/minim/minim-alloc.tex
index 1b3ca067958..f83e043ad40 100644
--- a/Master/texmf-dist/tex/luatex/minim/minim-alloc.tex
+++ b/Master/texmf-dist/tex/luatex/minim/minim-alloc.tex
@@ -1,6 +1,6 @@
\ifdefined \minimloaded
- \message{(skipped)}
+ \wlog{(skipped)}
\expandafter\endinput\fi
\chardef\minimloaded=\catcode`\:
\catcode`\:=11
@@ -115,6 +115,10 @@
\ifdefined \documentclass
% latex has no \globcount etc.
\alloc:globoffset = 10
+ \ifnum\count10<256 \count10=256 \fi
+ \ifnum\count11<256 \count11=256 \fi
+ \ifnum\count12<256 \count12=256 \fi
+ \ifnum\count14<256 \count14=256 \fi
\else \ifdefined \globcount
% use global allocation (see etex.src)
\let\newcount = \globcount
diff --git a/Master/texmf-dist/tex/luatex/minim/minim-doc.sty b/Master/texmf-dist/tex/luatex/minim/minim-doc.sty
index 6f662dced6a..32c8a1e9918 100644
--- a/Master/texmf-dist/tex/luatex/minim/minim-doc.sty
+++ b/Master/texmf-dist/tex/luatex/minim/minim-doc.sty
@@ -7,6 +7,7 @@
\input minim
%\decompressedpdf
+%\debugmetapost
\pdfalevel 3a
\pdfualevel 1
@@ -97,7 +98,7 @@
% 1 the minim symbol
\newbox\notehead
-\newmetapostinstance \mnmMP
+\newmetapostinstance [jobname='logo'] \mnmMP
\runmetapost \mnmMP {
beginfig(1)
w:=1/27; pickup pencircle scaled 1/9;
diff --git a/Master/texmf-dist/tex/luatex/minim/minim-hooks.tex b/Master/texmf-dist/tex/luatex/minim/minim-hooks.tex
index deef66fc9a6..da19182a48e 100644
--- a/Master/texmf-dist/tex/luatex/minim/minim-hooks.tex
+++ b/Master/texmf-dist/tex/luatex/minim/minim-hooks.tex
@@ -16,7 +16,7 @@
% know if you run into any problems.
\ifdefined\minimhooksloaded
- \message{(skipped)}
+ \wlog{(skipped)}
\expandafter\endinput\fi
\chardef\minimhooksloaded = \catcode`\:
\catcode`\: = 11
@@ -48,7 +48,7 @@
{\expandafter}\the\minim:atnextpar}
\let\minim:changeparindent = \relax % as of yet unused
-% There is no need for the following.
+% There is presently no need for the following.
%\let\minim:par = \par
%\newtoks\minim:aftereverypar
diff --git a/Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex b/Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex
index e420dd2a1c0..c169b77e57c 100644
--- a/Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex
+++ b/Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex
@@ -3,7 +3,7 @@
% from plain.tex with latin modern equivalents.
\ifdefined\minimlmodernloaded
- \message{(skipped)}
+ \wlog{(skipped)}
\expandafter\endinput\fi
\chardef\minimlmodernloaded=\catcode`\:
\catcode`\:=11
diff --git a/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua b/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua
index 66d168f4ecc..244d4c2bcdd 100644
--- a/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua
+++ b/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua
@@ -77,8 +77,8 @@ end
-- those, the M.use_resouce() function will be called automatically.
--
local page_resources = init_resources() -- name ↦ '/Key <value>'
---
-function _with_pdf_resource_(kind, name) -- global, for use in latelua
+-- global, for use in latelua
+function _with_pdf_resource_(kind, name) --luacheck: ignore 111
page_resources[kind][name] = M.use_resource(kind, name)
end
function M.use_resource_node(kind, name)
diff --git a/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex b/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex
index 57e9d8f012f..8ad794fe54e 100644
--- a/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex
+++ b/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex
@@ -1,6 +1,6 @@
\ifdefined \minimpdfresourcesloaded
- \message{(skipped)}
+ \wlog{(skipped)}
\expandafter\endinput\fi
\chardef\minimpdfresourcesloaded=\catcode`\:
\catcode`\:=11