summaryrefslogtreecommitdiff
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
parentf07a9a1c37bc288c1d2190f26e5c8d2fb3f4377e (diff)
minim (3apr24)
git-svn-id: svn://tug.org/texlive/trunk@70848 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/luatex/minim/README8
-rw-r--r--Master/texmf-dist/doc/luatex/minim/minim-alloc.doc14
-rw-r--r--Master/texmf-dist/doc/luatex/minim/minim.doc4
-rw-r--r--Master/texmf-dist/doc/luatex/minim/minim.pdfbin383422 -> 397133 bytes
-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
11 files changed, 29 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/luatex/minim/README b/Master/texmf-dist/doc/luatex/minim/README
index a61e0f74ec6..751c428bad8 100644
--- a/Master/texmf-dist/doc/luatex/minim/README
+++ b/Master/texmf-dist/doc/luatex/minim/README
@@ -1,4 +1,4 @@
-Version: 2024/1.5
+Version: 2024/1.6
SUMMARY
@@ -31,7 +31,11 @@ the packages mentioned above.
HISTORY
-2024/1.4 (25/2/2024)
+2024/1.6 (25/3/2024)
+
+ No changes.
+
+2024/1.5 (25/2/2024)
No changes.
diff --git a/Master/texmf-dist/doc/luatex/minim/minim-alloc.doc b/Master/texmf-dist/doc/luatex/minim/minim-alloc.doc
index 5a343c4b854..b1f6ed77bde 100644
--- a/Master/texmf-dist/doc/luatex/minim/minim-alloc.doc
+++ b/Master/texmf-dist/doc/luatex/minim/minim-alloc.doc
@@ -123,17 +123,17 @@ functions will be called in order, each function receiving the result of the
last.
After one function returns ⟦false⟧, no others will be called.
Callbacks of this type are
-⟦pre_linebreak_filter⟧,
+⟦pre_output_filter⟧,
⟦post_linebreak_filter⟧,
+⟦pre_linebreak_filter⟧,
⟦hpack_filter⟧,
-⟦vpack_filter⟧,
-⟦pre_output_filter⟧ and
-⟦mlist_to_mlist⟧.
+⟦vpack_filter⟧
+and ⟦mlist_to_mlist⟧.
Similarly, for the ⟦*data⟧ callbacks
-⟦process_input_buffer⟧,
-⟦process_output_buffer⟧ and
⟦process_jobname⟧,
+⟦process_output_buffer⟧ and
+⟦process_input_buffer⟧,
all registered functions will be called in order on the output of the previous.
Returning ⟦false⟧ will in this case result in the output of the previous
function passing to the next.
@@ -237,7 +237,7 @@ the argument ⟦s⟧ to ⟦M.add_bookmark⟧ will consist of a table with at mos
following entries: ⟦open⟧, ⟦closed⟧, ⟦dest⟧ and ⟦title⟧, though entries whose
keywords do not occur will not be present.
-This function is particularly useful when used together with
+This function is particularly useful when used with
⟦*M.luadef('csname', function, ...)⟧, which defines primitive-like tex macros
from lua. There, ⟦function⟧ can be any function (it will be assigned a lua
function register) and at the place of the dots you may append ⟦'protected'⟧
diff --git a/Master/texmf-dist/doc/luatex/minim/minim.doc b/Master/texmf-dist/doc/luatex/minim/minim.doc
index ef35a8ea4eb..f1538c5724a 100644
--- a/Master/texmf-dist/doc/luatex/minim/minim.doc
+++ b/Master/texmf-dist/doc/luatex/minim/minim.doc
@@ -4,8 +4,8 @@
\startmetadata
author {Esger Renkema}
title {minim}
- date {2024-02-25}
- version {2024/1.5}
+ date {2024-03-25}
+ version {2024/1.6}
keywords {LuaTeX; Plain TeX; MetaPost; PDF/A; Tagged PDF; accessibility; a11y;
Unicode mathematics; XMP; metadata; hypertext; bookmarks}
stopmetadata
diff --git a/Master/texmf-dist/doc/luatex/minim/minim.pdf b/Master/texmf-dist/doc/luatex/minim/minim.pdf
index e632089dfa9..e7a0519965a 100644
--- a/Master/texmf-dist/doc/luatex/minim/minim.pdf
+++ b/Master/texmf-dist/doc/luatex/minim/minim.pdf
Binary files differ
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