texlive[70320] branches/branch2023.final/Master/texmf-dist: minim
commits+karl at tug.org
commits+karl at tug.org
Fri Mar 1 22:47:22 CET 2024
Revision: 70320
https://tug.org/svn/texlive?view=revision&revision=70320
Author: karl
Date: 2024-03-01 22:47:22 +0100 (Fri, 01 Mar 2024)
Log Message:
-----------
minim (branch) (1mar24)
Modified Paths:
--------------
branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/README
branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/minim.doc
branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/minim.pdf
branches/branch2023.final/Master/texmf-dist/tex/luatex/minim/minim-doc.sty
branches/branch2023.final/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua
Modified: branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/README
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/README 2024-03-01 21:47:11 UTC (rev 70319)
+++ branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/README 2024-03-01 21:47:22 UTC (rev 70320)
@@ -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: branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/minim.doc
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/minim.doc 2024-03-01 21:47:11 UTC (rev 70319)
+++ branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/minim.doc 2024-03-01 21:47:22 UTC (rev 70320)
@@ -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: branches/branch2023.final/Master/texmf-dist/doc/luatex/minim/minim.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2023.final/Master/texmf-dist/tex/luatex/minim/minim-doc.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/luatex/minim/minim-doc.sty 2024-03-01 21:47:11 UTC (rev 70319)
+++ branches/branch2023.final/Master/texmf-dist/tex/luatex/minim/minim-doc.sty 2024-03-01 21:47:22 UTC (rev 70320)
@@ -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: branches/branch2023.final/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua 2024-03-01 21:47:11 UTC (rev 70319)
+++ branches/branch2023.final/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua 2024-03-01 21:47:22 UTC (rev 70320)
@@ -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.