texlive[65447] trunk: lwarp (3jan23)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 3 21:47:59 CET 2023


Revision: 65447
          http://tug.org/svn/texlive?view=revision&revision=65447
Author:   karl
Date:     2023-01-03 21:47:59 +0100 (Tue, 03 Jan 2023)
Log Message:
-----------
lwarp (3jan23)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
    trunk/Master/texmf-dist/doc/latex/lwarp/README.txt
    trunk/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf
    trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
    trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fvextra.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-minted.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty

Modified: trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua	2023-01-03 20:46:52 UTC (rev 65446)
+++ trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua	2023-01-03 20:47:59 UTC (rev 65447)
@@ -2,7 +2,7 @@
 
 -- Copyright 2016-2022 Brian Dunn
 
-printversion = "v0.909"
+printversion = "v0.910"
 requiredconfversion = "2" -- also at *lwarpmk.conf
 
 function printhelp ()

Modified: trunk/Master/texmf-dist/doc/latex/lwarp/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lwarp/README.txt	2023-01-03 20:46:52 UTC (rev 65446)
+++ trunk/Master/texmf-dist/doc/latex/lwarp/README.txt	2023-01-03 20:47:59 UTC (rev 65447)
@@ -1,5 +1,5 @@
 
-LaTeX lwarp package v0.909  README.txt
+LaTeX lwarp package v0.910  README.txt
 
 Files included are:
 
@@ -41,7 +41,7 @@
 version 2005/12/01 or later.
 
 
-Copyright 2016-2022 Brian Dunn
+Copyright 2016-2023 Brian Dunn
 
 Homepage: http://BDTechConcepts.com
 Email: bd at BDTechConcepts.com

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

Modified: trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua	2023-01-03 20:46:52 UTC (rev 65446)
+++ trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua	2023-01-03 20:47:59 UTC (rev 65447)
@@ -2,7 +2,7 @@
 
 -- Copyright 2016-2022 Brian Dunn
 
-printversion = "v0.909"
+printversion = "v0.910"
 requiredconfversion = "2" -- also at *lwarpmk.conf
 
 function printhelp ()

Modified: trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx	2023-01-03 20:46:52 UTC (rev 65446)
+++ trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx	2023-01-03 20:47:59 UTC (rev 65447)
@@ -1,7 +1,7 @@
 %
 % \iffalse meta-comment
 %
-% Copyright 2016-2022 Brian Dunn
+% Copyright 2016-2023 Brian Dunn
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -16,7 +16,7 @@
 % \iffalse
 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package>\ProvidesPackage{lwarp}
-%<package>    [2022/11/22 v0.909  Allows LaTeX to directly produce HTML5 output.]
+%<package>    [2023/01/03 v0.910  Allows LaTeX to directly produce HTML5 output.]
 %
 %<*driver>
 \documentclass{ltxdoc}
@@ -197,7 +197,7 @@
 
 
 % Indexing, logos, \Describexxxx, etc:
-\usepackage{dtxdescribe}[2021/12/18]
+\usepackage{dtxdescribe}[2023/01/03]
 
 
 \usepackage{splitidx}
@@ -235,7 +235,7 @@
 }}
 }
 
