texlive[70848] Master/texmf-dist: minim (3apr24)

commits+karl at tug.org commits+karl at tug.org
Wed Apr 3 23:16:42 CEST 2024


Revision: 70848
          https://tug.org/svn/texlive?view=revision&revision=70848
Author:   karl
Date:     2024-04-03 23:16:41 +0200 (Wed, 03 Apr 2024)
Log Message:
-----------
minim (3apr24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/luatex/minim/README
    trunk/Master/texmf-dist/doc/luatex/minim/minim-alloc.doc
    trunk/Master/texmf-dist/doc/luatex/minim/minim.doc
    trunk/Master/texmf-dist/doc/luatex/minim/minim.pdf
    trunk/Master/texmf-dist/tex/luatex/minim/minim-alloc.lua
    trunk/Master/texmf-dist/tex/luatex/minim/minim-alloc.tex
    trunk/Master/texmf-dist/tex/luatex/minim/minim-doc.sty
    trunk/Master/texmf-dist/tex/luatex/minim/minim-hooks.tex
    trunk/Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex
    trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua
    trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex

Modified: trunk/Master/texmf-dist/doc/luatex/minim/README
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/minim/README	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/doc/luatex/minim/README	2024-04-03 21:16:41 UTC (rev 70848)
@@ -1,4 +1,4 @@
-Version: 2024/1.5
+Version: 2024/1.6
 
 SUMMARY
 
@@ -31,10 +31,14 @@
 
 HISTORY
 
-2024/1.4 (25/2/2024)
+2024/1.6 (25/3/2024)
 
   No changes.
 
+2024/1.5 (25/2/2024)
+
+  No changes.
+
 2024/1.4 (5/1/2024)
 
     * Documented the pdf resource management module

Modified: trunk/Master/texmf-dist/doc/luatex/minim/minim-alloc.doc
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/minim/minim-alloc.doc	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/doc/luatex/minim/minim-alloc.doc	2024-04-03 21:16:41 UTC (rev 70848)
@@ -123,17 +123,17 @@
 last.
 After one function returns ⟦false⟧, no others will be called.
 Callbacks of this type are
+⟦pre_output_filter⟧,
+⟦post_linebreak_filter⟧,
 ⟦pre_linebreak_filter⟧,
-⟦post_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_jobname⟧,
+⟦process_output_buffer⟧ and
 ⟦process_input_buffer⟧,
-⟦process_output_buffer⟧ and
-⟦process_jobname⟧,
 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 @@
 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'⟧ 

Modified: trunk/Master/texmf-dist/doc/luatex/minim/minim.doc
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/minim/minim.doc	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/doc/luatex/minim/minim.doc	2024-04-03 21:16:41 UTC (rev 70848)
@@ -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

Modified: trunk/Master/texmf-dist/doc/luatex/minim/minim.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-alloc.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-alloc.lua	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-alloc.lua	2024-04-03 21:16:41 UTC (rev 70848)
@@ -45,7 +45,7 @@
 -- 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

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-alloc.tex
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-alloc.tex	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-alloc.tex	2024-04-03 21:16:41 UTC (rev 70848)
@@ -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

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-doc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-doc.sty	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-doc.sty	2024-04-03 21:16:41 UTC (rev 70848)
@@ -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;

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-hooks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-hooks.tex	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-hooks.tex	2024-04-03 21:16:41 UTC (rev 70848)
@@ -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

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-lmodern.tex	2024-04-03 21:16:41 UTC (rev 70848)
@@ -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

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua	2024-04-03 21:16:41 UTC (rev 70848)
@@ -77,8 +77,8 @@
 -- 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)

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex	2024-04-03 21:16:31 UTC (rev 70847)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.tex	2024-04-03 21:16:41 UTC (rev 70848)
@@ -1,6 +1,6 @@
 
 \ifdefined \minimpdfresourcesloaded
-    \message{(skipped)}
+    \wlog{(skipped)}
     \expandafter\endinput\fi
 \chardef\minimpdfresourcesloaded=\catcode`\:
 \catcode`\:=11



More information about the tex-live-commits mailing list.