From 248fe4328de6ce6eafe1de13e2d2ed4dc99d0080 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 28 Feb 2023 21:01:05 +0000 Subject: lwarp (28feb23) (branch) git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66260 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/lwarp/lwarp.dtx | 39 +++++++++++++++++++++----- 1 file changed, 32 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx index e4c5d8b7b8f..4865f5567e8 100644 --- a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx +++ b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx @@ -16,7 +16,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{lwarp} -% [2023/01/03 v0.910 Allows LaTeX to directly produce HTML5 output.] +% [2023/02/28 v0.911 Allows LaTeX to directly produce HTML5 output.] % %<*driver> \documentclass{ltxdoc} @@ -1659,6 +1659,8 @@ from the \pkg{hyperref} package: If using \MathJax: \trouble[\MathJax]{mathjax=\MathJax>mathtools=\pkg{mathtools}} \begin{itemize} + \item Recent changes may not yet be updated in the \MathJax\ extension, + which is used by \pkg{lwarp}. \item \pkg{mathtools} \optn{disallowspaces} does not work for \MathJax. Protect brackets which are not optional arguments, such as: \begin{sourcedisplay} @@ -3420,6 +3422,7 @@ This boolean may be tested by the user for later use. % \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} +% \changes{v0.911}{2023/02/28}{\ 2023/02/28} @@ -3653,6 +3656,8 @@ This boolean may be tested by the user for later use. % see the end of the Change History on page \pageref{sec:changesend}. % % \begin{description} +% \item[v0.911:] Updated \pkg{mismath}, \pkg{tcolorbox}. +% \needspace{2\baselineskip} % \item[v0.910:] Updated \pkg{fvextra}, \pkg{minted}. % \needspace{2\baselineskip} % \item[v0.909:] \cs{ref} fix. @@ -21116,7 +21121,7 @@ MathJax = { -- Copyright 2016-2022 Brian Dunn -printversion = "v0.910" +printversion = "v0.911" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -43982,6 +43987,13 @@ color:\LWR@origpound\LWR@tempcolor% } \LWR@mathjaxwarn{mathspec} {Double quotes are removed, even inside \protect\text} + \LWR@mathjaxwarn{mismath} + {MathJax does not support \cs{enumber}, \cs{inumber},\MessageBreak + \protect\jnumber, \protect\pinumber, \protect\MathUp, \protect\MathIt,\MessageBreak + \protect\MathNumbers, or \protect\MathNormal.\MessageBreak + \protect\itpi\space is made available as a clone of \protect\pi.\MessageBreak + Tensors are not sans serif% + } \LWR@mathjaxwarn{multirow} {Multirow works as expected in text mode, but\MessageBreak limited emulation is provided for MathJax math.\MessageBreak @@ -70490,6 +70502,9 @@ background: % ignored for \MathJax, except that \cs{itpi} is made available as a % clone of \cs{pi}. % +% \cs{MathUp}, \cs{MathIt}, \cs{MathNumbers}, and \cs{MathNormal} are ignored +% in \MathJax. +% % For \MathJax, \cs{boldvect} and \cs{arrowvect} are honored if % in the preamble. % @@ -70511,11 +70526,12 @@ background: % \changes{v0.80}{2020/02/14}{\pkg{mismath}: Added.} % \changes{v0.89}{2020/09/02}{\pkg{mismath}: Improved math operators.} % \changes{v0.909}{2022/11/21}{\pkg{mismath}: Updated to v2.0.} +% \changes{v0.911}{2023/01/03}{\pkg{mismath}: Updated to v2.5.} % % \codehtml % % \begin{macrocode} -\LWR@ProvidesPackagePass{mismath}[2022/11/11] +\LWR@ProvidesPackagePass{mismath}[2023/02/24] % \end{macrocode} % % For \MathJax, used in the \HTML\ comment before the environment. @@ -70555,6 +70571,9 @@ background: \CustomizeMathJax{\newcommand{\i}{\mathrm{i}}} \CustomizeMathJax{\newcommand{\j}{\mathrm{j}}} +\CustomizeMathJax{\let\mathbfsfit\mathbfit}% not sans +\CustomizeMathJax{\let\tensor\mathbfsfit} + \CustomizeMathJax{\newcommand{\boldvect}{}} \CustomizeMathJax{\newcommand{\arrowvect}{}} \CustomizeMathJax{\newcommand{\pinumber}[1][]{}} @@ -70572,6 +70591,7 @@ background: \CustomizeMathJax{\DeclareMathOperator{\adj}{adj}} \CustomizeMathJax{\DeclareMathOperator{\Aut}{Aut}} +\CustomizeMathJax{\DeclareMathOperator{\codim}{codim}} \CustomizeMathJax{\DeclareMathOperator{\Conv}{Conv}} \CustomizeMathJax{\DeclareMathOperator{\cov}{cov}} \CustomizeMathJax{\DeclareMathOperator{\Cov}{Cov}} @@ -70594,8 +70614,10 @@ background: \CustomizeMathJax{\renewcommand{\Re}{\operatorname{Re}}} \CustomizeMathJax{\newcommand{\rot}{\operatorname{\vect{\mathrm{rot}}}}} \CustomizeMathJax{\DeclareMathOperator{\sgn}{sgn}} +\CustomizeMathJax{\DeclareMathOperator{\sinc}{sinc}} \CustomizeMathJax{\DeclareMathOperator{\spa}{span}} \CustomizeMathJax{\DeclareMathOperator{\tr}{tr}} +\CustomizeMathJax{\DeclareMathOperator{\var}{var}} \CustomizeMathJax{\DeclareMathOperator{\Var}{Var}} \CustomizeMathJax{\DeclareMathOperator{\Zu}{Z}} @@ -70629,7 +70651,9 @@ background: \CustomizeMathJax{\newcommand{\dcap}{\bigcap\limits}} \CustomizeMathJax{\newcommand{\lbar}{\overline}} \CustomizeMathJax{\newcommand{\hlbar}[1]{\overline{\vphantom{h}#1}}} -\CustomizeMathJax{\newcommand{\eqdef}{\stackrel{\mathrm{def}}{=}}} +\CustomizeMathJax{\newcommand{\LWReqdefstar}{\stackrel{\Delta}{=}}} +\CustomizeMathJax{\newcommand{\LWReqdefnostar}{\stackrel{\mathrm{def}}{=}}} +\CustomizeMathJax{\newcommand{\eqdef}{\ifstar\LWReqdefstar\LWReqdefnostar}} \CustomizeMathJax{\newcommand{\unbr}{\underbrace}} \CustomizeMathJax{\newcommand{\iif}{if and only if }} @@ -85446,7 +85470,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', % \codehtml % % \begin{macrocode} -\LWR@ProvidesPackagePass{tcolorbox}[2020/04/28] +\LWR@ProvidesPackagePass{tcolorbox}[2023/02/12] % \end{macrocode} % % \begin{macrocode} @@ -85687,11 +85711,12 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', % \end{macrocode} % % \cs{tcbtitle} is patched to support the text font. +% \changes{v0.911}{2023/02/28}{\pkg{tcolorbox}: Updated to v6.0.1.} % \begin{macrocode} \LetLtxMacro\LWR@HTML@tcbtitle\tcbtitle \xpatchcmd{\LWR@HTML@tcbtitle} - {\kvtcb@before@title\tcbtitletext} - {\kvtcb@before@title\LWR@textcurrentfont{\LWR@textcurrentcolor{\tcbtitletext}}} + {\tcb@insert@before@title\tcbtitletext} + {\tcb@insert@before@title\LWR@textcurrentfont{\LWR@textcurrentcolor{\tcbtitletext}}} {} {\LWR@patcherror{tcolorbox}{LWR@HTML@tcbtitle}} \LWR@formatted{tcbtitle} -- cgit v1.2.3