-\AtEndPreamble{
+\AddToHook{begindocument/before}{
 \usepackage{cleveref}
 }
 
@@ -1926,7 +1926,8 @@
 \trouble{graphics>scale=\optn{scale} option}
 \begin{sourcedisplay}
 \cs{includegraphics}[scale=<xx>]\{\,\dots\}
-\end{sourcedisplay} to:
+\end{sourcedisplay}
+to:
 \begin{sourcedisplay}
 \cs{includegraphics}[width=<yy>\textbackslash{linewidth}]\{\,\dots\}
 \end{sourcedisplay}
@@ -3282,25 +3283,7 @@
 %<*package>
 % \fi
 %
-% \CheckSum{55554}
 %
-% \CharacterTable
-% {Upper-case     \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%   Digits        \0\1\2\3\4\5\6\7\8\9
-%   Exclamation   \!     Double quote \"      Hash (number) \#
-%   Dollar        \$     Percent       \%     Ampersand     \&
-%   Acute accent \'      Left paren    \(     Right paren   \)
-%   Asterisk      \*     Plus          \+     Comma         \,
-%   Minus         \-     Point         \.     Solidus       \/
-%   Colon         \:     Semicolon     \;     Less than     \<
-%   Equals        \=     Greater than \>      Question mark \?
-%   Commercial at \@     Left bracket \[      Backslash     \\
-%   Right bracket \]     Circumflex    \^     Underscore    \_
-%   Grave accent \`      Left brace    \{     Vertical bar \|
-%   Right brace   \}     Tilde         \~}
-
-%
 % \changes{v0.10}{2016/03/08}{\ 2016/03/08 Initial version}
 % \changes{v0.11}{2016/03/11}{\ 2016/03/11}
 % \changes{v0.11}{2016/03/10}{Test Suite: limages and index in README.txt}
@@ -3436,6 +3419,7 @@
 % \changes{v0.907}{2022/07/11}{\ 2022/07/11}
 % \changes{v0.908}{2022/07/13}{\ 2022/07/13}
 % \changes{v0.909}{2022/11/22}{\ 2022/11/22}
+% \changes{v0.910}{2023/01/03}{\ 2023/01/03}
 
 
 
@@ -3468,7 +3452,7 @@
 %
 % \fileversion{} \Dash \filedate
 %
-% {\small\textcopyright{} 2016--2022} Brian Dunn\\ \small \texttt{bd at BDTechConcepts.com}
+% {\small\textcopyright{} 2016--2023} Brian Dunn\\ \small \texttt{bd at BDTechConcepts.com}
 %
 % \end{center}
 %
@@ -3669,14 +3653,13 @@
 % see the end of the Change History on page \pageref{sec:changesend}.
 %
 % \begin{description}
+% \item[v0.910:] Updated \pkg{fvextra}, \pkg{minted}.
+% \needspace{2\baselineskip}
 % \item[v0.909:] \cs{ref} fix.
 %   \begin{itemize}
 %       \item Fixed \cs{ref*}, \pkg{beamerarticle}, \pkg{lyluatex}, \pkg{realscripts}.
 %       \item Updated \pkg{mismath}, \pkg{nicematrix}, \pkg{pablance},
 %                   \pkg{pdfpages}, \pkg{simplebnf}, \pkg{tagpdf}.
-%       \item The \pkg{lwarp} documentation index is not yet fully updated to the
-%                   latest \pkg{doc} package changes.  Index categories and some
-%                   hyperlinks are not yet working.
 %   \end{itemize}
 % \needspace{2\baselineskip}
 % \item[v0.908:] Bug fix.
@@ -8098,6 +8081,7 @@
 % warpHTML & Generate \HTML\ output. \\
 % BaseJobname & The \cs{jobname} to use.
 %   Set to the \cs{jobname} of the printed version even while generating \HTML. \\
+% warpdisable & Disables most of \pkg{lwarp} for testing purposes. \\
 % \bottomrule
 % \end{tabular}
 % \end{table}
@@ -8444,6 +8428,11 @@
 %   creating the |*_html.tex| file used to compile the \HTML\ version.
 %   See \cref{sec:packageoptions}.
 %
+% \ItemDescribeOption{warpdisable}
+%   Internally disables both \optn{warpprint} and \optn{warpHTML}.
+%   This disables most of \pkg{lwarp}, which may be useful for testing
+%   purposes to see whether \pkg{lwarp} is causing a problem.
+%
 % \end{description}
 %
 % \clearpage
@@ -14933,6 +14922,8 @@
 % If the \optn{warpdisable} option is given,
 % both boolean |warpingprint| and boolean |warpingHTML| are false,
 % and may be used for \cs{ifbool} tests.
+% This option may be used to disable almost all of \pkg{lwarp},
+% for testing purposes.
 %
 % \changes{v0.909}{2022/11/21}{Added option \optn{warpdisable}.}
 %    \begin{macrocode}
@@ -21125,7 +21116,7 @@
 -- Copyright 2016-2022 Brian Dunn
 
 
-printversion = "v0.909"
+printversion = "v0.910"
 requiredconfversion = "2" -- also at *lwarpmk.conf
 
 function printhelp ()
@@ -23419,7 +23410,7 @@
 
 % \subsection{Hook while processing tags}
 %
-% \DescribeHook[lwarp]{\cs{LWR at hook@processingtags}}
+% \DescribeHook[lwarp]{\LWR at hook@processingtags}
 % This is used to disable special text processing while processing \HTML\ tags.
 % Special processing includes that done by
 % \pkg{babel-french}, \pkg{luavina}, \pkg{xevlna}.
@@ -38509,8 +38500,8 @@
 \LetLtxMacro\LWR at origclosebracket\]
 %    \end{macrocode}
 %
-% \DescribeObject{\$}
-% \DescribeObject{\$\$}
+% \DescribeObject{$}
+% \DescribeObject{$$}
 % Redefine the dollar sign to place math inside a \env{lateximage},
 % or use \MathJax:
 %    \begin{macrocode}
@@ -56859,7 +56850,7 @@
 \LWR at ProvidesPackagePass{fancyref}[1999/02/03]
 %    \end{macrocode}
 %
-% \DescribeHook[fancyref]{\cs{fancyrefhook}}
+% \DescribeHook[fancyref]{\fancyrefhook}
 % To remove the \optn{margin} option, if \cs{fancyrefhook} is anything
 % other than the \optn{paren} option, then force it to the default instead.
 % (Comparing to the \optn{margin} option was not possible since \pkg{lwarp} has
@@ -60030,11 +60021,12 @@
 % \pkg{fvextra} is patched for use by \pkg{lwarp}.
 %
 % \changes{v0.892}{2020/10/05}{\pkg{fvextra}: Added.}
+% \changes{v0.910}{2022/12/15}{\pkg{fvextra}: Updated to v1.5.}
 %
 % \codehtml
 %
 %    \begin{macrocode}
-\LWR at ProvidesPackagePass{fvextra}[2019/02/04]
+\LWR at ProvidesPackagePass{fvextra}[2022/11/30]
 %    \end{macrocode}
 %
 % Ignored are \optn{highlight},
@@ -60047,7 +60039,6 @@
 % If line numbers on the right side are used along with \optn{breaklines},
 % the line numbers will not be aligned.
 %    \begin{macrocode}
-
 \define at booleankey{FV}{obeytabs}%
 %   {\let\FV at ObeyTabsInit\FV@@ObeyTabsInit}%
   {\let\FV at ObeyTabsInit\relax}
@@ -60066,10 +60057,10 @@
 \newbool{LWR at FV@breaklines}
 
 \define at booleankey{FV}{breaklines}%
-  {\FV at BreakLinesfalse
+  {\boolfalse{FV at breaklines}
     \booltrue{LWR at FV@breaklines}
     \let\FV at ListProcessLine\FV at ListProcessLine@NoBreak}
-  {\FV at BreakLinesfalse
+  {\boolfalse{FV at breaklines}
     \boolfalse{LWR at FV@breaklines}
     \let\FV at ListProcessLine\FV at ListProcessLine@NoBreak}
 % \fvset{breaklines}
@@ -64202,7 +64193,7 @@
 \AtBeginDocument{
 %    \end{macrocode}
 
-% \DescribeHook[keyfloat]{\cs{KFLT at LWR@hook at boxouter}} Integration for \pkg{keyfloat}.
+% \DescribeHook[keyfloat]{\KFLT at LWR@hook at boxouter} Integration for \pkg{keyfloat}.
 %
 % \changes{v0.75}{2019/09/12}{\pkg{keyfloat}: Fix: \cs{normalcolor}.}
 %    \begin{macrocode}
@@ -64221,7 +64212,7 @@
 }
 %    \end{macrocode}
 %
-% \DescribeHook[keyfloat]{\cs{KFLT at LWR@hook at keysubfloats}} Integration for \pkg{keyfloat}.
+% \DescribeHook[keyfloat]{\KFLT at LWR@hook at keysubfloats} Integration for \pkg{keyfloat}.
 %
 % \changes{v0.75}{2019/09/12}{\pkg{keyfloat}: Fix: \cs{normalcolor}.}
 %    \begin{macrocode}
@@ -64228,7 +64219,7 @@
 \LetLtxMacro\KFLT at LWR@hook at keysubfloats\KFLT at LWR@hook at boxouter
 %    \end{macrocode}
 %
-% \DescribeHook[keyfloat]{\cs{KFLT at LWR@hook at keyfloatsminipage}} Integration for \pkg{keyfloat}.
+% \DescribeHook[keyfloat]{\KFLT at LWR@hook at keyfloatsminipage} Integration for \pkg{keyfloat}.
 %    \begin{macrocode}
 \let\KFLT at LWR@hook at keyfloatsminipage\relax
 \let\endKFLT at LWR@hook at keyfloatsminipage\relax
@@ -64235,7 +64226,7 @@
 \newenvironment*{KFLT at LWR@hook at keyfloatsminipage}[1]{}{}
 %    \end{macrocode}
 %
-% \DescribeHook[keyfloat]{\cs{KFLT at LWR@hook at keyfloats}} Integration for \pkg{keyfloat}.
+% \DescribeHook[keyfloat]{\KFLT at LWR@hook at keyfloats} Integration for \pkg{keyfloat}.
 % \changes{v0.75}{2019/09/12}{\pkg{keyfloat}: Fix: \cs{normalcolor}.}
 %    \begin{macrocode}
 \LetLtxMacro\KFLT at LWR@hook at keyfloats\KFLT at LWR@hook at boxouter
@@ -64434,21 +64425,21 @@
     }
 
     \renewcommand*{\KFLT@@addartisttext}[3]{%
-    %    \end{macrocode}
-    % Add space and create the name inside a \element{div}:
-    %    \begin{macrocode}
+%    \end{macrocode}
+% Add space and create the name inside a \element{div}:
+%    \begin{macrocode}
 %         \addvspace{\medskipamount}%
-    %     \begin{minipage}{\linewidth}%
+%     \begin{minipage}{\linewidth}%
         \LWR at KFLT@setnamealign{#3}%
         \begin{BlockClass}[text-align:\LWR at KFLT@textalign]{floatnotes}%
-    %    \end{macrocode}
-    % Text alignment is |#3|, and depends on artist or author:
-    %    \begin{macrocode}
-    %     #3%
-    %    \end{macrocode}
-    % |#1| is empty or '|subgrp'| \\
-    % |#2| is empty for artist, `|u|' for author:
-    %    \begin{macrocode}
+%    \end{macrocode}
+% Text alignment is |#3|, and depends on artist or author:
+%    \begin{macrocode}
+%     #3%
+%    \end{macrocode}
+% |#1| is empty or '|subgrp'| \\
+% |#2| is empty for artist, `|u|' for author:
+%    \begin{macrocode}
         \footnotesize\textsc{%
             \KFLT at optionalname{\csuse{KFLT@#1a#2p}}%
             \KFLT at optionalname{\csuse{KFLT@#1a#2f}}%
@@ -64455,7 +64446,7 @@
             \csuse{KFLT@#1a#2l}%
             \csuse{KFLT@#1a#2s}%
         }%
-    %     \end{minipage}%
+%     \end{minipage}%
         \end{BlockClass}
 %         \par\addvspace{2ex}%
     }
@@ -70364,15 +70355,40 @@
 %
 % \changes{v0.892}{2020/10/07}{\pkg{minted}: Added.}
 % \changes{v0.903}{2022/01/02}{\pkg{minted}: Updated to v2.6.}
+% \changes{v0.910}{2022/12/15}{\pkg{minted}: Updated to v2.7.}
 %
 % \codehtml
 %
 %    \begin{macrocode}
-\LWR at ProvidesPackagePass{minted}[2021/12/24]
+\LWR at ProvidesPackagePass{minted}[2022/12/12]
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\xpatchcmd{\minted}
+\renewcommand{\setminted}[2][]{%
+  \ifthenelse{\equal{#1}{}}%
+    {\setkeys{minted at opt@g}{%
+        #2,
+        mathescape=false,breaklines,texcomments=false,highlightlines={}% lwarp
+    }}%
+    {\minted at configlang{#1}%
+      \setkeys{minted at opt@lang}{%
+        #2,
+        mathescape=false,breaklines,texcomments=false,highlightlines={}% lwarp
+    }}}
+    
+\renewcommand{\setmintedinline}[2][]{%
+  \ifthenelse{\equal{#1}{}}%
+    {\setkeys{minted at opt@g at i}{%
+        #2,
+        mathescape=false,breaklines,texcomments=false,highlightlines={}% lwarp
+    }}%
+    {\minted at configlang{#1}%
+      \setkeys{minted at opt@lang at i}{%
+        #2,
+        mathescape=false,breaklines,texcomments=false,highlightlines={}% lwarp
+    }}}
+
+\xpatchcmd{\RobustMintInlineProcess}
     {\setkeys{minted at opt@cmd}{#1}}
     {%
         \setkeys{minted at opt@cmd}{%
@@ -70383,17 +70399,18 @@
     {}
     {\LWR at patcherror{minted}{minted}}
 
-\xpatchcmd{\mintinline}
+\xpatchcmd{\RobustMintProcess}
     {\setkeys{minted at opt@cmd}{#1}}
-    {\setkeys{minted at opt@cmd}{%
+    {%
+        \setkeys{minted at opt@cmd}{%
             #1,%
             mathescape=false,breaklines,texcomments=false,highlightlines={}%
         }%
     }
     {}
-    {\LWR at patcherror{minted}{mintinline}}
+    {\LWR at patcherror{minted}{minted}}
 
-\xpatchcmd{\mint}
+\xpatchcmd{\minted}
     {\setkeys{minted at opt@cmd}{#1}}
     {%
         \setkeys{minted at opt@cmd}{%
@@ -70402,7 +70419,7 @@
         }%
     }
     {}
-    {\LWR at patcherror{minted}{mint}}
+    {\LWR at patcherror{minted}{minted}}
 
 \xpatchcmd{\inputminted}
     {\setkeys{minted at opt@cmd}{#1}}
@@ -70414,6 +70431,29 @@
     {}
     {\LWR at patcherror{minted}{inputminted}}
 
+
+
+%\xpatchcmd{\mintinline}
+%    {\setkeys{minted at opt@cmd}{#1}}
+%    {\setkeys{minted at opt@cmd}{%
+%            #1,%
+%            mathescape=false,breaklines,texcomments=false,highlightlines={}%
+%        }%
+%    }
+%    {}
+%    {\LWR at patcherror{minted}{mintinline}}
+
+%\xpatchcmd{\mint}
+%    {\setkeys{minted at opt@cmd}{#1}}
+%    {%
+%        \setkeys{minted at opt@cmd}{%
+%            #1,%
+%            mathescape=false,breaklines,texcomments=false,highlightlines={}%
+%        }%
+%    }
+%    {}
+%    {\LWR at patcherror{minted}{mint}}
+
 \renewenvironment{minted at snugshade*}[1]%
 {%
     \colorlet{shadecolor}{#1}%
@@ -71753,7 +71793,7 @@
 \LWR at ProvidesPackagePass{nameauth}[2017/03/22]
 %    \end{macrocode}
 %
-% \DescribeHook[nameauth]{\cs{@nameauth at Hook}}
+% \DescribeHook[nameauth]{\@nameauth at Hook}
 % \pkg{lwarp} formatting is inserted.
 %    \begin{macrocode}
 \renewcommand*\@nameauth at Hook[1]

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fvextra.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fvextra.sty	2023-01-03 20:46:52 UTC (rev 65446)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fvextra.sty	2023-01-03 20:47:59 UTC (rev 65447)
@@ -15,8 +15,7 @@
 %%   http://www.latex-project.org/lppl.txt
 %% and version 1.3 or later is part of all distributions of LaTeX
 %% version 2005/12/01 or later.
-\LWR at ProvidesPackagePass{fvextra}[2019/02/04]
-
+\LWR at ProvidesPackagePass{fvextra}[2022/11/30]
 \define at booleankey{FV}{obeytabs}%
   {\let\FV at ObeyTabsInit\relax}
   {\let\FV at ObeyTabsInit\relax}
@@ -33,10 +32,10 @@
 \newbool{LWR at FV@breaklines}
 
 \define at booleankey{FV}{breaklines}%
-  {\FV at BreakLinesfalse
+  {\boolfalse{FV at breaklines}
     \booltrue{LWR at FV@breaklines}
     \let\FV at ListProcessLine\FV at ListProcessLine@NoBreak}
-  {\FV at BreakLinesfalse
+  {\boolfalse{FV at breaklines}
     \boolfalse{LWR at FV@breaklines}
     \let\FV at ListProcessLine\FV at ListProcessLine@NoBreak}
 

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty	2023-01-03 20:46:52 UTC (rev 65446)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty	2023-01-03 20:47:59 UTC (rev 65447)
@@ -196,20 +196,8 @@
     }
 
     \renewcommand*{\KFLT@@addartisttext}[3]{%
-    %    \end{macrocode}
-    % Add space and create the name inside a \element{div}:
-    %    \begin{macrocode}
-    %     \begin{minipage}{\linewidth}%
         \LWR at KFLT@setnamealign{#3}%
         \begin{BlockClass}[text-align:\LWR at KFLT@textalign]{floatnotes}%
-    %    \end{macrocode}
-    % Text alignment is |#3|, and depends on artist or author:
-    %    \begin{macrocode}
-    %     #3%
-    %    \end{macrocode}
-    % |#1| is empty or '|subgrp'| \\
-    % |#2| is empty for artist, `|u|' for author:
-    %    \begin{macrocode}
         \footnotesize\textsc{%
             \KFLT at optionalname{\csuse{KFLT@#1a#2p}}%
             \KFLT at optionalname{\csuse{KFLT@#1a#2f}}%
@@ -216,7 +204,6 @@
             \csuse{KFLT@#1a#2l}%
             \csuse{KFLT@#1a#2s}%
         }%
-    %     \end{minipage}%
         \end{BlockClass}
     }
 

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-minted.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-minted.sty	2023-01-03 20:46:52 UTC (rev 65446)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-minted.sty	2023-01-03 20:47:59 UTC (rev 65447)
@@ -15,8 +15,32 @@
 %%   http://www.latex-project.org/lppl.txt
 %% and version 1.3 or later is part of all distributions of LaTeX
 %% version 2005/12/01 or later.
-\LWR at ProvidesPackagePass{minted}[2021/12/24]
-\xpatchcmd{\minted}
+\LWR at ProvidesPackagePass{minted}[2022/12/12]
+\renewcommand{\setminted}[2][]{%
+  \ifthenelse{\equal{#1}{}}%
+    {\setkeys{minted at opt@g}{%
+        #2,
+        mathescape=false,breaklines,texcomments=false,highlightlines={}% lwarp
+    }}%
+    {\minted at configlang{#1}%
+      \setkeys{minted at opt@lang}{%
+        #2,
+        mathescape=false,breaklines,texcomments=false,highlightlines={}% lwarp
+    }}}
+
+\renewcommand{\setmintedinline}[2][]{%
+  \ifthenelse{\equal{#1}{}}%
+    {\setkeys{minted at opt@g at i}{%
+        #2,
+        mathescape=false,breaklines,texcomments=false,highlightlines={}% lwarp
+    }}%
+    {\minted at configlang{#1}%
+      \setkeys{minted at opt@lang at i}{%
+        #2,
+        mathescape=false,breaklines,texcomments=false,highlightlines={}% lwarp
+    }}}
+
+\xpatchcmd{\RobustMintInlineProcess}
     {\setkeys{minted at opt@cmd}{#1}}
     {%
         \setkeys{minted at opt@cmd}{%
@@ -27,17 +51,18 @@
     {}
     {\LWR at patcherror{minted}{minted}}
 
-\xpatchcmd{\mintinline}
+\xpatchcmd{\RobustMintProcess}
     {\setkeys{minted at opt@cmd}{#1}}
-    {\setkeys{minted at opt@cmd}{%
+    {%
+        \setkeys{minted at opt@cmd}{%
             #1,%
             mathescape=false,breaklines,texcomments=false,highlightlines={}%
         }%
     }
     {}
-    {\LWR at patcherror{minted}{mintinline}}
+    {\LWR at patcherror{minted}{minted}}
 
-\xpatchcmd{\mint}
+\xpatchcmd{\minted}
     {\setkeys{minted at opt@cmd}{#1}}
     {%
         \setkeys{minted at opt@cmd}{%
@@ -46,7 +71,7 @@
         }%
     }
     {}
-    {\LWR at patcherror{minted}{mint}}
+    {\LWR at patcherror{minted}{minted}}
 
 \xpatchcmd{\inputminted}
     {\setkeys{minted at opt@cmd}{#1}}
@@ -58,6 +83,8 @@
     {}
     {\LWR at patcherror{minted}{inputminted}}
 
+
+
 \renewenvironment{minted at snugshade*}[1]%
 {%
     \colorlet{shadecolor}{#1}%

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty	2023-01-03 20:46:52 UTC (rev 65446)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty	2023-01-03 20:47:59 UTC (rev 65447)
@@ -17,7 +17,7 @@
 %% version 2005/12/01 or later.
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{lwarp}
-    [2022/11/22 v0.909  Allows LaTeX to directly produce HTML5 output.]
+    [2023/01/03 v0.910  Allows LaTeX to directly produce HTML5 output.]
 
 
 
@@ -26,7 +26,6 @@
 
 
 
-
 \RequirePackage{iftex}[2019/11/07]
 \RequirePackage{ifpdf}
 \RequirePackage{ifptex}
@@ -4868,7 +4867,7 @@
 
 -- Copyright 2016-2022 Brian Dunn
 
-printversion = "v0.909"
+printversion = "v0.910"
 requiredconfversion = "2" -- also at *lwarpmk.conf
 
 function printhelp ()



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