diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-03 21:22:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-03 21:22:20 +0000 |
commit | 6775e8476ceaf3144e5ecefe933ecb44c3817e0d (patch) | |
tree | c8f3fc3c2831b6202f44b763e9078210d1b9be79 /Master | |
parent | b3cf0581708e6e7464559073f4dc8842ca923c15 (diff) |
minim
git-svn-id: svn://tug.org/texlive/trunk@70379 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/luatex/minim/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/minim/minim.doc | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/minim/minim.pdf | bin | 365466 -> 383422 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/luatex/minim/minim-doc.sty | 36 | ||||
-rw-r--r-- | Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua | 2 |
5 files changed, 17 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/luatex/minim/README b/Master/texmf-dist/doc/luatex/minim/README index 4aa90c7cd8d..a61e0f74ec6 100644 --- a/Master/texmf-dist/doc/luatex/minim/README +++ b/Master/texmf-dist/doc/luatex/minim/README @@ -1,4 +1,4 @@ -Version: 2024/1.4 +Version: 2024/1.5 SUMMARY @@ -31,6 +31,10 @@ the packages mentioned above. HISTORY +2024/1.4 (25/2/2024) + + No changes. + 2024/1.4 (5/1/2024) * Documented the pdf resource management module diff --git a/Master/texmf-dist/doc/luatex/minim/minim.doc b/Master/texmf-dist/doc/luatex/minim/minim.doc index e975718b1e8..ef35a8ea4eb 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-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 @@ For building your own format files, you can re-use the file \red{minim.ini}: 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 @@ performed. 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 diff --git a/Master/texmf-dist/doc/luatex/minim/minim.pdf b/Master/texmf-dist/doc/luatex/minim/minim.pdf Binary files differindex 3848cf5103a..e632089dfa9 100644 --- a/Master/texmf-dist/doc/luatex/minim/minim.pdf +++ b/Master/texmf-dist/doc/luatex/minim/minim.pdf diff --git a/Master/texmf-dist/tex/luatex/minim/minim-doc.sty b/Master/texmf-dist/tex/luatex/minim/minim-doc.sty index 93d807f16a3..6f662dced6a 100644 --- a/Master/texmf-dist/tex/luatex/minim/minim-doc.sty +++ b/Master/texmf-dist/tex/luatex/minim/minim-doc.sty @@ -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,25 +122,8 @@ endfig;} % 1 document structure -% page artifacts -\edef\tmp{\markartifact{Pagination /Subtype/Footer}{\the\footline}} -\footline\expandafter{\tmp} - -% 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@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip - \nextpartag{}\marknotelbl{#1}\enspace\startelement{P}% - \footstrut\futurelet\next\fo@t} -\catcode`\@=12 +\autotagplainoutput +\def\textindent#1{\noindent#1\enspace\ignorespaces} % \startlist \item x. ... \stoplist \def\listskip{\vskip 3pt plus 2pt\vskip-\parskip} @@ -151,31 +134,26 @@ endfig;} \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 diff --git a/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua b/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua index 468da03b485..66d168f4ecc 100644 --- a/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua +++ b/Master/texmf-dist/tex/luatex/minim/minim-pdfresources.lua @@ -121,7 +121,7 @@ local removal_regex = { 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 |