texlive[59959] trunk: lwarp (17jul21)
commits+karl at tug.org
commits+karl at tug.org
Sat Jul 17 22:43:04 CEST 2021
Revision: 59959
http://tug.org/svn/texlive?view=revision&revision=59959
Author: karl
Date: 2021-07-17 22:43:04 +0200 (Sat, 17 Jul 2021)
Log Message:
-----------
lwarp (17jul21)
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/source/latex/lwarp/lwarp.ins
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-autonum.sty
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-froufrou.sty
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lipsum.sty
Modified: trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua 2021-07-17 20:43:04 UTC (rev 59959)
@@ -2,7 +2,7 @@
-- Copyright 2016-2021 Brian Dunn
-printversion = "v0.899"
+printversion = "v0.900"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -92,7 +92,7 @@
print ("lwarpmk: \\usepackage{lwarp} was not detected.")
print ("lwarpmk: The HTML output will not be correct.")
print ("lwarpmk: Ensured that \\usepackage{lwarp} is enabled,")
- print ("lwarpmk: then lwarpmk print and lwarpmk HTML again.")
+ print ("lwarpmk: then lwarpmk print and lwarpmk html again.")
print ("lwarpmk: ===")
end
end -- function
Modified: trunk/Master/texmf-dist/doc/latex/lwarp/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lwarp/README.txt 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/doc/latex/lwarp/README.txt 2021-07-17 20:43:04 UTC (rev 59959)
@@ -1,5 +1,5 @@
-LaTeX lwarp package v0.899 README.txt
+LaTeX lwarp package v0.900 README.txt
Files included are:
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 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua 2021-07-17 20:43:04 UTC (rev 59959)
@@ -2,7 +2,7 @@
-- Copyright 2016-2021 Brian Dunn
-printversion = "v0.899"
+printversion = "v0.900"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -92,7 +92,7 @@
print ("lwarpmk: \\usepackage{lwarp} was not detected.")
print ("lwarpmk: The HTML output will not be correct.")
print ("lwarpmk: Ensured that \\usepackage{lwarp} is enabled,")
- print ("lwarpmk: then lwarpmk print and lwarpmk HTML again.")
+ print ("lwarpmk: then lwarpmk print and lwarpmk html again.")
print ("lwarpmk: ===")
end
end -- function
Modified: trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx 2021-07-17 20:43:04 UTC (rev 59959)
@@ -16,7 +16,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lwarp}
-%<package> [2021/06/29 v0.899 Allows LaTeX to directly produce HTML5 output.]
+%<package> [2021/07/17 v0.900 Allows LaTeX to directly produce HTML5 output.]
%
%<*driver>
\documentclass{ltxdoc}
@@ -24,8 +24,8 @@
\PassOptionsToPackage{quiet}{textcomp}% Not all chars supported in TT font.
\usepackage{lmodern}
-\usepackage{libertine}
-% *88* \usepackage[space]{erewhon}
+% \usepackage{libertine}
+\usepackage[space]{erewhon}
\usepackage[varqu,varl]{inconsolata} % typewriter
% \usepackage{roboto}% conflicts with \textsc inside a float
% \usepackage{sourcecodepro}
@@ -3100,7 +3100,7 @@
%<*package>
% \fi
%
-% \CheckSum{54297}
+% \CheckSum{54342}
%
% \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
@@ -3241,6 +3241,7 @@
% \changes{v0.897}{2021/05/24}{\ 2021/05/24}
% \changes{v0.898}{2021/05/29}{\ 2021/05/29}
% \changes{v0.899}{2021/06/29}{\ 2021/06/29}
+% \changes{v0.900}{2021/07/17}{\ 2021/07/17}
@@ -3466,9 +3467,21 @@
%
% \begin{description}
% \needspace{2\baselineskip}
+% \item[v0.900:] Package updates.
+% \begin{itemize}
+% \item Fix for detecting |\usepackage{lwarp}|.
+% \margintag{core}
+% \item \pkg{amsmath}: Fixed \env{alignat} with \brand{MathJax}.
+% \margintag{packages}
+% \item \pkg{changes}: Updated to v4.2.1.
+% \item \pkg{froufrou}: Updated to v1.4.0.
+% \item \pkg{lipsum}: Updated to v2.3.
+% \end{itemize}
+% \needspace{2\baselineskip}
% \item[v0.899:] Minor updates.
% \begin{itemize}
% \item \prog{lwarpmk}: Warns if |\usepackage{lwarp}| is not detected.
+% \margintag{core}
% \item \pkg{graphics}: Added support for \optn{keepaspectratio}.
% \margintag{packages}
% \item \pkg{keyfloat}: Fix: \optn{lw} with \optn{h}.
@@ -3483,8 +3496,8 @@
% \item[v0.897:] \pkg{siunitx} rollback.
% \begin{itemize}
% \item Added a table of file extensions to use with \cs{includegraphics}.
+% \margintag{docs}
% See \cref{tab:includegraphicsfilenames}.
-% \margintag{docs}
% \item Added tests for additional incompatible packages.
% \margintag{core}
% \item \pkg{siunitx}: Supports rollback to v2. Does not yet support v3.
@@ -6019,7 +6032,7 @@
%
% Package handling: & \spkg{catoptions}. \\
%
-% Debug: & \ipkg{chkfloat}, \ipkg{cmdtrack}, \ipkg{dprogress},
+% Debug: & \ipkg{chkfloat}, \ipkg{cmdtrack}, \ipkg{dprogress}, \mpkg{lipsum},
% \ipkg{lua-visual-debug}, \ipkg{refcheck},
% \ipkg{srcltx}, \ipkg{srctex}, \ipkg{vpe}, \ipkg{xbmks}. \\
%
@@ -20565,7 +20578,7 @@
-- Copyright 2016-2021 Brian Dunn
-printversion = "v0.899"
+printversion = "v0.900"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -20658,7 +20671,7 @@
print ("lwarpmk: \\usepackage{lwarp} was not detected.")
print ("lwarpmk: The HTML output will not be correct.")
print ("lwarpmk: Ensured that \\usepackage{lwarp} is enabled,")
- print ("lwarpmk: then lwarpmk print and lwarpmk HTML again.")
+ print ("lwarpmk: then lwarpmk print and lwarpmk html again.")
print ("lwarpmk: ===")
end
end -- function
@@ -26933,11 +26946,11 @@
% Remove extra material:
% \changes{v0.84}{2020/04/12}{Improved \HTML\ title.}
% \begin{macrocode}
-\StrSubstitute{\theHTMLSection}{\protect}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{-----}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{----}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{---}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{--}}{\detokenize{-}}[\theHTMLSection]
+\StrSubstitute{\theHTMLSection}{\protect}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{-----}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{----}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{---}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{--}}{\detokenize{-}}[\theHTMLSection]%
% \end{macrocode}
%
% If starts with a dash, remove the leading dash:
@@ -27107,8 +27120,11 @@
% Start of the body:
% \begin{macrocode}
\LWR at htmltag{body}\LWR at orignewline
-\endgroup
-\LWR at traceinfo{LWR at filestart: done}
+% \end{macrocode}
+% \changes{v0.900}{2021/06/14}{Spurrious space.}
+% \begin{macrocode}
+\endgroup%
+\LWR at traceinfo{LWR at filestart: done}%
}
% \end{macrocode}
% \end{macro}
@@ -27231,7 +27247,7 @@
% Start a new \HTML\ file and a header:
% \begin{macrocode}
\LWR at traceinfo{LWR at lwarpStart: Starting new file.}
-\LWR at filestart
+\LWR at filestart%
% \end{macrocode}
% Tell \prog{lwarpmk} that the \pkg{lwarp} package is in use.
% This allows \prog{lwarpmk} to warn if |usepackage{lwarp}| was somehow
@@ -37674,7 +37690,7 @@
% \end{macro}
-% \begin{macro}{\LWR at addmathjax} \marg{environment} \marg{contents}
+% \begin{macro}{\LWR at addmathjax} \marg{environment name} \marg{contents}
%
% Given the name of a math environment and its contents,
% create a \brand{MathJax} instance.
@@ -37682,10 +37698,10 @@
% \begin{macrocode}
\NewDocumentCommand{\LWR at addmathjax}{m +m}{%
% \end{macrocode}
-% Enclose the \brand{MathJax} environment inside printed ``\cs{(}'' and ``\cs{)}'' characters.
% \begin{macrocode}
\LWR at origtilde\LWR at orignewline
% \end{macrocode}
+% Enclose the \brand{MathJax} environment inside printed ``\cs{(}'' and ``\cs{)}'' characters.
% Print the environment name and contents, sanitizing for \HTML\ special characters.
% \changes{v0.89}{2020/08/01}{TT font for \brand{MathJax}.}
% \begin{macrocode}
@@ -37692,6 +37708,22 @@
{%
\LWR at print@ttfamily%
\textbackslash{}begin\{#1\}
+% \end{macrocode}
+%
+% The \env{alignat} environment takes a mandatory argument, which must
+% be replicated here.
+% \changes{v0.900}{2021/07/11}{Fix: \env{alignat} with \brand{MathJax}.}
+% \begin{macrocode}
+ \ifboolexpr{
+ test {\ifstrequal{#1}{alignat}} or
+ test {\ifstrequal{#1}{alignat*}} or
+ test {\ifstrequal{#1}{alignat+}}
+ }%
+ {\{\arabic{LWR at maxfields@}\}}%
+ {}%
+% \end{macrocode}
+% The environment contents and \cs{end}:
+% \begin{macrocode}
\LWR at orignewline%
\LWR at HTMLsanitizeexpand{\detokenize\expandafter{#2}}%
\LWR at orignewline%
@@ -44057,6 +44089,25 @@
% \changes{v0.73}{2019/06/25}{AMS environments: Fix: \attribute{alt} tags.}
% \changes{v0.73}{2019/06/25}{AMS environments: Fix: Paragraph tags.}
%
+%
+% \DescribeCounter{LWR at maxfields@} A copy of \ctr{maxfields@} as it was passed.
+% This is used to generate the mandatory argument for \env{alignat} and \env{alignat*}
+% when using \brand{MathJax}.
+% \changes{v0.900}{2021/07/11}{Fix: \env{alignat} with \brand{MathJax}.}
+% \begin{macrocode}
+\newcounter{LWR at maxfields@}
+
+\xpatchcmd{\start at align}
+ {\maxfields@#3\relax}
+ {%
+ \maxfields@#3\relax%
+ \setcounter{LWR at maxfields@}{#3}%
+ }
+ {}
+ {\LWR at patcherror{amsmath}{start at align}}
+% \end{macrocode}
+%
+%
% \begin{noindmacro}{\LWR at amsmathenv@@before}* \marg{environment name}
%
% |*| if the environment was starred.
@@ -45551,8 +45602,7 @@
% \pkg{autonum} is ignored.
%
% All equations are numbered in \HTML\ output.
-% \trouble[numbering]{autonum=\pkg{autonum}}
-%
+% \trouble[numbering, \texttt{+}]{autonum=\pkg{autonum}}
% \brand{MathJax} does not support the ``+'' environments.
%
% \changes{v0.70}{2019/03/28}{\pkg{autonum}: Added.}
@@ -45582,11 +45632,13 @@
\BeforeBeginEnvironment{multline+}{\LWR at amsmathenv@@before{multline+}}
\AfterEndEnvironment{multline+}{\LWR at amsmathenv@@after}
-
-
+% \end{macrocode}
+%
+% \changes{v0.900}{2021/07/11}{Fix: \env{flalign} name.}
+% \begin{macrocode}
\newenvironment{flalign+}{\flalign}{\endflalign}
-\BeforeBeginEnvironment{flalign+}{\LWR at amsmathenv@@before{flaline+}}
+\BeforeBeginEnvironment{flalign+}{\LWR at amsmathenv@@before{flalign+}}
\AfterEndEnvironment{flalign+}{\LWR at amsmathenv@@after}
@@ -48382,11 +48434,12 @@
% \changes{v0.67}{2019/02/15}{\pkg{changes}: Added.}
% \changes{v0.70}{2019/03/24}{\pkg{changes}: Updated to v3.1.2.}
% \changes{v0.895}{2021/01/30}{\pkg{changes}: Updated to v4.0.1.}
+% \changes{v0.900}{2021/06/14}{\pkg{changes}: Updated to v4.2.1.}
%
% \codehtml
%
% \begin{macrocode}
-\LWR at ProvidesPackagePass{changes}[2021/02/14]
+\LWR at ProvidesPackagePass{changes}[2021/07/15]
% \end{macrocode}
%
% \cs{BaseJobname} is added to the label in case \pkg{xr} or \pkg{xr-hyper} are used.
@@ -48596,7 +48649,7 @@
{\color{authorcolor}}%
{}%
\LWR at textcurrentcolor{% lwarp
-\Changes at Markup@author{\Changes at output@author{#2}{left}}%
+\Changes at Markup@author{\Changes at output@author at position{#2}{left}}%
}% lwarp
}}%
}{}%
@@ -48623,7 +48676,7 @@
{\color{authorcolor}}%
{}%
\LWR at textcurrentcolor{% lwarp
-\Changes at Markup@author{\Changes at output@author{#2}{right}}%
+\Changes at Markup@author{\Changes at output@author at position{#2}{right}}%
}% lwarp
}}%
}{}%
@@ -48637,7 +48690,7 @@
\Changes at Markup@comment%
{#5}%
{#2}%
-{\Changes at output@author{#2}{left}\Changes at output@author{#2}{right}}%
+{\Changes at output@author{#2}}%
}%
}%
\IfIsEmpty{#2}%
@@ -57669,6 +57722,7 @@
% \pkg{froufrou} is patched for use by \pkg{lwarp}.
%
% \changes{v0.897}{2021/05/02}{\pkg{froufrou}: Added.}
+% \changes{v0.900}{2021/06/14}{\pkg{froufrou}: Updated to v1.4.0.}
%
% \codehtml
%
@@ -57684,17 +57738,35 @@
{\LWR at patcherror{froufrou}{setfroufrou}}
\ExplSyntaxOff
-\xpatchcmd{\@realfroufrou}
- {\@froufrouOrnament}
- {%
- \begin{center}
- \begin{lateximage}*[froufrou][\LWR at latestfroufrou]%
+\RenewDocumentCommand{\froufrou}{s O{}}{%
+ \nopagebreak[4]\par
+
+ \IfBooleanTF{#1}{\@afterindenttrue}{\@afterindentfalse}
+
+ \nopagebreak[4]\@froufrouspacebefore\nopagebreak[4]
+
+ \bgroup
+ \setfroufrou{#2}%
+ \normalsize
+ \ifdefvoid{\setstretch}{}{\setstretch{\setspace at singlespace}}% normally 1
+ \setlength{\parskip}{0pt}
+ \noindent\centering\bgroup%
+ \begin{center}% lwarp
+ \begin{lateximage}*[froufrou][\LWR at latestfroufrou]% lwarp
\@froufrouOrnament%
- \end{lateximage}
- \end{center}
- }
- {}
- {\LWR at patcherror{froufrou}{@realfroufrou}}
+ \end{lateximage}% lwarp
+ \end{center}% lwarp
+ \egroup\par
+ \egroup
+
+ \nopagebreak[4]\@froufrouspaceafter\nopagebreak[4]
+
+ \@froufrouFixSpacingAfter
+
+ \nopagebreak[3]
+
+ \@afterheading
+}
% \end{macrocode}
%
% \iffalse
@@ -63574,8 +63646,38 @@
%
%
%
+% \iffalse
+%<*lipsum>
+% \fi
%
+% \part{lwarp-lipsum.sty}
+%
+% \section{lipsum}
+%
+% \credits{Patrick Happel}
+%
+% \DescribePackage{lipsum}
+% \pkg{lipsum} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.900}{2021/06/15}{\pkg{lipsum}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR at ProvidesPackagePass{lipsum}[2021-03-03]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\SetLipsumParListItemEnd{\LWR at closeparagraph}
+% \end{macrocode}
+%
% \iffalse
+%</lipsum>
+% \fi
+%
+%
+%
+% \iffalse
%<*listings>
% \fi
Modified: trunk/Master/texmf-dist/source/latex/lwarp/lwarp.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/lwarp/lwarp.ins 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/source/latex/lwarp/lwarp.ins 2021-07-17 20:43:04 UTC (rev 59959)
@@ -281,6 +281,7 @@
\file{lwarp-libertinust1math.sty}{\from{lwarp.dtx}{libertinust1math}}
\file{lwarp-lineno.sty}{\from{lwarp.dtx}{lineno}}
\file{lwarp-lips.sty}{\from{lwarp.dtx}{lips}}
+\file{lwarp-lipsum.sty}{\from{lwarp.dtx}{lipsum}}
\file{lwarp-listings.sty}{\from{lwarp.dtx}{listings}}
\file{lwarp-listliketab.sty}{\from{lwarp.dtx}{listliketab}}
\file{lwarp-lltjext.sty}{\from{lwarp.dtx}{lltjext}}
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty 2021-07-17 20:43:04 UTC (rev 59959)
@@ -39,6 +39,16 @@
}% not mathjax
\newcounter{LWR at amsmathdepth}
\setcounter{LWR at amsmathdepth}{0}
+\newcounter{LWR at maxfields@}
+
+\xpatchcmd{\start at align}
+ {\maxfields@#3\relax}
+ {%
+ \maxfields@#3\relax%
+ \setcounter{LWR at maxfields@}{#3}%
+ }
+ {}
+ {\LWR at patcherror{amsmath}{start at align}}
\NewDocumentCommand{\LWR at amsmathenv@@before}{s m}{%
\IfBooleanTF{#1}{
\begin{BlockClass}{displaymath}
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-autonum.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-autonum.sty 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-autonum.sty 2021-07-17 20:43:04 UTC (rev 59959)
@@ -31,10 +31,9 @@
\BeforeBeginEnvironment{multline+}{\LWR at amsmathenv@@before{multline+}}
\AfterEndEnvironment{multline+}{\LWR at amsmathenv@@after}
-
\newenvironment{flalign+}{\flalign}{\endflalign}
-\BeforeBeginEnvironment{flalign+}{\LWR at amsmathenv@@before{flaline+}}
+\BeforeBeginEnvironment{flalign+}{\LWR at amsmathenv@@before{flalign+}}
\AfterEndEnvironment{flalign+}{\LWR at amsmathenv@@after}
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty 2021-07-17 20:43:04 UTC (rev 59959)
@@ -15,7 +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{changes}[2021/02/14]
+\LWR at ProvidesPackagePass{changes}[2021/07/15]
\renewcommand{\ChangesListline}[4]{%
\IfIsInList{#1}{\Changes at loc@show}{%
\LWR at startpars%
@@ -210,7 +210,7 @@
{\color{authorcolor}}%
{}%
\LWR at textcurrentcolor{% lwarp
-\Changes at Markup@author{\Changes at output@author{#2}{left}}%
+\Changes at Markup@author{\Changes at output@author at position{#2}{left}}%
}% lwarp
}}%
}{}%
@@ -237,7 +237,7 @@
{\color{authorcolor}}%
{}%
\LWR at textcurrentcolor{% lwarp
-\Changes at Markup@author{\Changes at output@author{#2}{right}}%
+\Changes at Markup@author{\Changes at output@author at position{#2}{right}}%
}% lwarp
}}%
}{}%
@@ -251,7 +251,7 @@
\Changes at Markup@comment%
{#5}%
{#2}%
-{\Changes at output@author{#2}{left}\Changes at output@author{#2}{right}}%
+{\Changes at output@author{#2}}%
}%
}%
\IfIsEmpty{#2}%
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-froufrou.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-froufrou.sty 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-froufrou.sty 2021-07-17 20:43:04 UTC (rev 59959)
@@ -23,17 +23,35 @@
{\LWR at patcherror{froufrou}{setfroufrou}}
\ExplSyntaxOff
-\xpatchcmd{\@realfroufrou}
- {\@froufrouOrnament}
- {%
- \begin{center}
- \begin{lateximage}*[froufrou][\LWR at latestfroufrou]%
+\RenewDocumentCommand{\froufrou}{s O{}}{%
+ \nopagebreak[4]\par
+
+ \IfBooleanTF{#1}{\@afterindenttrue}{\@afterindentfalse}
+
+ \nopagebreak[4]\@froufrouspacebefore\nopagebreak[4]
+
+ \bgroup
+ \setfroufrou{#2}%
+ \normalsize
+ \ifdefvoid{\setstretch}{}{\setstretch{\setspace at singlespace}}% normally 1
+ \setlength{\parskip}{0pt}
+ \noindent\centering\bgroup%
+ \begin{center}% lwarp
+ \begin{lateximage}*[froufrou][\LWR at latestfroufrou]% lwarp
\@froufrouOrnament%
- \end{lateximage}
- \end{center}
- }
- {}
- {\LWR at patcherror{froufrou}{@realfroufrou}}
+ \end{lateximage}% lwarp
+ \end{center}% lwarp
+ \egroup\par
+ \egroup
+
+ \nopagebreak[4]\@froufrouspaceafter\nopagebreak[4]
+
+ \@froufrouFixSpacingAfter
+
+ \nopagebreak[3]
+
+ \@afterheading
+}
\endinput
%%
%% End of file `lwarp-froufrou.sty'.
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lipsum.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lipsum.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lipsum.sty 2021-07-17 20:43:04 UTC (rev 59959)
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-lipsum.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `lipsum')
+%% This is a generated file.
+%% Copyright 2016-2020 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% 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{lipsum}[2021-03-03]
+\SetLipsumParListItemEnd{\LWR at closeparagraph}
+\endinput
+%%
+%% End of file `lwarp-lipsum.sty'.
Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lipsum.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty 2021-07-17 20:41:45 UTC (rev 59958)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty 2021-07-17 20:43:04 UTC (rev 59959)
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{lwarp}
- [2021/06/29 v0.899 Allows LaTeX to directly produce HTML5 output.]
+ [2021/07/17 v0.900 Allows LaTeX to directly produce HTML5 output.]
@@ -4762,7 +4762,7 @@
-- Copyright 2016-2021 Brian Dunn
-printversion = "v0.899"
+printversion = "v0.900"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -4852,7 +4852,7 @@
print ("lwarpmk: \\usepackage{lwarp} was not detected.")
print ("lwarpmk: The HTML output will not be correct.")
print ("lwarpmk: Ensured that \\usepackage{lwarp} is enabled,")
- print ("lwarpmk: then lwarpmk print and lwarpmk HTML again.")
+ print ("lwarpmk: then lwarpmk print and lwarpmk html again.")
print ("lwarpmk: ===")
end
end -- function
@@ -7894,11 +7894,11 @@
\begingroup%
\LWR at nullfonts%
\edef\theHTMLSection{#1}%
-\StrSubstitute{\theHTMLSection}{\protect}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{-----}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{----}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{---}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{--}}{\detokenize{-}}[\theHTMLSection]
+\StrSubstitute{\theHTMLSection}{\protect}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{-----}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{----}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{---}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{--}}{\detokenize{-}}[\theHTMLSection]%
\IfBeginWith{\theHTMLSection}{\detokenize{-}}{%
\StrGobbleLeft{\theHTMLSection}{1}[\theHTMLSection]%
}{}%
@@ -7982,8 +7982,8 @@
{}%
\LWR at htmltag{/head}\LWR at orignewline
\LWR at htmltag{body}\LWR at orignewline
-\endgroup
-\LWR at traceinfo{LWR at filestart: done}
+\endgroup%
+\LWR at traceinfo{LWR at filestart: done}%
}
\end{warpHTML}
@@ -8022,7 +8022,7 @@
\mainmatter
\LWR at origpagenumbering{arabic}
\LWR at traceinfo{LWR at lwarpStart: Starting new file.}
-\LWR at filestart
+\LWR at filestart%
\begingroup%
\LWR at nullfonts%
\LWR at htmlblockcomment{%
@@ -12444,6 +12444,13 @@
{%
\LWR at print@ttfamily%
\textbackslash{}begin\{#1\}
+ \ifboolexpr{
+ test {\ifstrequal{#1}{alignat}} or
+ test {\ifstrequal{#1}{alignat*}} or
+ test {\ifstrequal{#1}{alignat+}}
+ }%
+ {\{\arabic{LWR at maxfields@}\}}%
+ {}%
\LWR at orignewline%
\LWR at HTMLsanitizeexpand{\detokenize\expandafter{#2}}%
\LWR at orignewline%
More information about the tex-live-commits
mailing list.