texlive[72494] Master/texmf-dist: minted (8oct24)

commits+karl at tug.org commits+karl at tug.org
Tue Oct 8 22:00:03 CEST 2024


Revision: 72494
          https://tug.org/svn/texlive?view=revision&revision=72494
Author:   karl
Date:     2024-10-08 22:00:02 +0200 (Tue, 08 Oct 2024)
Log Message:
-----------
minted (8oct24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/minted/CHANGELOG_MINTED_LATEX_PACKAGE.md
    trunk/Master/texmf-dist/doc/latex/minted/minted.pdf
    trunk/Master/texmf-dist/source/latex/minted/minted.dtx
    trunk/Master/texmf-dist/tex/latex/minted/minted.sty

Modified: trunk/Master/texmf-dist/doc/latex/minted/CHANGELOG_MINTED_LATEX_PACKAGE.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/minted/CHANGELOG_MINTED_LATEX_PACKAGE.md	2024-10-08 19:59:51 UTC (rev 72493)
+++ trunk/Master/texmf-dist/doc/latex/minted/CHANGELOG_MINTED_LATEX_PACKAGE.md	2024-10-08 20:00:02 UTC (rev 72494)
@@ -1,6 +1,15 @@
 # Changelog — minted LaTeX package
 
 
+## v3.1.2 (2024/10/07)
+
+*  There is now only a single `\read` allocation for reading temporary files
+   when `highlightmode` is set to `fast` or `fastfirst`.  Previously, there
+   was one allocation per temp file, which could cause allocation errors when
+   several temp files were highlighted during the same compile (#413).
+
+
+
 ## v3.1.1 (2024/10/03)
 
 *  Fixed bugs in processing temporary files regardless of `highlightmode` from

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

Modified: trunk/Master/texmf-dist/source/latex/minted/minted.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/minted/minted.dtx	2024-10-08 19:59:51 UTC (rev 72493)
+++ trunk/Master/texmf-dist/source/latex/minted/minted.dtx	2024-10-08 20:00:02 UTC (rev 72494)
@@ -27,7 +27,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{minted}
 %<*package>
-    [2024/10/03 v3.1.1 Yet another Pygments shim for LaTeX]
+    [2024/10/07 v3.1.2 Yet another Pygments shim for LaTeX]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
@@ -2611,7 +2611,8 @@
       \minted at error{minted Python executable returned incomplete configuration data;
         this may indicate a bug in minted or file corruption}}%
     {\global\let\minted at cachepath\minted at config@cachepath
-     \minted at highlightmode@init}}%
+     \minted at highlightmode@init
+     \ifbool{minted at fasthighlightmode}{\newread\minted at intempfile}{}}}%
    {\global\boolfalse{minted at canexec}%
     \minted at error{minted Python executable is version \minted at executable@version,
       but version \minted at executable@minversion+ is required}}}
@@ -3825,7 +3826,6 @@
 \def\minted at iffasthighlightmode@buffertempfile at iv{%
   \begingroup
   \setcounter{minted at tmpcodebufferlength}{0}%
-  \newread\minted at intempfile
   \openin\minted at intempfile=\minted at inputfilepath
   \endlinechar=-1%
   \let\do\@makeother\FVExtraDoSpecials

Modified: trunk/Master/texmf-dist/tex/latex/minted/minted.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/minted/minted.sty	2024-10-08 19:59:51 UTC (rev 72493)
+++ trunk/Master/texmf-dist/tex/latex/minted/minted.sty	2024-10-08 20:00:02 UTC (rev 72494)
@@ -26,7 +26,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{minted}
-    [2024/10/03 v3.1.1 Yet another Pygments shim for LaTeX]
+    [2024/10/07 v3.1.2 Yet another Pygments shim for LaTeX]
 \RequirePackage{catchfile}
 \RequirePackage{etoolbox}
 \RequirePackage{fvextra}[2024/09/05]
@@ -532,7 +532,8 @@
       \minted at error{minted Python executable returned incomplete configuration data;
         this may indicate a bug in minted or file corruption}}%
     {\global\let\minted at cachepath\minted at config@cachepath
-     \minted at highlightmode@init}}%
+     \minted at highlightmode@init
+     \ifbool{minted at fasthighlightmode}{\newread\minted at intempfile}{}}}%
    {\global\boolfalse{minted at canexec}%
     \minted at error{minted Python executable is version \minted at executable@version,
       but version \minted at executable@minversion+ is required}}}
@@ -1482,7 +1483,6 @@
 \def\minted at iffasthighlightmode@buffertempfile at iv{%
   \begingroup
   \setcounter{minted at tmpcodebufferlength}{0}%
-  \newread\minted at intempfile
   \openin\minted at intempfile=\minted at inputfilepath
   \endlinechar=-1%
   \let\do\@makeother\FVExtraDoSpecials



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