texlive[70379] Master/texmf-dist: minim

commits+karl at tug.org commits+karl at tug.org
Sun Mar 3 22:22:20 CET 2024


Revision: 70379
          https://tug.org/svn/texlive?view=revision&revision=70379
Author:   karl
Date:     2024-03-03 22:22:20 +0100 (Sun, 03 Mar 2024)
Log Message:
-----------
minim

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/luatex/minim/README
    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-doc.sty
    trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua

Modified: trunk/Master/texmf-dist/doc/luatex/minim/README
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/minim/README	2024-03-03 20:58:16 UTC (rev 70378)
+++ trunk/Master/texmf-dist/doc/luatex/minim/README	2024-03-03 21:22:20 UTC (rev 70379)
@@ -1,4 +1,4 @@
-Version: 2024/1.4
+Version: 2024/1.5
 
 SUMMARY
 
@@ -31,6 +31,10 @@
 
 HISTORY
 
+2024/1.4 (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.doc
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/minim/minim.doc	2024-03-03 20:58:16 UTC (rev 70378)
+++ trunk/Master/texmf-dist/doc/luatex/minim/minim.doc	2024-03-03 21:22:20 UTC (rev 70379)
@@ -4,8 +4,8 @@
 \startmetadata
     author   {Esger Renkema}
     title    {minim}
-    date     {2024-01-05}
-    version  {2024/1.4}
+    date     {2024-02-25}
+    version  {2024/1.5}
     keywords {LuaTeX; Plain TeX; MetaPost; PDF/A; Tagged PDF; accessibility; a11y;
               Unicode mathematics; XMP; metadata; hypertext; bookmarks}
 stopmetadata
@@ -39,11 +39,8 @@
 if you define ⟦\fmtname⟧ before inputting this file, no ⟦\dump⟧ will be 
 performed.
 
-
-\bigskip
-
-\tocfalse \section Contents \par \bigskip
-\begingroup \parskip1pt
+\tocfalse \section Contents \par
+\smallskip \begingroup \parskip1pt
 \protected\def\chapter#1#2#3{%
     \stopelement{TOC}\smallskip
     \nextpartag{}\red{\tenbf\marktocentry{#2}{}{\strut#1}{\hfill~}{#3}}%
@@ -60,11 +57,9 @@
 One central design goal of minim is to be as unobtrusive as possible: you 
 should be able to safely ignore any function you do not want to use.
 Please get in touch if you find this not the case.
-
 Particular care has been taken to be compatible with \red{ltluatex}. All 
 overlapping functions should produce the same results and ltluatex can be 
 loaded either before or after minim.
-Earlier incompatibilities with \red{pgf} have been resolved.
 
 \licencesection
 

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

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-doc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-doc.sty	2024-03-03 20:58:16 UTC (rev 70378)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-doc.sty	2024-03-03 21:22:20 UTC (rev 70379)
@@ -42,7 +42,7 @@
 \font\tenrm {Latin Modern Roman:script=latn;protrusion=default;} at 10pt
 \font\tenbf {Latin Modern Roman/B:script=latn;} at 10pt
 \font\tenit {Latin Modern Roman/I:script=latn;} at 10pt
-\font\tentt {Latin Modern Mono:script=latn;+smcp;} at 10pt
+\font\tentt {Latin Modern Mono:script=latn;} at 10pt
 \font\title {Latin Modern Roman/B:script=latn;} at 12pt
 \font\Title {Latin Modern Roman/B:script=latn;} at 16pt
 
@@ -122,26 +122,9 @@
 
 % 
1 document structure
 
-% page artifacts
-\edef\tmp{\markartifact{Pagination /Subtype/Footer}{\the\footline}}
-\footline\expandafter{\tmp}
+\autotagplainoutput
+\def\textindent#1{\noindent#1\enspace\ignorespaces}
 
-% footnotes
-\edef\footnoterule{\markartifact{Layout}\footnoterule}
-\catcode`\@=11
-\def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later
-  \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi
-  \marknoteref{#1}\@sf\vfootnote{#1}}
-\def\vfootnote#1{%
-    \insert\footins\bgroup
-    \interlinepenalty\interfootnotelinepenalty
-    \splittopskip\ht\strutbox % top baseline for broken footnotes
-    \splitmaxdepth\dp\strutbox \floatingpenalty\@MM
-    \leftskip\z at skip \rightskip\z at skip \spaceskip\z at skip \xspaceskip\z at skip
-    \nextpartag{}\marknotelbl{#1}\enspace\startelement{P}%
-    \footstrut\futurelet\next\fo at t}
-\catcode`\@=12
-
 % \startlist \item x. ... \stoplist
 \def\listskip{\vskip 3pt plus 2pt\vskip-\parskip}
 \def\startlist{\smallskip\startelement{L}}
@@ -151,31 +134,26 @@
     \hbox to 2em{\hss\startelement{Lbl}#1.~~}%
     \startelement{LBody}\ignorespaces}
 
+\sectionstructure{section, chapter}
+
 % \chapter Title \par
-\addstructuretype Sect Chapter
 \protected\def\chapter#1 \par{%
     \vfil\break
-    \ensurestopelement{Section}%
-    \global\advance\chapterno1 \global\sectionno0
-    \startelement title{Chapter \the\chapterno}{Chapter}%
+    \markchapter[Chapter \the\chapternr]%
     \outline open {#1}%
     \addtotoc{\chapter{#1}{\lastdestinationname}}%
     \nextpartag{H}\quitvmode
     \red{\Title#1\hfill\copy\notehead}\bigskip\nobreak}
-\newcount \chapterno
 
 % \section Title \par
-\addstructuretype Sect Section
 \protected\def\section#1 \par{%
     \bigskip\penalty-50\relax
-    \global\advance\sectionno1
-    \startelement title{Section \the\chapterno.\the\sectionno}{Section}%
+    \marksection[Section \the\chapternr.\the\sectionnr]%
     \outline closed {#1}%
     \addtotoc{\section{#1}{\lastdestinationname}}%
     \nextpartag{H}\quitvmode
     \red{\title#1}%
     \par\nobreak}
-\newcount \sectionno
 
 % table of contents
 \newtoks\toc \newif\iftoc \toctrue

Modified: trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua	2024-03-03 20:58:16 UTC (rev 70378)
+++ trunk/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua	2024-03-03 21:22:20 UTC (rev 70379)
@@ -121,7 +121,7 @@
 local function update_page_resources(shippingout)
     if M.self_destruct then return end
     local resources = shippingout and pdf.getpageresources() or pdf.getxformresources() or ''
-    for kind, used in pairs(page_resources) do
+    for kind, _ in pairs(page_resources) do
         resources = string.gsub(resources, removal_regex[kind], '')
         local entry = make_resource_entry(kind)
         if entry then



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