diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-21 23:09:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-21 23:09:12 +0000 |
commit | c5c0fd6a62ff10c170b4605ab94b2cd4564a4a61 (patch) | |
tree | b13a2e5bc79c59a09805104c0aa0853e37997675 /Master/texmf-dist/tex/latex/lwarp | |
parent | e90023659322c8f937d5d8fc06425a33ac918f03 (diff) |
lwarp
git-svn-id: svn://tug.org/texlive/trunk@57836 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp')
36 files changed, 1587 insertions, 313 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-SIunits.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-SIunits.sty index f62f029547e..7265a223b12 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-SIunits.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-SIunits.sty @@ -291,12 +291,18 @@ \CustomizeMathJax{\newcommand{\molepercubicmetrenp}{\mole\usk\rpcubic\metre}} \CustomizeMathJax{\newcommand{\radianpersquaresecond}{\radian\per\second\squared}} \CustomizeMathJax{\newcommand{\radianpersquaresecondnp}{\radian\usk\second\rpsquared}} -\CustomizeMathJax{\newcommand{\kilogramsquaremetrepersecond}{\kilogram\usk\squaremetre\per\second}} -\CustomizeMathJax{\newcommand{\kilogramsquaremetrepersecondnp}{\kilogram\usk\squaremetre\usk\reciprocal\second}} +\CustomizeMathJax{\newcommand{\kilogramsquaremetrepersecond}{% + \kilogram\usk\squaremetre\per\second% +}} +\CustomizeMathJax{\newcommand{\kilogramsquaremetrepersecondnp}{% + \kilogram\usk\squaremetre\usk\reciprocal\second% +}} \CustomizeMathJax{\newcommand{\radianpersecond}{\radian\per\second}} \CustomizeMathJax{\newcommand{\radianpersecondnp}{\radian\usk\reciprocal\second}} \CustomizeMathJax{\newcommand{\squaremetrepercubicmetre}{\squaremetre\per\cubic\metre}} -\CustomizeMathJax{\newcommand{\squaremetrepercubicmetrenp}{\squaremetre\usk\rpcubic\metre}} +\CustomizeMathJax{\newcommand{\squaremetrepercubicmetrenp}{% + \squaremetre\usk\rpcubic\metre% +}} \CustomizeMathJax{\newcommand{\katalpercubicmetre}{\katal\per\cubic\metre}} \CustomizeMathJax{\newcommand{\katalpercubicmetrenp}{\katal\usk\rpcubic\metre}} \CustomizeMathJax{\newcommand{\coulombpermol}{\coulomb\per\mole}} @@ -305,8 +311,12 @@ \CustomizeMathJax{\newcommand{\amperepersquaremetrenp}{\ampere\usk\rpsquare\metre}} \CustomizeMathJax{\newcommand{\kilogrampercubicmetre}{\kilogram\per\cubic\metre}} \CustomizeMathJax{\newcommand{\kilogrampercubicmetrenp}{\kilogram\usk\rpcubic\metre}} -\CustomizeMathJax{\newcommand{\squaremetrepernewtonsecond}{\squaremetre\per\newton\usk\second}} -\CustomizeMathJax{\newcommand{\squaremetrepernewtonsecondnp}{\squaremetre\usk\reciprocal\newton\usk\reciprocal\second}} +\CustomizeMathJax{\newcommand{\squaremetrepernewtonsecond}{% + \squaremetre\per\newton\usk\second% +}} +\CustomizeMathJax{\newcommand{\squaremetrepernewtonsecondnp}{% + \squaremetre\usk\reciprocal\newton\usk\reciprocal\second% +}} \CustomizeMathJax{\newcommand{\pascalsecond}{\pascal\usk\second}} \CustomizeMathJax{\newcommand{\coulombpercubicmetre}{\coulomb\per\cubic\metre}} \CustomizeMathJax{\newcommand{\coulombpercubicmetrenp}{\coulomb\usk\rpcubic\metre}} @@ -334,11 +344,21 @@ \CustomizeMathJax{\newcommand{\coulombperkilogram}{\coulomb\per\kilogram}} \CustomizeMathJax{\newcommand{\coulombperkilogramnp}{\coulomb\usk\reciprocal\kilogram}} \CustomizeMathJax{\newcommand{\squaremetrepersecond}{\squaremetre\per\second}} -\CustomizeMathJax{\newcommand{\squaremetrepersecondnp}{\squaremetre\usk\reciprocal\second}} -\CustomizeMathJax{\newcommand{\squaremetrepersquaresecond}{\squaremetre\per\second\squared}} -\CustomizeMathJax{\newcommand{\squaremetrepersquaresecondnp}{\squaremetre\usk\second\rpsquared}} -\CustomizeMathJax{\newcommand{\kilogrammetrepersecond}{\kilogram\usk\metre\per\second}} -\CustomizeMathJax{\newcommand{\kilogrammetrepersecondnp}{\kilogram\usk\metre\usk\reciprocal\second}} +\CustomizeMathJax{\newcommand{\squaremetrepersecondnp}{% + \squaremetre\usk\reciprocal\second% +}} +\CustomizeMathJax{\newcommand{\squaremetrepersquaresecond}{% + \squaremetre\per\second\squared% +}} +\CustomizeMathJax{\newcommand{\squaremetrepersquaresecondnp}{% + \squaremetre\usk\second\rpsquared% +}} +\CustomizeMathJax{\newcommand{\kilogrammetrepersecond}{% + \kilogram\usk\metre\per\second% +}} +\CustomizeMathJax{\newcommand{\kilogrammetrepersecondnp}{% + \kilogram\usk\metre\usk\reciprocal\second% +}} \CustomizeMathJax{\newcommand{\candelapersquaremetre}{\candela\per\squaremetre}} \CustomizeMathJax{\newcommand{\candelapersquaremetrenp}{\candela\usk\rpsquare\metre}} \CustomizeMathJax{\newcommand{\amperepermetre}{\ampere\per\metre}} @@ -349,54 +369,93 @@ \CustomizeMathJax{\newcommand{\henrypermetrenp}{\henry\usk\reciprocal\metre}} \CustomizeMathJax{\newcommand{\kilogrampersecond}{\kilogram\per\second}} \CustomizeMathJax{\newcommand{\kilogrampersecondnp}{\kilogram\usk\reciprocal\second}} -\CustomizeMathJax{\newcommand{\kilogrampersquaremetresecond}{\kilogram\per\squaremetre\usk\second}} -\CustomizeMathJax{\newcommand{\kilogrampersquaremetresecondnp}{\kilogram\usk\rpsquare\metre\usk\reciprocal\second}} +\CustomizeMathJax{\newcommand{\kilogrampersquaremetresecond}{% + \kilogram\per\squaremetre\usk\second% +}} +\CustomizeMathJax{\newcommand{\kilogrampersquaremetresecondnp}{% + \kilogram\usk\rpsquare\metre\usk\reciprocal\second% +}} \CustomizeMathJax{\newcommand{\kilogrampersquaremetre}{\kilogram\per\squaremetre}} \CustomizeMathJax{\newcommand{\kilogrampersquaremetrenp}{\kilogram\usk\rpsquare\metre}} \CustomizeMathJax{\newcommand{\kilogrampermetre}{\kilogram\per\metre}} \CustomizeMathJax{\newcommand{\kilogrampermetrenp}{\kilogram\usk\reciprocal\metre}} \CustomizeMathJax{\newcommand{\joulepermolekelvin}{\joule\per\mole\usk\kelvin}} -\CustomizeMathJax{\newcommand{\joulepermolekelvinnp}{\joule\usk\reciprocal\mole\usk\reciprocal\kelvin}} +\CustomizeMathJax{\newcommand{\joulepermolekelvinnp}{% + \joule\usk\reciprocal\mole\usk\reciprocal\kelvin% +}} \CustomizeMathJax{\newcommand{\kilogramperkilomole}{\kilogram\per\kilo\mole}} -\CustomizeMathJax{\newcommand{\kilogramperkilomolenp}{\kilogram\usk\kilo\reciprocal\mole}} +\CustomizeMathJax{\newcommand{\kilogramperkilomolenp}{% + \kilogram\usk\kilo\reciprocal\mole% +}} \CustomizeMathJax{\newcommand{\kilogramsquaremetre}{\kilogram\usk\squaremetre}} \CustomizeMathJax{\newcommand{\kilogramsquaremetrenp}{\kilogramsquaremetre}} -\CustomizeMathJax{\newcommand{\kilogrammetrepersquaresecond}{\kilogram\usk\metre\per\second\squared}} -\CustomizeMathJax{\newcommand{\kilogrammetrepersquaresecondnp}{\kilogram\usk\metre\usk\second\rpsquared}} +\CustomizeMathJax{\newcommand{\kilogrammetrepersquaresecond}{% + \kilogram\usk\metre\per\second\squared% +}} +\CustomizeMathJax{\newcommand{\kilogrammetrepersquaresecondnp}{% + \kilogram\usk\metre\usk\second\rpsquared% +}} \CustomizeMathJax{\newcommand{\newtonpersquaremetre}{\newton\per\squaremetre}} \CustomizeMathJax{\newcommand{\newtonpersquaremetrenp}{\newton\usk\rpsquare\metre}} \CustomizeMathJax{\newcommand{\persquaremetresecond}{1\per\squaremetre\usk\second}} -\CustomizeMathJax{\newcommand{\persquaremetresecondnp}{\rpsquare\metre\usk\reciprocal\second}} +\CustomizeMathJax{\newcommand{\persquaremetresecondnp}{% + \rpsquare\metre\usk\reciprocal\second% +}} \CustomizeMathJax{\newcommand{\wattperkilogram}{\watt\per\kilogram}} \CustomizeMathJax{\newcommand{\wattperkilogramnp}{\watt\usk\reciprocal\kilogram}} \CustomizeMathJax{\newcommand{\wattpercubicmetre}{\watt\per\cubic\metre}} \CustomizeMathJax{\newcommand{\wattpercubicmetrenp}{\watt\usk\rpcubic\metre}} -\CustomizeMathJax{\newcommand{\wattpersquaremetresteradian}{\watt\per\squaremetre\usk\steradian}} -\CustomizeMathJax{\newcommand{\wattpersquaremetresteradiannp}{\watt\usk\rpsquare\metre\usk\rp\steradian}} +\CustomizeMathJax{\newcommand{\wattpersquaremetresteradian}{% + \watt\per\squaremetre\usk\steradian% +}} +\CustomizeMathJax{\newcommand{\wattpersquaremetresteradiannp}{% + \watt\usk\rpsquare\metre\usk\rp\steradian% +}} \CustomizeMathJax{\newcommand{\jouleperkilogramkelvin}{\joule\per\kilogram\usk\kelvin}} -\CustomizeMathJax{\newcommand{\jouleperkilogramkelvinnp}{\joule\usk\reciprocal\kilogram\usk\reciprocal\kelvin}} +\CustomizeMathJax{\newcommand{\jouleperkilogramkelvinnp}{% + \joule\usk\reciprocal\kilogram\usk\reciprocal\kelvin% +}} \CustomizeMathJax{\newcommand{\squaremetreperkilogram}{\squaremetre\per\kilogram}} -\CustomizeMathJax{\newcommand{\rpsquaremetreperkilogram}{\squaremetre\usk\reciprocal\kilogram}} +\CustomizeMathJax{\newcommand{\rpsquaremetreperkilogram}{% + \squaremetre\usk\reciprocal\kilogram% +}} \CustomizeMathJax{\newcommand{\cubicmetreperkilogram}{\cubic\metre\per\kilogram}} -\CustomizeMathJax{\newcommand{\rpcubicmetreperkilogram}{\cubic\metre\usk\reciprocal\kilogram}} +\CustomizeMathJax{\newcommand{\rpcubicmetreperkilogram}{% + \cubic\metre\usk\reciprocal\kilogram% +}} \CustomizeMathJax{\newcommand{\newtonpermetre}{\newton\per\metre}} \CustomizeMathJax{\newcommand{\newtonpermetrenp}{\newton\usk\reciprocal\metre}} \CustomizeMathJax{\newcommand{\Celsius}{\unicode{x2103}}} \CustomizeMathJax{\newcommand{\wattpermetrekelvin}{\watt\per\metre\usk\kelvin}} -\CustomizeMathJax{\newcommand{\wattpermetrekelvinnp}{\watt\usk\reciprocal\metre\usk\reciprocal\kelvin}} -\CustomizeMathJax{\newcommand{\newtonmetre}{\newton\usk\metre} \CustomizeMathJax{\newcommand{\newtonmetrenp}{\newtonmetre}}} -\CustomizeMathJax{\newcommand{\squaremetrepercubicsecond}{\squaremetre\per\cubic\second}} -\CustomizeMathJax{\newcommand{\squaremetrepercubicsecondnp}{\squaremetre\usk\rpcubic\second}} +\CustomizeMathJax{\newcommand{\wattpermetrekelvinnp}{% + \watt\usk\reciprocal\metre\usk\reciprocal\kelvin% +}} +\CustomizeMathJax{\newcommand{\newtonmetre}{\newton\usk\metre} +\CustomizeMathJax{\newcommand{\newtonmetrenp}{\newtonmetre}}} +\CustomizeMathJax{\newcommand{\squaremetrepercubicsecond}{% + \squaremetre\per\cubic\second% +}} +\CustomizeMathJax{\newcommand{\squaremetrepercubicsecondnp}{% + \squaremetre\usk\rpcubic\second% +}} \CustomizeMathJax{\newcommand{\metrepersecond}{\metre\per\second}} \CustomizeMathJax{\newcommand{\metrepersecondnp}{\metre\usk\reciprocal\second}} \CustomizeMathJax{\newcommand{\joulepercubicmetre}{\joule\per\cubicmetre}} \CustomizeMathJax{\newcommand{\joulepercubicmetrenp}{\joule\usk\rpcubic\metre}} -\CustomizeMathJax{\newcommand{\kilogrampercubicmetrecoulomb}{\kilogram\per\cubic\metre\usk\coulomb}} -\CustomizeMathJax{\newcommand{\kilogrampercubicmetrecoulombnp}{\kilogram\usk\rpcubic\metre\usk\reciprocal\coulomb}} +\CustomizeMathJax{\newcommand{\kilogrampercubicmetrecoulomb}{% + \kilogram\per\cubic\metre\usk\coulomb% +}} +\CustomizeMathJax{\newcommand{\kilogrampercubicmetrecoulombnp}{% + \kilogram\usk\rpcubic\metre\usk\reciprocal\coulomb% +}} \CustomizeMathJax{\newcommand{\cubicmetrepersecond}{\cubicmetre\per\second}} \CustomizeMathJax{\newcommand{\rpcubicmetrepersecond}{\cubicmetre\usk\reciprocal\second}} -\CustomizeMathJax{\newcommand{\kilogrampersecondcubicmetre}{\kilogram\per\second\usk\cubicmetre}} -\CustomizeMathJax{\newcommand{\kilogrampersecondcubicmetrenp}{\kilogram\usk\reciprocal\second\usk\rpcubic\metre}} +\CustomizeMathJax{\newcommand{\kilogrampersecondcubicmetre}{% + \kilogram\per\second\usk\cubicmetre% +}} +\CustomizeMathJax{\newcommand{\kilogrampersecondcubicmetrenp}{% + \kilogram\usk\reciprocal\second\usk\rpcubic\metre% +}} \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty index d35ad4e3323..0763785c648 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty @@ -30,7 +30,10 @@ \catcode`\$=\active% lwarp \LWR@DeclareAcronym } - +\ExplSyntaxOn +\cs_new_protected:Npn \LWR@HTML@acro_dot_fill: {\dots\space} +\LWR@formatted{acro_dot_fill:} +\ExplSyntaxOff \ExplSyntaxOn \@ifpackagelater{acro}{2020/04/29}% {}% v3 or later diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty index a0be899d74f..035f4ab17f9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty @@ -21,7 +21,9 @@ \renewcommand*{\ALG@doentity}{% \origALG@doentity% \LWR@htmltagc{% -span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"% + span style=\textquotedbl{}% + width:\LWR@printlength{\ALG@thistlm}; display:inline-block;% + \textquotedbl% }% \ifbool{FormatWP}{% \setlength{\LWR@templengthone}{\the\ALG@thistlm}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-amscdx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-amscdx.sty new file mode 100644 index 00000000000..22069b4d309 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amscdx.sty @@ -0,0 +1,34 @@ +%% +%% This is file `lwarp-amscdx.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `amscdx') +%% 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@ProvidesPackagePass{amscdx}[2019/07/02] +\begin{warpMathJax} +\CustomizeMathJax{% + \renewenvironment{CD} + {\text{(Use \unicode{x005C}displaymathother before the CD enviroment.) \quad}} + {\quad \text{(Use \unicode{x005C}displaymathnormal after the CD enviroment.)}} +} + +\CustomizeMathJax{\newcommand{\CDfattrue}{}} +\CustomizeMathJax{\newcommand{\CDfatfalse}{}} +\CustomizeMathJax{\newcommand{\CDashtrue}{}} +\CustomizeMathJax{\newcommand{\CDashfalse}{}} +\CustomizeMathJax{\newcommand{\CDlor}[1]{}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-amscdx.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty index 61b88850481..71cc4b5c2a2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty @@ -134,6 +134,16 @@ } \begin{warpMathJax} \CustomizeMathJax{\newcommand{\intertext}[1]{\text{#1}\notag \\}} +\CustomizeMathJax{\let\Hat\hat} +\CustomizeMathJax{\let\Check\check} +\CustomizeMathJax{\let\Tilde\tilde} +\CustomizeMathJax{\let\Acute\acute} +\CustomizeMathJax{\let\Grave\grave} +\CustomizeMathJax{\let\Dot\dot} +\CustomizeMathJax{\let\Ddot\ddot} +\CustomizeMathJax{\let\Breve\breve} +\CustomizeMathJax{\let\Bar\bar} +\CustomizeMathJax{\let\Vec\vec} \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty index e4734ba1975..9139b3223d1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty @@ -15,9 +15,9 @@ %% 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@ProvidesPackagePass{changes}[2019/01/26] +\LWR@ProvidesPackagePass{changes}[2021/02/14] \renewcommand{\ChangesListline}[4]{% - \IfSubStr{\Changes@loc@show}{#1}{% + \IfIsInList{#1}{\Changes@loc@show}{% \LWR@startpars% #2: #3 \qquad \nameref{\BaseJobname-autopage-#4}% @@ -25,112 +25,246 @@ }{}% } -\renewcommand{\Changes@summaryline}[4]{% - \IfSubStr{\Changes@loc@show}{#1}{% - \ifthenelse{\not\equal{\Changes@loc@style}{compactsummary} \or #2 > 0}% - {% - #3:~#2#4% - }{}% - }{}% +\renewcommand{\listofchanges}[1][\@empty]{% +\setkeys{Changes@loc}{#1}% +\ifbool{Changes@optiondraft}% +{% +\IfIsInList{\Changes@loc@style}{list|summary|compactsummary}% +{}% +{% +\PackageWarning{changes}{Wrong style for list of changes: '\Changes@loc@style', using 'list' instead.}% +\def\Changes@loc@style{}% +}% +\IfIsEmpty{\Changes@loc@style}% +{\def\Changes@loc@style{list}}% +{}% +\IfStrEq{\Changes@loc@show}{all}% +{\def\Changes@loc@show{added|deleted|replaced|highlight|comment}}% +{}% +\IfIsInList{\Changes@loc@show}{added|deleted|replaced|highlight|comment}% +{}% +{% +\PackageWarning{changes}{Wrong show-value for list of changes: '\Changes@loc@show', using 'all' instead.}% +\def\Changes@loc@show{}% +}% +\IfIsEmpty{\Changes@loc@show}% +{\def\Changes@loc@show{added|deleted|replaced|highlight|comment}}% +{}% +\IfIsEmpty{\Changes@loc@title}% +{% +\IfStrEq{\Changes@loc@style}{list}% +{\def\Changes@heading{\listofchangesname}}{}% +\IfStrEq{\Changes@loc@style}{summary}% +{\def\Changes@heading{\summaryofchangesname}}{}% +\IfStrEq{\Changes@loc@style}{compactsummary}% +{\def\Changes@heading{\compactsummaryofchangesname}}{}% +}% +{\def\Changes@heading{\Changes@loc@title}}% +\section*{\Changes@heading} +\IfIsInList{\Changes@loc@style}{list}% +{% +\IfFileExists{\jobname.\Changes@locextension}% +{% +\newread\Changes@InFile% +\openin\Changes@InFile=\jobname.\Changes@locextension% +\loop\unless\ifeof\Changes@InFile% +\read\Changes@InFile to \Changes@Line% +\ifeof\Changes@InFile\else% +\Changes@Line% +\fi +\repeat +\closein\Changes@InFile% +}{% +\emph{\changesnoloc}% +\PackageWarning{changes}{LaTeX rerun needed for list of changes}% +}% +}{}% +\IfIsInList{\Changes@loc@style}{summary|compactsummary}% +{% +\IfFileExists{\jobname.\Changes@socextension}% +{% +\newread\Changes@InFile% +\openin\Changes@InFile = \jobname.\Changes@socextension% +\loop\unless\ifeof\Changes@InFile% +\read\Changes@InFile to \Changes@Line% +\ifeof\Changes@InFile\else% +\expandafter\changes@chopline\Changes@Line\\% +\textbf{% +\IfIsColored% +{\color{\Changes@Incolor}}% +{}% +\IfIsAnonymous{\Changes@Inid}% +{% + \LWR@textcurrentcolor{% lwarp + \changesauthorname: \changesanonymousname% + }% lwarp +}% +{% + \LWR@textcurrentcolor{% lwarp +\changesauthorname: \Changes@Inid% + }% lwarp +\IfIsEmpty{\Changes@Inname}% +{}% +{ % + \LWR@textcurrentcolor{% lwarp +(\Changes@Inname)% + }% lwarp +}% +}% +}\\% +\numdef{\Changes@InSum}{0}% +\renewcommand*{\do}[1]{% +\numdef{\Changes@InSum}{\Changes@InSum + \csuse{Changes@In########1}}% +}% +\expandafter\dopsvlist\expandafter{\Changes@loc@show}% +\ifnumcomp{\Changes@InSum}{=}{0}% +{% + \changesnochanges% + \par% \lwarp +}% +{% +\numdef{\Changes@InCount}{0}% +\renewcommand*{\do}[1]{% +\numdef{\Changes@InCount}{\Changes@InCount + \csuse{Changes@In########1}}% +\ifboolexpr{% +not test {\IfStrEq{\Changes@loc@style}{compactsummary}} or% +test {\ifnumgreater{\csuse{Changes@In########1}}{0}}% +}% +{% +\csuse{changes########1name}~% +\dotfill~% \lwarp +\csuse{Changes@In########1}% +{\\}% +}% +{}% +}% +\expandafter\dopsvlist\expandafter{\Changes@loc@show}% + \par% lwarp +}% +\fi% +\repeat +\closein\Changes@InFile% +}{% +\emph{\changesnosoc}% +\PackageWarning{changes}{LaTeX rerun needed for summary of changes}% +}% +}{}% +}{}% } -\xpatchcmd{\listofchanges} - {{\changesauthorname: \changesanonymousname}} - {{\LWR@textcurrentcolor{\changesauthorname: \changesanonymousname}}} - {} - {\LWR@patcherror{changes}{listofchanges A}} - -\xpatchcmd{\listofchanges} - {\changesauthorname: \Changes@InID} - {\LWR@textcurrentcolor{\changesauthorname: \Changes@InID}} - {} - {\LWR@patcherror{changes}{listofchanges B}} - -\xpatchcmd{\listofchanges} - {(\Changes@InName)} - {\LWR@textcurrentcolor{(\Changes@InName)}} - {} - {\LWR@patcherror{changes}{listofchanges C}} - -\xpatchcmd{\listofchanges} - {\parbox{\Changes@summary@width}} - {} - {} - {\LWR@patcherror{changes}{listofchanges D}} - -\xpatchcmd{\Changes@Markup@comment} - {% - \ifthenelse{\isAnonymous{#2}}% - {\textbf{[\arabic{Changes@commentCount#2}]:} }% - {\textbf{[#3~\arabic{Changes@commentCount#2}]:} }% - #1% - } - {% - \LWR@textcurrentcolor{% lwarp - \ifthenelse{\isAnonymous{#2}}% - {\textbf{[\arabic{Changes@commentCount#2}]:} }% - {\textbf{[#3~\arabic{Changes@commentCount#2}]:} }% - #1% - }% lwarp - } - {} - {\LWR@patcherror{changes}{\Changes@Markup@comment A}} - -\xpatchcmd{\Changes@Markup@comment} - {% - \uwave{% - \ifthenelse{\isAnonymous{#2}}% - {\textbf{[\arabic{Changes@commentCount#2}]:} }% - {\textbf{[#3~\arabic{Changes@commentCount#2}]:} }% - #1% - }% - } - {% - \LWR@textcurrentcolor{% lwarp - \uwave{% - \ifthenelse{\isAnonymous{#2}}% - {\textbf{[\arabic{Changes@commentCount#2}]:} }% - {\textbf{[#3~\arabic{Changes@commentCount#2}]:} }% - #1% - }% - }% lwarp - } - {} - {\LWR@patcherror{changes}{\Changes@Markup@comment B}} - -\xpatchcmd{\Changes@output} - {\Changes@Markup@author{\Changes@output@author{#2}{left}}} - {\LWR@textcurrentcolor{\Changes@Markup@author{\Changes@output@author{#2}{left}}}} - {} - {\LWR@patcherror{changes}{Changes@output A}} - -\xpatchcmd{\Changes@output} - {% - \ifthenelse{\equal{#1}{added}}{\Changes@Markup@added{#3}}{}% - \ifthenelse{\equal{#1}{deleted}}{\Changes@Markup@deleted{#4}}{}% - \ifthenelse{\equal{#1}{replaced}}{% - {\Changes@Markup@added{#3}}\allowbreak\Changes@Markup@deleted{#4}% - }{}% - \ifthenelse{\equal{#1}{highlight}}{\Changes@Markup@highlight{#3}}{}% - } - {% - \LWR@textcurrentcolor{% - \ifthenelse{\equal{#1}{added}}{\Changes@Markup@added{#3}}{}% - \ifthenelse{\equal{#1}{deleted}}{\Changes@Markup@deleted{#4}}{}% - \ifthenelse{\equal{#1}{replaced}}{% - {\Changes@Markup@added{#3}}\allowbreak\Changes@Markup@deleted{#4}% - }{}% - \ifthenelse{\equal{#1}{highlight}}{\Changes@Markup@highlight{#3}}{}% - }% - } - {} - {\LWR@patcherror{changes}{Changes@output B}} +\renewcommand{\Changes@Markup@comment}[3]{% +\IfStrEq{\Changes@optioncommentmarkup}{todo}% +{% +\IfIsColored% +{\colorlet{Changes@todocolor}{authorcolor}}% +{\colorlet{Changes@todocolor}{black}}% +\todo[color=Changes@todocolor!10, bordercolor=Changes@todocolor, linecolor=Changes@todocolor!70, nolist]{\textbf{[\IfIsAnonymous{#2}{}{#3~}\arabic{authorcommentcount}]} #1}% +}{}% +\IfStrEq{\Changes@optioncommentmarkup}{margin}% +{% +\marginpar{% +\IfIsColored% +{\leavevmode\color{authorcolor}}% +{}% + \LWR@textcurrentcolor{% lwarp +\textbf{[\IfIsAnonymous{#2}{}{#3~}\arabic{Changes@commentCount#2}]:} #1% + }% lwarp +}% +}{}% +\IfStrEq{\Changes@optioncommentmarkup}{footnote}% +{% +\footnote{% + \LWR@textcurrentcolor{% lwarp +\textbf{[\IfIsAnonymous{#2}{}{#3~}\arabic{Changes@commentCount#2}]:} #1% + }% lwarp +}% +}{}% +\IfStrEq{\Changes@optioncommentmarkup}{uwave}% +{% +{% +\IfIsColored% +{\color{authorcolor}}% +{}% +\allowbreak% +\uwave{% +\textbf{[\IfIsAnonymous{#2}{}{#3~}\arabic{Changes@commentCount#2}]:} #1% +}% +}% +}{}% +} -\xpatchcmd{\Changes@output} - {\Changes@Markup@author{\Changes@output@author{#2}{right}}} - {\LWR@textcurrentcolor{\Changes@Markup@author{\Changes@output@author{#2}{right}}}} - {} - {\LWR@patcherror{changes}{Changes@output C}} +\renewrobustcmd{\Changes@output}[7]{% +\ifbool{Changes@optiondraft}% +{% +\Changes@check@author{#2}% +\Changes@set@color{#2}% +{% +\IfIsInList{#1}{added|deleted|replaced|highlight}% +{% +\IfIsEmpty{#5}% +{% +\IfIsAuthorEmptyAtPosition{#2}{left}% +{}% +{{% +\IfIsColored% +{\color{authorcolor}}% +{}% + \LWR@textcurrentcolor{% lwarp +\Changes@Markup@author{\Changes@output@author{#2}{left}}% + }% lwarp +}}% +}{}% +{% +\IfStrEq{#1}{highlight}% +{}{% +\IfIsColored% +{\color{authorcolor}}% +{}% +}% + \LWR@textcurrentcolor{% lwarp +\IfStrEq{#1}{added}{\Changes@Markup@added{#3}}{}% +\IfStrEq{#1}{deleted}{\Changes@Markup@deleted{#4}}{}% +\IfStrEq{#1}{replaced}{{\Changes@Markup@added{#3}}\allowbreak\Changes@Markup@deleted{#4}}{}% +\IfStrEq{#1}{highlight}{\Changes@Markup@highlight{#3}}{}% + }% lwarp +}% +\IfIsEmpty{#5}% +{% +\IfIsAuthorEmptyAtPosition{#2}{right}% +{}% +{{% +\IfIsColored% +{\color{authorcolor}}% +{}% + \LWR@textcurrentcolor{% lwarp +\Changes@Markup@author{\Changes@output@author{#2}{right}}% + }% lwarp +}}% +}{}% +\stepcounter{Changes@#1Count#2}% +}{}% +\IfIsEmpty{#5}% +{}% +{% +\stepcounter{Changes@commentCount#2}% +\Changes@set@commentcount{#2}% +\Changes@Markup@comment% +{#5}% +{#2}% +{\Changes@output@author{#2}{left}\Changes@output@author{#2}{right}}% +}% +}% +\IfIsEmpty{#2}% +{\def\Changes@locid{}}% +{\def\Changes@locid{~(#2)}}% +\addtocontents{\Changes@locextension}{\protect\ChangesListline{#1}{#6\Changes@locid}{#7}{\thepage}}% +}% +{% +\IfIsEmpty{#3}% +{\@bsphack\@esphack}% +{#3}% +}% +} \endinput %% %% End of file `lwarp-changes.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epsf.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epsf.sty new file mode 100644 index 00000000000..6facb98168d --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epsf.sty @@ -0,0 +1,30 @@ +%% +%% This is file `lwarp-epsf.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `epsf') +%% 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@ProvidesPackagePass{epsf}% not date given +\xpretocmd{\epsfsetgraph} + {\begin{lateximage}} + {} + {\LWR@patcherror{lwarp-epsf}{epsfsetgraph-begin}} + +\xapptocmd{\epsfsetgraph} + {\end{lateximage}} + {} + {\LWR@patcherror{lwarp-epsf}{epsfsetgraph-end}} +\endinput +%% +%% End of file `lwarp-epsf.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epsfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epsfig.sty index dd576d8f72f..f583b547172 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-epsfig.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epsfig.sty @@ -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@ProvidesPackageDrop{epsfig}[2017/06/25] +\LWR@ProvidesPackagePass{epsfig}[2017/06/25] \RequirePackage{graphics} \define@key{igraph}{file}{% @@ -29,9 +29,11 @@ \define@key{igraph}{prolog}{} \define@key{igraph}{silent}[]{} -\newcommand{\epsfig}[1]{\includegraphics[#1]{\LWR@epsfig@filename}} +\newcommand{\LWR@HTML@epsfig}[1]{\includegraphics[#1]{\LWR@epsfig@filename}} +\LWR@formatted{epsfig} -\newcommand{\psfig}[1]{\includegraphics[#1]{\LWR@epsfig@filename}} +\newcommand{\LWR@HTML@psfig}[1]{\includegraphics[#1]{\LWR@epsfig@filename}} +\LWR@formatted{psfig} \endinput %% %% End of file `lwarp-epsfig.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty index e279d899e7f..b3cabd9d596 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty @@ -17,12 +17,12 @@ %% version 2005/12/01 or later. -\LWR@ProvidesPackageDrop{fancyhdr}[2019/01/31] +\LWR@ProvidesPackageDrop{fancyhdr}[2021/01/04] \newcommand*{\fancyhead}[2][]{} \newcommand*{\fancyfoot}[2][]{} \newcommand*{\fancyhf}[2][]{} -\newcommand*{\fancypagestyle}[2]{} + \newcommand*{\lhead}[2][]{} \newcommand*{\chead}[2][]{} \newcommand*{\rhead}[2][]{} @@ -31,17 +31,31 @@ \newcommand*{\rfoot}[2][]{} \newcommand*{\headrulewidth}{} \newcommand*{\footrulewidth}{} +\providecommand{\headruleskip}{0pt} +\providecommand{\footruleskip}{0pt} +\newcommand{\plainheadrulewidth}{0pt} +\newcommand{\plainfootrulewidth}{0pt} +\def\fancyplain#1#2{#1} \newcommand*{\headrule}{} \newcommand*{\footrule}{} \newlength{\headwidth} +\newcommand*{\fancycenter}[1][1em]{} \newcommand*{\fancyheadoffset}[2][]{} \newcommand*{\fancyfootoffset}[2][]{} \newcommand*{\fancyhfoffset}[2][]{} +\newcommand{\fancyheadinit}[1]{} +\newcommand{\fancyfootinit}[1]{} +\newcommand{\fancyhfinit}[1]{} \newcommand*{\iffloatpage}[2]{#2} \newcommand*{\ifftopfloat}[2]{#2} \newcommand*{\iffbotfloat}[2]{#2} \newcommand*{\iffootnote}[2]{#2} +\newcommand{\fancypagestyle}[1]{% + \@ifnextchar[{\f@nch@pagestyle{#1}}{\f@nch@pagestyle{#1}[]}% +} +\long\def\f@nch@pagestyle#1[#2]#3{} + \endinput %% %% End of file `lwarp-fancyhdr.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty index a777646f4c5..a3fab94f2c6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty @@ -77,8 +77,8 @@ \ifx\FV@LabelBegin\relax\else \FancyVerbRuleColor{\LWR@FVfindbordercolor} \LWR@htmltagc{% - div class="fancyvrblabel" % extra space - style="color: \LWR@origpound\LWR@tempcolor"% + div class=\textquotedbl{}fancyvrblabel\textquotedbl\ % space + style=\textquotedbl{}color: \LWR@origpound\LWR@tempcolor\textquotedbl% } \LWR@print@textrm{\FV@LabelBegin}% \textrm preserves emdash \LWR@htmltagc{/div}\LWR@orignewline% @@ -95,8 +95,8 @@ \ifx\FV@LabelEnd\relax\else \FancyVerbRuleColor{\LWR@FVfindbordercolor} \LWR@htmltagc{% - div class="fancyvrblabel" % extra space - style="color: \LWR@origpound\LWR@tempcolor"% + div class=\textquotedbl{}fancyvrblabel\textquotedbl\ % space + style=\textquotedbl{}color: \LWR@origpound\LWR@tempcolor\textquotedbl% } \LWR@print@textrm{\FV@LabelEnd} \LWR@htmltagc{/div}\LWR@orignewline% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty index 6c038f7629c..4f21fd6f8d9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty @@ -251,9 +251,9 @@ \newcommand*{\LWR@ig@htmltag}{% img\LWR@indentHTML% - src="% + src=\textquotedbl% \detokenize\expandafter{\LWR@parsedfilename}% - "\LWR@indentHTML% + \textquotedbl\LWR@indentHTML% \ifthenelse{ \NOT\equal{\LWR@igwidthstyle}{} \OR \NOT\equal{\LWR@igheightstyle}{} \OR @@ -263,7 +263,7 @@ \NOT\equal{\LWR@igyscale}{1} }% {% - style="\LWR@indentHTML + style=\textquotedbl\LWR@indentHTML \ifthenelse{\NOT\equal{\LWR@igwidthstyle}{}}% {\LWR@igwidthstyle;\LWR@indentHTML}{}% \ifthenelse{\NOT\equal{\LWR@igheightstyle}{}}% @@ -295,10 +295,10 @@ \ifthenelse{\NOT\equal{\LWR@opacity}{1}}% {opacity:\LWR@opacity;\LWR@indentHTML}{}% % - "\LWR@indentHTML% + \textquotedbl\LWR@indentHTML% }{}% - class="\LWR@igclass"\LWR@indentHTML% - alt="\AltTextOpen\LWR@igalt\AltTextClose" \LWR@orignewline% + class=\textquotedbl\LWR@igclass\textquotedbl\LWR@indentHTML% + alt=\textquotedbl\AltTextOpen\LWR@igalt\AltTextClose\textquotedbl\ \LWR@orignewline% }% end of image tags \NewDocumentCommand{\LWR@includegraphicsb}{s o o m} @@ -393,14 +393,14 @@ \setkeys{krotbox}{#1}% \LWR@htmltagc{% span\LWR@indentHTML - style="\LWR@indentHTML + style=\textquotedbl\LWR@indentHTML display: inline-block;\LWR@indentHTML \ifthenelse{\NOT\equal{\LWR@rotboxorigin}{}}% {transform-origin: \LWR@originnames{\LWR@rotboxorigin};\LWR@indentHTML}% {}% \LWR@rotstyle{-ms-}{#2}\LWR@indentHTML \LWR@rotstyle{-webkit-}{#2}\LWR@indentHTML - \LWR@rotstyle{}{#2}"\LWR@orignewline% + \LWR@rotstyle{}{#2}\textquotedbl\LWR@orignewline% }\LWR@orignewline% \begin{LWR@nestspan}% #3% @@ -415,12 +415,12 @@ \NewDocumentCommand{\LWR@HTML@scalebox}{m o m}{% \LWR@htmltagc{% span\LWR@indentHTML - style="\LWR@indentHTML + style=\textquotedbl\LWR@indentHTML display: inline-block;\LWR@indentHTML \LWR@scalestyle{-ms-}{#1}{\IfNoValueTF{#2}{#1}{#2}}\LWR@indentHTML \LWR@scalestyle{-webkit-}{#1}{\IfNoValueTF{#2}{#1}{#2}}\LWR@indentHTML \LWR@scalestyle{}{#1}{\IfNoValueTF{#2}{#1}{#2}} - "\LWR@orignewline + \textquotedbl\LWR@orignewline }\LWR@orignewline% \begin{LWR@nestspan}% #3% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty index fbde17b1277..e2b0af67705 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hang.sty @@ -42,7 +42,7 @@ \renewcommand*{\LWR@printcloselist}{\LWR@printcloseitemize}% \renewcommand*{\LWR@printopenlist}{% \LWR@findhangingleftmargin% - ul style="% + ul style=\textquotedbl% \LWR@print@mbox{list-style-type:none;} % extra space \LWR@print@mbox{% margin-left:\LWR@printlength{\LWR@templengthone}% @@ -50,7 +50,7 @@ \LWR@print@mbox{% text-indent:-\LWR@printlength{\hangingindent}% }% - "% + \textquotedbl% }% \let\item\LWR@itemizeitem% \list{}{}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty index 814bd27c60e..8c6b91c105b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty @@ -280,7 +280,11 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} \LWR@ensuredoingapar% \def\LWR@templink{#1}% \@onelevel@sanitize\LWR@templink% - \LWR@htmltag{img src="\LWR@templink" alt="#2" class="hyperimage"}% + \LWR@htmltag{% + img src=\textquotedbl\LWR@templink\textquotedbl\ % + alt=\textquotedbl#2\textquotedbl\ % + class=\textquotedbl{}hyperimage\textquotedbl% + }% \LWR@ensuredoingapar% \endgroup% } @@ -314,10 +318,10 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} \newcommand*{\LWR@hyperrefbb}[3]{% \LWR@htmltag{% - a href="% + a href=\textquotedbl% \detokenize\expandafter{#1}\LWR@hashmark% \detokenize\expandafter{#2}.\detokenize\expandafter{#3}% - "% + \textquotedbl% \LWR@addlinktitle% }% \endgroup% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-isomath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-isomath.sty new file mode 100644 index 00000000000..a203bb254ce --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-isomath.sty @@ -0,0 +1,32 @@ +%% +%% This is file `lwarp-isomath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `isomath') +%% 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@ProvidesPackagePass{isomath}[2012/09/04] +\begin{warpMathJax} +\CustomizeMathJax{\let\mathbfit\boldsymbol} +\CustomizeMathJax{\let\mathsfbfit\mathbfit}% not sans +\CustomizeMathJax{\let\mathsfit\mathit}% not sans +\CustomizeMathJax{\let\vectorsym\mathbfit} +\CustomizeMathJax{\let\matrixsym\mathbfit} +\CustomizeMathJax{\let\tensorsym\mathsfbfit} +\CustomizeMathJax{\let\mathboldsans\mathsfbfit} +\CustomizeMathJax{\let\mathbold\mathbfit} +\CustomizeMathJax{\let\mathsans\mathrm}% not sans +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-isomath.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-isotope.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-isotope.sty new file mode 100644 index 00000000000..c48ec7ebe76 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-isotope.sty @@ -0,0 +1,86 @@ +%% +%% This is file `lwarp-isotope.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `isotope') +%% 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@ProvidesPackagePass{isotope}[2011/08/26] +\newcommand{\LWR@HTML@isotope@two}[2][]{% + \renewcommand{\isotope@atomicnumber}{#1}% + \edef\LWR@isotope@alttag{% + \textbackslash( + \textbackslash{}isotope + [\isotope@nucleonnumber]% + [\isotope@atomicnumber]% + \{#2\} + \textbackslash)% + }% + \ifbool{mathjax}% + {\LWR@isotope@alttag}% + {% SVG + \m@th% + \LWR@subsingledollar*% + {% alt tag + \LWR@isotope@alttag% + }% + {isotope}% add'l hashing + {% contents + \settowidth\@tempdimb{% + \ensuremath{\scriptstyle\isotope@nucleonnumber}% + }% + \settowidth\@tempdimc{% + \ensuremath{\scriptstyle\isotope@atomicnumber}% + }% + \ifdim\@tempdimb<\@tempdimc\@tempdimb=\@tempdimc\fi% + \ensuremath{ + {}% + ^{\makebox[\@tempdimb][r]{% + \ensuremath{% + \scriptstyle\isotope@nucleonnumber% + }% ensuremath + }}% + _{\makebox[\@tempdimb][r]{% + \ensuremath{% + \scriptstyle\isotope@atomicnumber% + }% ensuremath + }}% + \isotopestyle{#2}% + }% ensuremath + }% contents + }% SVG + \endgroup% +}% +\LWR@formatted{isotope@two} + +\begin{warpMathJax} +\CustomizeMathJax{% + \newcommand{\LWRisotopetwo}[2][]{% + {% + \vphantom{\mathrm{#2}}% + {}^{\LWRisotopenucleonnumber}_{#1}% + \mathrm{#2}% + }% + }% +} + +\CustomizeMathJax{% + \newcommand{\isotope}[1][]{% + \def\LWRisotopenucleonnumber{#1}% + \LWRisotopetwo% + }% +} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-isotope.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-karnaugh-map.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-karnaugh-map.sty index 4965d041476..8383eec69bd 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-karnaugh-map.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-karnaugh-map.sty @@ -105,9 +105,12 @@ \ifdefstring{\@karnaughmap@local@matrixtemplate@}{0}{% lwarp % print error if no template could be found \PackageError{lwarp-karnaugh-map}{% - Can not find a template fitting your specification (\@karnaughmap@var@mapsizex@\space x \@karnaughmap@var@mapsizey@\space x \@karnaughmap@var@mapsizez@)% + Can not find a template fitting your specification + (\@karnaughmap@var@mapsizex@\space x \@karnaughmap@var@mapsizey@\space x + \@karnaughmap@var@mapsizez@)% }{% - Existing templates have the following dimensions: 2x2x1, 2x4x1, 4x2x1, 4x4x1, 4x4x2, and 4x4x4. + Existing templates have the following dimensions: + 2x2x1, 2x4x1, 4x2x1, 4x4x1, 4x4x2, and 4x4x4. }% }{\relax}% lwarp \begin{tikzpicture} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty index c0e1f524ba9..5a144992061 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty @@ -43,17 +43,12 @@ \LWR@mathjax@addgreek@l@up{up}{} \CustomizeMathJax{\let\uppartial\partial}% not upright +\CustomizeMathJax{\let\mathsfbf\mathbf}% not sans + +\CustomizeMathJax{\let\mathbfit\boldsymbol} +\CustomizeMathJax{\let\mathsfbfit\mathbfit}% not sans +\CustomizeMathJax{\let\mathsfit\mathit}% not sans -\CustomizeMathJax{\newcommand{\mathsfbf}[1]{% - \mmlToken{mi}[mathvariant="bold-sans-serif"]{#1}% not greek -}}% not sans -\CustomizeMathJax{\newcommand{\mathsfbfit}[1]{% - \mmlToken{mi}[mathvariant="sans-serif-bold-italic"]{#1}% not greek -}}% -\CustomizeMathJax{\newcommand{\mathbfit}[1]{\boldsymbol{#1}}} -\CustomizeMathJax{\newcommand{\mathsfit}[1]{% - \mmlToken{mi}[mathvariant="sans-serif-italic"]{#1}% not greek -}} \CustomizeMathJax{\let\vectorsym\mathbfit} \CustomizeMathJax{\let\matrixsym\mathbfit} \CustomizeMathJax{\let\tensorsym\mathsfbfit} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty index 94e47e4f787..50ac55f4648 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty @@ -61,7 +61,9 @@ \let\lsthk@EveryPar\LWR@origlsthkEveryPar% \else% - \ifbool{LWR@verbtags}{\LWR@htmltag{span class="inlineprogramlisting"}}{}% + \ifbool{LWR@verbtags}{\LWR@htmltag{% + span class=\textquotedbl{}inlineprogramlisting\textquotedbl% + }}{}% \fi% \LWR@traceinfo{lst@Init done}% } diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lpic.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lpic.sty new file mode 100644 index 00000000000..62d7536285e --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lpic.sty @@ -0,0 +1,26 @@ +%% +%% This is file `lwarp-lpic.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `lpic') +%% 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@ProvidesPackagePass{lpic}[2010/12/23] +\BeforeBeginEnvironment{lpic}{% + \begin{lateximage}[-lpic-~\PackageDiagramAltText]% +} + +\AfterEndEnvironment{lpic}{\end{lateximage}} +\endinput +%% +%% End of file `lwarp-lpic.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-luavlna.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-luavlna.sty new file mode 100644 index 00000000000..4d92acffea3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-luavlna.sty @@ -0,0 +1,23 @@ +%% +%% This is file `lwarp-luavlna.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `luavlna') +%% 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@ProvidesPackagePass{luavlna}[2019/10/30] +\preventsingleoff +\LetLtxMacro\preventsingleon\preventsingleoff +\endinput +%% +%% End of file `lwarp-luavlna.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mattens.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mattens.sty new file mode 100644 index 00000000000..8e0b49c4bfb --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mattens.sty @@ -0,0 +1,106 @@ +%% +%% This is file `lwarp-mattens.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mattens') +%% 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@ProvidesPackagePass{mattens}[2010/03/26] +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\LWRmattensnull}{}} + +\CustomizeMathJax{\newcommand{\LWRmattensnostar}[2][]{% + {#1{\LWRmattensundercmd{\LWRmattensovercmd{\LWRmattenscross{\boldsymbol{#2}}}}}}% +}} + +\CustomizeMathJax{\newcommand{\LWRmattensstar}[2][]{% + {#1{\LWRmattensundercmd{\LWRmattensovercmd{\LWRmattenscross{#2}}}}}% +}} + +\CustomizeMathJax{\newcommand{\LWRmattens}{ + \ifstar\LWRmattensstar\LWRmattensnostar% +}} + +\CustomizeMathJax{\newcommand{\aS}{% + \let\LWRmattenscross\LWRmattensnull% + \let\LWRmattensovercmd\overrightarrow% + \let\LWRmattensundercmd\LWRmattensnull% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\Sa}{% + \let\LWRmattenscross\LWRmattensnull% + \let\LWRmattensovercmd\underrightarrow% + \let\LWRmattensundercmd\LWRmattensnull% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\bS}{% + \let\LWRmattenscross\LWRmattensnull% + \let\LWRmattensovercmd\overline% + \let\LWRmattensundercmd\LWRmattensnull% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\Sb}{% + \let\LWRmattenscross\LWRmattensnull% + \let\LWRmattensovercmd\underline% + \let\LWRmattensundercmd\LWRmattensnull% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\aSa}{% + \let\LWRmattenscross\LWRmattensnull% + \let\LWRmattensovercmd\overrightarrow% + \let\LWRmattensundercmd\underrightarrow% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\aSb}{% + \let\LWRmattenscross\LWRmattensnull% + \let\LWRmattensovercmd\overrightarrow% + \let\LWRmattensundercmd\underline% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\bSa}{% + \let\LWRmattenscross\LWRmattensnull% + \let\LWRmattensovercmd\overline% + \let\LWRmattensundercmd\underrightarrow% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\bSb}{% + \let\LWRmattenscross\LWRmattensnull% + \let\LWRmattensovercmd\overline% + \let\LWRmattensundercmd\underline% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\aCSa}{% + \let\LWRmattenscross\tilde% + \let\LWRmattensovercmd\overrightarrow% + \let\LWRmattensundercmd\underrightarrow% + \LWRmattens% +}} + +\CustomizeMathJax{\newcommand{\bCSb}{% + \let\LWRmattenscross\tilde% + \let\LWRmattensovercmd\overline% + \let\LWRmattensundercmd\underline% + \LWRmattens% +}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mattens.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-maybemath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-maybemath.sty new file mode 100644 index 00000000000..7378bbcf9d4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-maybemath.sty @@ -0,0 +1,30 @@ +%% +%% This is file `lwarp-maybemath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `maybemath') +%% 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@ProvidesPackagePass{maybemath}[2005/2/22] +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\mayberm}[1]{{#1}}} +\CustomizeMathJax{\let\maybebm\mayberm} +\CustomizeMathJax{\let\maybeit\mayberm} +\CustomizeMathJax{\let\maybeitrm\mayberm} +\CustomizeMathJax{\let\maybeitsubscript\mayberm} +\CustomizeMathJax{\let\maybesf\mayberm} +\CustomizeMathJax{\let\maybebmsf\mayberm} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-maybemath.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty index 84526952ba2..ec1f40943d2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty @@ -53,11 +53,11 @@ endinnercode={\LWR@stoppars}, \LWR@traceinfo{LWR@mdframedstart start}% \LWR@spanwarninvalid{mdframe}% \LWR@stoppars% -\LWR@htmltagc{div class="% +\LWR@htmltagc{div class=\textquotedbl% mdframed% \ifdefstring{\LWR@mdthisenv}{mdframed}{}{ \LWR@mdthisenv}% -" \LWR@orignewline -style=" \LWR@orignewline +\textquotedbl \LWR@orignewline +style=\textquotedbl\LWR@orignewline background: \LWR@mdfprintcolor{backgroundcolor} ; \LWR@orignewline border: \LWR@mdfprintlength{linewidth} solid \LWR@mdfprintcolor{linecolor} ; \LWR@orignewline @@ -71,7 +71,7 @@ border-radius: \LWR@mdfprintlength{roundcorner} ; \LWR@orignewline } {box-shadow: none ;} \LWR@orignewline -"} +\textquotedbl} \LWR@select@print@hspace% \renewcommand*{\rule}{\LWR@print@rule} \LetLtxMacro\makebox\LWR@print@makebox% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdwmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdwmath.sty new file mode 100644 index 00000000000..d17882a065a --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdwmath.sty @@ -0,0 +1,29 @@ +%% +%% This is file `lwarp-mdwmath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mdwmath') +%% 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@ProvidesPackagePass{mdwmath}[1996/04/11] +\begin{warpMathJax} +\CustomizeMathJax{\let\LWRmdwmathsqrt\sqrt} +\CustomizeMathJax{\renewcommand{\sqrt}{\ifstar\LWRmdwmathsqrt\LWRmdwmathsqrt}} +\CustomizeMathJax{\newcommand{\bitand}{\mathbin\&}} +\CustomizeMathJax{\def\bitor{\mathbin\mid}} +\CustomizeMathJax{\def\dblor{\mathbin{\mid\mid}}} +\CustomizeMathJax{\def\dbland{\mathbin{\mathrel\bitand\mathrel\bitand}}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mdwmath.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty index 772d4c8a40b..45963f2ddbe 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty @@ -18,21 +18,22 @@ \LetLtxMacro\multirow\relax -\LWR@ProvidesPackagePass{multirow}[2018/08/03] +\LWR@ProvidesPackagePass{multirow}[2021/01/29] \newcommand{\LWR@multirowborder}{} +\newcommand*{\LWR@multirow@par}{\LWR@htmltag{br /}\LWR@origpar}% \NewDocumentCommand{\LWR@HTML@multirow}{O{c} m o m o +m}% {% \LWR@traceinfo{*** LWR@HTML@multirow #1 #2 #4}% \booltrue{LWR@usedmultirow}% \LWR@maybenewtablerow% \LWR@tabularleftedge% -\LWR@htmltag{td rowspan="#2" % -class="td% +\LWR@htmltag{td rowspan=\textquotedbl#2\textquotedbl\ % +class=\textquotedbl{}td% \LWR@getexparray{LWR@tablecolspec}{\arabic{LWR@tableLaTeXcolindex}}% \LWR@addcmidruletrim% \LWR@addleftmostbartag% \LWR@printbartag{\arabic{LWR@tableLaTeXcolindex}}% -"% +\textquotedbl% \LWR@tdstartstyles% \ifstrequal{#1}{c}{\LWR@tdaddstyle\LWR@print@mbox{vertical-align:middle}}{}% \ifstrequal{#1}{b}{\LWR@tdaddstyle\LWR@print@mbox{vertical-align:bottom}}{}% @@ -48,7 +49,11 @@ class="td% \LWR@tdendstyles% }% \LWR@getexparray{LWR@colbeforespec}{\arabic{LWR@tableLaTeXcolindex}}% -\begingroup\LetLtxMacro{\\}{\LWR@endofline}#6\endgroup% +\begingroup% + \LetLtxMacro{\\}{\LWR@endofline}% + \let\par\LWR@multirow@par% + #6% +\endgroup% \LWR@stoppars% \boolfalse{LWR@intabularmetadata}% \renewcommand{\LWR@multirowborder}{}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty index 9fc3fd7ffd5..5096a264f66 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty @@ -193,7 +193,10 @@ \newcommand{\LWR@inctheorem}{% \addtocounter{LWR@thisautoid}{1}% \LWR@stoppars% -\LWR@htmltag{a id="\LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}"}\LWR@htmltag{/a}% +\LWR@htmltag{% + a id=\textquotedbl\LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}\textquotedbl% +}% +\LWR@htmltag{/a}% \LWR@startpars% } \gdef\newtheoremstyle#1#2#3{% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pinlabel.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pinlabel.sty new file mode 100644 index 00000000000..00a95ab29b5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pinlabel.sty @@ -0,0 +1,30 @@ +%% +%% This is file `lwarp-pinlabel.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `pinlabel') +%% 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@ProvidesPackagePass{pinlabel}% no date given +\xpretocmd{\psfig} + {\begin{lateximage}[-pinlabel-~\PackageDiagramAltText]} + {} + {\LWR@patcherror{pinlabel}{psfigA}} + +\xapptocmd{\psfig} + {\end{lateximage}} + {} + {\LWR@patcherror{pinlabel}{psfigB}} +\endinput +%% +%% End of file `lwarp-pinlabel.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-rlepsf.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-rlepsf.sty new file mode 100644 index 00000000000..7ed607a504e --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rlepsf.sty @@ -0,0 +1,30 @@ +%% +%% This is file `lwarp-rlepsf.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `rlepsf') +%% 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@ProvidesPackagePass{rlepsf}% No date given. +\xpretocmd{\relabelbox} + {\begin{lateximage}} + {} + {\LWR@patcherror{rlepsf}{relabelbox}} + +\xapptocmd{\endrelabelbox} + {\end{lateximage}} + {} + {\LWR@patcherror{rlepsf}{endrelabelbox}} +\endinput +%% +%% End of file `lwarp-rlepsf.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty index 1d7d306f0d3..5c6415ba6c0 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty @@ -17,21 +17,34 @@ %% version 2005/12/01 or later. -\LWR@ProvidesPackageDrop{rotating}[2016/08/11] +\LWR@ProvidesPackagePass{rotating}[2016/08/11] \RequirePackage{graphicx} -\LetLtxMacro\sidewaystable\table -\let\endsidewaystable\endtable +\LetLtxMacro\LWR@HTML@sidewaystable\table +\let\endLWR@HTML@sidewaystable\endtable +\LWR@formattedenv{sidewaystable} -\LetLtxMacro\sidewaysfigure\figure -\let\endsidewaysfigure\endfigure +\LetLtxMacro\LWR@HTML@sidewaysfigure\figure +\let\endLWR@HTML@sidewaysfigure\endfigure +\LWR@formattedenv{sidewaysfigure} -\newenvironment*{sideways}{}{} -\newenvironment*{turn}[1]{}{} -\newenvironment*{rotate}[1]{}{} -\NewDocumentCommand{\turnbox}{m +m}{#2} -\let\rotcaption\caption -\let\@makerotcaption\@makecaption +\newenvironment*{LWR@HTML@sideways}{}{} +\LWR@formattedenv{sideways} + +\newenvironment*{LWR@HTML@turn}[1]{}{} +\LWR@formattedenv{turn} + +\newenvironment*{LWR@HTML@rotate}[1]{}{} +\LWR@formattedenv{rotate} + +\NewDocumentCommand{\LWR@HTML@turnbox}{m +m}{#2} +\LWR@formatted{turnbox} + +\let\LWR@HTML@rotcaption\caption +\LWR@formatted{rotcaption} + +\let\LWR@HTML@@makerotcaption\@makecaption +\LWR@formatted{@makerotcaption} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty index c32278d70e9..b57c67a0fce 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty @@ -227,7 +227,6 @@ \__siunitx_number_output:n {#2} \group_end:% lwarp } - \RenewDocumentCommand \numrange { o m m } { \leavevmode \group_begin:% lwarp @@ -239,7 +238,6 @@ \__siunitx_range_numbers:nn {#2} {#3} \group_end:% lwarp } - \RenewDocumentCommand \ang { o > { \SplitArgument { 2 } { ; } } m } { \group_begin:% lwarp \LetLtxMacro\@ensuredmath\LWR@origensuredmath% lwarp @@ -249,7 +247,6 @@ \__siunitx_angle_output:nnn #2 \group_end:% lwarp } - \RenewDocumentCommand \si { o m } { \leavevmode \group_begin:% lwarp @@ -264,7 +261,6 @@ } \group_end:% lwarp } - \RenewDocumentCommand{\SIrange}{o m m m} {% \leavevmode @@ -280,23 +276,160 @@ } \group_end:% lwarp } - \ExplSyntaxOff \begin{warpMathJax} \LWR@infoprocessingmathjax{siunitx} \CustomizeMathJax{\newcommand{\tothe}[1]{^{#1}}} \CustomizeMathJax{\newcommand{\raiseto}[2]{{#2}^{#1}}} +\CustomizeMathJax{\newcommand{\LWRsiunitxEND}{}} +\CustomizeMathJax{\def\LWRsiunitxang#1;#2;#3;#4\LWRsiunitxEND{% + \ifblank{#1}{}{\num{#1}\degree}% + \ifblank{#2}{}{\num{#2}^{\unicode{x2032}}}% \prime + \ifblank{#3}{}{\num{#3}^{\unicode{x2033}}}% \dblprime +}} +\CustomizeMathJax{\newcommand{\ang}[2][]{\LWRsiunitxang#2;;;\LWRsiunitxEND}} +\CustomizeMathJax{\newcommand{\LWRsiunitxnumscientific}[2]{% + \ifblank{#1}% + {}% + {% + \ifstrequal{#1}{-}% + {-}% + {\LWRsiunitxprintdecimal{#1}\times}% + }% + 10^{\LWRsiunitxprintdecimal{#2}} +}} +\ExplSyntaxOn +\AtBeginDocument{ +\ifdefstring{\l__siunitx_output_decimal_tl}{{,}} + {% Use decimal comma + \CustomizeMathJax{\def\LWRsiunitxprintdecimalsub#1.#2.#3\LWRsiunitxEND{% + \mathrm{#1}% + \ifblank{#2} + {}% + {,\mathrm{#2}} + }} + + \CustomizeMathJax{\newcommand{\LWRsiunitxprintdecimal}[1]{% + \LWRsiunitxprintdecimalsub#1...\LWRsiunitxEND% + }} + } + {% Use decimal point + \CustomizeMathJax{\def\LWRsiunitxprintdecimalsub#1,#2,#3\LWRsiunitxEND{% + \mathrm{#1}% + \ifblank{#2} + {}% + {.\mathrm{#2}} + }} + + \CustomizeMathJax{\newcommand{\LWRsiunitxprintdecimal}[1]{% + \LWRsiunitxprintdecimalsub#1,,,\LWRsiunitxEND% + }} + } +} +\ExplSyntaxOff +\CustomizeMathJax{\def\LWRsiunitxnumplus#1+#2+#3\LWRsiunitxEND{% + \ifblank{#2} + {\LWRsiunitxprintdecimal{#1}}% no plus + {% + \ifblank{#1}% + {\LWRsiunitxprintdecimal{#2}}% leading plus, ignore + {% a+b + \LWRsiunitxprintdecimal{#1}% + \unicode{x02B}% plus sign + \LWRsiunitxprintdecimal{#2}% + }% + }% +}} + +\CustomizeMathJax{\def\LWRsiunitxnumminus#1-#2-#3\LWRsiunitxEND{% + \ifblank{#2} + {\LWRsiunitxnumplus#1+++\LWRsiunitxEND}% + {% + \LWRsiunitxprintdecimal{#1}% + \unicode{x02212}% mathematical minus sign + \LWRsiunitxprintdecimal{#2}% + }% +}} + +\CustomizeMathJax{\def\LWRsiunitxnumpm#1+-#2+-#3\LWRsiunitxEND{% + \ifblank{#2}% + {\LWRsiunitxnumminus#1---\LWRsiunitxEND}% + {% + \LWRsiunitxprintdecimal{#1}% + \unicode{x0B1}% \pm + \LWRsiunitxprintdecimal{#2}% + }% +}} + +\CustomizeMathJax{\def\LWRsiunitxnumx#1x#2x#3x#4\LWRsiunitxEND{% + \ifblank{#2}% + {\LWRsiunitxnumpm#1+-+-\LWRsiunitxEND}% + {% + \ifblank{#3}% + {% + \LWRsiunitxprintdecimal{#1}% + \times% + \LWRsiunitxprintdecimal{#2}% + }% + {% + \LWRsiunitxprintdecimal{#1}% + \times% + \LWRsiunitxprintdecimal{#2}% + \times% + \LWRsiunitxprintdecimal{#3}% + }% + }% +}} -\CustomizeMathJax{\newcommand{\ang}[2][]{(\mathrm{#2})\degree}} -\CustomizeMathJax{\newcommand{\num}[2][]{\mathrm{#2}}} +\CustomizeMathJax{\def\LWRsiunitxnumD#1D#2D#3\LWRsiunitxEND{% + \ifblank{#2}% + {\LWRsiunitxnumx#1xxxxx\LWRsiunitxEND}% + {\mathrm{\LWRsiunitxnumscientific{#1}{#2}}}% +}} + +\CustomizeMathJax{\def\LWRsiunitxnumd#1d#2d#3\LWRsiunitxEND{% + \ifblank{#2}% + {\LWRsiunitxnumD#1DDD\LWRsiunitxEND}% + {\mathrm{\LWRsiunitxnumscientific{#1}{#2}}}% +}} + +\CustomizeMathJax{\def\LWRsiunitxnumE#1E#2E#3\LWRsiunitxEND{% + \ifblank{#2}% + {\LWRsiunitxnumd#1ddd\LWRsiunitxEND}% + {\mathrm{\LWRsiunitxnumscientific{#1}{#2}}}% +}} + +\CustomizeMathJax{\def\LWRsiunitxnume#1e#2e#3\LWRsiunitxEND{% + \ifblank{#2}% + {\LWRsiunitxnumE#1EEE\LWRsiunitxEND}% + {\mathrm{\LWRsiunitxnumscientific{#1}{#2}}}% +}} + +\CustomizeMathJax{\def\LWRsiunitxnumcomma#1,#2,#3\LWRsiunitxEND{% + \ifblank{#2} + {\LWRsiunitxnume#1eee\LWRsiunitxEND} + {\LWRsiunitxnume#1.#2eee\LWRsiunitxEND} +}} + +\CustomizeMathJax{\newcommand{\num}[2][]{\LWRsiunitxnumcomma#2,,,\LWRsiunitxEND}} \CustomizeMathJax{\newcommand{\si}[2][]{\mathrm{#2}}} -\CustomizeMathJax{\newcommand{\LWRSI}[2][]{\mathrm{#1\LWRSInumber\,#2}}} -\CustomizeMathJax{\newcommand{\SI}[2][]{\def\LWRSInumber{#2}\LWRSI}} +\CustomizeMathJax{\def\LWRsiunitxSIopt#1[#2]#3{% + {#2}\num{#1}{#3}% +}} + +\CustomizeMathJax{\newcommand{\LWRsiunitxSI}[2]{% + \num{#1}\,{#2}% +}} +\CustomizeMathJax{\newcommand{\SI}[2][]{% + \ifnextchar[% + {\LWRsiunitxSIopt{#2}}% + {\LWRsiunitxSI{#2}}% +}} \CustomizeMathJax{\newcommand{\numlist}[2][]{\mathrm{#2}}} -\CustomizeMathJax{\newcommand{\numrange}[3][]{\mathrm{#2\,\unicode{x2013}\,#3}}} +\CustomizeMathJax{\newcommand{\numrange}[3][]{\num{#2}\,\unicode{x2013}\,\num{#3}}} \CustomizeMathJax{\newcommand{\SIlist}[3][]{\mathrm{#2\,#3}}} -\CustomizeMathJax{\newcommand{\SIrange}[4][]{\mathrm{#2\,#4\,\unicode{x2013}\,#3\,#4}}} +\CustomizeMathJax{\newcommand{\SIrange}[4][]{\num{#2}\,#4\,\unicode{x2013}\,\num{#3}\,#4}} \CustomizeMathJax{\newcommand{\tablenum}[2][]{\mathrm{#2}}} \CustomizeMathJax{\newcommand{\ampere}{\mathrm{A}}} \CustomizeMathJax{\newcommand{\candela}{\mathrm{cd}}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-skmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-skmath.sty new file mode 100644 index 00000000000..f44d18dcb00 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-skmath.sty @@ -0,0 +1,232 @@ +%% +%% This is file `lwarp-skmath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `skmath') +%% 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@ProvidesPackagePass{skmath}[2019/10/15] +\begin{warpMathJax} +\ExplSyntaxOn +\bool_if:NT\g__skmath_define_common_sets_bool{ +\CustomizeMathJax{\newcommand{\N}{\mathbb{N}}} +\CustomizeMathJax{\newcommand{\Z}{\mathbb{Z}}} +\CustomizeMathJax{\newcommand{\Q}{\mathbb{Q}}} +\CustomizeMathJax{\newcommand{\R}{\mathbb{R}}} +\CustomizeMathJax{\newcommand{\C}{\mathbb{C}}} +} +\cs_gset_nopar:Npn\LWR__skmath_imaginary_unit:n#1{{#1}} +\cs_gset_nopar:Npn\LWR__skmath_natural_log_e:{{e}} +\cs_gset_nopar:Npn\LWR__skmath_integral_d:{{d}} +\cs_gset_nopar:Npn\LWR__skmath_total_derivative_d:{{d}} +\cs_if_eq:NNTF \__skmath_imaginary_unit:n \LWR__skmath_imaginary_unit:n + { + \CustomizeMathJax{\newcommand{ii}{\mathit{i}}} + \CustomizeMathJax{\newcommand{jj}{\mathit{j}}} + } + { + \CustomizeMathJax{\newcommand{ii}{\mathrm{i}}} + \CustomizeMathJax{\newcommand{jj}{\mathrm{j}}} + } +\cs_if_eq:NNTF \__skmath_natural_log_e: \LWR__skmath_natural_log_e: + { \CustomizeMathJax{\newcommand{\ee}{\mathit{e}}} } + { \CustomizeMathJax{\newcommand{\ee}{\mathrm{e}}} } +\cs_if_eq:NNTF \__skmath_integral_d: \LWR__skmath_integral_d: + { \CustomizeMathJax{\newcommand{\d}{\mathit{d}}} } + { \CustomizeMathJax{\newcommand{\d}{\mathrm{d}}} } +\CustomizeMathJax{\def\LWRskmathEND{}} +\CustomizeMathJax{\def\LWRskmathpdstarsub#1#2,#3,#4,#5,#6\LWRskmathEND{ + #1_{#2#3#4#5}% +}} + +\CustomizeMathJax{\newcommand{\LWRskmathpdstar}[2]{% + \LWRskmathpdstarsub{#1}#2,,,,\LWRskmathEND% +}} +\CustomizeMathJax{\def\LWRskmathpdnumerator#1^#2^#3\LWRskmathEND{% + \ifblank{#1}{}{ + \ifblank{#2}{\LWRskmathpdplus\LWRskmathpdone}{\LWRskmathpdplus#2} + } +}} +\CustomizeMathJax{\def\LWRskmathpddenominator#1^#2^#3\LWRskmathEND{% + \ifblank{#1}{}{% + \ifblank{#2}% + {\partial{#1}}% + {\partial{#1}^{#2}}% + }% +}} +\CustomizeMathJax{\newcommand{\LWRskmathdonumerator}[5]{% + \partial^{% + \def\LWRskmathpdplus{}% + \LWRskmathpdnumerator#2^{}^{}\LWRskmathEND% + \def\LWRskmathpdplus{+}% + \def\LWRskmathpdone{1}% + \LWRskmathpdnumerator#3^{}^{}\LWRskmathEND% + \LWRskmathpdnumerator#4^{}^{}\LWRskmathEND% + \LWRskmathpdnumerator#5^{}^{}\LWRskmathEND% + }% + {#1}% +}} + +\CustomizeMathJax{\newcommand{\LWRskmathdodenominator}[4]{% + \LWRskmathpddenominator#1^{}^{}^{}\LWRskmathEND% + \ifblank{#2}{}{\,}% + \LWRskmathpddenominator#2^{}^{}^{}\LWRskmathEND% + \ifblank{#3}{}{\,}% + \LWRskmathpddenominator#3^{}^{}^{}\LWRskmathEND% + \ifblank{#4}{}{\,}% + \LWRskmathpddenominator#4^{}^{}^{}\LWRskmathEND% +}} +\CustomizeMathJax{\def\LWRskmathpdnostarsub#1#2,#3,#4,#5,#6\LWRskmathEND{ + \ifblank{#3}{\def\LWRskmathpdone{}}{\def\LWRskmathpdone{1}} + \frac% + {\LWRskmathdonumerator{#1}{#2}{#3}{#4}{#5}}% + {\LWRskmathdodenominator{#2}{#3}{#4}{#5}}% +}} + +\CustomizeMathJax{\newcommand{\LWRskmathpdnostar}[2]{% + \LWRskmathpdnostarsub{#1}#2,,,,,,\LWRskmathEND% +}} +\CustomizeMathJax{\newcommand{\pd}{\ifstar\LWRskmathpdstar\LWRskmathpdnostar}} +\cs_if_eq:NNTF \__skmath_total_derivative_d: \LWR__skmath_total_derivative_d: + { \CustomizeMathJax{\newcommand{\LWRskmathtd}{\mathit{d}}} } + { \CustomizeMathJax{\newcommand{\LWRskmathtd}{\mathrm{d}}} } +\CustomizeMathJax{\def\LWRskmathtdsub#1#2^#3\LWRskmathEND{% + \frac + {\LWRskmathtd^{#3}{#1}} + {\LWRskmathtd{#2}^{#3}} +}} + +\CustomizeMathJax{\newcommand{\td}[2]{% + \LWRskmathtdsub{#1}#2^{}\LWRskmathEND% +}} +\CustomizeMathJax{\newcommand{\E}[1]{% + \operatorname{E}\left[#1\right]% +}} +\CustomizeMathJax{\let\given\mid} + +\CustomizeMathJax{\newcommand{\P}[1]{% + \operatorname{P}% + \left(#1\right)% +}} +\CustomizeMathJax{\newcommand{\var}[1]{% + \operatorname{Var}\left(#1\right)% +}} + +\CustomizeMathJax{\newcommand{\cov}[2]{% + \operatorname{Cov}\left(#1,#2\right)% +}} +\CustomizeMathJax{\newcommand{\LWRskmathtrigtwo}[2][]{% + \ifblank{#1}{}{^{#1}}% + \ifblank{#2}{}{\left(#2\right)}% +}} + +\CustomizeMathJax{\newcommand{\LWRskmathtrig}[1]{% + \operatorname{#1}% + \LWRskmathtrigtwo% +}} +\CustomizeMathJax{\renewcommand{\sin}{\LWRskmathtrig{sin}}} +\CustomizeMathJax{\renewcommand{\arcsin}{\LWRskmathtrig{arcsin}}} + +\CustomizeMathJax{\renewcommand{\cos}{\LWRskmathtrig{cos}}} +\CustomizeMathJax{\renewcommand{\arccos}{\LWRskmathtrig{arccos}}} + +\CustomizeMathJax{\renewcommand{\tan}{\LWRskmathtrig{tan}}} +\CustomizeMathJax{\renewcommand{\arctan}{\LWRskmathtrig{arctan}}} + +\CustomizeMathJax{\renewcommand{\cot}{\LWRskmathtrig{cot}}} + +\CustomizeMathJax{\renewcommand{\sinh}{\LWRskmathtrig{sinh}}} +\CustomizeMathJax{\renewcommand{\cosh}{\LWRskmathtrig{cosh}}} +\CustomizeMathJax{\renewcommand{\tanh}{\LWRskmathtrig{tanh}}} +\CustomizeMathJax{\newcommand{\LWRskmathlogtwo}[2][]{% + \ifblank{#1}{}{_{#1}}% + \ifblank{#2}{}{\left(#2\right)}% +}} + +\CustomizeMathJax{\newcommand{\LWRskmathlog}[1]{% + \operatorname{#1}% + \LWRskmathlogtwo% +}} +\CustomizeMathJax{\renewcommand{\ln}{\LWRskmathlog{ln}}} +\CustomizeMathJax{\renewcommand{\log}{\LWRskmathlog{log}}} +\CustomizeMathJax{\newcommand{\LWRskmathexpparens}[1]{% + \operatorname{exp}% + \ifblank{#1}{}{\left(#1\right)}% +}} +\CustomizeMathJax{\newcommand{\LWRskmathexpnostar}[1]{% + \mathchoice + {\ee^{#1}} + {\LWRskmathexpparens{#1}} + {\LWRskmathexpparens{#1}} + {\LWRskmathexpparens{#1}} +}} + +\CustomizeMathJax{\renewcommand{\exp}{\ifstar\LWRskmathexpparens\LWRskmathexpnostar}} +\CustomizeMathJax{\newcommand{\LWRskmathminstar}[2][]{% + \operatorname{\LWRskmathminname}% + \ifblank{#1}{}{% + _{\mathchoice{\mathclap{#1}}{#1}{#1}{#1}} + }% + \ifblank{#2}{}{#2}% +}} +\CustomizeMathJax{\newcommand{\LWRskmathminnostar}[2][]{% + \ifblank{#1}% + {\operatorname{\LWRskmathminname}}% + {% + \underset% + {\mathchoice{\mathclap{#1}}{#1}{#1}{#1}}% + {\operatorname{\LWRskmathminname}}% + }% + \ifblank{#2}{}{\left\{#2\right\}}% +}} +\CustomizeMathJax{\newcommand{\LWRskmathmin}[1]{% + \def\LWRskmathminname{#1}% + \ifstar\LWRskmathminstar\LWRskmathminnostar% +}} +\CustomizeMathJax{\renewcommand{\min}{\LWRskmathmin{min}}} +\CustomizeMathJax{\renewcommand{\argmin}{\arg\LWRskmathmin{min}}} + +\CustomizeMathJax{\renewcommand{\max}{\LWRskmathmin{max}}} +\CustomizeMathJax{\renewcommand{\argmax}{\arg\LWRskmathmin{max}}} +\CustomizeMathJax{\renewcommand{\sup}{\LWRskmathmin{sup}}} +\CustomizeMathJax{\renewcommand{\inf}{\LWRskmathmin{inf}}} +\CustomizeMathJax{\let\bar\overline} + +\CustomizeMathJax{\let\vec\boldsymbol} +\CustomizeMathJax{\let\LWRskmathRe\Re} +\CustomizeMathJax{\let\LWRskmathIm\Im} +\bool_if:NTF\g__skmath_iso_complex_parts_bool{ + \CustomizeMathJax{\renewcommand{\Re}[1]{% + \LWRskmathRe% + \ifblank{#1}{}{\left(#1\right)}% + }} + \CustomizeMathJax{\renewcommand{\Im}[1]{% + \LWRskmathIm% + \ifblank{#1}{}{\left(#1\right)}% + }} +}{ + \CustomizeMathJax{\renewcommand{\Re}[1]{% + \operatorname{Re}% + \ifblank{#1}{}{#1}% + }} + \CustomizeMathJax{\renewcommand{\Im}[1]{% + \operatorname{Im}% + \ifblank{#1}{}{#1}% + }} +} + +\ExplSyntaxOff +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-skmath.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tensor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tensor.sty new file mode 100644 index 00000000000..5519c0b7fda --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tensor.sty @@ -0,0 +1,54 @@ +%% +%% This is file `lwarp-tensor.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `tensor') +%% 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@ProvidesPackagePass{tensor}[2004/12/20] +\begin{warpMathJax} +\CustomizeMathJax{\def\LWRtensorindicesthreesub#1#2{{_{#2}}\LWRtensorindicesthree}} +\CustomizeMathJax{\def\LWRtensorindicesthreesup#1#2{{^{#2}}\LWRtensorindicesthree}} +\CustomizeMathJax{\newcommand{\LWRtensorindicesthreenotsup}{}} +\CustomizeMathJax{\newcommand{\LWRtensorindicesthreenotsub}{ + \ifnextchar ^ \LWRtensorindicesthreesup \LWRtensorindicesthreenotsup +}} + +\CustomizeMathJax{\newcommand{\LWRtensorindicesthree}{ + \ifnextchar _ \LWRtensorindicesthreesub \LWRtensorindicesthreenotsub +}} +\CustomizeMathJax{\newcommand{\LWRtensorindicestwo}{ + \ifstar\LWRtensorindicesthree\LWRtensorindicesthree +}} +\CustomizeMathJax{\newcommand{\indices}[1]{\LWRtensorindicestwo#1}} +\CustomizeMathJax{\newcommand{\LWRtensortwo}[3][]{{}\indices{#1}{#2}\indices{#3}}} +\CustomizeMathJax{\newcommand{\tensor}{\ifstar\LWRtensortwo\LWRtensortwo}} +\CustomizeMathJax{% + \newcommand{\LWRnuclidetwo}[2][]{% + {% + \vphantom{\mathrm{#2}}% + {}^{\LWRtensornucleonnumber}_{#1}% + \mathrm{#2}% + }% + }% +} +\CustomizeMathJax{% + \newcommand{\nuclide}[1][]{% + \def\LWRtensornucleonnumber{#1}% + \LWRnuclidetwo% + }% +} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-tensor.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz-imagelabels.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz-imagelabels.sty new file mode 100644 index 00000000000..11f16bcbfea --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz-imagelabels.sty @@ -0,0 +1,26 @@ +%% +%% This is file `lwarp-tikz-imagelabels.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `tikz-imagelabels') +%% 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@ProvidesPackagePass{tikz-imagelabels}[2019/06/27] +\BeforeBeginEnvironment{annotationimage}{% + \begin{lateximage}[-tikz-imagelabels-~\PackageDiagramAltText]% +} + +\AfterEndEnvironment{annotationimage}{\end{lateximage}} +\endinput +%% +%% End of file `lwarp-tikz-imagelabels.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty index b492c8d35a9..ff6a7f39f34 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty @@ -41,7 +41,7 @@ } \DeclareDocumentCommand{\LWR@textcurrentcolor}{m}{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@findcurrenttextcolor% \InlineClass[color:\LWR@origpound\LWR@tempcolor]{textcolor}{% \renewcommand*{\LWR@currenttextcolor}{\LWR@origpound\LWR@tempcolor}% @@ -51,14 +51,14 @@ } \NewDocumentCommand{\LWR@colorstyle}{m m}{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \convertcolorspec{#1}{#2}{HTML}\LWR@tempcolor% \LWR@origpound\LWR@tempcolor% \endgroup% } \NewDocumentCommand{\LWR@backgroundcolor}{O{named} m m}{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \InlineClass[background:\LWR@colorstyle{#1}{#2}]{backgroundcolor}{% #3% }% @@ -82,7 +82,7 @@ padding:\LWR@printlength{\fboxsep}% \LWR@formatted{color} \NewDocumentCommand{\LWR@HTML@textcolor}{o m m}{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \IfValueTF{#1}{% \color[#1]{#2}% }{% @@ -100,7 +100,7 @@ padding:\LWR@printlength{\fboxsep}% \NewDocumentCommand{\LWR@HTML@colorbox}{O{named} m +m}{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \InlineClass[% background:\LWR@colorstyle{#1}{#2} ; % padding:\LWR@printlength{\fboxsep}% @@ -114,7 +114,7 @@ padding:\LWR@printlength{\fboxsep}% \NewDocumentCommand{\LWR@HTML@colorboxBlock}{O{named} m +m}{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@stoppars% \begin{BlockClass}[% background:\LWR@colorstyle{#1}{#2} ; % @@ -133,7 +133,7 @@ padding:\LWR@printlength{\fboxsep}% \NewDocumentCommand{\LWR@HTML@fcolorbox}{O{named} m O{#1} m +m}{% \LWR@traceinfo{HTML fcolorbox #2 #4}% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@forceminwidth{\fboxrule}% \ifthenelse{\equal{#4}{none}}% {% no background color @@ -157,7 +157,7 @@ padding:\LWR@printlength{\fboxsep}% \NewDocumentCommand{\LWR@HTML@fcolorboxBlock}{O{named} m O{#1} m +m}{% \LWR@traceinfo{HTML fcolorboxBlock #2 #4}% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@forceminwidth{\fboxrule}% \LWR@stoppars% \ifthenelse{\equal{#4}{none}}% @@ -197,7 +197,7 @@ width:\LWR@printlength{\LWR@tempwidth}% } \NewDocumentEnvironment{LWR@HTML@fcolorminipage}{O{named} m O{#1} m O{c} o o m} {% -\LWR@FBcancel% +\LWR@hook@processingtags% \setlength{\LWR@tempwidth}{#8}% \IfValueT{#6}{\setlength{\LWR@tempheight}{#6}}% \LWR@forceminwidth{\fboxrule}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xevlna.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xevlna.sty new file mode 100644 index 00000000000..7b64016f918 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xevlna.sty @@ -0,0 +1,24 @@ +%% +%% This is file `lwarp-xevlna.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `xevlna') +%% 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@ProvidesPackagePass{xevlna}[2016/09/05] +\def\ProcessCSpreposition{\ifx\next\xevlnaXeTeXspace\HTMLentity{nbsp}\fi} + +\appto{\LWR@hook@processingtags}{\xevlnaDisable}% +\endinput +%% +%% End of file `lwarp-xevlna.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty index 2c2ba8acad0..ddb31bd5e15 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{lwarp} - [2020/12/24 v0.894 Allows LaTeX to directly produce HTML5 output.] + [2021/02/18 v0.895 Allows LaTeX to directly produce HTML5 output.] @@ -161,7 +161,6 @@ \LWR@earlyloadnever{colortab}{colortbl} \LWR@earlyloadnever{csvtools}{datatool} \LWR@earlyloadnever{doublespace}{setspace} -\LWR@earlyloadnever{epsf}{graphicx} \LWR@earlyloadnever{fancyheadings}{fancyhdr} \LWR@earlyloadnever{fncylab}{cleveref} \LWR@earlyloadnever{formula}{siunitx} @@ -203,6 +202,7 @@ \LWR@loadafter{algorithm2e} \LWR@loadafter{algorithmicx} \LWR@loadafter{alltt} +\LWR@loadafter{amscdx} \LWR@loadafter{anonchap} \LWR@loadafter{anysize} \LWR@notmemoirloadafter{appendix} @@ -303,6 +303,7 @@ \LWR@notmemoirloadafter{enumerate} \LWR@loadafter{enumitem} \LWR@notmemoirloadafter{epigraph} +\LWR@loadafter{epsf} \LWR@loadafter{epsfig} \LWR@loadafter{epstopdf} \LWR@loadafter{epstopdf-base} @@ -389,8 +390,11 @@ \LWR@loadafter{idxlayout} \LWR@loadafter{ifoddpage} \LWR@loadafter{imakeidx} +\LWR@loadafter{impnattypo} \LWR@notmemoirloadafter{index} \LWR@loadafter{intopdf} +\LWR@loadafter{isomath} +\LWR@loadafter{isotope} \LWR@loadafter{jurabib} \LWR@loadafter{karnaugh-map} \LWR@loadafter{keyfloat} @@ -407,6 +411,7 @@ \LWR@loadafter{listings} \LWR@loadafter{listliketab} \LWR@loadafter{longtable} +\LWR@loadafter{lpic} \LWR@loadafter{lscape} \LWR@loadafter{ltablex} \LWR@loadafter{ltcaption} @@ -417,6 +422,7 @@ \LWR@loadafter{luacolor} \LWR@loadafter{luamplib} \LWR@loadafter{luatodonotes} +\LWR@loadafter{luavlna} \LWR@loadafter{lyluatex} \LWR@loadafter{magaz} \LWR@notmemoirloadafter{makeidx} @@ -434,8 +440,11 @@ \LWR@loadafter{mathptmx} \LWR@loadafter{mathspec} \LWR@loadafter{mathtools} +\LWR@loadafter{mattens} +\LWR@loadafter{maybemath} \LWR@loadafter{mcaption} \LWR@loadafter{mdframed} +\LWR@loadafter{mdwmath} \LWR@loadafter{media9} \LWR@loadafter{memhfixc} \LWR@loadafter{menukeys} @@ -515,6 +524,7 @@ \LWR@loadafter{physunits} \LWR@loadafter{picinpar} \LWR@loadafter{pifont} +\LWR@loadafter{pinlabel} \LWR@loadafter{placeins} \LWR@loadafter{plarray} \LWR@loadafter{plarydshln} @@ -544,6 +554,7 @@ \LWR@loadafter{repeatindex} \LWR@loadafter{resizegather} \LWR@loadafter{returntogrid} +\LWR@loadafter{rlepsf} \LWR@loadafter{rmathbr} \LWR@loadafter{rmpage} \LWR@loadafter{romanbar} @@ -577,6 +588,7 @@ \LWR@loadafter{simplebnf} \LWR@loadafter{SIunits} \LWR@loadafter{siunitx} +\LWR@loadafter{skmath} \LWR@loadafter{slantsc} \LWR@loadafter{slashed} \LWR@loadafter{soul} @@ -612,6 +624,7 @@ \LWR@loadafter{tagpdf} \LWR@loadafter{tascmac} \LWR@loadafter{tcolorbox} +\LWR@loadafter{tensor} \LWR@loadafter{termcal} \LWR@loadafter{textarea} \LWR@loadafter{textfit} @@ -628,6 +641,7 @@ \LWR@loadafter{thumb} \LWR@loadafter{thumbs} \LWR@loadafter{tikz} +\LWR@loadafter{tikz-imagelabels} \LWR@loadafter{titleps} \LWR@loadafter{titlesec} \LWR@loadafter{titletoc} @@ -675,6 +689,7 @@ \LWR@loadafter{xcolor} \LWR@loadafter{xechangebar} \LWR@loadafter{xellipsis} +\LWR@loadafter{xevlna} \LWR@loadafter{xfakebold} \LWR@loadafter{xfrac} \LWR@loadafter{xltabular} @@ -774,6 +789,21 @@ \ifpTeX \RequirePackage{upquote} \fi +\ifxetexorluatex + \AtBeginDocument{ + \@ifpackageloaded{kpfonts}{ + \PackageError{lwarp} + {% + When using XeLaTeX or LuaLaTeX,\MessageBreak + use kpfonts-otf instead of kpfonts% + } + {% + Replace: \protect\usepackage{kpfonts}\MessageBreak + with: \protect\usepackage{kpfonts-otf} + } + }{} + } +\fi \newlength{\LWR@templengthone} \newlength{\LWR@templengthtwo} \newlength{\LWR@templengththree} @@ -1412,7 +1442,6 @@ \LWR@checkloadnever{#1}{colortab}{colortbl} \LWR@checkloadnever{#1}{csvtools}{datatool} \LWR@checkloadnever{#1}{doublespace}{setspace} -\LWR@checkloadnever{#1}{epsf}{graphicx} \LWR@checkloadnever{#1}{fancyheadings}{fancyhdr} \LWR@checkloadnever{#1}{fncylab}{cleveref} \LWR@checkloadnever{#1}{formula}{siunitx} @@ -1439,6 +1468,7 @@ \LWR@checkloadbefore{#1}{nfssext-cfr} \LWR@checkloadbefore{#1}{fontaxes} \LWR@checkloadbefore{#1}{kotex} +\LWR@checkloadbefore{#1}{kpfonts}% textcomp option clash \LWR@checkloadbefore{#1}{luatexja} \LWR@checkloadbefore{#1}{luatexja-fontspec} \LWR@checkloadbefore{#1}{luatexko} @@ -1819,11 +1849,11 @@ \renewcommand*{\LWR@tagsubsubsectionend}{/h5} \renewcommand*{\LWR@tagparagraph}{h6} \renewcommand*{\LWR@tagparagraphend}{/h6} -\renewcommand*{\LWR@tagsubparagraph}{span class="subparagraph"} +\renewcommand*{\LWR@tagsubparagraph}{span class=\textquotedbl{}subparagraph\textquotedbl} \renewcommand*{\LWR@tagsubparagraphend}{/span} }% WPTitleHeading {% not WPTitleHeading, part and section starting at h1 -\renewcommand*{\LWR@tagtitle}{div class="title"} +\renewcommand*{\LWR@tagtitle}{div class=\textquotedbl{}title\textquotedbl} \renewcommand*{\LWR@tagtitleend}{/div} \renewcommand*{\LWR@tagpart}{h1} \renewcommand*{\LWR@tagpartend}{/h1} @@ -1842,7 +1872,7 @@ {% chapter defined \ifbool{WPTitleHeading}{} {% not WPTitleHeading, part and chapter starting at h1 -\renewcommand*{\LWR@tagtitle}{div class="title"} +\renewcommand*{\LWR@tagtitle}{div class=\textquotedbl{}title\textquotedbl} \renewcommand*{\LWR@tagtitleend}{/div} \renewcommand*{\LWR@tagpart}{h1} \renewcommand*{\LWR@tagpartend}{/h1} @@ -1856,7 +1886,7 @@ \renewcommand*{\LWR@tagsubsubsectionend}{/h5} \renewcommand*{\LWR@tagparagraph}{h6} \renewcommand*{\LWR@tagparagraphend}{/h6} -\renewcommand*{\LWR@tagsubparagraph}{span class="subparagraph"} +\renewcommand*{\LWR@tagsubparagraph}{span class=\textquotedbl{}subparagraph\textquotedbl} \renewcommand*{\LWR@tagsubparagraphend}{/span} }% not WPTitleHeading }% chapter defined @@ -1890,8 +1920,15 @@ \let\LWR@origtextellipsis\textellipsis \let\LWR@origvdots\vdots -\let\LWR@orig@textquotedbl\textquotedbl +\LetLtxMacro\LWR@orig@@textquotedbl\textquotedbl +\LetLtxMacro\LWR@orig@textquotedbl\LWR@orig@@textquotedbl +\AtEndPreamble{ +\@ifpackageloaded{libertinus-otf}{ + \renewcommand{\LWR@orig@textquotedbl}{\LWR@orig@@textquotedbl\kern-.15em} + \LetLtxMacro\textquotedbl\LWR@orig@textquotedbl +}{} +} \LetLtxMacro\LWR@origttfamily\ttfamily \LetLtxMacro\LWR@origem\em @@ -2051,7 +2088,7 @@ \PackageError{lwarp}% {Unknown LaTeX engine}% {% - Lwarp only knows about pdflatex, dvi latex, + Lwarp only knows about pdflatex, DVI latex, xelatex, lualatex, and upLateX.% }% } @@ -2232,7 +2269,7 @@ \begin{filecontents*}[overwrite]{lwarp.css} /* CSS stylesheet for the LaTeX Lwarp package - Copyright 2016-2020 Brian Dunn — BD Tech Concepts LLC + Copyright 2016-2021 Brian Dunn — BD Tech Concepts LLC */ /* a fix for older browsers: */ @@ -4457,10 +4494,13 @@ MathJax = { } } - // Create the command map for \ifstar, \ifnextchar, \seteqnumber - new CommandMap('ifstar-ifnextchar-setequnumber', { + // Create the command map for: + // \ifstar, \ifnextchar, \ifblank, \ifstrequal, \seteqnumber + new CommandMap('Lwarp-macros', { ifstar: 'IfstarFunction', ifnextchar: 'IfnextcharFunction', + ifblank: 'IfblankFunction', + ifstrequal: 'IfstrequalFunction', seteqnumber: 'SeteqnumberFunction' }, { // This function implements an ifstar macro. @@ -4484,6 +4524,25 @@ MathJax = { useArgument(parser, gotchar ? resultnextchar : resultnotnextchar); }, + // This function implements an ifblank macro. + IfblankFunction(parser, name) { + const blankarg = parser.GetArgument(name); + const resultblank = parser.GetArgument(name); + const resultnotblank = parser.GetArgument(name); + const isblank = (blankarg.trim() == ""); + useArgument(parser, isblank ? resultblank : resultnotblank); + }, + + // This function implements an ifstrequal macro. + IfstrequalFunction(parser, name) { + const strequalfirst = parser.GetArgument(name); + const strequalsecond = parser.GetArgument(name); + const resultequal = parser.GetArgument(name); + const resultnotequal = parser.GetArgument(name); + const isequal = (strequalfirst == strequalsecond); + useArgument(parser, isequal ? resultequal : resultnotequal); + }, + // This function modifies the equation numbers. SeteqnumberFunction(parser, name) { // Get the macro parameters @@ -4499,9 +4558,9 @@ MathJax = { }); - // Create the ifstar-ifnextchar-setequnumber package - Configuration.create('ifstar-ifnextchar-setequnumber', { - handler: {macro: ['ifstar-ifnextchar-setequnumber']} + // Create the Lwarp-macros package + Configuration.create('Lwarp-macros', { + handler: {macro: ['Lwarp-macros']} }); MathJax.startup.defaultReady(); @@ -4568,7 +4627,7 @@ MathJax = { }, // startup tex: { - packages: {'[+]': ['tagformat', 'ifstar-ifnextchar-setequnumber', 'textmacros']}, + packages: {'[+]': ['tagformat', 'Lwarp-macros', 'textmacros']}, tags: "ams", tagformat: { number: function (n) { @@ -4596,9 +4655,9 @@ MathJax = { \begin{filecontents*}[overwrite]{lwarpmk.lua} #!/usr/bin/env texlua --- Copyright 2016-2020 Brian Dunn +-- Copyright 2016-2021 Brian Dunn -printversion = "v0.894" +printversion = "v0.895" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -5677,7 +5736,7 @@ end -- not --version \let\LWR@origampersand\& \newcommand*{\HTMLentity}[1]{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@origampersand#1;% \endgroup% } @@ -5959,7 +6018,7 @@ end -- not --version \newcommand*{\LWR@tagtitle}{h1} \newcommand*{\LWR@tagtitleend}{/h1} -\newcommand*{\LWR@tagbook}{div class="book"} +\newcommand*{\LWR@tagbook}{div class=\textquotedbl{}book\textquotedbl} \newcommand*{\LWR@tagbookend}{/div} \newcommand*{\LWR@tagpart}{h2} \newcommand*{\LWR@tagpartend}{/h2} @@ -5971,13 +6030,15 @@ end -- not --version \newcommand*{\LWR@tagsubsectionend}{/h5} \newcommand*{\LWR@tagsubsubsection}{h6} \newcommand*{\LWR@tagsubsubsectionend}{/h6} -\newcommand*{\LWR@tagparagraph}{span class="paragraph"} +\newcommand*{\LWR@tagparagraph}{span class=\textquotedbl{}paragraph\textquotedbl} \newcommand*{\LWR@tagparagraphend}{/span} -\newcommand*{\LWR@tagsubparagraph}{span class="subparagraph"} +\newcommand*{\LWR@tagsubparagraph}{span class=\textquotedbl{}subparagraph\textquotedbl} \newcommand*{\LWR@tagsubparagraphend}{/span} \newcommand*{\LWR@tagregularparagraph}{p} +\newcommand*{\LWR@hook@processingtags}{} + \providecommand*{\LWR@FBcancel}{} @@ -5986,6 +6047,7 @@ end -- not --version {}% {% \LetLtxMacro\LWR@FBcancel\NoAutoSpacing% + \appto{\LWR@hook@processingtags}{\LWR@FBcancel}% }% \@ifundefined{frenchbsetup}% @@ -5994,31 +6056,31 @@ end -- not --version \frenchbsetup{FrenchFootnotes=false}% \renewrobustcmd*{\FBcolonspace}{% \begingroup% - \LWR@FBcancel% + \LWR@hook@processingtags% \LWR@origampersand{}nbsp;% \endgroup% }% \renewrobustcmd*{\FBthinspace}{% \begingroup% - \LWR@FBcancel% + \LWR@hook@processingtags% \LWR@origampersand\LWR@origpound{}x202f;% \, \endgroup% }% \renewrobustcmd*{\FBguillspace}{% \begingroup% - \LWR@FBcancel% + \LWR@hook@processingtags% \LWR@origampersand{}nbsp;% ~, for \og xyz \fg{} \endgroup% }% \DeclareDocumentCommand{\FBmedkern}{}{% \begingroup% - \LWR@FBcancel% + \LWR@hook@processingtags% \LWR@origampersand\LWR@origpound{}x202f;% \, \endgroup% }% \DeclareDocumentCommand{\FBthickkern}{}{% \begingroup% - \LWR@FBcancel% + \LWR@hook@processingtags% \LWR@origampersand{}nbsp;% ~ \endgroup% }% @@ -6043,7 +6105,7 @@ end -- not --version \newcommand*{\LWR@htmltagc}[1]{% \LWR@traceinfo{LWR@htmltagc !\detokenize{#1}!}% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \ifmmode\else\protect\LWR@print@normalfont\protect\LWR@origttfamily\fi% \protect\LWR@origtextless% \LWR@isolate{#1}% @@ -6143,7 +6205,7 @@ end -- not --version \newcommand*{\LWR@htmlopencomment}{% {% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \ifmmode\else\protect\LWR@print@normalfont\protect\LWR@origttfamily\fi% \LWR@print@mbox{\LWR@origtextless{}!-\/-}% \endgroup% @@ -6153,7 +6215,7 @@ end -- not --version \newcommand*{\LWR@htmlclosecomment}{% {% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \ifmmode\else\protect\LWR@print@normalfont\protect\LWR@origttfamily\fi% \LWR@print@mbox{-\/-\LWR@origtextgreater}% \endgroup% @@ -6989,7 +7051,7 @@ end -- not --version \newrobustcmd{\LWR@HTMLsanitize}[1]{% \begingroup% - \LWR@FBcancel% + \LWR@hook@processingtags% \edef\LWR@strresult{\detokenize{#1}}% \LWR@subHTMLsanitize% \LWR@strresult% @@ -7008,7 +7070,7 @@ end -- not --version \newrobustcmd{\LWR@HTMLsanitizeexpand}[1]{% \begingroup% - \LWR@FBcancel% + \LWR@hook@processingtags% \edef\LWR@strresult{\detokenize\expandafter{#1}}% \protect\StrSubstitute{\LWR@strresult}% {\LWR@beginspaceleftbrace}{\LWR@beginleftbrace}[\LWR@strresult]% @@ -7027,7 +7089,7 @@ end -- not --version \newcommand*{\LWR@subcustomizedmathjax}[1]{% \begingroup% - \LWR@FBcancel% + \LWR@hook@processingtags% \edef\LWR@strresult{\detokenize{#1}}% \LWR@subHTMLsanitize% \xdef\LWR@customizedMathJax{% @@ -7041,7 +7103,7 @@ end -- not --version \newcommand*{\CustomizeMathJax}[1]{% \ifbool{LWR@warnedcustomizemathjax}{}{% \StrLen{\detokenize{#1}}[\LWR@tempone]% - \ifnumgreater{\LWR@tempone}{200}{% + \ifnumgreater{\LWR@tempone}{350}{% \AtEndDocument{% \PackageWarningNoLine{lwarp}{% To ensure faster MathJax compilation, place each\MessageBreak @@ -8217,11 +8279,10 @@ end -- not --version \LWR@htmltag{/span}% \endgroup% } - \xpretocmd{\verb} {% \begingroup% - \LWR@htmltag{span class="texttt"}% + \LWR@htmltag{span class=\textquotedbl{}texttt\textquotedbl}% \let\verb@egroup\LWR@verb@egroup@endspan% } {} @@ -8244,7 +8305,7 @@ end -- not --version \LWR@origttfamily% \LWR@print@scriptsize% \LWR@restoreoriglists% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@select@print@hspace% } @@ -8335,7 +8396,9 @@ end -- not --version \newcommand*{\LWR@printcloselist}{\LWR@printcloseitemize} -\newcommand*{\LWR@printopenlist}{ul style="\LWR@print@mbox{list-style-type:none}"} +\newcommand*{\LWR@printopenlist}{% + ul style=\textquotedbl\LWR@print@mbox{list-style-type:none}\textquotedbl{}% +} \AtBeginDocument{ \def\@mklab#1{% @@ -8431,7 +8494,9 @@ end -- not --version \newcommand*{\LWR@itemizestart}{% \renewcommand*{\LWR@printcloselist}{\LWR@printcloseitemize} -\renewcommand*{\LWR@printopenlist}{ul style="\LWR@print@mbox{list-style-type:none}"} +\renewcommand*{\LWR@printopenlist}{% + ul style=\textquotedbl\LWR@print@mbox{list-style-type:none}\textquotedbl{}% +} \let\item\LWR@itemizeitem% \LWR@nulllistfills% } @@ -8440,7 +8505,9 @@ end -- not --version \newcommand*{\LWR@enumeratestart}{% \renewcommand*{\LWR@printcloselist}{\LWR@printcloseitemize} -\renewcommand*{\LWR@printopenlist}{ul style="\LWR@print@mbox{list-style-type:none}"} +\renewcommand*{\LWR@printopenlist}{% + ul style=\textquotedbl\LWR@print@mbox{list-style-type:none}\textquotedbl{}% +} \let\item\LWR@itemizeitem% \LWR@nulllistfills% } @@ -9110,19 +9177,19 @@ end -- not --version test{\ifnumcomp{\value{LWR@hdashedlines}}{>}{0}}% }% {% - \LWR@htmltag{tr class="hline" }% + \LWR@htmltag{tr class=\textquotedbl{}hline\textquotedbl }% \LWR@orignewline% }% {% not doing hline \ifbool{LWR@doingtbrule}% {% \ifdefvoid{\LWR@ruleHTMLcolor}{% - \LWR@htmltag{tr class="tbrule"}% + \LWR@htmltag{tr class=\textquotedbl{}tbrule\textquotedbl}% }{% \LWR@htmltag{% - tr class="tbrule" % space - style="border-top: 1px solid % space - \LWR@origpound\LWR@ruleHTMLcolor "% + tr class=\textquotedbl{}tbrule\textquotedbl\ % space + style=\textquotedbl{}border-top: 1px solid % space + \LWR@origpound\LWR@ruleHTMLcolor \textquotedbl{}% }% }% \LWR@orignewline% @@ -9152,10 +9219,10 @@ end -- not --version {}% {% not empty \LWR@htmltag{% - td class="td#1% + td class=\textquotedbl{}td#1% \LWR@subaddcmidruletrim{}{}% \LWR@printbartag{#2}% - "% + \textquotedbl{}% \LWR@tdstartstyles% \LWR@addcmidrulewidth% \LWR@addcdashline% @@ -9202,12 +9269,12 @@ end -- not --version }% \LWR@traceinfo{LWR@tabledatasinglecolumntag: about to print td tag}% \LWR@htmltag{% - td class="td% + td class=\textquotedbl{}td% \LWR@strresult% \LWR@addcmidruletrim% \LWR@addleftmostbartag% \LWR@printbartag{\arabic{LWR@tableLaTeXcolindex}}% - "% + \textquotedbl{}% \LWR@tdstartstyles% \LWR@addcmidrulewidth% \LWR@addcdashline% @@ -9328,14 +9395,14 @@ end -- not --version \newcommand*{\LWR@tdaddstyle}{% \ifbool{LWR@tdhavecellstyle}% {; }% - { style="}% + { style=\textquotedbl}% \booltrue{LWR@tdhavecellstyle}% } \newcommand*{\LWR@tdendstyles}{% \ifbool{LWR@tdhavecellstyle}% {% - "% + \textquotedbl% \boolfalse{LWR@tdhavecellstyle}% }{}% } @@ -9536,9 +9603,11 @@ end -- not --version } \newcommand*{\LWR@subaddtabularcellcolor}[1]{% - \LWR@htmltag{div class="cellcolor" style="% + \LWR@htmltag{div class=\textquotedbl{}cellcolor\textquotedbl\ % space + style=\textquotedbl{}% background:\LWR@origpound{}{}#1 % - " }% + \textquotedbl\ % + }% space \defaddtocounter{LWR@cellcolordepth}{1}% } @@ -9729,11 +9798,11 @@ end -- not --version \defaddtocounter{LWR@lastmulticolumn}{-1}% \LWR@maybenewtablerow% \LWR@htmltag{% - td colspan="#4" % + td colspan=\textquotedbl#4\textquotedbl\ % \IfValueT{#2}{ % rows? - rowspan="#2" % + rowspan=\textquotedbl#2\textquotedbl\ % }% - class="td% + class=\textquotedbl{}td% \defcounter{LWR@mcolvertbarsl}{0}% \defcounter{LWR@mcolvertbarsr}{0}% \defcounter{LWR@mcolvertbarsldash}{0}% @@ -9759,7 +9828,7 @@ end -- not --version \ifnumcomp{\value{LWR@mcolvertbarsrdash}}{=}{1}{ tvertbarrdash}{}% \ifnumcomp{\value{LWR@mcolvertbarsrdash}}{>}{1}% { tvertbarrdoubledash}{}% - "% + \textquotedbl{}% \LWR@tdstartstyles% \IfValueT{#1}{% vpos? \ifstrequal{#1}{b}% @@ -10337,7 +10406,7 @@ end -- not --version \newcommand*{\LWR@label@subcreatetag}{% - \LWR@htmltag{a \LWR@print@mbox{id="\LWR@sanitized"}}% + \LWR@htmltag{a \LWR@print@mbox{id=\textquotedbl\LWR@sanitized\textquotedbl}}% \LWR@htmltag{/a}% } @@ -10408,7 +10477,7 @@ end -- not --version \newcommand*{\LWR@addlinktitle}{% \ifdefvoid{\LWR@ThisAltText}{}{ % space - title="\LWR@ThisAltText" % space + title=\textquotedbl\LWR@ThisAltText\textquotedbl\ % space \gdef\LWR@ThisAltText{}% }% } @@ -10417,7 +10486,7 @@ end -- not --version {% \LWR@sanitize{#1}% \LWR@traceinfo{LWR@startref A: !#1!}% - \LWR@htmltag{a href="% + \LWR@htmltag{a href=\textquotedbl% \LWR@traceinfo{LWR@startref B}% \LWR@print@mbox{\LWR@htmlrefsectionfilename{#1}}% \LWR@traceinfo{LWR@startref C}% @@ -10439,7 +10508,7 @@ end -- not --version }% }% \LWR@traceinfo{LWR@startref E}% - "% + \textquotedbl% \LWR@addlinktitle% }% \LWR@traceinfo{LWR@startref F}% @@ -10495,7 +10564,7 @@ end -- not --version \catcode`\&=12% \catcode`\~=12% \catcode`\_=12% - \LWR@FBcancel% + \LWR@hook@processingtags% } \newcommand*{\LWR@linkmediacatcodes}{% @@ -10503,16 +10572,16 @@ end -- not --version \catcode`\%=12% \catcode`\~=12% \catcode`\_=12% - \LWR@FBcancel% + \LWR@hook@processingtags% } \NewDocumentCommand{\LWR@subhyperref}{m}{% \LWR@traceinfo{LWR@subhyperref !#1!}% \LWR@sanitize{#1}% \LWR@htmltag{% - a href="\LWR@sanitized" % space + a href=\textquotedbl\LWR@sanitized\textquotedbl\ % space \LWR@addlinktitle % space - target="\_{}blank" % space + target=\textquotedbl\_{}blank\textquotedbl\ % space }% } @@ -10525,8 +10594,8 @@ end -- not --version \NewDocumentCommand{\LWR@subhyperrefclass}{m +m m}{% \LWR@htmltag{% a % space - href="\begingroup\@sanitize#1\endgroup" % space - class="#3" % space + href=\textquotedbl\begingroup\@sanitize#1\endgroup\textquotedbl\ % space + class=\textquotedbl#3\textquotedbl\ % space \LWR@addlinktitle % space }\LWR@orignewline% #2% @@ -10579,18 +10648,18 @@ end -- not --version \ifblank{#1}% {% \LWR@htmltag{img \LWR@indentHTML - src="#3.#4" \LWR@indentHTML - alt="#3" \LWR@indentHTML - style="#5" \LWR@indentHTML - class="#2" \LWR@orignewline + src=\textquotedbl#3.#4\textquotedbl \LWR@indentHTML + alt=\textquotedbl#3\textquotedbl \LWR@indentHTML + style=\textquotedbl#5\textquotedbl \LWR@indentHTML + class=\textquotedbl#2\textquotedbl \LWR@orignewline }% }% {% \LWR@htmltag{img \LWR@indentHTML - src="#3.#4" \LWR@indentHTML - alt="#1" \LWR@indentHTML - style="#5" \LWR@indentHTML - class="#2" \LWR@orignewline + src=\textquotedbl#3.#4\textquotedbl \LWR@indentHTML + alt=\textquotedbl#1\textquotedbl \LWR@indentHTML + style=\textquotedbl#5\textquotedbl \LWR@indentHTML + class=\textquotedbl#2\textquotedbl \LWR@orignewline }% }% } @@ -10613,8 +10682,10 @@ end -- not --version \begingroup% \LWR@print@raggedright% \LWR@htmltag{% - figure id="\LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}" % space - class="#1 \@nameuse{LWR@floatstyle@#1}"% + figure id=\textquotedbl% + \LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}% + \textquotedbl\ % space + class=\textquotedbl#1 \@nameuse{LWR@floatstyle@#1}\textquotedbl% }% \ifbool{FormatWP}{% \LWR@orignewline% @@ -10680,13 +10751,17 @@ end -- not --version \addtocounter{LWR@thisautoid}{1}% \ifbool{LWR@doingapar}% {% - \LWR@htmltag{a id="\LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}" }% - \LWR@htmltag{/a }% + \LWR@htmltag{a id=\textquotedbl% + \LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}% + \textquotedbl\ }% space + \LWR@htmltag{/a }% }% {% \LWR@stoppars% - \LWR@htmltag{a id="\LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}" }% - \LWR@htmltag{/a }% + \LWR@htmltag{a id=\textquotedbl% + \LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}% + \textquotedbl\ }% space + \LWR@htmltag{/a }% \LWR@startpars% }% } @@ -11448,7 +11523,7 @@ end -- not --version \let\enddisplaymath\LWR@orig@enddisplaymath% \LWR@restoreorigaccents% \LWR@restoreoriglists% - \LWR@FBcancel% + \LWR@hook@processingtags% \ifboolexpr{bool{mathjax} or ( bool{FormatWP} and bool{WPMarkMath} ) }% {\LWR@restoreMathJaxformatting}% {}% @@ -12463,8 +12538,10 @@ end -- not --version }% \LWR@traceinfo{lateximage: LWR@LIpage is \arabic{LWR@LIpage}}% \LWR@htmltag{span\LWR@indentHTML% - id="lateximage-\BaseJobname-\arabic{LWR@lateximagenumber}"\LWR@indentHTML - class="lateximagesource"\LWR@orignewline + id=\textquotedbl{}% + lateximage-\BaseJobname-\arabic{LWR@lateximagenumber}% + \textquotedbl\LWR@indentHTML + class=\textquotedbl{}lateximagesource\textquotedbl\LWR@orignewline }% \LWR@traceinfo{lateximage: about to write to \BaseJobname-images.txt}% \IfBooleanTF{#1}% starred @@ -12927,13 +13004,15 @@ end -- not --version \addtocounter{LWR@thisautoidWP}{1}% \LWR@htmltag{% - div id="\LWR@print@mbox{autoidWP-\arabic{LWR@thisautoidWP}}" % - class="wpminipage"% + div id=\textquotedbl% + \LWR@print@mbox{autoidWP-\arabic{LWR@thisautoidWP}}% + \textquotedbl\ % space + class=\textquotedbl{}wpminipage\textquotedbl% }% }{}% \LWR@traceinfo{minipage: creating div class}% -\LWR@htmltag{div class="minipage" style="% +\LWR@htmltag{div class=\textquotedbl{}minipage\textquotedbl\ style=\textquotedbl% \ifthenelse{\equal{#1}{t}}{\LWR@print@mbox{vertical-align:bottom} ; }{}% \ifthenelse{\equal{#1}{c}}{\LWR@print@mbox{vertical-align:middle} ; }{}% \ifthenelse{\equal{#1}{b}}{\LWR@print@mbox{vertical-align:top} ; }{}% @@ -12955,7 +13034,8 @@ end -- not --version }% \LWR@traceinfo{minipage: about to print the height}% \ifblank{#2}{}{height:\LWR@printlength{\LWR@minipageheight} ; }% -"}% +\textquotedbl% +}% \ifnumequal{\value{LWR@virtualpagedepth}}{1}{% \addtolength{\LWR@minipagewidth}{-3em}% undo frame padding @@ -13698,8 +13778,8 @@ color:\LWR@origpound\LWR@tempcolor% }% {% \LWR@htmltagc{% - span style="width:\LWR@printlength{\LWR@tempwidth}; % extra space - display:inline-block"% + span style=\textquotedbl{}width:\LWR@printlength{\LWR@tempwidth}; % extra space + display:inline-block\textquotedbl% }% \ifbool{FormatWP}{% \setlength{\LWR@templengthone}{\LWR@tempwidth}% @@ -13764,7 +13844,7 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@findcurrenttextcolor% \LWR@htmltagc{% span\LWR@indentHTML% - style="% + style=\textquotedbl% \ifbool{FormatWP}{}{background:\LWR@currenttextcolor ; }% width:\LWR@printlength{\LWR@tempwidth} ; % height:\LWR@printlength{\LWR@tempheight} ; % @@ -13781,7 +13861,7 @@ color:\LWR@origpound\LWR@tempcolor% transform: translate(0pt,\LWR@printlength{\LWR@tempraise}); % \LWR@indentHTML% }% - display:inline-block;"\LWR@orignewline% + display:inline-block;\textquotedbl\LWR@orignewline% }% \ifbool{FormatWP}{% \setlength{\LWR@templengthone}{\LWR@tempwidth}% @@ -14103,7 +14183,7 @@ color:\LWR@origpound\LWR@tempcolor% \typeout{Package lwarp:} \typeout{If the error} \typeout{\space\space``! Undefined control sequence. - \space ... \space \protect\@begindocumenthook''} + \space ... \space \protect\__hook begindocument''} \typeout{occurs here, use the polyglossia macro:} \typeout{\space\space\protect\setmainlanguage\protect{...\protect}} \typeout{---} @@ -14144,7 +14224,8 @@ color:\LWR@origpound\LWR@tempcolor% \ifblank{#2}{% \PackageWarningNoLine{lwarp} {% - Lwarp does not provide MathJax support for #1% + Lwarp does not provide MathJax support for #1.\MessageBreak + Use SVG math by removing the Lwarp mathjax option% } }{% \PackageWarningNoLine{lwarp} @@ -14164,15 +14245,21 @@ color:\LWR@origpound\LWR@tempcolor% afterward to resume using MathJax math.\MessageBreak Before display math, use \protect\displaymathother\MessageBreak to begin using SVG math, and use \protect\displaymathnormal\MessageBreak - after to resume using MathJax for the following math% + after to resume using MathJax for the following math.\MessageBreak + Or, use SVG math for all expressions by removing\MessageBreak + the mathjax option for the lwarp package% } \AtBeginDocument{ \ifbool{mathjax}{ + \LWR@nomathjaxwarn{aligned-overset}{} + \LWR@nomathjaxwarn{amscdx} + {\LWR@forceSVGmessage{amscdx}} \LWR@mathjaxwarn{arydshln} {In a math array, do not use the optional argument\MessageBreak for \protect\cdashline.\space\space Furthermore, \protect\cline\space is not\MessageBreak supported by MathJax} + \LWR@nomathjaxwarn{autoaligne}{} \LWR@mathjaxwarn{autonum} {MathJax does not support equation+.\MessageBreak You may use the warpprint and warpHTML\MessageBreak @@ -14180,6 +14267,7 @@ color:\LWR@origpound\LWR@tempcolor% and the equation+ environments} \LWR@mathjaxwarn{bigdelim} {Delimiters appear only of the first line} + \LWR@nomathjaxwarn{boldtensors}{} \LWR@mathjaxwarn{booktabs} {\protect\cmidrule\space is not displayed} \LWR@mathjaxwarn{breqn} @@ -14194,8 +14282,18 @@ color:\LWR@origpound\LWR@tempcolor% {\LWR@forceSVGmessage{gauss}} \LWR@mathjaxwarn{hhline} {A simple \protect\hline\space is used} + \LWR@mathjaxwarn{isomath} + {Some of the symbol font macros such as \protect\mathsfbfit\MessageBreak + do not use a sans font because MathJax does not yet\MessageBreak + have sans Greek. Tensors may look like vectors% + } \LWR@nomathjaxwarn{jkmath} {\LWR@forceSVGmessage{jkmath}} + \LWR@mathjaxwarn{libertinust1math} + {Some of the symbol font macros such as \protect\mathsfbfit\MessageBreak + do not use a sans font because MathJax does not yet\MessageBreak + have sans Greek. Tensors may look like vectors% + } \LWR@mathjaxwarn{mathtools} {See the Lwarp manual regarding the disallowspaces\MessageBreak and showonlyrefs options, the alignat environment,\MessageBreak @@ -14216,13 +14314,15 @@ color:\LWR@origpound\LWR@tempcolor% } \LWR@nomathjaxwarn{pb-diagram} {\LWR@forceSVGmessage{pb-diagram}} + \LWR@nomathjaxwarn{tensind}{} \LWR@mathjaxwarn{unicode-math} {Do not use embedded Unicode characters.\MessageBreak - Not all characters are encoded correctly.\MessageBreak - \protect\left\space and \protect\right\space may not work.\MessageBreak + (Not all characters are encoded correctly.)\MessageBreak Some symbol fonts are not supported by MathJax,\MessageBreak and are only approximated.\MessageBreak - Latin characters may not be correct} + Greek macros such as \protect\alpha\space respond to the math-style\MessageBreak + option. Latin symbols does not, per MathJax\MessageBreak + limitations, unless placed inside \protect\symbit\space or similar} \LWR@nomathjaxwarn{unitsdef}{} \LWR@mathjaxwarn{witharrows} {Arrows can only point to the next line.\MessageBreak |