diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
208 files changed, 9962 insertions, 2696 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-SIunits.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-SIunits.sty index ee4d5113514..7265a223b12 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-SIunits.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-SIunits.sty @@ -276,7 +276,7 @@ \CustomizeMathJax{\newcommand{\barn}{\mathrm{b}}} \CustomizeMathJax{\newcommand{\bbar}{\mathrm{bar}}} \CustomizeMathJax{\newcommand{\gal}{\mathrm{Gal}}} -\CustomizeMathJax{\newcommand{\angstrom}{\mathrm{\unicode{x00C5}}}} +\CustomizeMathJax{\newcommand{\angstrom}{\mathrm{\unicode{x212B}}}} \CustomizeMathJax{\newcommand{\rperminute}{\mathrm{r}\per\minute}} \CustomizeMathJax{\newcommand{\rpersecond}{\mathrm{r}\per\second}} \CustomizeMathJax{\newcommand{\squaremetre}{\power{\metre}{2}}} @@ -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-abstract.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty index 685ab3e4cd4..30f5a02459d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty @@ -32,32 +32,24 @@ \InlineClass{abstractrunintitle}{\abstractname}% \@bslabeldelim}% } - \@ifclassloaded{memoir} { \renewenvironment{abstract}{% - \null\vfil - \@beginparpenalty\@lowpenalty + \setup@bstract \if@bsrunin \else - \if@bsstyle - \abstitlestyle{\BlockClassSingle{abstracttitle}{\abstractname}} - \else \ifnumber@bs \num@bs \else \begin{\absnamepos}% \abstractnamefont \BlockClassSingle{abstracttitle}{\abstractname} - \@endparpenalty\@M \end\absnamepos% -%% \vspace{\abstitleskip}% + \vspace{\abstitleskip}% \fi - \fi - \vspace{\abstitleskip}% \fi \put@bsintoc% \begin{@bstr@ctlist}\if@bsrunin\@bsrunintitle\fi\abstracttextfont}% - {\par\end{@bstr@ctlist}\vfil\null%\endtitlepage + {\par\end{@bstr@ctlist}%\vfil\null%\endtitlepage } }{% not memoir \if@titlepage diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-accents.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-accents.sty new file mode 100644 index 00000000000..a5272d1477c --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-accents.sty @@ -0,0 +1,70 @@ +%% +%% This is file `lwarp-accents.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `accents') +%% 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{accents}[2006/05/12] +\begin{warpMathJax} +\LWR@infoprocessingmathjax{accents} + +\CustomizeMathJax{\newcommand{\ring}[1]{\mathring{#1}}} +\CustomizeMathJax{\newcommand{\accentset}[2]{\overset{#1{}}{#2}}} +\CustomizeMathJax{\let\LWRgrave\grave} +\CustomizeMathJax{\let\LWRacute\acute} +\CustomizeMathJax{\let\LWRcheck\check} +\CustomizeMathJax{\let\LWRbreve\breve} +\CustomizeMathJax{\let\LWRbar\bar} +\CustomizeMathJax{\let\LWRhat\hat} +\CustomizeMathJax{\let\LWRdot\dot} +\CustomizeMathJax{\let\LWRtilde\tilde} +\CustomizeMathJax{\let\LWRddot\ddot} +\CustomizeMathJax{\let\LWRvec\vec} +\CustomizeMathJax{\let\LWRwidetilde\widetilde} + +\CustomizeMathJax{\newcommand{\underaccent}[2]{% + {% + \renewcommand{\grave}[1]{{\LARGE\LWRgrave{##1}}}% + \renewcommand{\acute}[1]{{\LARGE\LWRacute{##1}}}% + \renewcommand{\check}[1]{{\LARGE\LWRcheck{##1}}}% + \renewcommand{\breve}[1]{{\LARGE\LWRbreve{##1}}}% + \renewcommand{\bar}[1]{{\LARGE\LWRbar{##1}}}% + \renewcommand{\hat}[1]{{\LARGE\LWRhat{##1}}}% + \renewcommand{\dot}[1]{{\LARGE\LWRdot{##1}}}% + \renewcommand{\tilde}[1]{{\LARGE\LWRtilde{##1}}}% + \renewcommand{\ddot}[1]{{\LARGE\LWRddot{##1}}}% + \renewcommand{\vec}[1]{{\LARGE\LWRvec{##1}}}% + \renewcommand{\widetilde}[1]{{\LARGE\LWRwidetilde{\hphantom{#2}}}}% + \underset{\raise 2pt {#1{}}}{#2}% + \let\grave\LWRgrave% + \let\acute\LWRacute% + \let\check\LWRcheck% + \let\breve\LWRbreve% + \let\bar\LWRbar% + \let\hat\LWRhat% + \let\dot\LWRdot% + \let\tilde\LWRtilde% + \let\ddot\LWRddot% + \let\vec\LWRvec% + \let\widetilde\LWRwidetilde% + }% +}} + +\CustomizeMathJax{\newcommand{\undertilde}[1]{% + \underset{\raise 3pt {\widetilde{\hphantom{#1}}}}{#1}% +}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-accents.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-accessibility.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-accessibility.sty index 76951ad50c9..d9980ecca8c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-accessibility.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-accessibility.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{accessibility}[2019/10/14] \newcommand{\alt}[1]{\ThisAltText{#1}} -\newcommand{\newhref}[3]{\ThisAltText{#2}\href{#1}{#3}}% +\newcommand{\newhref}[3]{\ThisAltText{#2}\LWR@href{#1}{#3}}% \providecommand{\thead}[1]{\textbf{#1}} \begin{warpMathJax} \CustomizeMathJax{\newcommand{\alt}[1]{}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty index 94601e73281..0763785c648 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty @@ -30,8 +30,14 @@ \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 +{% before v3 \@ifpackagelater{acro}{2019/09/23}% {% v2.10 or later \cs_gset_protected:Npn \__acro_typeset:nn #1#2 @@ -128,6 +134,7 @@ \group_end: } }% before v2.10 +}% before v3 \ExplSyntaxOff \endinput diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-adjmulticol.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-adjmulticol.sty index 7ad03060b8a..e7c3421794d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-adjmulticol.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-adjmulticol.sty @@ -28,8 +28,8 @@ \ifnumcomp{#2}{=}{1}{\renewcommand*{\LWR@mcolstype}{singlecolumn}}{}% \LWR@forcenewpage% \BlockClass[% -\LWR@print@mbox{margin-left:\LWR@printlength{\LWR@templengthone}} ; % -\LWR@print@mbox{margin-right:\LWR@printlength{\LWR@templengthtwo}}% + \LWR@print@mbox{margin-left:\LWR@printlength{\LWR@templengthone}} ; % + \LWR@print@mbox{margin-right:\LWR@printlength{\LWR@templengthtwo}}% ]{\LWR@mcolstype}% } {\endBlockClass} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty index 160711168be..43e677ce700 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty @@ -17,8 +17,6 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{afterpage}[2014/10/28] \newcommand{\afterpage}[1]{#1} -\LWR@ProvidesPackageDrop{afterpage}[2014/10/28] -\newcommand{\afterpage}[1]{#1} \endinput %% %% End of file `lwarp-afterpage.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty index aa763d1d474..740665cc7a8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithm2e.sty @@ -127,31 +127,31 @@ \renewcommand{\ResetInOut}[1]{}% \renewcommand{\algocf@Vline}[1]{% -\boolfalse{LWR@algocf@dopars}% -\begin{BlockClass}{alg2evline} -\booltrue{LWR@algocf@dopars}% -#1 -\boolfalse{LWR@algocf@dopars}% -\end{BlockClass} -\booltrue{LWR@algocf@dopars}% + \boolfalse{LWR@algocf@dopars}% + \begin{BlockClass}{alg2evline} + \booltrue{LWR@algocf@dopars}% + #1 + \boolfalse{LWR@algocf@dopars}% + \end{BlockClass} + \booltrue{LWR@algocf@dopars}% } \renewcommand{\algocf@Vsline}[1]{% -\boolfalse{LWR@algocf@dopars}% -\begin{BlockClass}{alg2evsline} -\booltrue{LWR@algocf@dopars}% -#1 -\boolfalse{LWR@algocf@dopars}% -\end{BlockClass} -\booltrue{LWR@algocf@dopars}% + \boolfalse{LWR@algocf@dopars}% + \begin{BlockClass}{alg2evsline} + \booltrue{LWR@algocf@dopars}% + #1 + \boolfalse{LWR@algocf@dopars}% + \end{BlockClass} + \booltrue{LWR@algocf@dopars}% } \renewcommand{\algocf@Noline}[1]{% -\boolfalse{LWR@algocf@dopars}% -\begin{BlockClass}{alg2enoline} -\booltrue{LWR@algocf@dopars}% -#1 -\boolfalse{LWR@algocf@dopars}% -\end{BlockClass} -\booltrue{LWR@algocf@dopars}% + \boolfalse{LWR@algocf@dopars}% + \begin{BlockClass}{alg2enoline} + \booltrue{LWR@algocf@dopars}% + #1 + \boolfalse{LWR@algocf@dopars}% + \end{BlockClass} + \booltrue{LWR@algocf@dopars}% } \LetLtxMacro\algocf@Here\algocf \LetLtxMacro\endalgocf@Here\endalgocf diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty index a9c5291dc4d..035f4ab17f9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty @@ -16,14 +16,14 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{algorithmicx}[2005/04/27] -\begin{warpHTML} - \AtBeginEnvironment{algorithmic}{% \let\origALG@doentity\ALG@doentity% \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}% @@ -46,8 +46,6 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"% \hfill\HTMLunicode{25B7} #1% white right triangle }% -\end{warpHTML} - \endinput %% %% End of file `lwarp-algorithmicx.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty index 3c51b816d43..e1ebe5b93fb 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty @@ -18,13 +18,24 @@ \LWR@ProvidesPackagePass{alltt}[1997/06/16] \AfterEndPreamble{ \LWR@traceinfo{Patching alltt.} + \AtBeginEnvironment{alltt}{% -\LWR@forcenewpage -\LWR@atbeginverbatim{3}{alltt}% + \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% + {}% + {% + \LWR@forcenewpage + \LWR@atbeginverbatim{alltt}% + }% } + \AfterEndEnvironment{alltt}{% - \LWR@afterendverbatim{2}% + \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% + {}% + {% + \LWR@afterendverbatim% + }% } + } \endinput %% 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 6623857b95a..71cc4b5c2a2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty @@ -16,6 +16,8 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{amsmath}[2017/09/02] +\newcommand*{\LWR@HTML@dotso}{\textellipsis\ } +\LWR@formatted{dotso} \def\maketag@@@#1{\text{#1}} \def\tagform@#1{\maketag@@@{(\ignorespaces#1\unskip)}} @@ -45,7 +47,7 @@ } \LWR@newautoidanchor% \booltrue{LWR@indisplaymathimage}% - \begin{lateximage}[\LWR@amsmathbodynumbered{#1}]* + \begin{lateximage}[\LWR@amsmathbodynumbered{#2}]*% \LWR@applyxfakebold% } \NewDocumentCommand{\LWR@amsmathenv@before}{s m}{% @@ -125,8 +127,23 @@ \BeforeBeginEnvironment{alignat*}{\LWR@amsmathenv@before*{alignat*}} \AfterEndEnvironment{alignat*}{\LWR@amsmathenv@after*{alignat*}} +\AtBeginEnvironment{subequations}{ + \renewcommand*{\theMathJaxsubequations}{1} + \renewcommand*{\theMathJaxsection}{\theparentequation} + \renewcommand*{\theMathJaxequation}{\arabic{equation}} +} \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-amsthm.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty index c562cac1480..b568a300ebc 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty @@ -19,17 +19,20 @@ \@ifpackageloaded{mdframed}{ \PackageError{lwarp} - {Package mdframed must be loaded after package amsthm} {% - Move \detokenize{\usepackage}{amsthm} before - \detokenize{\usepackage}{mdframed}.\MessageBreak + Package mdframed must be loaded after package amsthm.\MessageBreak + Enter 'H' for solutions% + } + {% + Move ``\protect\usepackage{amsthm}'' before + ``\protect\usepackage{mdframed}''.\MessageBreak Package amsthm may be loaded by something else,\MessageBreak which must also be moved before mdframed.% } } -{} +{\relax} +\RequirePackage{amsmath} \LWR@ProvidesPackagePass{amsthm}[2017/10/31] - \newcommand{\LWR@newtheoremstyle}{plain} \renewcommand{\theoremstyle}[1]{% @@ -56,31 +59,41 @@ \else % numbered theorem, need to check for optional arg \def\@tempa{\@oparg{\@ynthm{#2}}[]}% \fi - \AtBeginEnvironment{#2}{\edef\LWR@thisthmstyle{\@nameuse{LWR@thmstyle#2}}}% lwarp + \AtBeginEnvironment{#2}{% + \edef\LWR@thisthmstyle{\@nameuse{LWR@thmstyle#2}}% + }% lwarp }% \@tempa } \newcommand{\LWR@haveamsthmname}{ -\renewcommand{\thmname}[1]{\InlineClass{amsthmname\LWR@thisthmstyle}{##1}} + \renewcommand{\thmname}[1]{% + \InlineClass{amsthmname\LWR@thisthmstyle}{##1}% + } } \newcommand{\LWR@haveamsthmnumber}{ -\renewcommand{\thmnumber}[1]{\InlineClass{amsthmnumber\LWR@thisthmstyle}{##1}} + \renewcommand{\thmnumber}[1]{% + \InlineClass{amsthmnumber\LWR@thisthmstyle}{##1}% + } } \newcommand{\LWR@haveamsthmnote}{ -\renewcommand{\thmnote}[1]{\InlineClass{amsthmnote\LWR@thisthmstyle}{##1}} + \renewcommand{\thmnote}[1]{% + \InlineClass{amsthmnote\LWR@thisthmstyle}{##1}% + } } \LWR@haveamsthmname \LWR@haveamsthmnumber \LWR@haveamsthmnote \def\@begintheorem#1#2[#3]{% + \GetTitleString{#3}% lwarp + \let\@currentlabelname\GetTitleStringResult% lwarp \item[ - \@ifempty{#1}{\let\thmname\@gobble}{\LWR@haveamsthmname}% lwarp - \@ifempty{#2}{\let\thmnumber\@gobble}{\LWR@haveamsthmnumber}% lwarp - \@ifempty{#3}{\let\thmnote\@gobble}{\LWR@haveamsthmnote}% lwarp + \@ifempty{#1}{\let\thmname\@gobble}{\LWR@haveamsthmname}% lwarp + \@ifempty{#2}{\let\thmnumber\@gobble}{\LWR@haveamsthmnumber}% lwarp + \@ifempty{#3}{\let\thmnote\@gobble}{\LWR@haveamsthmnote}% lwarp \thm@swap\swappedhead\thmhead{#1}{#2}{#3}% \the\thm@headpunct~ \thmheadnl % possibly a newline. @@ -90,8 +103,8 @@ \def\@thm#1#2#3{% \ifhmode\unskip\unskip\par\fi \normalfont - \LWR@forcenewpage% lwarp - \BlockClass{amsthmbody\LWR@thisthmstyle}% lwarp + \LWR@forcenewpage% lwarp + \BlockClass{amsthmbody\LWR@thisthmstyle}% lwarp \trivlist \let\thmheadnl\relax \let\thm@swap\@gobble @@ -114,8 +127,8 @@ \def\cref@thmoptarg[#1]#2#3#4{% \ifhmode\unskip\unskip\par\fi% \normalfont% - \LWR@forcenewpage% lwarp - \BlockClass{amsthmbody\LWR@thisthmstyle}% lwarp + \LWR@forcenewpage% lwarp + \BlockClass{amsthmbody\LWR@thisthmstyle}% lwarp \trivlist% \let\thmheadnl\relax% \let\thm@swap\@gobble% @@ -148,9 +161,9 @@ \def\Box{\text{\HTMLunicode{25A1}}}% UTF-8 white box \appto\LWR@restoreorigformatting{% -\LetLtxMacro\openbox\LWR@orig@openbox% -\LetLtxMacro\blacksquare\LWR@orig@blacksquare% -\LetLtxMacro\Box\LWR@orig@Box% + \LetLtxMacro\openbox\LWR@orig@openbox% + \LetLtxMacro\blacksquare\LWR@orig@blacksquare% + \LetLtxMacro\Box\LWR@orig@Box% }% appto }{}% @ifundefined }% AtBeginDocument diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-atbegshi.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-atbegshi.sty index 0eb19c57b9a..d1dbee868d6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-atbegshi.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-atbegshi.sty @@ -16,6 +16,17 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{atbegshi}[2011/10/05] +\let\AtBeginShipout\relax +\let\AtBeginShipoutNext\relax +\let\AtBeginShipoutFirst\relax +\let\AtBeginShipoutDiscard\relax +\let\AtBeginShipoutInit\relax +\let\AtBeginShipoutAddToBox\relax +\let\AtBeginShipoutAddToBoxForeground\relax +\let\AtBeginShipoutUpperLeft\relax +\let\AtBeginShipoutUpperLeftForeground\relax +\let\AtBeginShipoutOriginalShipout\relax + \newcommand*{\AtBeginShipout}[1]{} \newbox\AtBeginShipoutBox \newcommand*{\AtBeginShipoutNext}[1]{} @@ -30,7 +41,6 @@ \def\AtBeginShipoutBoxWidth{0pt} \def\AtBeginShipoutBoxHeight{0pt} \def\AtBeginShipoutBoxDepth{0pt} - \endinput %% %% End of file `lwarp-atbegshi.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-attachfile.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-attachfile.sty index 13bcc5acda7..0bec5485f54 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-attachfile.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-attachfile.sty @@ -47,7 +47,7 @@ \def\LWR@attachfile@appearance{#1}% } \DeclareRobustCommand{\atfi@insert@file@annot}[1]{% - \href{#1}{\LWR@attachfile@appearance}% + \LWR@href{#1}{\LWR@attachfile@appearance}% } \endinput diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-attachfile2.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-attachfile2.sty index 80e900391eb..152151dc8a5 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-attachfile2.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-attachfile2.sty @@ -59,7 +59,7 @@ \def\LWR@attachfile@appearance{#1}% } \DeclareRobustCommand{\atfi@insert@file@annot}[1]{% - \href{#1}{\LWR@attachfile@appearance}% + \LWR@href{#1}{\LWR@attachfile@appearance}% } \DeclareRobustCommand{\notextattachfile}[2][]{% \begingroup diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty index f8bd7ae224d..67fc8067a9b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty @@ -16,11 +16,14 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \@ifpackageloaded{titling}{ -\PackageError{lwarp-authblk} -{Package authblk must be loaded before titling} -{Titling appends authblk's author macro, so authblk must be loaded first.} + \PackageError{lwarp-authblk} + {Package authblk must be loaded before titling} + {% + Titling appends authblk's author macro, + so authblk must be loaded first.% + } } -{} +{\relax} \LWR@ProvidesPackagePass{authblk}[2001/02/27] \LetLtxMacro\LWRAB@affil\affil diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-backnaur.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-backnaur.sty index 8f0ce9482ac..a9e0e08eb9d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-backnaur.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-backnaur.sty @@ -18,6 +18,38 @@ \LWR@ProvidesPackagePass{backnaur}[2019/06/18] \renewenvironment{bnf}{\eqnarray}{\endeqnarray} \renewenvironment{bnf*}{\csuse{eqnarray*}}{\csuse{endeqnarray*}} +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\bnfpn}[1]{\langle \text{\textrm{#1}} \rangle}} +\CustomizeMathJax{\newcommand{\bnfor}{\; \mid \;}} +\CustomizeMathJax{\newcommand{\bnfsp}{\;}} +\@ifpackagewith{backnaur}{perp}{ + \CustomizeMathJax{\newcommand{\bnfes}{\perp}} +}{ + \@ifpackagewith{backnaur}{epsilon}{ + \CustomizeMathJax{\newcommand{\bnfes}{\epsilon}} + }{ + \CustomizeMathJax{\newcommand{\bnfes}{\lambda}} + } +} +\@ifpackagewith{backnaur}{tsrm}{ + \CustomizeMathJax{\newcommand{\bnfts}[1]{\text{#1}}} +}{ + \CustomizeMathJax{\newcommand{\bnfts}[1]{\text{\texttt{#1}}}} +} +\CustomizeMathJax{\newcommand{\bnftd}[1]{\text{\textit{#1}}}} +\CustomizeMathJax{\newcommand{\bnfsk}{\dots}} +\@ifpackagewith{backnaur}{altpo}{ + \CustomizeMathJax{\newcommand{\bnfpo}{::=}} +}{ + \CustomizeMathJax{\newcommand{\bnfpo}{\models}} +} +\CustomizeMathJax{\newcommand{\bnfprod}{\ifstar{\LWRbnfprodnn}{\LWRbnfprodyn}}} +\CustomizeMathJax{\newcommand{\LWRbnfprodyn}[2]{\bnfpn{#1} & \bnfpo & #2}} +\CustomizeMathJax{\newcommand{\LWRbnfprodnn}[2]{\nonumber \bnfpn{#1} & \bnfpo & #2}} +\CustomizeMathJax{\newcommand{\bnfmore}{\ifstar{\LWRbnfmorenn}{\LWRbnfmoreyn}}} +\CustomizeMathJax{\newcommand{\LWRbnfmoreyn}[1]{ & & #1}} +\CustomizeMathJax{\newcommand{\LWRbnfmorenn}[1]{\nonumber & & #1}} +\end{warpMathJax} \endinput %% %% End of file `lwarp-backnaur.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-backref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-backref.sty index 3fd5af426a9..5bdeea8bf83 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-backref.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-backref.sty @@ -18,7 +18,13 @@ \LWR@ProvidesPackagePass{backref}[2016/05/21] -\def\backref{}\let\backrefxxx\hyper@section@backref +\def\backref{} + +\long\def\hyper@section@backref#1#2#3{% + \ref{#3}% +} + +\let\backrefxxx\hyper@section@backref \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty index 0472693e549..760358810f1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty @@ -18,6 +18,8 @@ \ifdef{\newfloat@addtocontents@ORI}{ \let\addtocontents\newfloat@addtocontents@ORI }{} +\AtBeginDocument{\RequirePackage{hyperref}} + \LWR@ProvidesPackagePass{biblatex}[2018/03/04] \AfterPreamble{ @@ -27,6 +29,7 @@ {} {\listxadd\blx@anchors{\the\c@refsection @\abx@field@entrykey}% \hypertarget{cite.\the\c@refsection @\abx@field@entrykey}{}}} + \protected\def\blx@imc@bibhyperref{% \@ifnextchar[%] {\blx@bibhyperref} @@ -51,7 +54,115 @@ } \let\blx@imc@ifhyperref\@firstoftwo -} +\DeclareListFormat{pageref}{% + \ifnumless{\abx@pagerefstyle}{0} + {\usebibmacro{list:plain}% + \ifhyperref + {% + \ref{\BaseJobname-autopage-#1}% lwarp + } + {#1}} + {\ifnumequal{\value{listcount}}{1} + {\usebibmacro{pageref:init}} + {}% + \usebibmacro{pageref:comp}{#1}% + \ifnumequal{\value{listcount}}{\value{liststop}} + {\usebibmacro{pageref:dump}} + {}}} + +\renewbibmacro*{pageref:comp}[1]{% + \numdef\abx@range@prev{\abx@range@prev+1}% + \ifinteger{#1} + {\def\abx@range@num{#1}% + \def\abx@range@this{1}% + \ifnumequal{\abx@range@this}{\abx@range@last} + {} + {\def\abx@range@prev{-1}}} + {\ifrmnum{#1} + {\numdef\abx@range@num{\rmntonum{#1}}% + \def\abx@range@this{2}% + \ifnumequal{\abx@range@this}{\abx@range@last} + {} + {\def\abx@range@prev{-1}}} + {\undef\abx@range@num + \def\abx@range@this{0}% + \def\abx@range@prev{-1}}}% + \ifdef\abx@range@num + {\ifnumequal{\abx@range@num}{\abx@range@prev} + {\def\abx@range@hold{#1}% + \numdef\abx@range@diff{\abx@range@diff+1}} + {\usebibmacro{pageref:dump}% + \ifnumgreater{\abx@range@last}{-1} + {\printdelim{multilistdelim}} + {}% + \ifhyperref + {\ref{\BaseJobname-autopage-#1}}% lwarp + {#1}}% + \edef\abx@range@prev{\abx@range@num}} + {\usebibmacro{pageref:dump}% + \ifnumgreater{\abx@range@last}{-1} + {\printdelim{multilistdelim}} + {}% + \ifhyperref + {\ref{\BaseJobname-autopage-#1}}% lwarp + {#1}% + \def\abx@range@prev{-1}}% + \edef\abx@range@last{\abx@range@this}} + +\renewbibmacro*{pageref:dump}{% + \ifnumgreater{\abx@range@diff}{0} + {\ifcase\abx@pagerefstyle\relax % two + \bibrangedash + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\abx@range@hold}% + \or % three + \ifnumless{\abx@range@diff}{2} + {\printdelim{multilistdelim}} + {\bibrangedash}% + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\abx@range@hold}% + \or % two+ + \ifnumless{\abx@range@diff}{2} + {\sqspace + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\bibstring{sequens}}} + {\bibrangedash + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\abx@range@hold}}% + \or % three+ + \ifnumless{\abx@range@diff}{2} + {\sqspace + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\bibstring{sequens}}} + {\ifnumless{\abx@range@diff}{3} + {\sqspace + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\bibstring{sequentes}}} + {\bibrangedash + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\abx@range@hold}}}% + \else % all+ + \ifnumless{\abx@range@diff}{2} + {\sqspace + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\bibstring{sequens}}} + {\sqspace + \ifhyperref + {\ref{\BaseJobname-autopage-\abx@range@hold}}% lwarp + {\bibstring{sequentes}}}% + \fi + \def\abx@range@diff{0}} + {}} + +}% \AfterPreamble \endinput %% %% End of file `lwarp-biblatex.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty index b22874d1f3e..ded005a30b8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty @@ -88,7 +88,11 @@ \CustomizeMathJax{\newcommand{\toprule}[1][]{\hline}} \CustomizeMathJax{\let\midrule\toprule} \CustomizeMathJax{\let\bottomrule\toprule} -\CustomizeMathJax{\newcommand{\cmidrule}[2][]{}}% avoid (trim) +\CustomizeMathJax{\def\LWRbooktabscmidruleparen(#1)#2{}} +\CustomizeMathJax{\newcommand{\LWRbooktabscmidrulenoparen}[1]{}} +\CustomizeMathJax{\newcommand{\cmidrule}[1][]{% + \ifnextchar(\LWRbooktabscmidruleparen\LWRbooktabscmidrulenoparen% +}} \CustomizeMathJax{\newcommand{\morecmidrules}{}} \CustomizeMathJax{\newcommand{\specialrule}[3]{\hline}} \CustomizeMathJax{\newcommand{\addlinespace}[1][]{}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage.sty new file mode 100644 index 00000000000..0c025d229d9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage.sty @@ -0,0 +1,36 @@ +%% +%% This is file `lwarp-boxedminipage.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `boxedminipage') +%% 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{boxedminipage}[2020/04/19] + +\newenvironment{LWR@HTML@boxedminipage}{% + \LWR@stoppars% + \begin{BlockClass}{framebox}% + \minipage% +} +{% + \endminipage% + \end{BlockClass}% + \LWR@startpars% +} +\LWR@formattedenv{boxedminipage} + +\endinput +%% +%% End of file `lwarp-boxedminipage.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty index 3e9c5f3522b..42790dda96c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty @@ -17,19 +17,7 @@ %% version 2005/12/01 or later. -\LWR@ProvidesPackagePass{boxedminipage2e}[2015/03/09] - -\newenvironment{LWR@HTML@boxedminipage}{% - \LWR@stoppars% - \begin{BlockClass}{framebox}% - \minipage% -} -{% - \endminipage% - \end{BlockClass}% - \LWR@startpars% -} -\LWR@formattedenv{boxedminipage} +\LWR@ProvidesPackagePass{boxedminipage2e} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-braket.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-braket.sty index 59090f8472a..f6e156cd989 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-braket.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-braket.sty @@ -17,14 +17,7 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{braket}% No date is provided by the file. \begin{warpMathJax} -\CustomizeMathJax{\newcommand{\bra}[1]{\langle#1\vert}} -\CustomizeMathJax{\newcommand{\Bra}[1]{\left\langle#1\right\vert}} -\CustomizeMathJax{\newcommand{\ket}[1]{\vert#1\rangle}} -\CustomizeMathJax{\newcommand{\Ket}[1]{\left\vert#1\right\rangle}} -\CustomizeMathJax{\newcommand{\braket}[1]{\langle#1\rangle}} -\CustomizeMathJax{\newcommand{\Braket}[1]{\left\langle#1\right\rangle}} -\CustomizeMathJax{\newcommand{\set}[1]{\{#1\}}} -\CustomizeMathJax{\newcommand{\Set}[1]{\left\{#1\right\}}} + \CustomizeMathJax{\require{braket}} \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty index 5aa16b0d7d1..51c4d193963 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty @@ -16,7 +16,7 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{breakurl}[2013/04/10] -\LetLtxMacro\burl\url +\LetLtxMacro\burl\LWR@url \NewDocumentCommand{\LWR@burlaltb}{O{} +m m}{% \LWR@ensuredoingapar% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-bussproofs.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-bussproofs.sty new file mode 100644 index 00000000000..55db76e34ce --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-bussproofs.sty @@ -0,0 +1,34 @@ +%% +%% This is file `lwarp-bussproofs.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `bussproofs') +%% 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{bussproofs}% no date in file +\ifbool{mathjax}{ + \CustomizeMathJax{\require{bussproofs}} + + \NewEnviron{LWR@HTML@prooftree}% + {\LWR@doequation{\BODY}{prooftree}}% + [\LWR@doendequation{prooftree}] + \LWR@formattedenv{prooftree} +}{% SVG HTML + \BeforeBeginEnvironment{prooftree}{% + \begin{lateximage}[-bussproofs-~\PackageDiagramAltText]% + } + \AfterEndEnvironment{prooftree}{\end{lateximage}} +} +\endinput +%% +%% End of file `lwarp-bussproofs.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty index 3d0deb23826..27617226181 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty @@ -45,6 +45,11 @@ \LetLtxMacro\bcancel\cancel \LetLtxMacro\xcancel\cancel +\begin{warpMathJax} +\PackageWarningNoLine{lwarp, cancel}{The MathJax v3 extension will be used} +\CustomizeMathJax{\require{cancel}} +\end{warpMathJax} + \endinput %% %% End of file `lwarp-cancel.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty index 2d4637fcf9c..9b6059c84b6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty @@ -19,117 +19,70 @@ \typeout{---} \typeout{Packages lwarp and caption:} \typeout{If a ``Missing \protect\begin\protect{document\protect}'' error occurs here,} -\typeout{try using: \space \protect\usepackage\protect{caption\protect}\space\protect\captionsetup{options}} +\typeout{try using: \space \protect\usepackage\protect{caption\protect}\space% + \protect\captionsetup{options}} \typeout{instead of: \protect\usepackage[options]\protect{caption\protect}.} \typeout{---} -\LWR@ProvidesPackagePass{caption}[2019/09/01] - -\renewcommand\caption@ibox[3]{% - \@testopt{\caption@iibox{#1}{#2}{#3}}{% - \linewidth% lwarp - }% +\LWR@ProvidesPackagePass{caption}[2020/10/26] +\long\def\caption@iibox@#1#2#3#4{% + \caption@iiibox{#1}{#2}{#3}% + []% lwarp + [\captionbox@hj@default]% + {{#4}}% lwarp } -\long\def\caption@iibox#1#2#3[#4]{% - \@testopt{\caption@iiibox{#1}{#2}{#3}{#4}}\captionbox@hj@default -} -\long\def\caption@iiibox#1#2#3#4[#5]#6{% +\long\def\caption@iiiibox#1#2#3#4#5[#6][#7]#8{% \begingroup #1*% set \caption@position \caption@iftop{% - \LWR@traceinfo{caption@iiibox top}% \endgroup - \parbox[t]{#4}{% + \minipagefullwidth% lwarp + \parbox[t]{\linewidth}{% #1\relax \caption@setposition t% - {\caption#2{#3}}% lwarp - #6% lwarp + {\caption#4{#5}}% + #8% }% }{% - \LWR@traceinfo{caption@iiibox bottom}% \endgroup - \parbox[b]{#4}{% + \minipagefullwidth% lwarp + \parbox[b]{\linewidth}{% lwarp #1\relax \caption@setposition b% - #6% lwarp - {\caption#2{#3}}% lwarp - }% + #8% + {\caption#4{#5}}% + }% }% -\LWR@traceinfo{caption@iiibox: done}% } - -\long\def\caption@@caption#1[#2]#3{% - \ifcaption@star - \else - \caption@prepareanchor{#1}{#2}% - \memcaptioninfo{#1}{\csname the#1\endcsname}{#2}{#3}% - \@nameuse{nag@hascaptiontrue}% - \fi - \par - \caption@beginex{#1}{#2}{#3}% - \caption@setfloatcapt{% - \caption@boxrestore - \if@minipage - \@setminipage - \fi - \caption@normalsize - \ifcaption@star - \let\caption@makeanchor\@firstofone - #3% lwarp - \else% lwarp - \@makecaption{\csname fnum@#1\endcsname}% - {\ignorespaces\caption@makeanchor{#3}}% - \fi% lwarp - \caption@if@minipage\@minipagetrue\@minipagefalse}% - \caption@end% +\long\def\caption@makecaption#1#2{% + \caption@@make{#1}{#2}% } -\renewcommand\caption@@@make[2]{% -\LWR@traceinfo{caption@@@make}% - \caption@ifempty{#2}{% - \let\caption@lsep\@empty - \let\caption@tfmt\@firstofone - }% - \caption@applyfont - {\ifcaption@star\else - \begingroup - \captionlabelfont - #1% - \endgroup - \fi}% - {\ifcaption@star\else - \begingroup - \caption@iflf\captionlabelfont - \relax - \caption@lsep - \endgroup - \fi}% - {{% - \captiontextfont - \caption@tfmt{#2}% - }}% -\LWR@traceinfo{caption@@@make done}% +\AtBeginDocument{ + \let\@makecaption\caption@makecaption } -\renewcommand{\caption@@make@}[2]{% - \caption@stepthecounter - \caption@beginhook - \caption@@@make{#1}{#2}% - \caption@endhook -} +\AtBeginDocument{ +\xapptocmd{\@xfloat} + {\LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment} + {} + {\LWR@patcherror{caption}{@xfloat}} -\long\def\caption@makecaption#1#2{% - \caption@@make{#1}{#2}% +\xapptocmd{\@xdblfloat} + {\LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment} + {} + {\LWR@patcherror{caption}{@xdblfloat}} } -\DeclareCaptionBox{parbox}{% -#2% -} -\DeclareCaptionBox{colorbox}{% -#2% +\caption@AtBeginDocument{ +\@ifpackageloaded{lwarp-scrextend}{ + \LetLtxMacro\captionbelow\caption + \LetLtxMacro\captionabove\caption + \LetLtxMacro\captionofbelow\captionof + \LetLtxMacro\captionofabove\captionof +}{} } - \endinput %% %% End of file `lwarp-caption.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-caption3.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-caption3.sty new file mode 100644 index 00000000000..57bbd7dc5e6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-caption3.sty @@ -0,0 +1,97 @@ +%% +%% This is file `lwarp-caption3.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `caption3') +%% 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{caption3}[2020/10/21] +\@ifpackagelater{caption3}{2020/08/23}{ +\renewcommand\caption@@@make[2]{% +\LWR@traceinfo{caption@@@make}% + \LWR@stoppars% lwarp + \caption@ifempty{#2}{% + \caption@set{labelseparator}{none}% + \caption@set{textformat}{simple}% + }% + \caption@labelseparator % defines \caption@iflabelfont, + \caption@applyfont + {\ifcaption@star\else + \begingroup + \captionlabelfont + \LWR@isolate{#1}% lwarp + \endgroup + \fi}% + {\ifcaption@star\else + \begingroup + \caption@iflabelfont\captionlabelfont + \relax\caption@labelsep + \endgroup + \fi}% + {{\captiontextfont + \let\\\newline% lwarp + \caption@textstart + \LWR@isolate{\caption@textformat{#2}}% lwarp + \caption@textend}}% + \LWR@startpars% lwarp +\LWR@traceinfo{caption@@@make done}% +} +}% later than 2020/08/23 +{% earlier than 2020/08/23 +\renewcommand\caption@@@make[2]{% +\LWR@traceinfo{caption@@@make}% + \LWR@stoppars% lwarp + \caption@ifempty{#2}{% + \let\caption@lsep\@empty + \let\caption@tfmt\@firstofone + }% + \caption@applyfont + {\ifcaption@star\else + \begingroup + \captionlabelfont + \LWR@isolate{#1}% lwarp + \endgroup + \fi}% + {\ifcaption@star\else + \begingroup + \caption@iflf\captionlabelfont + \relax + \caption@lsep + \endgroup + \fi}% + {{% + \captiontextfont + \let\\\newline% lwarp + \LWR@isolate{\caption@tfmt{#2}}% lwarp + }}% + \LWR@startpars% lwarp +\LWR@traceinfo{caption@@@make done}% +} +}% earlier than 2020/08/23 +\renewcommand{\caption@@make@}[2]{% + \caption@stepthecounter% + \caption@beginhook% + \caption@@@make{#1}{#2}% + \caption@endhook% +} +\DeclareCaptionBox{none}{#2} +\DeclareCaptionBox{parbox}{% + #2% +} +\DeclareCaptionBox{colorbox}{% + #2% +} +\endinput +%% +%% End of file `lwarp-caption3.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-centernot.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-centernot.sty index 4faebbf0580..c595d961d20 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-centernot.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-centernot.sty @@ -16,8 +16,12 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{centernot}[2016/05/16] +\LWR@origRequirePackage{lwarp-common-mathjax-overlaysymbols} + \begin{warpMathJax} -\CustomizeMathJax{\newcommand{\centernot}[1]{\not{\!#1\,}}} +\CustomizeMathJax{\newcommand{\centernot}[1]{% + \LWRoverlaysymbols{\unicode{x2215}}{#1} +}} \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-chemgreek.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemgreek.sty index e70c3474836..36656de3c16 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemgreek.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemgreek.sty @@ -16,7 +16,7 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -\LWR@ProvidesPackagePass{chemgreek}[2016/02/10] +\LWR@ProvidesPackagePass{chemgreek}[2020/01/16] \ExplSyntaxOn diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-citeref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-citeref.sty new file mode 100644 index 00000000000..1487f48a0e0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-citeref.sty @@ -0,0 +1,35 @@ +%% +%% This is file `lwarp-citeref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `citeref') +%% 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{citeref}[1999/27/05] +\def\@cprwrite#1={\write\@auxout{\string\citepageref{#1}{\theLWR@currentautosec}}} + +\def\citepageref#1#2{% + \xdef\cpr@testa{\@nameuse{cpr@last@#1}}%letzte Zitatstelle + \xdef\cpr@testb{#2}% Seite dieser Zitatstelle + \ifx\cpr@testa\cpr@testb% + \relax% Konsekutive identische Seitenangaben weglassen + \else% + \@namexdef{cpr@last@#1}{#2}% + \@ifundefined{cpr@#1}% + {\@namexdef{cpr@#1}{\ref{\BaseJobname-autopage-#2}}}% lwarp + {\@namexdef{cpr@#1}{\@nameuse{cpr@#1}, \ref{\BaseJobname-autopage-#2}}}% lwarp + \fi + } +\endinput +%% +%% End of file `lwarp-citeref.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-cleveref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-cleveref.sty new file mode 100644 index 00000000000..4bab8b37616 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-cleveref.sty @@ -0,0 +1,132 @@ +%% +%% This is file `lwarp-cleveref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `cleveref') +%% 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{cleveref}[2018/03/27] +\def\LWR@orig@@@setcref#1#2{\cref@getlabel{#2}{\@templabel}#1{\@templabel}{}{}}% + +\ifdefequal{\@@setcref}{\LWR@orig@@@setcref}{% before v0.21 + \renewcommand*{\@@setcref}[2]{#1{\ref{#2}}{}{}} +}{ + \ifdefequal{\@@@setcref}{\LWR@orig@@@setcref}{% as of v0.21 + \renewcommand*{\@@@setcref}[2]{% + #1{\ref{#2}}{}{}} + }{ + \PackageWarningNoLine{lwarp-cleveref}{ + Unknown version of cleveref. + \protect\cref\space will fail. + }% + } +} + +\def\LWR@orig@@@setcrefrange#1#2#3{% + \cref@getlabel{#2}{\@labela}% + \cref@getlabel{#3}{\@labelb}% + #1{\@labela}{\@labelb}{}{}{}{}}% + +\ifdefequal{\@@setcrefrange}{\LWR@orig@@@setcrefrange}{ + \renewcommand{\@@setcrefrange}[3]{% + #1{\ref{#2}}{\ref{#3}}{}{}{}{}% + } +}{ + \ifdefequal{\@@@setcrefrange}{\LWR@orig@@@setcrefrange}{ + \renewcommand{\@@@setcrefrange}[3]{% + #1{\ref{#2}}{\ref{#3}}{}{}{}{}% + } + }{ + \PackageWarningNoLine{lwarp-cleveref}{ + Unknown version of cleveref. + \protect\crefrange\space will fail. + } + } +} + + +\newcommand*{\cpagerefFor}{for} + +\def\LWR@orig@@setcpageref#1#2{% before v0.21 + \cref@getpageref{#2}{\@temppage}#1{\@temppage}{}{}}% + +\def\LWR@orig@@@setcpageref#1#2{% as of v0.21 + \cpageref@getlabel{#2}{\@temppage}#1{\@temppage}{}{}}% + +\ifdefequal{\@@setcpageref}{\LWR@orig@@setcpageref}{ + \renewcommand*{\@@setcpageref}[2]{% + #1{\cpagerefFor\ \cref{#2}}{}{}% + } +}{ + \ifdefequal{\@@@setcpageref}{\LWR@orig@@@setcpageref}{ + \renewcommand*{\@@@setcpageref}[2]{% + #1{\cpagerefFor\ \cref{#2}}{}{}% + } + } + { + \PackageWarningNoLine{lwarp-cleveref}{ + Unknown version of cleveref. + \protect\cpageref\space will fail. + } + } +} + + +\def\LWR@orig@@setcpagerefrange#1#2#3{% before v0.21 + \cref@getpageref{#2}{\@pagea}% + \cref@getpageref{#3}{\@pageb}% + #1{\@pagea}{\@pageb}{}{}{}{}}% + +\def\LWR@orig@@@setcpagerefrange#1#2#3{% as of v0.21 + \cpageref@getlabel{#2}{\@pagea}% + \cpageref@getlabel{#3}{\@pageb}% + #1{\@pagea}{\@pageb}{}{}{}{}}% + +\ifdefequal{\@@setcpagerefrange}{\LWR@orig@@setcpagerefrange}{ + \renewcommand*{\@@setcpagerefrange}[3]{% + #1{\cpagerefFor\ \cref{#2}}{\cref{#3}}{}{}{}{}% + } +}{ + \ifdefequal{\@@@setcpagerefrange}{\LWR@orig@@@setcpagerefrange}{ + \renewcommand*{\@@@setcpagerefrange}[3]{% + #1{\cpagerefFor\ \cref{#2}}{\cref{#3}}{}{}{}{}% + } + } + { + \PackageWarningNoLine{lwarp-cleveref}{ + Unknown version of cleveref. + \protect\cpagerefrange\space will fail. + } + } +} +\LWR@absorbstar{cref} +\LWR@absorbstar{Cref} +\LWR@absorbstar{crefrange} +\LWR@absorbstar{Crefrange} +\LWR@absorbstar{cpageref} +\LWR@absorbstar{Cpageref} +\LWR@absorbstar{cpagerefrange} +\LWR@absorbstar{Cpagerefrange} +\LWR@absorbstar{labelcref} +\LWR@absorbstar{labelcpageref} +\@ifpackageloaded{varioref}{ + \LWR@absorbstar{vref} + \LWR@absorbstar{Vref} + \LWR@absorbstar{vrefrange} + \LWR@absorbstar{Vrefrange} + \LWR@absorbstar{fullref} + \LWR@absorbstar{Fullref} +}{}% varioref +\endinput +%% +%% End of file `lwarp-cleveref.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-cmbright.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-cmbright.sty new file mode 100644 index 00000000000..a90525a017a --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-cmbright.sty @@ -0,0 +1,38 @@ +%% +%% This is file `lwarp-cmbright.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `cmbright') +%% 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{cmbright}[2005/04/13] + +\LWR@infoprocessingmathjax{cmbright} +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} + +\@ifpackagewith{cmbright}{slantedGreek} +{ + \LWR@mathjax@addgreek@u@it*{}{} +} +{} + +\LWR@mathjax@addgreek@u@up*{up}{} + +\CustomizeMathJax{\newcommand{\mathbold}[1]{\boldsymbol{#1}}} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-cmbright.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-colonequals.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-colonequals.sty index df0439f31c2..e7a746a6ad7 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-colonequals.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-colonequals.sty @@ -19,24 +19,24 @@ \begin{warpMathJax} \LWR@infoprocessingmathjax{colonequals} -\CustomizeMathJax{\newcommand{\ratio}{\unicode{x2236}}} -\CustomizeMathJax{\newcommand{\coloncolon}{\unicode{x2237}}} -\CustomizeMathJax{\newcommand{\colonequals}{\coloncolon=}} -\CustomizeMathJax{\newcommand{\coloncolonequals}{\coloncolon=}} -\CustomizeMathJax{\newcommand{\equalscolon}{=\!\ratio}} -\CustomizeMathJax{\newcommand{\equalscoloncolon}{=\!\coloncolon}} -\CustomizeMathJax{\newcommand{\colonminus}{\ratio-}} -\CustomizeMathJax{\newcommand{\coloncolonminus}{\coloncolon-}} -\CustomizeMathJax{\newcommand{\minuscolon}{-\ratio}} -\CustomizeMathJax{\newcommand{\minuscoloncolon}{-\coloncolon}} -\CustomizeMathJax{\newcommand{\colonapprox}{\ratio\approx}} -\CustomizeMathJax{\newcommand{\coloncolonapprox}{\coloncolon\approx}} -\CustomizeMathJax{\newcommand{\approxcolon}{\approx\!\ratio}} -\CustomizeMathJax{\newcommand{\approxcoloncolon}{\approx\!\coloncolon}} -\CustomizeMathJax{\newcommand{\colonsim}{\ratio\sim}} -\CustomizeMathJax{\newcommand{\coloncolonsim}{\coloncolon\sim}} -\CustomizeMathJax{\newcommand{\simcolon}{\sim\!\ratio}} -\CustomizeMathJax{\newcommand{\simcoloncolon}{\sim\!\coloncolon}} +\CustomizeMathJax{\newcommand{\ratio}{\mathrel{\unicode{x2236}}}} +\CustomizeMathJax{\newcommand{\coloncolon}{\mathrel{\unicode{x2237}}}} +\CustomizeMathJax{\newcommand{\colonequals}{\mathrel{\unicode{x2236}\!=}}} +\CustomizeMathJax{\newcommand{\coloncolonequals}{\mathrel{\unicode{x2237}\!=}}} +\CustomizeMathJax{\newcommand{\equalscolon}{\mathrel{=\!\unicode{x2236}}}} +\CustomizeMathJax{\newcommand{\equalscoloncolon}{\mathrel{=\!\unicode{x2237}}}} +\CustomizeMathJax{\newcommand{\colonminus}{\mathrel{\unicode{x2236}-}}} +\CustomizeMathJax{\newcommand{\coloncolonminus}{\mathrel{\unicode{x2237}-}}} +\CustomizeMathJax{\newcommand{\minuscolon}{\mathrel{-\unicode{x2236}}}} +\CustomizeMathJax{\newcommand{\minuscoloncolon}{\mathrel{-\unicode{x2237}}}} +\CustomizeMathJax{\newcommand{\colonapprox}{\mathrel{\unicode{x2236}\!\approx}}} +\CustomizeMathJax{\newcommand{\coloncolonapprox}{\mathrel{\unicode{x2237}\!\approx}}} +\CustomizeMathJax{\newcommand{\approxcolon}{\mathrel{\approx\!\unicode{x2236}}}} +\CustomizeMathJax{\newcommand{\approxcoloncolon}{\mathrel{\approx\!\unicode{x2237}}}} +\CustomizeMathJax{\newcommand{\colonsim}{\mathrel{\unicode{x2236}\!\sim}}} +\CustomizeMathJax{\newcommand{\coloncolonsim}{\mathrel{\unicode{x2237}\!\sim}}} +\CustomizeMathJax{\newcommand{\simcolon}{\mathrel{\sim\!\unicode{x2236}}}} +\CustomizeMathJax{\newcommand{\simcoloncolon}{\mathrel{\sim\!\unicode{x2237}}}} \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-colortbl.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-colortbl.sty index e8f3eba8db4..21fc08d2864 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-colortbl.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-colortbl.sty @@ -58,6 +58,12 @@ \AtBeginDocument{\LWR@expandableformatted{doublerulesepcolornexttoken}} +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\columncolor}[2][]{\LWRabsorbtwooptions}} +\CustomizeMathJax{\let\rowcolor\columncolor} +\CustomizeMathJax{\let\cellcolor\columncolor} +\end{warpMathJax} + \endinput %% %% End of file `lwarp-colortbl.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-letters.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-letters.sty new file mode 100644 index 00000000000..13908ab2645 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-letters.sty @@ -0,0 +1,330 @@ +%% +%% This is file `lwarp-common-mathjax-letters.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `common-mathjax-letters') +%% 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. +\ProvidesPackage{lwarp-common-mathjax-letters}[2020/08/10] +\begin{warpMathJax} + +\NewDocumentCommand{\LWR@mathjax@addletter}{s m m m m m}{ + \IfBooleanTF{#2}% + {\edef\LWR@tempone{\LWRtexttitlecase{#5}}}% + {\edef\LWR@tempone{#5}}% + \xdef\LWR@customizedMathJax{% + \LWR@customizedMathJax% + \LWRbackslash(% + \LWRbackslash def\LWRbackslash% + #3% prefix + \LWR@tempone%name + #4% postfix + \LWRleftbrace% + }% + \IfBooleanTF{#1}{% + \xdef\LWR@customizedMathJax{% + \LWR@customizedMathJax% + \LWRbackslash mathit\LWRleftbrace% + \LWRbackslash unicode\LWRleftbrace x#6\LWRrightbrace% + \LWRrightbrace% + }% + }{% + \xdef\LWR@customizedMathJax{% + \LWR@customizedMathJax% + \LWRbackslash unicode\LWRleftbrace x#6\LWRrightbrace% + }% + }% + \xdef\LWR@customizedMathJax{% + \LWR@customizedMathJax% + \LWRrightbrace\LWRbackslash)\par% + }% +} +\NewDocumentCommand{\LWR@mathjax@addgreek@l@up}{s m m}{ + \LWR@mathjax@addletter{#1}{#2}{#3}{alpha}{03B1} + \LWR@mathjax@addletter{#1}{#2}{#3}{beta}{03B2} + \LWR@mathjax@addletter{#1}{#2}{#3}{varbeta}{03D0} + \LWR@mathjax@addletter{#1}{#2}{#3}{gamma}{03B3} + \LWR@mathjax@addletter{#1}{#2}{#3}{digamma}{03DD} + \LWR@mathjax@addletter{#1}{#2}{#3}{delta}{03B4} + \LWR@mathjax@addletter{#1}{#2}{#3}{epsilon}{03F5} + \LWR@mathjax@addletter{#1}{#2}{#3}{varepsilon}{03B5} + \LWR@mathjax@addletter{#1}{#2}{#3}{zeta}{03B6} + \LWR@mathjax@addletter{#1}{#2}{#3}{eta}{03B7} + \LWR@mathjax@addletter{#1}{#2}{#3}{theta}{03B8} + \LWR@mathjax@addletter{#1}{#2}{#3}{vartheta}{03D1} + \LWR@mathjax@addletter{#1}{#2}{#3}{iota}{03B9} + \LWR@mathjax@addletter{#1}{#2}{#3}{kappa}{03BA} + \LWR@mathjax@addletter{#1}{#2}{#3}{varkappa}{03F0} + \LWR@mathjax@addletter{#1}{#2}{#3}{lambda}{03BB} + \LWR@mathjax@addletter{#1}{#2}{#3}{mu}{03BC} + \LWR@mathjax@addletter{#1}{#2}{#3}{nu}{03BD} + \LWR@mathjax@addletter{#1}{#2}{#3}{xi}{03BE} + \LWR@mathjax@addletter{#1}{#2}{#3}{omicron}{03BF} + \LWR@mathjax@addletter{#1}{#2}{#3}{pi}{03C0} + \LWR@mathjax@addletter{#1}{#2}{#3}{varpi}{03D6} + \LWR@mathjax@addletter{#1}{#2}{#3}{rho}{03C1} + \LWR@mathjax@addletter{#1}{#2}{#3}{varrho}{03F1} + \LWR@mathjax@addletter{#1}{#2}{#3}{sigma}{03C3} + \LWR@mathjax@addletter{#1}{#2}{#3}{varsigma}{03C2} + \LWR@mathjax@addletter{#1}{#2}{#3}{tau}{03C4} + \LWR@mathjax@addletter{#1}{#2}{#3}{upsilon}{03C5} + \LWR@mathjax@addletter{#1}{#2}{#3}{phi}{03D5} + \LWR@mathjax@addletter{#1}{#2}{#3}{varphi}{03C6} + \LWR@mathjax@addletter{#1}{#2}{#3}{chi}{03C7} + \LWR@mathjax@addletter{#1}{#2}{#3}{psi}{03C8} + \LWR@mathjax@addletter{#1}{#2}{#3}{omega}{03C9} +} +\NewDocumentCommand{\LWR@mathjax@addgreek@u@up}{s m m}{ + \LWR@mathjax@addletter{#1}{#2}{#3}{alpha}{0391} + \LWR@mathjax@addletter{#1}{#2}{#3}{beta}{0392} + \LWR@mathjax@addletter{#1}{#2}{#3}{gamma}{0393} + \LWR@mathjax@addletter{#1}{#2}{#3}{digamma}{03DC} + \LWR@mathjax@addletter{#1}{#2}{#3}{delta}{0394} + \LWR@mathjax@addletter{#1}{#2}{#3}{epsilon}{0395} + \LWR@mathjax@addletter{#1}{#2}{#3}{zeta}{0396} + \LWR@mathjax@addletter{#1}{#2}{#3}{eta}{0397} + \LWR@mathjax@addletter{#1}{#2}{#3}{theta}{0398} + \LWR@mathjax@addletter{#1}{#2}{#3}{vartheta}{03F4} + \LWR@mathjax@addletter{#1}{#2}{#3}{iota}{0399} + \LWR@mathjax@addletter{#1}{#2}{#3}{kappa}{039A} + \LWR@mathjax@addletter{#1}{#2}{#3}{lambda}{039B} + \LWR@mathjax@addletter{#1}{#2}{#3}{mu}{039C} + \LWR@mathjax@addletter{#1}{#2}{#3}{nu}{039D} + \LWR@mathjax@addletter{#1}{#2}{#3}{xi}{039E} + \LWR@mathjax@addletter{#1}{#2}{#3}{omicron}{039F} + \LWR@mathjax@addletter{#1}{#2}{#3}{pi}{03A0} + \LWR@mathjax@addletter{#1}{#2}{#3}{varpi}{03D6} + \LWR@mathjax@addletter{#1}{#2}{#3}{rho}{03A1} + \LWR@mathjax@addletter{#1}{#2}{#3}{sigma}{03A3} + \LWR@mathjax@addletter{#1}{#2}{#3}{tau}{03A4} + \LWR@mathjax@addletter{#1}{#2}{#3}{upsilon}{03A5} + \LWR@mathjax@addletter{#1}{#2}{#3}{phi}{03A6} + \LWR@mathjax@addletter{#1}{#2}{#3}{chi}{03A7} + \LWR@mathjax@addletter{#1}{#2}{#3}{psi}{03A8} + \LWR@mathjax@addletter{#1}{#2}{#3}{omega}{03A9} +} +\NewDocumentCommand{\LWR@mathjax@addgreek@l@it}{s m m}{ + \LWR@mathjax@addletter{#1}{#2}{#3}{alpha}{1D6FC} + \LWR@mathjax@addletter{#1}{#2}{#3}{beta}{1D6FD} + \LWR@mathjax@addletter{#1}{#2}{#3}{varbeta}{03D0} + \LWR@mathjax@addletter{#1}{#2}{#3}{gamma}{1D6FE} + \LWR@mathjax@addletter*{#1}{#2}{#3}{digamma}{03DD} + \LWR@mathjax@addletter{#1}{#2}{#3}{delta}{1D6FF} + \LWR@mathjax@addletter{#1}{#2}{#3}{epsilon}{1D716} + \LWR@mathjax@addletter{#1}{#2}{#3}{varepsilon}{1D700} + \LWR@mathjax@addletter{#1}{#2}{#3}{zeta}{1D701} + \LWR@mathjax@addletter{#1}{#2}{#3}{eta}{1D702} + \LWR@mathjax@addletter{#1}{#2}{#3}{theta}{1D703} + \LWR@mathjax@addletter{#1}{#2}{#3}{vartheta}{1D717} + \LWR@mathjax@addletter{#1}{#2}{#3}{iota}{1D704} + \LWR@mathjax@addletter{#1}{#2}{#3}{kappa}{1D705} + \LWR@mathjax@addletter{#1}{#2}{#3}{varkappa}{1D718} + \LWR@mathjax@addletter{#1}{#2}{#3}{lambda}{1D706} + \LWR@mathjax@addletter{#1}{#2}{#3}{mu}{1D707} + \LWR@mathjax@addletter{#1}{#2}{#3}{nu}{1D708} + \LWR@mathjax@addletter{#1}{#2}{#3}{xi}{1D709} + \LWR@mathjax@addletter{#1}{#2}{#3}{omicron}{1D70A} + \LWR@mathjax@addletter{#1}{#2}{#3}{pi}{1D70B} + \LWR@mathjax@addletter{#1}{#2}{#3}{varpi}{1D71B} + \LWR@mathjax@addletter{#1}{#2}{#3}{rho}{1D70C} + \LWR@mathjax@addletter{#1}{#2}{#3}{varrho}{1D71A} + \LWR@mathjax@addletter{#1}{#2}{#3}{sigma}{1D70E} + \LWR@mathjax@addletter{#1}{#2}{#3}{varsigma}{1D70D} + \LWR@mathjax@addletter{#1}{#2}{#3}{tau}{1D70F} + \LWR@mathjax@addletter{#1}{#2}{#3}{upsilon}{1D710} + \LWR@mathjax@addletter{#1}{#2}{#3}{phi}{1D719} + \LWR@mathjax@addletter{#1}{#2}{#3}{varphi}{1D711} + \LWR@mathjax@addletter{#1}{#2}{#3}{chi}{1D712} + \LWR@mathjax@addletter{#1}{#2}{#3}{psi}{1D713} + \LWR@mathjax@addletter{#1}{#2}{#3}{omega}{1D714} +} +\NewDocumentCommand{\LWR@mathjax@addgreek@u@it}{s m m}{ + \LWR@mathjax@addletter{#1}{#2}{#3}{alpha}{1D6E2} + \LWR@mathjax@addletter{#1}{#2}{#3}{beta}{1D6E3} + \LWR@mathjax@addletter{#1}{#2}{#3}{gamma}{1D6E4} + \LWR@mathjax@addletter*{#1}{#2}{#3}{digamma}{03DC} + \LWR@mathjax@addletter{#1}{#2}{#3}{delta}{1D6E5} + \LWR@mathjax@addletter{#1}{#2}{#3}{epsilon}{1D6E6} + \LWR@mathjax@addletter{#1}{#2}{#3}{zeta}{1D6E7} + \LWR@mathjax@addletter{#1}{#2}{#3}{eta}{1D6E8} + \LWR@mathjax@addletter{#1}{#2}{#3}{theta}{1D6E9} + \LWR@mathjax@addletter{#1}{#2}{#3}{vartheta}{1D6F3} + \LWR@mathjax@addletter{#1}{#2}{#3}{iota}{1D6EA} + \LWR@mathjax@addletter{#1}{#2}{#3}{kappa}{1D6EB} + \LWR@mathjax@addletter{#1}{#2}{#3}{lambda}{1D6EC} + \LWR@mathjax@addletter{#1}{#2}{#3}{mu}{1D6ED} + \LWR@mathjax@addletter{#1}{#2}{#3}{nu}{1D6EE} + \LWR@mathjax@addletter{#1}{#2}{#3}{xi}{1D6EF} + \LWR@mathjax@addletter{#1}{#2}{#3}{omicron}{1D6F0} + \LWR@mathjax@addletter{#1}{#2}{#3}{pi}{1D6F1} + \LWR@mathjax@addletter{#1}{#2}{#3}{rho}{1D6F2} + \LWR@mathjax@addletter{#1}{#2}{#3}{sigma}{1D6F4} + \LWR@mathjax@addletter{#1}{#2}{#3}{tau}{1D6F5} + \LWR@mathjax@addletter{#1}{#2}{#3}{upsilon}{1D6F6} + \LWR@mathjax@addletter{#1}{#2}{#3}{phi}{1D6F7} + \LWR@mathjax@addletter{#1}{#2}{#3}{chi}{1D6F8} + \LWR@mathjax@addletter{#1}{#2}{#3}{psi}{1D6F9} + \LWR@mathjax@addletter{#1}{#2}{#3}{omega}{1D6FA} +} +\NewDocumentCommand{\LWR@mathjax@addgreek@l@bfit}{s m m}{ + \LWR@mathjax@addletter{#1}{#2}{#3}{alpha}{1D736} + \LWR@mathjax@addletter{#1}{#2}{#3}{beta}{1D737} + \LWR@mathjax@addletter{#1}{#2}{#3}{varbeta}{03D0} + \LWR@mathjax@addletter{#1}{#2}{#3}{gamma}{1D738} + \LWR@mathjax@addletter*{#1}{#2}{#3}{digamma}{03DD} + \LWR@mathjax@addletter{#1}{#2}{#3}{delta}{1D739} + \LWR@mathjax@addletter{#1}{#2}{#3}{epsilon}{1D750} + \LWR@mathjax@addletter{#1}{#2}{#3}{varepsilon}{1D73A} + \LWR@mathjax@addletter{#1}{#2}{#3}{zeta}{1D73B} + \LWR@mathjax@addletter{#1}{#2}{#3}{eta}{1D73C} + \LWR@mathjax@addletter{#1}{#2}{#3}{theta}{1D73D} + \LWR@mathjax@addletter{#1}{#2}{#3}{vartheta}{1D751} + \LWR@mathjax@addletter{#1}{#2}{#3}{iota}{1D73E} + \LWR@mathjax@addletter{#1}{#2}{#3}{kappa}{1D73F} + \LWR@mathjax@addletter{#1}{#2}{#3}{varkappa}{1D752} + \LWR@mathjax@addletter{#1}{#2}{#3}{lambda}{1D740} + \LWR@mathjax@addletter{#1}{#2}{#3}{mu}{1D741} + \LWR@mathjax@addletter{#1}{#2}{#3}{nu}{1D742} + \LWR@mathjax@addletter{#1}{#2}{#3}{xi}{1D743} + \LWR@mathjax@addletter{#1}{#2}{#3}{omicron}{1D744} + \LWR@mathjax@addletter{#1}{#2}{#3}{pi}{1D745} + \LWR@mathjax@addletter{#1}{#2}{#3}{varpi}{1D755} + \LWR@mathjax@addletter{#1}{#2}{#3}{rho}{1D746} + \LWR@mathjax@addletter{#1}{#2}{#3}{varrho}{1D754} + \LWR@mathjax@addletter{#1}{#2}{#3}{sigma}{1D748} + \LWR@mathjax@addletter{#1}{#2}{#3}{varsigma}{1D747} + \LWR@mathjax@addletter{#1}{#2}{#3}{tau}{1D749} + \LWR@mathjax@addletter{#1}{#2}{#3}{upsilon}{1D74A} + \LWR@mathjax@addletter{#1}{#2}{#3}{phi}{1D753} + \LWR@mathjax@addletter{#1}{#2}{#3}{varphi}{1D74B} + \LWR@mathjax@addletter{#1}{#2}{#3}{chi}{1D74C} + \LWR@mathjax@addletter{#1}{#2}{#3}{psi}{1D74D} + \LWR@mathjax@addletter{#1}{#2}{#3}{omega}{1D74E} +} +\NewDocumentCommand{\LWR@mathjax@addgreek@u@bfit}{s m m}{ + \LWR@mathjax@addletter{#1}{#2}{#3}{alpha}{1D71C} + \LWR@mathjax@addletter{#1}{#2}{#3}{beta}{1D71D} + \LWR@mathjax@addletter{#1}{#2}{#3}{gamma}{1D71E} + \LWR@mathjax@addletter*{#1}{#2}{#3}{digamma}{03DC} + \LWR@mathjax@addletter{#1}{#2}{#3}{delta}{1D71F} + \LWR@mathjax@addletter{#1}{#2}{#3}{epsilon}{1D720} + \LWR@mathjax@addletter{#1}{#2}{#3}{zeta}{1D721} + \LWR@mathjax@addletter{#1}{#2}{#3}{eta}{1D722} + \LWR@mathjax@addletter{#1}{#2}{#3}{theta}{1D723} + \LWR@mathjax@addletter{#1}{#2}{#3}{vartheta}{1D72D} + \LWR@mathjax@addletter{#1}{#2}{#3}{iota}{1D724} + \LWR@mathjax@addletter{#1}{#2}{#3}{kappa}{1D725} + \LWR@mathjax@addletter{#1}{#2}{#3}{lambda}{1D726} + \LWR@mathjax@addletter{#1}{#2}{#3}{mu}{1D727} + \LWR@mathjax@addletter{#1}{#2}{#3}{nu}{1D728} + \LWR@mathjax@addletter{#1}{#2}{#3}{xi}{1D729} + \LWR@mathjax@addletter{#1}{#2}{#3}{omicron}{1D72A} + \LWR@mathjax@addletter{#1}{#2}{#3}{pi}{1D72B} + \LWR@mathjax@addletter{#1}{#2}{#3}{rho}{1D72C} + \LWR@mathjax@addletter{#1}{#2}{#3}{sigma}{1D72E} + \LWR@mathjax@addletter{#1}{#2}{#3}{tau}{1D72F} + \LWR@mathjax@addletter{#1}{#2}{#3}{upsilon}{1D730} + \LWR@mathjax@addletter{#1}{#2}{#3}{phi}{1D731} + \LWR@mathjax@addletter{#1}{#2}{#3}{chi}{1D732} + \LWR@mathjax@addletter{#1}{#2}{#3}{psi}{1D733} + \LWR@mathjax@addletter{#1}{#2}{#3}{omega}{1D734} +} +\NewDocumentCommand{\LWR@mathjax@addgreek@u@bfup}{s m m}{ + \LWR@mathjax@addletter{#1}{#2}{#3}{alpha}{1D6A8} + \LWR@mathjax@addletter{#1}{#2}{#3}{beta}{1D6A9} + \LWR@mathjax@addletter{#1}{#2}{#3}{gamma}{1D6AA} + \LWR@mathjax@addletter*{#1}{#2}{#3}{digamma}{03DC} + \LWR@mathjax@addletter{#1}{#2}{#3}{delta}{1D6AB} + \LWR@mathjax@addletter{#1}{#2}{#3}{epsilon}{1D6AC} + \LWR@mathjax@addletter{#1}{#2}{#3}{zeta}{1D6AD} + \LWR@mathjax@addletter{#1}{#2}{#3}{eta}{1D6AE} + \LWR@mathjax@addletter{#1}{#2}{#3}{theta}{1D6AF} + \LWR@mathjax@addletter{#1}{#2}{#3}{vartheta}{1D6B9} + \LWR@mathjax@addletter{#1}{#2}{#3}{iota}{1D6B0} + \LWR@mathjax@addletter{#1}{#2}{#3}{kappa}{1D6B1} + \LWR@mathjax@addletter{#1}{#2}{#3}{lambda}{1D6B2} + \LWR@mathjax@addletter{#1}{#2}{#3}{mu}{1D6B3} + \LWR@mathjax@addletter{#1}{#2}{#3}{nu}{1D6B4} + \LWR@mathjax@addletter{#1}{#2}{#3}{xi}{1D6B5} + \LWR@mathjax@addletter{#1}{#2}{#3}{omicron}{1D6B6} + \LWR@mathjax@addletter{#1}{#2}{#3}{pi}{1D6B7} + \LWR@mathjax@addletter{#1}{#2}{#3}{rho}{1D6B8} + \LWR@mathjax@addletter{#1}{#2}{#3}{sigma}{1D6BA} + \LWR@mathjax@addletter{#1}{#2}{#3}{tau}{1D6BB} + \LWR@mathjax@addletter{#1}{#2}{#3}{upsilon}{1D6BC} + \LWR@mathjax@addletter{#1}{#2}{#3}{phi}{1D6BD} + \LWR@mathjax@addletter{#1}{#2}{#3}{chi}{1D6BE} + \LWR@mathjax@addletter{#1}{#2}{#3}{psi}{1D6BF} + \LWR@mathjax@addletter{#1}{#2}{#3}{omega}{1D6C0} +} +\NewDocumentCommand{\LWR@mathjax@addlatin@u@bfit}{m}{ + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{A}{1D468} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{B}{1D469} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{C}{1D46A} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{D}{1D46B} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{E}{1D46C} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{F}{1D46D} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{G}{1D46E} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{H}{1D46F} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{I}{1D470} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{J}{1D471} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{K}{1D472} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{L}{1D473} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{M}{1D474} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{N}{1D475} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{O}{1D476} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{P}{1D477} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{Q}{1D478} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{R}{1D479} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{S}{1D47A} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{T}{1D47B} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{U}{1D47C} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{V}{1D47D} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{W}{1D47E} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{X}{1D47F} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{Y}{1D480} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{Z}{1D481} +} +\NewDocumentCommand{\LWR@mathjax@addlatin@l@bfit}{m}{ + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{a}{1D482} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{b}{1D483} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{c}{1D484} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{d}{1D485} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{e}{1D486} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{f}{1D487} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{g}{1D488} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{h}{1D489} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{i}{1D48A} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{j}{1D48B} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{k}{1D48C} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{l}{1D48D} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{m}{1D48E} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{n}{1D48F} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{o}{1D490} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{p}{1D491} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{q}{1D492} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{r}{1D493} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{s}{1D494} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{t}{1D495} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{u}{1D496} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{v}{1D497} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{w}{1D498} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{x}{1D499} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{y}{1D49A} + \LWR@mathjax@addletter{\BooleanFalse}{#1}{}{z}{1D49B} +} +\end{warpMathJax} + +\endinput +%% +%% End of file `lwarp-common-mathjax-letters.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-newpxtxmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-newpxtxmath.sty new file mode 100644 index 00000000000..245f4efea93 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-newpxtxmath.sty @@ -0,0 +1,278 @@ +%% +%% This is file `lwarp-common-mathjax-newpxtxmath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `common-mathjax-newpxtxmath') +%% 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. +\ProvidesPackage{lwarp-common-mathjax-newpxtxmath}[2020/09/20] +\LWR@origRequirePackage{lwarp-common-mathjax-nonunicode} +\LWR@origRequirePackage{lwarp-common-mathjax-overlaysymbols} + +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\fAlt}{f}} +\CustomizeMathJax{\newcommand{\rhoAlt}{\rho}} + +\CustomizeMathJax{\newcommand{\imathscr}{\mathord{\mathscr{i}}}} +\CustomizeMathJax{\newcommand{\jmathscr}{\mathord{\mathscr{j}}}} +\CustomizeMathJax{\let\llbracket\lBrack} +\CustomizeMathJax{\let\rrbracket\rBrack} + +\CustomizeMathJax{\let\smlbrace\{} +\CustomizeMathJax{\let\smrbrace\}} +\CustomizeMathJax{\newcommand{\Perp}{\mathrel{\unicode{x02AEB}}}} +\CustomizeMathJax{\newcommand{\nPerp}{\mathrel{\not{\!\unicode{x02AEB}}}}} +\CustomizeMathJax{\newcommand{\Zbar}{\mathord{\unicode{x01B5}}}} +\CustomizeMathJax{\newcommand{\Angstrom}{\mathord{\unicode{x212B}}}} +\CustomizeMathJax{\newcommand{\Euler}{\mathord{\unicode{x2107}}}} +\CustomizeMathJax{\newcommand{\transp}{\mathord{\unicode{xFF34}}}} +\CustomizeMathJax{\newcommand{\hermtransp}{\mathord{\unicode{xFF28}}}} +\CustomizeMathJax{\let\htransp=\hermtransp} +\CustomizeMathJax{\newcommand{\circledplus}{\mathbin{\unicode{x2295}}}} +\CustomizeMathJax{\newcommand{\circledminus}{\mathbin{\unicode{x2296}}}} +\CustomizeMathJax{\newcommand{\circledtimes}{\mathbin{\unicode{x2297}}}} +\CustomizeMathJax{\newcommand{\circledslash}{\mathbin{\unicode{x2298}}}} +\CustomizeMathJax{\newcommand{\circleddot}{\mathbin{\unicode{x2299}}}} +\CustomizeMathJax{\let\overgroup\overparen} +\CustomizeMathJax{\let\overgroupra\overrightarrow} +\CustomizeMathJax{\let\undergroup\underparen} +\CustomizeMathJax{\let\undergroupla\underleftarrow} +\CustomizeMathJax{\newcommand{\widering}[1]{\stackrel{\unicode{x2218}}{\overgroup{#1}}}} +\CustomizeMathJax{\let\widearc\overparen} +\CustomizeMathJax{\let\wideOarc\overrightarrow} +\CustomizeMathJax{\newcommand{\LWRvvstar}[2]{{\overrightarrow{#1}_{#2}}}} +\CustomizeMathJax{\newcommand{\vv}{\ifstar\LWRvvstar\overrightarrow}} +\CustomizeMathJax{\let\smallintsl\smallint} +\CustomizeMathJax{\newcommand{\smalliintsl}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiintsl}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiiintsl}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\newcommand{\smallointsl}{\mathop{\unicode{x222E}}\limits}} +\CustomizeMathJax{\newcommand{\smalloiintsl}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\smalloiiintsl}{\mathop{\unicode{x2230}}\limits}} +\CustomizeMathJax{\newcommand{\smallvarointclockwisesl}{\mathop{\unicode{x2232}}\limits}} +\CustomizeMathJax{\newcommand{\smallointctrclockwisesl}{\mathop{\unicode{x2233}}\limits}} +\CustomizeMathJax{\newcommand{\smallsumintsl}{\mathop{\unicode{x2A0B}}\limits}} +\CustomizeMathJax{\newcommand{\smallfintsl}{\mathop{\unicode{x2A0F}}\limits}} +\CustomizeMathJax{\newcommand{\smallsqintsl}{\mathop{\unicode{x2A16}}\limits}} +\CustomizeMathJax{\let\smallintup\smallint} +\CustomizeMathJax{\newcommand{\smalliintup}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiintup}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiiintup}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\newcommand{\smallointup}{\mathop{\unicode{x222E}}\limits}} +\CustomizeMathJax{\newcommand{\smalloiintup}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\smalloiiintup}{\mathop{\unicode{x2230}}\limits}} +\CustomizeMathJax{\newcommand{\smallvarointclockwiseup}{\mathop{\unicode{x2232}}\limits}} +\CustomizeMathJax{\newcommand{\smallointctrclockwiseup}{\mathop{\unicode{x2233}}\limits}} +\CustomizeMathJax{\newcommand{\smallsumintup}{\mathop{\unicode{x2A0B}}\limits}} +\CustomizeMathJax{\newcommand{\smallfintup}{\mathop{\unicode{x2A0F}}\limits}} +\CustomizeMathJax{\newcommand{\smallsqintup}{\mathop{\unicode{x2A16}}\limits}} +\CustomizeMathJax{\newcommand{\iint}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\iiint}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\iiiint}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\newcommand{\oiint}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\oiiint}{\mathop{\unicode{x2230}}\limits}} +\CustomizeMathJax{\newcommand{\varointclockwise}{\mathop{\unicode{x2232}}\limits}} +\CustomizeMathJax{\newcommand{\ointctrclockwise}{\mathop{\unicode{x2233}}\limits}} +\CustomizeMathJax{\newcommand{\sumint}{\mathop{\unicode{x2A0B}}\limits}} +\CustomizeMathJax{\newcommand{\fint}{\mathop{\unicode{x2A0F}}\limits}} +\CustomizeMathJax{\newcommand{\sqint}{\mathop{\unicode{x2A16}}\limits}} +\CustomizeMathJax{\let\intsl\int} +\CustomizeMathJax{\newcommand{\iintsl}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\iiintsl}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\iiiintsl}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\let\ointsl\oint} +\CustomizeMathJax{\newcommand{\oiintsl}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\oiiintsl}{\mathop{\unicode{x2230}}\limits}} +\CustomizeMathJax{\newcommand{\varointclockwisesl}{\mathop{\unicode{x2232}}\limits}} +\CustomizeMathJax{\newcommand{\ointctrclockwisesl}{\mathop{\unicode{x2233}}\limits}} +\CustomizeMathJax{\newcommand{\sumintsl}{\mathop{\unicode{x2A0B}}\limits}} +\CustomizeMathJax{\newcommand{\fintsl}{\mathop{\unicode{x2A0F}}\limits}} +\CustomizeMathJax{\newcommand{\sqintsl}{\mathop{\unicode{x2A16}}\limits}} +\CustomizeMathJax{\let\intup\int} +\CustomizeMathJax{\newcommand{\iintup}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\iiintup}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\iiiintup}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\let\ointup\oint} +\CustomizeMathJax{\newcommand{\oiintup}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\oiiintup}{\mathop{\unicode{x2230}}\limits}} +\CustomizeMathJax{\newcommand{\varointclockwiseup}{\mathop{\unicode{x2232}}\limits}} +\CustomizeMathJax{\newcommand{\ointctrclockwiseup}{\mathop{\unicode{x2233}}\limits}} +\CustomizeMathJax{\newcommand{\sumintup}{\mathop{\unicode{x2A0B}}\limits}} +\CustomizeMathJax{\newcommand{\fintup}{\mathop{\unicode{x2A0F}}\limits}} +\CustomizeMathJax{\newcommand{\sqintup}{\mathop{\unicode{x2A16}}\limits}} +\CustomizeMathJax{\newcommand{\bigcupdot}{\mathop{\unicode{x2A03}}}} +\CustomizeMathJax{\newcommand{\bigcupplus}{\mathop{\unicode{x2A04}}}} +\CustomizeMathJax{\newcommand{\bigsqcap}{\mathop{\unicode{x2A05}}}} +\CustomizeMathJax{\newcommand{\bigtimes}{\mathop{\unicode{x2A09}}}} +\CustomizeMathJax{\let\varprod\bigtimes} +\CustomizeMathJax{\newcommand{\mappedfrom}{\mathrel{\unicode{x021A4}}}} +\CustomizeMathJax{\let\mappedfromchar\mappedfrom} +\CustomizeMathJax{\newcommand{\mapsfrom}{\mathrel{\unicode{x021A4}}}} +\CustomizeMathJax{\newcommand{\longmappedfrom}{\mathrel{\unicode{x027FB}}}} +\CustomizeMathJax{\newcommand{\Mapsto}{\mathrel{\unicode{x02907}}}} +\CustomizeMathJax{\let\Mapstochar\Mapsto} +\CustomizeMathJax{\newcommand{\Longmapsto}{\mathrel{\unicode{x027FE}}}} +\CustomizeMathJax{\newcommand{\Mappedfrom}{\mathrel{\unicode{x02906}}}} +\CustomizeMathJax{\let\Mappedfromchar\Mappedfrom} +\CustomizeMathJax{\newcommand{\Mapsfrom}{\mathrel{\unicode{x02906}}}} +\CustomizeMathJax{\newcommand{\Longmappedfrom}{\mathrel{\unicode{x27FD}}}} +\CustomizeMathJax{\newcommand{\medcirc}{\mathbin{\unicode{x025CB}}}} +\CustomizeMathJax{\newcommand{\medbullet}{\mathbin{\unicode{x025CF}}}} +\CustomizeMathJax{\newcommand{\varparallel}{\mathrel{\unicode{x02AFD}}}} +\CustomizeMathJax{\newcommand{\varparallelinv}{\mathrel{\unicode{x244A}}}} +\CustomizeMathJax{\newcommand{\nvarparallel}{\mathrel{\LWRoverlaysymbols{-}{\unicode{x02AFD}}}}} +\CustomizeMathJax{\newcommand{\nvarparallelinv}{\mathrel{\LWRoverlaysymbols{-}{\unicode{x244A}}}}} +\CustomizeMathJax{\newcommand{\coloneq}{\mathrel{\unicode{x02254}}}} +\CustomizeMathJax{\newcommand{\eqcolon}{\mathrel{\unicode{x02255}}}} +\CustomizeMathJax{\newcommand{\VDash}{\mathrel{\unicode{x22AB}}}} +\CustomizeMathJax{\newcommand{\preceqq}{\mathrel{\unicode{x02AB3}}}} +\CustomizeMathJax{\newcommand{\succeqq}{\mathrel{\unicode{x02AB4}}}} + +\CustomizeMathJax{\newcommand{\nprecsim}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0227E}}}}} +\CustomizeMathJax{\newcommand{\nsuccsim}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0227F}}}}} +\CustomizeMathJax{\newcommand{\nlesssim}{\mathrel{\unicode{x02274}}}} +\CustomizeMathJax{\newcommand{\ngtrsim}{\mathrel{\unicode{x02275}}}} +\CustomizeMathJax{\newcommand{\nsubset}{\mathrel{\unicode{x02284}}}} +\CustomizeMathJax{\newcommand{\nsupset}{\mathrel{\unicode{x02285}}}} +\CustomizeMathJax{\newcommand{\notni}{\mathrel{\unicode{x220C}}}} +\CustomizeMathJax{\let\notowns\notni} +\CustomizeMathJax{\newcommand{\nlessapprox}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x02A85}}}}} +\CustomizeMathJax{\newcommand{\ngtrapprox}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x02A86}}}}} +\CustomizeMathJax{\newcommand{\npreccurlyeq}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0227C}}}}} +\CustomizeMathJax{\newcommand{\nsucccurlyeq}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0227D}}}}} +\CustomizeMathJax{\newcommand{\ngtrless}{\mathrel{\unicode{x02279}}}} +\CustomizeMathJax{\newcommand{\nlessgtr}{\mathrel{\unicode{x2278}}}} +\CustomizeMathJax{\newcommand{\nbumpeq}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0224F}}}}} +\CustomizeMathJax{\newcommand{\nBumpeq}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0224E}}}}} +\CustomizeMathJax{\newcommand{\nbacksim}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0223D}}}}} +\CustomizeMathJax{\newcommand{\nbacksimeq}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x022CD}}}}} +\CustomizeMathJax{\newcommand{\nasymp}{\mathrel{\unicode{x226D}}}} +\CustomizeMathJax{\newcommand{\nequiv}{\mathrel{\unicode{x2262}}}} +\CustomizeMathJax{\newcommand{\napprox}{\mathrel{\unicode{x2249}}}} +\CustomizeMathJax{\newcommand{\nll}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0226A}}}}} +\CustomizeMathJax{\newcommand{\ngg}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0226B}}}}} +\CustomizeMathJax{\newcommand{\nthickapprox}{% + \mathrel{\LWRoverlaysymbols{/}{{\mathbf{\unicode{x02248}}}}}% +}} +\CustomizeMathJax{\newcommand{\napproxeq}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0224A}}}}} +\CustomizeMathJax{\newcommand{\nprecapprox}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x02AB7}}}}} +\CustomizeMathJax{\newcommand{\nsuccapprox}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x02AB8}}}}} +\CustomizeMathJax{\newcommand{\npreceqq}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x02AB3}}}}} +\CustomizeMathJax{\newcommand{\nsucceqq}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x02AB4}}}}} +\CustomizeMathJax{\newcommand{\nsimeq}{\mathrel{\unicode{x02244}}}} +\CustomizeMathJax{\newcommand{\nSubset}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x022D0}}}}} +\CustomizeMathJax{\newcommand{\nSupset}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x022D1}}}}} +\CustomizeMathJax{\newcommand{\nsqsubseteq}{\mathrel{\unicode{x022E2}}}} +\CustomizeMathJax{\newcommand{\nsqsupseteq}{\mathrel{\unicode{x022E3}}}} +\CustomizeMathJax{\newcommand{\coloneqq}{\mathrel{\unicode{x02254}}}} +\CustomizeMathJax{\newcommand{\eqqcolon}{\mathrel{\unicode{x02255}}}} +\CustomizeMathJax{\newcommand{\Coloneqq}{\mathrel{\unicode{x02A74}}}} +\CustomizeMathJax{\newcommand{\Coloneq}{\mathrel{\unicode{x2237}-}}} +\CustomizeMathJax{\newcommand{\Eqcolon}{\mathrel{-\unicode{x2237}}}} +\CustomizeMathJax{\newcommand{\lvec}[1]{\mathord{\overset{\unicode{x02190}}{#1}}}} +\CustomizeMathJax{\newcommand{\lrvec}[1]{\mathord{\overset{\unicode{x2194}}{#1}}}} +\CustomizeMathJax{\newcommand{\harpoonacc}[1]{\mathord{\overset{\unicode{x021C0}}{#1}}}} +\CustomizeMathJax{\newcommand{\lharpoonacc}[1]{\mathord{\overset{\unicode{x021BC}}{#1}}}} +\CustomizeMathJax{\newcommand{\lrharpoonacc}[1]{\mathord{\overset{\unicode{x0294E}}{#1}}}} +\CustomizeMathJax{\newcommand{\barbar}[1]{\mathord{\overset{=}{#1}}}} +\CustomizeMathJax{\newcommand{\bartilde}[1]{\mathord{\overset{\simeq}{#1}}}} +\CustomizeMathJax{\newcommand{\barhat}[1]{\mathord{\hat{\bar{#1}}}}} +\CustomizeMathJax{\newcommand{\tildebar}[1]{\mathord{\overset{\eqsim}{#1}}}} +\CustomizeMathJax{\newcommand{\tildetilde}[1]{\mathord{\overset{\approx}{#1}}}} +\CustomizeMathJax{\newcommand{\tildehat}[1]{\mathord{\hat{\tilde{#1}}}}} +\CustomizeMathJax{\newcommand{\hatbar}[1]{\mathord{\bar{\hat{#1}}}}} +\CustomizeMathJax{\newcommand{\hattilde}[1]{\mathord{\tilde{\hat{#1}}}}} +\CustomizeMathJax{\newcommand{\hathat}[1]{\mathord{\hat{\hat{#1}}}}} + +\CustomizeMathJax{\newcommand{\cdotB}{\mathord{\boldsymbol{\cdot}}}} +\CustomizeMathJax{\newcommand{\cdotBB}{\mathord{\unicode{x2022}}}} +\CustomizeMathJax{\newcommand{\circS}{\boldsymbol{\circ}}} +\CustomizeMathJax{\newcommand{\bulletSSS}{\bullet}} +\CustomizeMathJax{\newcommand{\bulletSS}{\mathord{\unicode{x025CF}}}} +\CustomizeMathJax{\newcommand{\bulletS}{\mathord{\unicode{x02B24}}}} +\CustomizeMathJax{\newcommand{\primeS}{\prime}} + +\CustomizeMathJax{\newcommand{\invamp}{\mathbin{\unicode{x0214B}}}} +\CustomizeMathJax{\newcommand{\Lbag}{\mathopen{\large\unicode{x027C5}}}} +\CustomizeMathJax{\newcommand{\Rbag}{\mathclose{\large\unicode{x027C6}}}} +\CustomizeMathJax{\newcommand{\circledless}{\mathrel{\unicode{x029C0}}}} +\CustomizeMathJax{\newcommand{\circledgtr}{\mathrel{\unicode{x029C1}}}} +\CustomizeMathJax{\newcommand{\circledbslash}{\mathbin{\unicode{x029B8}}}} +\CustomizeMathJax{\newcommand{\lJoin}{\mathrel{\unicode{x22C9}}}} +\CustomizeMathJax{\newcommand{\rJoin}{\mathrel{\unicode{x22CA}}}} +\CustomizeMathJax{\newcommand{\lrJoin}{\mathrel{\unicode{x2A1D}}}} + +\CustomizeMathJax{\newcommand{\lrtimes}{\mathrel{\unicode{x2A1D}}}} +\CustomizeMathJax{\newcommand{\Diamondblack}{\mathord{\unicode{x025C6}}}} +\CustomizeMathJax{\newcommand{\nplus}{\mathrel{\LWRoverlaysymbols{+}{\unicode{x02229}}}}} +\CustomizeMathJax{\newcommand{\nsqsubset}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x0228F}}}}} +\CustomizeMathJax{\newcommand{\nsqsupset}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x02290}}}}} +\CustomizeMathJax{\newcommand{\dasharrow}{\mathrel{\unicode{x021E2}}}} +\CustomizeMathJax{\newcommand{\leftsquigarrow}{\mathrel{\unicode{x021DC}}}} +\CustomizeMathJax{\newcommand{\ntwoheadrightarrow}{\mathrel{\unicode{x02900}}}} +\CustomizeMathJax{\newcommand{\ntwoheadleftarrow}{\mathrel{\unicode{x02B34}}}} +\CustomizeMathJax{\newcommand{\boxast}{\mathbin{\unicode{x029C6}}}} +\CustomizeMathJax{\newcommand{\boxbslash}{\mathbin{\unicode{x29C5}}}} +\CustomizeMathJax{\newcommand{\boxbar}{\mathbin{\unicode{x025EB}}}} +\CustomizeMathJax{\newcommand{\boxslash}{\mathbin{\unicode{x029C4}}}} + +\CustomizeMathJax{\newcommand{\varclubsuit}{\mathord{\unicode{x02667}}}} +\CustomizeMathJax{\newcommand{\vardiamondsuit}{\mathord{\unicode{x02666}}}} +\CustomizeMathJax{\newcommand{\varheartsuit}{\mathord{\unicode{x02665}}}} +\CustomizeMathJax{\newcommand{\varspadesuit}{\mathord{\unicode{x02664}}}} + +\CustomizeMathJax{\newcommand{\Nearrow}{\mathrel{\unicode{x021D7}}}} +\CustomizeMathJax{\newcommand{\Searrow}{\mathrel{\unicode{x021D8}}}} +\CustomizeMathJax{\newcommand{\Nwarrow}{\mathrel{\unicode{x021D6}}}} +\CustomizeMathJax{\newcommand{\Swarrow}{\mathrel{\unicode{x021D9}}}} +\CustomizeMathJax{\newcommand{\Top}{\mathord{\unicode{x02AEA}}}} +\CustomizeMathJax{\newcommand{\Bot}{\mathord{\unicode{x02AEB}}}} + +\CustomizeMathJax{\newcommand{\leadstoext}{\mathrel{\unicode{xFF5E}}}} + +\CustomizeMathJax{\newcommand{\sqcupplus}{\mathbin{\LWRoverlaysymbols{+}{\unicode{x02294}}}}} +\CustomizeMathJax{\newcommand{\sqcapplus}{\mathbin{\LWRoverlaysymbols{+}{\unicode{x02293}}}}} + +\CustomizeMathJax{\newcommand{\dlb}{\mathopen{\unicode{x027E6}}}} +\CustomizeMathJax{\newcommand{\drb}{\mathopen{\unicode{x027E7}}}} + +\CustomizeMathJax{\newcommand{\varg}{g}} +\CustomizeMathJax{\newcommand{\vary}{y}} +\CustomizeMathJax{\newcommand{\varv}{v}} +\CustomizeMathJax{\newcommand{\varw}{w}} + +\CustomizeMathJax{\newcommand{\nexistsAlt}{\mathord{\unicode{x02204}}}} +\CustomizeMathJax{\newcommand{\existsAlt}{\mathord{\unicode{x02203}}}} +\CustomizeMathJax{\newcommand{\forallAlt}{\mathord{\unicode{x02200}}}} +\CustomizeMathJax{\newcommand{\emptysetAlt}{\mathord{\unicode{x02205}}}} + +\CustomizeMathJax{\newcommand{\uppartial}{\mathord{\unicode{x02202}}}}% not upright + +\CustomizeMathJax{\let\varmathbb\mathbb} +\CustomizeMathJax{\let\vmathbb\mathbb} +\CustomizeMathJax{\let\vvmathbb\mathbb} + +\CustomizeMathJax{\let\smallprod\prod} +\CustomizeMathJax{\let\smallsum\sum} +\CustomizeMathJax{\let\smallcoprod\coprod} + +\CustomizeMathJax{\newcommand{\openbox}{\mathord{\unicode{x25FD}}}} +\CustomizeMathJax{\let\textsquare\openbox} +\CustomizeMathJax{\let\varemptyset\emptyset} +\CustomizeMathJax{\newcommand{\mathsterling}{\mathord{\unicode{x000A3}}}} +\CustomizeMathJax{\newcommand{\mathcent}{\mathord{\unicode{x000A2}}}} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-common-mathjax-newpxtxmath.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-nonunicode.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-nonunicode.sty new file mode 100644 index 00000000000..299b3e86a53 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-nonunicode.sty @@ -0,0 +1,154 @@ +%% +%% This is file `lwarp-common-mathjax-nonunicode.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `common-mathjax-nonunicode') +%% 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. +\ProvidesPackage{lwarp-common-mathjax-nonunicode}[2020/09/20] +\LWR@origRequirePackage{lwarp-common-mathjax-overlaysymbols} + +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\mmapsto}{\mathrel{\unicode{x021A6}}}} +\CustomizeMathJax{\let\mmapstochar\mmapsto} +\CustomizeMathJax{\newcommand{\longmmapsto}{\mathrel{\unicode{x021A6}}}} +\CustomizeMathJax{\newcommand{\mmappedfrom}{\mathrel{\unicode{x021A4}}}} +\CustomizeMathJax{\let\mmappedfromchar\mmappedfrom} +\CustomizeMathJax{\newcommand{\longmmappedfrom}{\mathrel{\unicode{x021A4}}}} +\CustomizeMathJax{\let\mmapsfrom\mmappedfrom}% from kpfonts-otf +\CustomizeMathJax{\let\longmmapsfrom\longmmappedfrom}% from kpfonts-otf + +\CustomizeMathJax{\newcommand{\Mmapsto}{\mathrel{\unicode{x02907}}}} +\CustomizeMathJax{\let\Mmapstochar\Mmapsto} +\CustomizeMathJax{\newcommand{\Longmmapsto}{\mathrel{\unicode{x027FE}}}} +\CustomizeMathJax{\newcommand{\Mmappedfrom}{\mathrel{\unicode{x02906}}}} +\CustomizeMathJax{\let\Mmappedfromchar\Mmappedfrom} +\CustomizeMathJax{\newcommand{\Longmmappedfrom}{\mathrel{\unicode{x027FD}}}} +\CustomizeMathJax{\let\Mmapsfrom\Mmappedfrom}% from kpfonts-otf +\CustomizeMathJax{\let\Longmmapsfrom\Longmmappedfrom}% from kpfonts-otf +\CustomizeMathJax{\newcommand{\boxright}{\mathrel{\unicode{x025A1}\!\unicode{x02192}}}} +\CustomizeMathJax{\newcommand{\boxleft}{\mathrel{\unicode{x02190}\!\unicode{x025A1}}}} +\CustomizeMathJax{\newcommand{\boxdotright}{\mathrel{\unicode{x022A1}\!\unicode{x02192}}}} +\CustomizeMathJax{\newcommand{\boxdotleft}{\mathrel{\unicode{x02190}\!\unicode{x022A1}}}} + +\CustomizeMathJax{\newcommand{\Diamondright}{\mathrel{\unicode{x025C7}\!\unicode{x02192}}}} +\CustomizeMathJax{\newcommand{\Diamondleft}{\mathrel{\unicode{x02190}\!\unicode{x025C7}}}} +\CustomizeMathJax{\newcommand{\Diamonddotright}{\mathrel{\unicode{x027D0}\!\unicode{x02192}}}} +\CustomizeMathJax{\newcommand{\Diamonddotleft}{\mathrel{\unicode{x02190}\!\unicode{x027D0}}}} + +\CustomizeMathJax{\newcommand{\boxRight}{\mathrel{\unicode{x025A1}\!\unicode{x021D2}}}} +\CustomizeMathJax{\newcommand{\boxLeft}{\mathrel{\unicode{x021D0}\!\unicode{x025A1}}}} +\CustomizeMathJax{\newcommand{\boxdotRight}{\mathrel{\unicode{x022A1}\!\unicode{x021D2}}}} +\CustomizeMathJax{\newcommand{\boxdotLeft}{\mathrel{\unicode{x021D0}\!\unicode{x022A1}}}} + +\CustomizeMathJax{\newcommand{\DiamondRight}{\mathrel{\unicode{x025C7}\!\unicode{x021D2}}}} +\CustomizeMathJax{\newcommand{\DiamondLeft}{\mathrel{\unicode{x021D0}\!\unicode{x025C7}}}} +\CustomizeMathJax{\newcommand{\DiamonddotRight}{\mathrel{\unicode{x027D0}\!\unicode{x021D2}}}} +\CustomizeMathJax{\newcommand{\DiamonddotLeft}{\mathrel{\unicode{x021D0}\!\unicode{x027D0}}}} +\CustomizeMathJax{\newcommand{\Diamonddot}{\mathrel{\unicode{x027D0}}}} + +\CustomizeMathJax{\newcommand{\circleright}{\mathrel{\unicode{x025CB}\!\unicode{x02192}}}} +\CustomizeMathJax{\newcommand{\circleleft}{\mathrel{\unicode{x02190}\!\unicode{x025CB}}}} +\CustomizeMathJax{\newcommand{\circledotright}{\mathrel{\unicode{x02299}\!\unicode{x02192}}}} +\CustomizeMathJax{\newcommand{\circledotleft}{\mathrel{\unicode{x02190}\!\unicode{x02299}}}} +\CustomizeMathJax{\let\circleddotright\circledotright} +\CustomizeMathJax{\let\circleddotleft\circledotleft} + +\CustomizeMathJax{\newcommand{\multimapinv}{\mathrel{\unicode{x027DC}}}} +\CustomizeMathJax{\newcommand{\multimapboth}{\mathrel{\unicode{x029DF}}}} +\CustomizeMathJax{\newcommand{\multimapdot}{{\mathrel{-\!\bullet}}}} +\CustomizeMathJax{\newcommand{\multimapdotinv}{\mathrel{\bullet\!-}}} +\CustomizeMathJax{\newcommand{\multimapdotboth}{\mathrel{{\bullet\!\!-\!\!\bullet}}}} +\CustomizeMathJax{\newcommand{\multimapdotbothA}{\mathrel{\unicode{x022B6}}}} +\CustomizeMathJax{\newcommand{\multimapdotbothB}{\mathrel{\unicode{x22B7}}}} + +\CustomizeMathJax{\newcommand{\multimapbothvert}{% + \mathrel{\overset{\unicode{x025CB}}{\underset{\unicode{x025CB}}{|}}}% +}} +\CustomizeMathJax{\newcommand{\multimapdotbothvert}{% + \mathrel{\overset{\unicode{x025CF}}{\underset{\unicode{x025CF}}{|}}}% +}} +\CustomizeMathJax{\newcommand{\multimapdotbothBvert}{% bug in kpfonts-otf + \mathrel{\overset{\unicode{x025CF}}{\underset{\unicode{x025CB}}{|}}}% +}} +\CustomizeMathJax{\newcommand{\multimapdotbothAvert}{% bug in kpfonts-otf + \mathrel{\overset{\unicode{x025CB}}{\underset{\unicode{x025CF}}{|}}}% +}} + +\CustomizeMathJax{\newcommand{\bignplus}{% + \mathop{\LWRoverlaysymbols{\unicode{xFF0B}}{\unicode{x22C2}}}% +}} +\CustomizeMathJax{\let\bigcapplus\bignplus} +\CustomizeMathJax{\let\capplus\bignplus}% from kpfonts-otf + +\CustomizeMathJax{\newcommand{\bigsqcapplus}{% + \mathop{\LWRoverlaysymbols{\unicode{xFF0B}}{\unicode{x2A05}}} +}} +\CustomizeMathJax{\let\sqcapplus\bigsqcapplus}% from kpfonts-otf + +\CustomizeMathJax{\newcommand{\bigsqcupplus}{% + \mathop{\LWRoverlaysymbols{\unicode{xFF0B}}{\unicode{x2A06}}} +}} +\CustomizeMathJax{\let\sqcupplus\bigsqcupplus}% from kpfonts-otf + +\CustomizeMathJax{\newcommand{\parallelslant}{\mathrel{\unicode{x02AFD}}}} +\CustomizeMathJax{\newcommand{\parallelbackslant}{% + \mathrel{\unicode{x0005C}\!\!\unicode{x0005C}}% +}} + +\CustomizeMathJax{\newcommand{\Eqqcolon}{\mathrel{=\!\unicode{x2237}}}} +\CustomizeMathJax{\let\eqqColon\Eqqcolon}% for kpfonts-otf +\CustomizeMathJax{\newcommand{\dashColon}{\mathrel{-\unicode{x2237}}}} +\CustomizeMathJax{\newcommand{\Colondash}{\mathrel{\unicode{x2237}-}}} + +\CustomizeMathJax{\newcommand{\colonapprox}{\mathrel{:\approx}}} +\CustomizeMathJax{\newcommand{\colonsim}{\mathrel{:\sim}}} +\CustomizeMathJax{\newcommand{\Colonapprox}{\mathrel{\unicode{x2237}\!\approx}}} +\CustomizeMathJax{\newcommand{\Colonsim}{\mathrel{\unicode{x2237}\!\sim}}} + +\CustomizeMathJax{\newcommand{\strictif}{\mathrel{\unicode{x0297D}}}}% right fish tail +\CustomizeMathJax{\newcommand{\strictfi}{\mathrel{\unicode{x0297C}}}}% left fish tail +\CustomizeMathJax{\newcommand{\strictiff}{% + \mathrel{\unicode{x0297C}\!\!\unicode{x0297D}}% +}}% left/right fish tails + +\CustomizeMathJax{\newcommand{\circledwedge}{% + \mathbin{\LWRoverlaysymbols{\unicode{x025EF}}{\unicode{x02227}}}% +}} +\CustomizeMathJax{\newcommand{\circledvee}{% + \mathbin{\LWRoverlaysymbols{\unicode{x025EF}}{\unicode{0x02228}}}% +}} +\CustomizeMathJax{\newcommand{\circledbar}{\mathbin{\unicode{x029B6}}}} + +\CustomizeMathJax{\newcommand{\openJoin}{\mathrel{\unicode{x2AA4}}}}% overlapping >< +\CustomizeMathJax{\newcommand{\opentimes}{\mathrel{\unicode{x2AA4}}}}% overlapping >< + +\CustomizeMathJax{\newcommand{\VvDash}{\mathrel{\unicode{x22AA}}}} + +\CustomizeMathJax{\newcommand{\lambdabar}{% + \mathord{\LWRoverlaysymbols{\raise{.5ex}{-}}{\lambda}}% +}} + +\CustomizeMathJax{\newcommand{\lambdaslash}{\mathord{\unicode{x019B}}}} + +\CustomizeMathJax{\newcommand{\Wr}{\mathbin{\unicode{x02240}\!\unicode{x02240}}}} + +\CustomizeMathJax{\newcommand{\dashleftrightarrow}{% + \mathrel{\unicode{x021E0}\!\unicode{x021E2}}% +}} +\CustomizeMathJax{\let\leftrightdasharrow\dashleftrightarrow}% for kpfonts-otf + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-common-mathjax-nonunicode.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-overlaysymbols.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-overlaysymbols.sty new file mode 100644 index 00000000000..af18aa677a8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-overlaysymbols.sty @@ -0,0 +1,34 @@ +%% +%% This is file `lwarp-common-mathjax-overlaysymbols.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `common-mathjax-overlaysymbols') +%% 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. +\ProvidesPackage{lwarp-common-mathjax-overlaysymbols}[2020/08/17] +\begin{warpMathJax} + +\CustomizeMathJax{\newcommand{\LWRoverlaysymbols}[2]{% + \mathord{% + \smash{% + \mathop{#2\strut}% + \limits^{\smash{\lower3ex{#1}}}% + }% + \strut% + }% +}} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-common-mathjax-overlaysymbols.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-common-multimedia.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-multimedia.sty index cb8cb93ecce..3bb50cf9c8e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-common-multimedia.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-multimedia.sty @@ -67,14 +67,14 @@ \LWR@parsedfilename\unskip\textquotedbl\ % space type=\textquotedbl{}#4\textquotedbl} \LWR@startpars - \href{\LWR@parsedfilename}{#1} + \LWR@href{\LWR@parsedfilename}{#1} \LWR@stoppars \LWR@htmltag{/#3}\LWR@orignewline \end{BlockClass} }{% \PackageError{lwarp-common-multimedia} - {File '#2' not found} - {Perhaps an incorrect path?} + {File '#2' not found} + {Perhaps an incorrect path?} }% } \newcommand*{\LWR@multimedia@httpAV}[4]{% @@ -96,7 +96,7 @@ src=\textquotedbl#2\textquotedbl\ % space type=\textquotedbl#4\textquotedbl} \LWR@startpars - \href{#2}{#1} + \LWR@href{#2}{#1} \LWR@stoppars \LWR@htmltag{/#3}\LWR@orignewline \end{BlockClass} @@ -125,11 +125,13 @@ \newcommand*{\LWR@multimedia@percenterror}{% \PackageError{lwarp-media9} {% - Do not use a percent comment - between\MessageBreak + Do not use a percent comment between\MessageBreak \protect\includemedia\space arguments% } - {Percent is changed to a regular character to allow its use inside a URL.} + {% + Percent is changed to a regular character\MessageBreak + to allow its use inside a URL.% + } } \newcommand*{\LWR@multimediab}[3][]{% \if#1\@percentchar\LWR@multimedia@percenterror\fi% @@ -147,7 +149,7 @@ \IfBeginWith{#3}{HTTP}{\LWR@multimedia@embed{#2}{#3}{}}{% \IfBeginWith{#3}{ftp}{\LWR@multimedia@embed{#2}{#3}{}}{% \IfBeginWith{#3}{FTP}{\LWR@multimedia@embed{#2}{#3}{}}{% - \href{#3}{#2}% unknown format + \LWR@href{#3}{#2}% unknown format }}}}}}}}% \LWR@startpars% \endgroup% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty index af13cc11569..f6ec39b8f7b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty @@ -57,6 +57,7 @@ \PackageError{lwarp-ctable}{\MessageBreak You can, currently, use the sidecap option only with\MessageBreak memoir documents. Use topcap or botcap only} + {} \fi \fi \ifdim\@CTwidth=0pt\else @@ -64,6 +65,7 @@ \PackageError{lwarp-ctable}{\MessageBreak You may not use the width and maxwidth options together\MessageBreak Use either width or maxwidth} + {} \fi \fi \ifx\@CTpos\empty @@ -71,6 +73,7 @@ \PackageError{lwarp-ctable}{\MessageBreak You may not use the pos and sideways options together\MessageBreak Rotated tables and figures are always typeset on a separate page} + {} \fi \fi \ifx\@CTcaption\empty @@ -78,6 +81,7 @@ \PackageError{lwarp-ctable}{\MessageBreak You may not label a captionless table\MessageBreak Such a label can't be referenced} + {} \fi \fi \@CTbegin diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-drftcite.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-drftcite.sty new file mode 100644 index 00000000000..933bb9ea873 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-drftcite.sty @@ -0,0 +1,28 @@ +%% +%% This is file `lwarp-drftcite.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `drftcite') +%% 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{drftcite}[1995/01/23] +\def\@lbibitem[#1]#2{\global\@HighCite\z@ + \item[ + \textsuperscript{\@nameuse{DCN@#2\@extra@b@citeb}}~% lwarp + \@biblabel{\@ifundefined{DCN@#2\@extra@b@citeb}{\@warning + {Reference `#2' on page \thepage\space was never cited}}{}% + \@citeverb{#2}}\hfil]\if@filesw{\def\protect##1{\string ##1\space}% + \immediate\write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces} +\endinput +%% +%% End of file `lwarp-drftcite.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty index 40cc1e43207..2211e722418 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty @@ -18,12 +18,12 @@ \LWR@ProvidesPackagePass{easy-todo}[2014/01/01] -\let\LWR@origlistoftodos\listoftodos +\let\LWR@easytodo@origlistoftodos\listoftodos \renewcommand{\listoftodos}{% \begingroup \renewcommand{\flushright}{} -\LWR@origlistoftodos +\LWR@easytodo@origlistoftodos \endgroup } diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-econometrics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-econometrics.sty index cd13f054a84..ff04a364424 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-econometrics.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-econometrics.sty @@ -16,6 +16,8 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{econometrics}% no date specified in the original +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + \begin{warpMathJax} \LWR@infoprocessingmathjax{econometrics} @@ -52,95 +54,11 @@ \CustomizeMathJax{\newcommand{\calY}{\mathcal{Y}}} \CustomizeMathJax{\newcommand{\calZ}{\mathcal{Z}}} -\CustomizeMathJax{\newcommand{\mA}{\bm A}} -\CustomizeMathJax{\newcommand{\va}{\bm a}} -\CustomizeMathJax{\newcommand{\mB}{\bm B}} -\CustomizeMathJax{\newcommand{\vb}{\bm b}} -\CustomizeMathJax{\newcommand{\mC}{\bm C}} -\CustomizeMathJax{\newcommand{\vc}{\bm c}} -\CustomizeMathJax{\newcommand{\mD}{\bm D}} -\CustomizeMathJax{\newcommand{\vd}{\bm d}} -\CustomizeMathJax{\newcommand{\mE}{\bm E}} -\CustomizeMathJax{\newcommand{\ve}{\bm e}} -\CustomizeMathJax{\newcommand{\mF}{\bm F}} -\CustomizeMathJax{\newcommand{\vf}{\bm f}} -\CustomizeMathJax{\newcommand{\mG}{\bm G}} -\CustomizeMathJax{\newcommand{\vg}{\bm g}} -\CustomizeMathJax{\newcommand{\mH}{\bm H}} -\CustomizeMathJax{\newcommand{\vh}{\bm h}} -\CustomizeMathJax{\newcommand{\mI}{\bm I}} -\CustomizeMathJax{\newcommand{\vi}{\bm i}} -\CustomizeMathJax{\newcommand{\mJ}{\bm J}} -\CustomizeMathJax{\newcommand{\vj}{\bm j}} -\CustomizeMathJax{\newcommand{\mK}{\bm K}} -\CustomizeMathJax{\newcommand{\vk}{\bm k}} -\CustomizeMathJax{\newcommand{\mL}{\bm L}} -\CustomizeMathJax{\newcommand{\vl}{\bm l}} -\CustomizeMathJax{\newcommand{\mM}{\bm M}} -\CustomizeMathJax{\newcommand{\vm}{\bm m}} -\CustomizeMathJax{\newcommand{\mN}{\bm N}} -\CustomizeMathJax{\newcommand{\vn}{\bm n}} -\CustomizeMathJax{\newcommand{\mO}{\bm O}} -\CustomizeMathJax{\newcommand{\vo}{\bm o}} -\CustomizeMathJax{\newcommand{\mP}{\bm P}} -\CustomizeMathJax{\newcommand{\vp}{\bm p}} -\CustomizeMathJax{\newcommand{\mQ}{\bm Q}} -\CustomizeMathJax{\newcommand{\vq}{\bm q}} -\CustomizeMathJax{\newcommand{\mR}{\bm R}} -\CustomizeMathJax{\newcommand{\vr}{\bm r}} -\CustomizeMathJax{\newcommand{\mS}{\bm S}} -\CustomizeMathJax{\newcommand{\vs}{\bm s}} -\CustomizeMathJax{\newcommand{\mT}{\bm T}} -\CustomizeMathJax{\newcommand{\vt}{\bm t}} -\CustomizeMathJax{\newcommand{\mU}{\bm U}} -\CustomizeMathJax{\newcommand{\vu}{\bm u}} -\CustomizeMathJax{\newcommand{\mV}{\bm V}} -\CustomizeMathJax{\newcommand{\vv}{\bm v}} -\CustomizeMathJax{\newcommand{\mW}{\bm W}} -\CustomizeMathJax{\newcommand{\vw}{\bm w}} -\CustomizeMathJax{\newcommand{\mX}{\bm X}} -\CustomizeMathJax{\newcommand{\vx}{\bm x}} -\CustomizeMathJax{\newcommand{\mY}{\bm Y}} -\CustomizeMathJax{\newcommand{\vy}{\bm y}} -\CustomizeMathJax{\newcommand{\mZ}{\bm Z}} -\CustomizeMathJax{\newcommand{\vz}{\bm z}} - -\CustomizeMathJax{\newcommand{\valpha}{\bm \alpha}} -\CustomizeMathJax{\newcommand{\vbeta}{\bm \beta}} -\CustomizeMathJax{\newcommand{\vgamma}{\bm \gamma}} -\CustomizeMathJax{\newcommand{\vdelta}{\bm \delta}} -\CustomizeMathJax{\newcommand{\vepsi}{\bm \epsi}} -\CustomizeMathJax{\newcommand{\vvarepsilon}{\bm \varepsilon}} -\CustomizeMathJax{\newcommand{\vzeta}{\bm \zeta}} -\CustomizeMathJax{\newcommand{\veta}{\bm \eta}} -\CustomizeMathJax{\newcommand{\vtheta}{\bm \theta}} -\CustomizeMathJax{\newcommand{\viota}{\bm \iota}} -\CustomizeMathJax{\newcommand{\vkappa}{\bm \kappa}} -\CustomizeMathJax{\newcommand{\vlambda}{\bm \lambda}} -\CustomizeMathJax{\newcommand{\vmu}{\bm \mu}} -\CustomizeMathJax{\newcommand{\vnu}{\bm \nu}} -\CustomizeMathJax{\newcommand{\vxi}{\bm \xi}} -\CustomizeMathJax{\newcommand{\vpi}{\bm \pi}} -\CustomizeMathJax{\newcommand{\vrho}{\bm \rho}} -\CustomizeMathJax{\newcommand{\vsigma}{\bm \sigma}} -\CustomizeMathJax{\newcommand{\vtau}{\bm \tau}} -\CustomizeMathJax{\newcommand{\vupsilon}{\bm \upsilon}} -\CustomizeMathJax{\newcommand{\vphi}{\bm \phi}} -\CustomizeMathJax{\newcommand{\vchi}{\bm \chi}} -\CustomizeMathJax{\newcommand{\vpsi}{\bm \psi}} -\CustomizeMathJax{\newcommand{\vomega}{\bm \omega}} - -\CustomizeMathJax{\newcommand{\mGamma}{\bm \varGamma}} -\CustomizeMathJax{\newcommand{\mDelta}{\bm \varDelta}} -\CustomizeMathJax{\newcommand{\mTheta}{\bm \varTheta}} -\CustomizeMathJax{\newcommand{\mLambda}{\bm \varLambda}} -\CustomizeMathJax{\newcommand{\mXi}{\bm \varXi}} -\CustomizeMathJax{\newcommand{\mPi}{\bm \varPi}} -\CustomizeMathJax{\newcommand{\mSigma}{\bm \varSigma}} -\CustomizeMathJax{\newcommand{\mUpsilon}{\bm \varUpsilon}} -\CustomizeMathJax{\newcommand{\mPhi}{\bm \varPhi}} -\CustomizeMathJax{\newcommand{\mPsi}{\bm \varPsi}} -\CustomizeMathJax{\newcommand{\mOmega}{\bm \varOmega}} +\LWR@mathjax@addlatin@u@bfit{m}% uppercase Latin, bold italic +\LWR@mathjax@addlatin@l@bfit{v}% lowercase Latin, bold italic + +\LWR@mathjax@addgreek@l@bfit{v}{}% lowercase Greek bold italic +\LWR@mathjax@addgreek@u@bfit*{m}{}% uppercase Greek bold italic, capitalized macro names \CustomizeMathJax{\newcommand{\rb}{\mathrm{b}}} \CustomizeMathJax{\newcommand{\rB}{\mathrm{B}}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ed.sty index a8278bb0004..87379bda4c2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ed.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ed.sty @@ -26,7 +26,7 @@ \textcolor{red}{% #1 is only a provisional stub\\\Large the Office document - \ifx\ed@stubURI\@empty{#2}\else\href{\ed@stubURI}{#2}\fi\ + \ifx\ed@stubURI\@empty{#2}\else\LWR@href{\ed@stubURI}{#2}\fi\ contains more text\\which will be merged for the final document% }% \end{center}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-embrac.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-embrac.sty index ed964cc55ac..8b65a669e1e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-embrac.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-embrac.sty @@ -16,6 +16,9 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{embrac}[2017/07/04] +\ExplSyntaxOn +\RenewDocumentCommand{\embrac_kern:n}{m}{} +\ExplSyntaxOff \LetLtxMacro\LWR@orig@HTML@emph\LWR@HTML@emph \RenewDocumentCommand{\LWR@HTML@emph}{s m}{\LWR@orig@HTML@emph{#2}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty index d9c7a9acb09..a4f0194744a 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty @@ -16,7 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{enumitem}[2018/11/30] -\begin{warpHTML} \let\LWR@enumitem@orignewlist\newlist @@ -28,8 +27,6 @@ \def\DrawEnumitemLabel{} -\end{warpHTML} - \endinput %% %% End of file `lwarp-enumitem.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty index cbba1554b38..b6b39e759e1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty @@ -18,57 +18,37 @@ -\LWR@ProvidesPackageDrop{epigraph}[2009/09/02] +\LWR@ProvidesPackagePass{epigraph}[2020/01/02] -\DeclareDocumentCommand{\qitem}{m m} -{ -\begin{BlockClass}{qitem} -#1 -\LWR@stoppars% -\ifbool{FormatWP} -{\begin{BlockClass}[border-top:1px solid gray]{epigraphsource}} -{\begin{BlockClass}{epigraphsource}} -#2 -\end{BlockClass} -\end{BlockClass} +\DeclareDocumentCommand{\LWR@HTML@qitem}{m m} +{% + \begin{BlockClass}{qitem}% + #1% + \LWR@stoppars% + \ifbool{FormatWP}% + {\begin{BlockClass}[border-top:1px solid gray]{epigraphsource}}% + {\begin{BlockClass}{epigraphsource}}% + #2% + \end{BlockClass}% + \end{BlockClass}% } +\LWR@formatted{qitem} -\DeclareDocumentCommand{\epigraph}{m m} -{ -\begin{LWR@BlockClassWP}{\LWR@print@mbox{text-align:right}}{}{epigraph} -\qitem{#1}{#2} -\end{LWR@BlockClassWP} +\DeclareDocumentCommand{\LWR@HTML@epigraph}{m m} +{% + \begin{LWR@BlockClassWP}{\LWR@print@mbox{text-align:right}}{}{epigraph}% + \qitem{#1}{#2}% + \end{LWR@BlockClassWP}% } +\LWR@formatted{epigraph} -\DeclareDocumentEnvironment{epigraphs}{} -{\LWR@BlockClassWP{\LWR@print@mbox{text-align:right}}{}{epigraph}} -{\endLWR@BlockClassWP} -\newenvironment*{flushepinormal}{}{} -\@ifclassloaded{memoir}{ -\setlength{\epigraphwidth}{.5\linewidth} -\renewcommand{\textflush}{flushepinormal} +\DeclareDocumentEnvironment{LWR@HTML@epigraphs}{} + {\LWR@BlockClassWP{\LWR@print@mbox{text-align:right}}{}{epigraph}} + {\endLWR@BlockClassWP} +\LWR@formattedenv{epigraphs} \renewcommand{\epigraphhead}[2][0]{#2} \renewcommand{\dropchapter}[1]{} \renewcommand*{\undodrop}{} -}{% not memoir -\newlength{\epigraphwidth} -\setlength{\epigraphwidth}{.5\linewidth} -\newcommand{\textflush}{flushepinormal} -\newcommand{\epigraphflush}{flushright} -\newcommand{\sourceflush}{flushright} -\newcommand*{\epigraphsize}{\small} -\newlength{\epigraphrule} -\newlength{\beforeepigraphskip} -\newlength{\afterepigraphskip} -\newcommand{\epigraphhead}[2][0]{#2} -\newcommand{\dropchapter}[1]{} -\newcommand*{\undodrop}{} -}% not memoir - -\let\cleartoevenpage\relax% also in nextpage -\newcommand{\cleartoevenpage}[1][]{} -\newif\ifepigraphnoindent -\newcommand\epigraphnoindent{\epigraphnoindenttrue} \endinput %% %% End of file `lwarp-epigraph.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-epstopdf-base.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty index 3aadedf3d1f..b1263cdb885 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.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@ProvidesPackagePass{epstopdf-base}[2016/05/15] +\LWR@ProvidesPackagePass{epstopdf-base}[2020-01-24] \newcommand*{\LWR@HTML@ETE@OrgGin@setfile}[3]{% \edef\LWR@tempone{#3}% \StrSubstitute{\LWR@tempone}{.pdf}{.svg}[\LWR@tempone]% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf.sty index c0810186956..c40567c6be9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf.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@ProvidesPackagePass{epstopdf}[2016/05/15] +\LWR@ProvidesPackagePass{epstopdf}[2020-01-24] \endinput %% %% End of file `lwarp-epstopdf.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-errata.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-errata.sty index 82f56ada638..5826f377623 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-errata.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-errata.sty @@ -56,7 +56,7 @@ {} {\LWR@patcherror{erratum}{eReplace}} -\preto\PrintErrata{\LWR@orignewpage} +\preto\PrintErrata{\LWR@maybe@orignewpage} \StopDefiningMath diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-esvect.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-esvect.sty new file mode 100644 index 00000000000..9163aec82a5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-esvect.sty @@ -0,0 +1,26 @@ +%% +%% This is file `lwarp-esvect.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `esvect') +%% 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{esvect}% no date given +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\LWResvectvv}[1]{\overrightarrow{#1}}} +\CustomizeMathJax{\newcommand{\LWResvectvvstar}[2]{\overrightarrow{#1}\!_{#2}}} +\CustomizeMathJax{\newcommand{\vv}{\ifstar\LWResvectvvstar\LWResvectvv}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-esvect.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty index ec95b09cdc5..026afd94e31 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty @@ -16,7 +16,10 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{everyshi}[2001/05/15] +\let\EveryShipout\relax \newcommand*{\EveryShipout}[1]{} + +\let\AtNextShipout\relax \newcommand*{\AtNextShipout}[1]{} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty index 13d54aa9a72..c89fa8c9971 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty @@ -133,24 +133,24 @@ \def\endLandscape{} \let\LWRFB@UseVerbatim\UseVerbatim \renewcommand*{\UseVerbatim}[1]{% -\LWR@atbeginverbatim{3}{Verbatim}% +\LWR@atbeginverbatim{Verbatim}% \LWRFB@UseVerbatim{#1}% -\LWR@afterendverbatim{.5}% +\LWR@afterendverbatim% } \let\LWRFB@LUseVerbatim\LUseVerbatim \renewcommand*{\LUseVerbatim}[1]{% -\LWR@atbeginverbatim{3}{LVerbatim}% +\LWR@atbeginverbatim{LVerbatim}% \noindent% \LWRFB@LUseVerbatim{#1}% -\LWR@afterendverbatim{.5}% +\LWR@afterendverbatim% } \def\@BUseVerbatim[#1]#2{% -\LWR@atbeginverbatim{3}{BVerbatim}% +\LWR@atbeginverbatim{BVerbatim}% \LWRFB@UseVerbatim{#2}% -\LWR@afterendverbatim{.5}% +\LWR@afterendverbatim% } \endinput %% 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-fancyref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyref.sty index aafcd3043af..f8b3d3ebcaa 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyref.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyref.sty @@ -22,31 +22,6 @@ {}{ \renewcommand*{\fancyrefhook}[1]{#1}% } - -\renewcommand*{\@f@ref}[4]{% - \@ifundefined{#1r@#2@#3}{% - \PackageError{lwarp-fancyref}{% - \backslashchar#1ref\space format ``#2'' - undefined\MessageBreak - for label type ``#3''% - }{% - The format ``#2'' was not defined for the label type - ``#3''\MessageBreak - and the \backslashchar#1ref\space command. Perhaps - you have only misspelled its name.\MessageBreak - Otherwise you will have to define it with - \protect\new#1refformat\MessageBreak - prior to using it.% - }% - }{% - \fancyrefhook{% - \@nameuse{#1r@#2@#3}% - {\ref{#3\fancyrefargdelim#4}}% - {}% lwarp - {}% lwarp - }% - }% -}% \endinput %% %% End of file `lwarp-fancyref.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty index 67ef8867df3..a3fab94f2c6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty @@ -65,9 +65,7 @@ \renewcommand*{\FV@SingleFrameSep}{} \def\FV@BUseVerbatim#1{% - \LWR@atbeginverbatim{0}{verbatim}% \FV@BVerbatimBegin#1\FV@BVerbatimEnd% - \LWR@afterendverbatim{0}% } \newcommand*{\LWR@FVstyle}{} @@ -79,26 +77,26 @@ \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% \fi \fi -\LWR@atbeginverbatim{0}{verbatim}% +\LWR@atbeginverbatim{verbatim}% } \newcommand*{\LWR@fvendnone}{% \LWR@traceinfo{fvendnone}% -\LWR@afterendverbatim{0}% +\LWR@afterendverbatim% \LWR@stoppars% \ifx\FV@LabelPositionBottomLine\relax\else \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% @@ -193,7 +191,7 @@ solid {\FancyVerbRuleColor{\LWR@origpound\LWR@tempcolor}} ; % space \let\FV@LeftListFrame\relax% \let\FV@RightListFrame\relax% \let\FV@EndListFrame\LWR@fvendline} - +\def\FV@FrameFillLine{}% \def\FV@Frame@leftline{% \renewcommand*{\LWR@FVstyle}{% \LWR@currenttextcolorstyle\LWR@indentHTMLtwo% @@ -244,16 +242,30 @@ solid {\FancyVerbRuleColor{\LWR@origpound\LWR@tempcolor}} ; % space } } -\AtBeginEnvironment{BVerbatim} -{% -\LWR@forcenewpage% instead of \preto -\LWR@atbeginverbatim{0}{bverbatim}% +\def\FV@ListProcessLine@i#1{% + \ifvoid\@labels\else + \hbox to \z@{\kern\@totalleftmargin\box\@labels\hss}% + \fi + \FV@ListProcessLine{#1}% } -\AfterEndEnvironment{BVerbatim} -{% -\LWR@afterendverbatim{0}% -} +\def\FV@ListProcessLastLine{} + + +\xpretocmd{\FV@BeginVBox} + {% + \LWR@forcenewpage% instead of \preto + \LWR@atbeginverbatim{bverbatim}% + } + {} + {\LWR@patcherror{fancyvrb}{FV@BeginVBox}} + +\xapptocmd{\FV@EndVBox} + {% + \LWR@afterendverbatim% + } + {} + {\LWR@patcherror{fancyvrb}{FV@EndVBox}} } % \AfterEndPreamble diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fbox.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fbox.sty new file mode 100644 index 00000000000..f1a49c4f319 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fbox.sty @@ -0,0 +1,102 @@ +%% +%% This is file `lwarp-fbox.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `fbox') +%% 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{fbox}[2020/06/22] +\LetLtxMacro\LWR@HTML@fbox\fbox +\renewcommand*{\orig@fbox}{\FBox@i[tblr]} +\newcommand*{\LWR@fboxpkg@border}[2]{% + \appto\LWR@tempone{% + border-#1: % space + \LWR@printlength{\LWR@atleastonept} % space + solid \LWR@origpound\LWR@tempcolor ;\LWR@indentHTML + }% + \ifblank{#2}{}{% + \appto\LWR@tempone{% + padding-#1: \LWR@printlength{#2} ;\LWR@indentHTML + }% + }% +} +\newbool{LWR@fboxpkg@ispar} +\boolfalse{LWR@fboxpkg@ispar} +\newcommand{\LWR@fboxpkg@lrpadding}[1]{% + \csuse{if@fbox@space@#1}% + \appto\LWR@tempone{% + padding-#1: \LWR@printlength{\fbox@@sep};\LWR@indentHTML + } + \else% + \appto\LWR@tempone{% + padding-#1: 0pt;\LWR@indentHTML + } + \fi% +} +\newcommand{\LWR@HTML@FBox@iii}[1]{% + \LWR@forceminwidth{\fbox@@rule}% + \LWR@findcurrenttextcolor% + \def\LWR@tempone{% + color: \LWR@origpound\LWR@tempcolor ; \LWR@indentHTML + margin: 1ex ; \LWR@indentHTML + }% + \LWR@fboxpkg@lrpadding{left}% + \LWR@fboxpkg@lrpadding{right}% + \ifnum\the\@tempcntb>8\relax + \advance\@tempcntb by -8 + \LWR@fboxpkg@border{top}{\fbox@@sep}% + \fi + \ifnum\@tempcntb>3 + \advance\@tempcntb by -4 + \LWR@fboxpkg@border{left}{}% + \fi + \ifnum\@tempcntb>1 + \LWR@fboxpkg@border{right}{}% + \fi + \ifodd\@tempcntb + \LWR@fboxpkg@border{bottom}{\fbox@@sep}% + \fi + \color@begingroup + \ifbool{LWR@fboxpkg@ispar}% + {% + \begin{BlockClass}[\LWR@tempone]{fboxpkg}% + #1% + \end{BlockClass}% + }% + {% + \InlineClass[\LWR@tempone]{fboxpkg}{% + #1% + }% + }% + \color@endgroup + \boolfalse{LWR@fboxpkg@ispar}% globally +} +\LWR@formatted{FBox@iii} +\long\def\LWR@HTML@FParBox@i[#1]#2{% + \booltrue{LWR@fboxpkg@ispar}% + \FBox@i[#1]{#2} +} +\LWR@formatted{FParBox@i} + +\long\def\LWR@HTML@FParBox@ii#1{% + \booltrue{LWR@fboxpkg@ispar}% + \FBox@i[tblr]{#1}% +} +\LWR@formatted{FParBox@ii} +\CustomizeMathJax{\let\LWRorigfbox\fbox} +\CustomizeMathJax{\newcommand{\LWRfboxpkgtwo}[2][]{\LWRorigfbox{#2}}} +\CustomizeMathJax{\renewcommand{\fbox}{\ifstar\LWRfboxpkgtwo\LWRfboxpkgtwo}} +\CustomizeMathJax{\newcommand{\fparbox}{\fbox}} +\endinput +%% +%% End of file `lwarp-fbox.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fixmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fixmath.sty new file mode 100644 index 00000000000..b85aab961bd --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fixmath.sty @@ -0,0 +1,29 @@ +%% +%% This is file `lwarp-fixmath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `fixmath') +%% 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{fixmath}[2000/04/11] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\LWR@mathjax@addgreek@u@it*{}{} +\LWR@mathjax@addletter{\BooleanTrue}{up}{}{delta}{0394} +\LWR@mathjax@addletter{\BooleanTrue}{up}{}{omega}{03A9} +\CustomizeMathJax{\newcommand{\mathbold}[1]{\boldsymbol{#1}}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-fixmath.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fixme.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fixme.sty index 1110138cd35..ebf5393ee4a 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fixme.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fixme.sty @@ -20,7 +20,11 @@ \let\@wrindex\LWR@wrindex \newcommand{\ext@fixme}{lox} -\renewcommand{\l@fixme}[2]{\hypertocfloat{1}{fixme}{lox}{#1}{#2}} +\renewcommand{\l@fixme}[2]{% + \hypertocfloat{1}{fixme}{lox}% + {\LWR@nameref{\BaseJobname-autopage-\arabic{LWR@nextautopage}} --- #1} + {#2} +} \def\FXFaceInlineHTMLStyle{font-weight:bold} \renewcommand*\FXLayoutInline[3]{ % diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty index eed8100ed1f..add1c1bf03f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty @@ -19,21 +19,24 @@ \LWR@ProvidesPackageDrop{float}[2001/11/08] - \newcommand*{\LWR@floatstyle}{plain} \NewDocumentCommand{\newfloat}{m m m o}{% -\IfValueTF{#4}% -{\DeclareFloatingEnvironment[fileext=#3,within=#4]{#1}}% -{\DeclareFloatingEnvironment[fileext=#3]{#1}}% -\csedef{LWR@floatstyle@#1}{\LWR@floatstyle}% -\cslet{listof#1s}\relax% -\cslet{listof#1es}\relax% -\cslet{l@#1}\relax% + \IfValueTF{#4}% + {\DeclareFloatingEnvironment[fileext=#3,within=#4]{#1}}% + {\DeclareFloatingEnvironment[fileext=#3]{#1}}% + \csedef{LWR@floatstyle@#1}{\LWR@floatstyle}% + \cslet{listof#1s}\relax% + \cslet{listof#1es}\relax% + \cslet{l@#1}\relax% } \NewDocumentCommand{\floatname}{m +m}{% - \SetupFloatingEnvironment{#1}{name=#2}% + \def\LWR@tempone{#2}% + \def\LWR@temptwo{\@nameuse{#1name}}% + \ifdefequal{\LWR@tempone}{\LWR@temptwo}{}{% + \SetupFloatingEnvironment{#1}{name=#2}% + }% } \newcommand*{\floatplacement}[2]{% @@ -48,6 +51,7 @@ \csedef{LWR@floatstyle@#2}{\LWR@floatstyle}% } + \endinput %% %% End of file `lwarp-float.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty index 741d258186e..2679d8592c1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty @@ -37,7 +37,7 @@ }% {marginblock}% }% - \captionsetup{type=#2}% + \renewcommand*{\@captype}{#2}% } {% \endLWR@BlockClassWP% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty index 4d86eb3fee4..c5ee4554ab9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty @@ -26,8 +26,8 @@ \AtBeginDocument{ \@ifpackageloaded{subcaption} -{\booltrue{LWR@subcaptionloaded}} -{\boolfalse{LWR@subcaptionloaded}} + {\booltrue{LWR@subcaptionloaded}} + {\boolfalse{LWR@subcaptionloaded}} } \NewDocumentCommand{\floatbox}{o m o o o +m +m}{% @@ -160,9 +160,9 @@ \newcommand{\RawCaption}[1]{#1} \NewDocumentCommand{\floatfoot}{s +m}{% -\begin{BlockClass}{floatfoot} -#2 -\end{BlockClass} + \begin{BlockClass}{floatfoot} + #2 + \end{BlockClass} } \newbool{LWR@insubfloatrow} @@ -170,15 +170,15 @@ \newenvironment*{subfloatrow}[1][2] { -\LWR@forcenewpage -\BlockClass{floatrow} -\begingroup -\booltrue{LWR@insubfloatrow} + \LWR@forcenewpage + \BlockClass{floatrow} + \begingroup% + \booltrue{LWR@insubfloatrow}% } -{ -\endgroup -\endBlockClass -\boolfalse{LWR@insubfloatrow} +{% + \endgroup% + \endBlockClass% + \boolfalse{LWR@insubfloatrow}% } \endinput diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fnpara.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fnpara.sty new file mode 100644 index 00000000000..c9b74bf0cba --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fnpara.sty @@ -0,0 +1,21 @@ +%% +%% This is file `lwarp-fnpara.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `fnpara') +%% 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@ProvidesPackageDrop{fnpara} +\endinput +%% +%% End of file `lwarp-fnpara.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontaxes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontaxes.sty index 0ad467ea02d..a93fbefb695 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontaxes.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontaxes.sty @@ -16,29 +16,17 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{fontaxes}[2014/03/23] -\newrobustcmd{\LWR@HTML@sscshape}{\LWR@HTML@scshape} -\LWR@formatted{sscshape} -\newcommand*{\LWR@null@sscshape}{} - -\newrobustcmd{\LWR@HTML@textssc}[1]{\textsc{#1}} -\LWR@formatted{textssc} -\newcommand*{\LWR@null@textssc}[1]{#1} - \ifdef{\LWR@HTML@swshape}{}{% duplicated by nfssext-cfr \newcommand{\LWR@HTML@swshape}{} \LWR@formatted{swshape} - \newcommand*{\LWR@null@swshape}{} - \newcommand{\LWR@HTML@textsw}[1]{#1} + \newrobustcmd{\LWR@HTML@textsw}[1]{#1} \LWR@formatted{textsw} - \newcommand*{\LWR@null@textsw}[1]{#1} -} -\appto{\LWR@nullfonts}{% -\LetLtxMacro\sscshape\LWR@null@sscshape% -\LetLtxMacro\textssc\LWR@null@textssc% -\LetLtxMacro\swshape\LWR@null@swshape% -\LetLtxMacro\textsw\LWR@null@textsw% + \FilenameNullify{% + \LetLtxMacro\swshape\@empty% + \LetLtxMacro\textsw\firstofone% + } } \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty index 83fbf2a8b3a..9a0fbfeec0e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty @@ -18,7 +18,9 @@ \LWR@ProvidesPackagePass{forest}[2017/07/14] -\BeforeBeginEnvironment{forest}{\begin{lateximage}[forest]} +\BeforeBeginEnvironment{forest}{% + \begin{lateximage}[-forest-~\PackageDiagramAltText]% +} \AfterEndEnvironment{forest}{\end{lateximage}} @@ -26,8 +28,9 @@ \forest@config{#2}% \IfBooleanTF{#1}{% \PackageError{lwarp-forest}% - {Starred \Forest is not supported}% - {Lwarp uses an environment for images, but \Forest* cannot work in an environment.}% + {\protect\Forest* is not supported}% + {Lwarp uses an environment for images,\MessageBreak + but \protect\Forest* cannot work in an environment.}% \let\forest@next\forest@env% }{\let\forest@next\forest@group@env}% \begin{lateximage}[-forest-~\PackageDiagramAltText]% lwarp diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fourier.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fourier.sty new file mode 100644 index 00000000000..6d0ff9446a5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fourier.sty @@ -0,0 +1,86 @@ +%% +%% This is file `lwarp-fourier.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `fourier') +%% 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{fourier}[2020/03/03] + +\LWR@infoprocessingmathjax{fourier} +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\LWR@origRequirePackage{lwarp-common-mathjax-overlaysymbols} + +\begin{warpMathJax} + +\@ifpackagewith{fourier}{sloped} + { + \LWR@mathjax@addgreek@l@up{other}{} + \LWR@mathjax@addgreek@u@it*{other}{} + }% sloped + {% not sloped + \@ifpackagewith{fourier}{upright} + {% upright option + \LWR@mathjax@addgreek@l@up{}{} + \LWR@mathjax@addgreek@u@up*{}{} + \LWR@mathjax@addgreek@l@it{other}{} + \LWR@mathjax@addgreek@u@it*{other}{} + } + {% neither sloped nor upright + \LWR@mathjax@addgreek@l@up{other}{} + \LWR@mathjax@addgreek@u@it*{other}{} + } + } + +\CustomizeMathJax{\newcommand{\othergreek}[1]{#1}} +\CustomizeMathJax{\let\varvarrho\varrho} +\CustomizeMathJax{\let\varvarpi\varpi} +\CustomizeMathJax{\let\othervarvarpi\othervarpi} +\CustomizeMathJax{\let\othervarvarrho\othervarrho} +\CustomizeMathJax{\let\varpartialdiff\partial} +\CustomizeMathJax{\let\llbracket\lBrack} +\CustomizeMathJax{\let\rrbracket\rBrack} +\CustomizeMathJax{\let\dblbrackleft\lBrack} +\CustomizeMathJax{\let\dblbrackright\rBrack} + +\CustomizeMathJax{\let\VERT|} + +\CustomizeMathJax{\newcommand{\parallelslant}{\mathrel{\unicode{x02AFD}}}} +\CustomizeMathJax{\newcommand{\thething}{\mathord{\unicode{x1F60E}}}} +\CustomizeMathJax{\newcommand{\nparallelslant}{% + \mathrel{\LWRoverlaysymbols{-}{\unicode{x02AFD}}}% +}} +\CustomizeMathJax{\newcommand{\xswordsup}{\mathord{\unicode{x2694}}}} +\CustomizeMathJax{\newcommand{\xswordsdown}{\mathord{\unicode{x2694}}}}% up +\CustomizeMathJax{\newcommand{\notowns}{\mathrel{\unicode{x220C}}}} + +\CustomizeMathJax{\newcommand{\iintop}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\iiintop}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\oiint}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\let\oiintop\oiint} +\CustomizeMathJax{\newcommand{\oiiint}{\mathop{\unicode{x2230}}\limits}} +\CustomizeMathJax{\let\oiiintop\oiiint} +\CustomizeMathJax{\newcommand{\slashint}{\mathop{\unicode{x2A0D}}\limits}} +\CustomizeMathJax{\let\slashintop\slashint} + +\CustomizeMathJax{\let\overgroup\overparen} +\CustomizeMathJax{\let\wideparen\overparen} +\CustomizeMathJax{\let\widearc\overparen} +\CustomizeMathJax{\let\wideOarc\overrightarrow} +\CustomizeMathJax{\newcommand{\widering}[1]{\stackrel{\unicode{x2218}}{\overgroup{#1}}}} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-fourier.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fvextra.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fvextra.sty new file mode 100644 index 00000000000..28cf6b3ed77 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fvextra.sty @@ -0,0 +1,166 @@ +%% +%% This is file `lwarp-fvextra.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `fvextra') +%% 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{fvextra}[2019/02/04] + +\define@booleankey{FV}{obeytabs}% + {\let\FV@ObeyTabsInit\relax} + {\let\FV@ObeyTabsInit\relax} + +\define@key{FV}{tabcolor}% + {} + +\define@key{FV}{tab}{} + +\define@booleankey{FV}{showtabs}% + {\let\FV@TabChar\relax} + {\let\FV@TabChar\relax} + +\newbool{LWR@FV@breaklines} + +\define@booleankey{FV}{breaklines}% + {\FV@BreakLinesfalse + \booltrue{LWR@FV@breaklines} + \let\FV@ListProcessLine\FV@ListProcessLine@NoBreak} + {\FV@BreakLinesfalse + \boolfalse{LWR@FV@breaklines} + \let\FV@ListProcessLine\FV@ListProcessLine@NoBreak} + +\define@key{FV}{breakanywheresymbolpre}{\def\FancyVerbBreakAnywhereSymbolPre{}} +\fvset{breakanywheresymbolpre={}} + +\define@key{FV}{breakanywheresymbolpost}{\def\FancyVerbBreakAnywhereSymbolPost{}} +\fvset{breakanywheresymbolpost={}} + +\define@key{FV}{breakbeforesymbolpre}{\def\FancyVerbBreakBeforeSymbolPre{}} +\fvset{breakbeforesymbolpre={}} + +\define@key{FV}{breakbeforesymbolpost}{\def\FancyVerbBreakBeforeSymbolPost{}} +\fvset{breakbeforesymbolpost={}} + +\define@key{FV}{breakaftersymbolpre}{\def\FancyVerbBreakAfterSymbolPre{}} +\fvset{breakaftersymbolpre={}} + +\define@key{FV}{breakaftersymbolpost}{\def\FancyVerbBreakAfterSymbolPost{}} +\fvset{breakaftersymbolpost={}} + +\define@key{FV}{breaksymbolleft}{\def\FancyVerbBreakSymbolLeft{}} + +\define@key{FV}{breaksymbol}{\fvset{breaksymbolleft={}}} + +\fvset{breaksymbolleft={}} + +\define@key{FV}{breaksymbolright}{\def\FancyVerbBreakSymbolRight{}} +\fvset{breaksymbolright={}} + +\def\FV@ListProcessLine@NoBreak#1{% + \FV@LeftListNumber% + \FV@LeftListFrame% + \FancyVerbFormatLine{% + \FancyVerbHighlightLine{% + \FV@ObeyTabs{\FancyVerbFormatText{#1}}}}%\hss + \FV@RightListFrame% + \FV@RightListNumber% +\null\par% lwarp +} + +\newcommand*{\LWR@FV@linethensep}{% + \ifbool{LWR@FV@breaklines}% + {\theFancyVerbLine\kern\FV@NumberSep}% + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}}% +} + +\newcommand*{\LWR@FV@septhenline}{% + \ifbool{LWR@FV@breaklines}% + {\kern\FV@NumberSep\theFancyVerbLine}% + {\hbox to\z@{\kern\FV@NumberSep\theFancyVerbLine\hss}}% +} + +\xpatchcmd{\FV@Numbers@left} + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}} + {\LWR@FV@linethensep} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@left A}} + +\xpatchcmd{\FV@Numbers@left} + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}} + {\LWR@FV@linethensep} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@left B}} + +\xpatchcmd{\FV@Numbers@left} + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}} + {\LWR@FV@linethensep} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@left C}} + +\xpatchcmd{\FV@Numbers@right} + {\hbox to\z@{\kern\FV@NumberSep\theFancyVerbLine\hss}} + {\LWR@FV@septhenline} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@right A}} + +\xpatchcmd{\FV@Numbers@right} + {\hbox to\z@{\kern\FV@NumberSep\theFancyVerbLine\hss}} + {\LWR@FV@septhenline} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@right B}} + +\xpatchcmd{\FV@Numbers@right} + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}} + {\LWR@FV@linethensep} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@right C}} + +\xpatchcmd{\FV@Numbers@both} + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}} + {\LWR@FV@linethensep} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@both A}} + +\xpatchcmd{\FV@Numbers@both} + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}} + {\LWR@FV@linethensep} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@both B}} + +\xpatchcmd{\FV@Numbers@both} + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}} + {\LWR@FV@linethensep} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@both C}} + +\xpatchcmd{\FV@Numbers@both} + {\hbox to\z@{\kern\FV@NumberSep\theFancyVerbLine\hss}} + {\LWR@FV@septhenline} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@both D}} + +\xpatchcmd{\FV@Numbers@both} + {\hbox to\z@{\kern\FV@NumberSep\theFancyVerbLine\hss}} + {\LWR@FV@septhenline} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@both E}} + +\xpatchcmd{\FV@Numbers@both} + {\hbox to\z@{\hss\theFancyVerbLine\kern\FV@NumberSep}} + {\LWR@FV@linethensep} + {} + {\LWR@patcherror{fvextra}{FV@Numbers@both F}} +\endinput +%% +%% End of file `lwarp-fvextra.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-gindex.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-gindex.sty new file mode 100644 index 00000000000..6f494067420 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-gindex.sty @@ -0,0 +1,42 @@ +%% +%% This is file `lwarp-gindex.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `gindex') +%% 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{gindex}[2019/10/07] +\AtBeginDocument{ + \robustify{\indexpagessep} + \robustify{\indexrangesep} + \renewcommand*{\IndexPageSeparator}{\indexpagessep} + \renewcommand*{\IndexRangeSeparator}{\indexrangesep} +} +\def\addindexitem#1#2{% + \indexflushitem + \gix@getspecial#1\indexspecial\indexspecial\@@\indexitem{\hyperindexref{#2}}} + +\def\addindexsubitem#1#2{% + \stepcounter{indexsubitems}% + \gix@getspecial#1\indexspecial\indexspecial\@@\indexsubitem{\hyperindexref{#2}}} + +\def\addindexsubsubitem#1#2{% + \gix@getspecial#1\indexspecial\indexspecial\@@\indexsubsubitem{\hyperindexref{#2}}} +\renewcommand\indexheading[1]{% + \begin{BlockClass}{indexheading} + \MakeUppercase{#1}% + \end{BlockClass} +} +\endinput +%% +%% End of file `lwarp-gindex.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty index 5e3c9e8d40e..eba517b8ac9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty @@ -24,7 +24,7 @@ \setglossarystyle{index} \renewcommand*{\@p@glossarysection}[2]{% \glsclearpage - \phantomsection + \LWR@phantomsection \ifdefempty\@@glossarysecstar {% \csname\@@glossarysec\endcsname{#2}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty index 578be1bc75d..4f21fd6f8d9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. -\LWR@ProvidesPackagePass{graphics}[2017/06/25] +\LWR@ProvidesPackagePass{graphics}[2020/08/30] \AtBeginDocument{ @@ -102,9 +102,8 @@ \define@key{igraph}{scale}{% \ifthenelse{\equal{#1}{1}}{}{% must expand #1 \PackageWarning{lwarp}{% - It is recommended to use\MessageBreak - [width=xx\protect\linewidth]\MessageBreak - instead of [scale=yy],% + It is recommended to use ``[width=xx\protect\linewidth]''\MessageBreak + instead of ``[scale=yy]'',% }% }% \renewcommand*{\LWR@igxscale}{#1}% @@ -252,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 @@ -264,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}{}}% @@ -296,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} @@ -336,10 +335,11 @@ \Ginclude@graphics{\detokenize\expandafter{\LWR@tempone}}% \endgroup% \filename@parse{\LWR@parsedfilename}% + \StrSubstitute{\LWR@parsedfilename}{//}{/}[\LWR@parsedfilename]% \LWR@traceinfo{LWR@parsedfilename is \LWR@parsedfilename}% \LWR@ig@wpimagesizes{#1}{#2}{#3}{#4}% \LWR@traceinfo{LWR@includegraphicsb: about to create href}% - \href{\LWR@parsedfilename}% + \LWR@href{\LWR@parsedfilename}% {% start of href \LWR@traceinfo{LWR@includegraphicsb: about to LWR@htmltag}% \LWR@htmltag{\LWR@ig@htmltag}% @@ -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% @@ -434,7 +434,7 @@ \AtBeginDocument{ \newcommand{\LWR@HTML@reflectbox}[1]{% -\scalebox{-1}[1]{#1}% + \scalebox{-1}[1]{#1}% }% \reflectbox \LWR@formatted{reflectbox} @@ -444,7 +444,7 @@ \AtBeginDocument{ \NewDocumentCommand{\LWR@HTML@resizebox}{s m m m}{% -#4% + #4% } \LWR@formatted{resizebox} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty index fbb2ae2390f..6ba7413de87 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. -\LWR@ProvidesPackagePass{graphicx}[2017/06/01] +\LWR@ProvidesPackagePass{graphicx}[2020/09/09] \endinput %% 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-hepunits.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hepunits.sty new file mode 100644 index 00000000000..f854521e48a --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hepunits.sty @@ -0,0 +1,84 @@ +%% +%% This is file `lwarp-hepunits.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `hepunits') +%% 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{hepunits}[2020/04/10] +\begin{warpMathJax} +\LWR@infoprocessingmathjax{hepunits} + +\ifx\@HEPopt@sicmds\@yes +\CustomizeMathJax{\newcommand{\micron}{\micro\metre}} +\CustomizeMathJax{\newcommand{\mrad}{\milli\radian}} +\fi + +\CustomizeMathJax{\newcommand{\gauss}{\mathrm{G}}} + +\CustomizeMathJax{\newcommand{\invcmsq}{\centi\metre\tothe{-2}}} +\CustomizeMathJax{\newcommand{\invcmsqpersecond}{\invcmsq\second\tothe{-1}}} +\CustomizeMathJax{\newcommand{\invcmsqpersec}{\invcmsqpersecond}} + +%% (Inverse) cross-sections +\CustomizeMathJax{\newcommand{\invbarn}{\barn\tothe{-1}}} + +\ifx\@HEPopt@noprefixcmds\@empty +\CustomizeMathJax{\newcommand{\millibarn}{\milli\barn}} +\CustomizeMathJax{\newcommand{\microbarn}{\micro\barn}} +\CustomizeMathJax{\newcommand{\nanobarn}{\nano\barn}} +\CustomizeMathJax{\newcommand{\picobarn}{\pico\barn}} +\CustomizeMathJax{\newcommand{\femtobarn}{\femto\barn}} +\CustomizeMathJax{\newcommand{\attobarn}{\atto\barn}} +\CustomizeMathJax{\newcommand{\zeptobarn}{\zepto\barn}} +\CustomizeMathJax{\newcommand{\yoctobarn}{\yocto\barn}} +\CustomizeMathJax{\newcommand{\invnanobarn}{\nano\invbarn}} +\CustomizeMathJax{\newcommand{\invpicobarn}{\pico\invbarn}} +\CustomizeMathJax{\newcommand{\invfemtobarn}{\femto\invbarn}} +\CustomizeMathJax{\newcommand{\invattobarn}{\atto\invbarn}} +\CustomizeMathJax{\newcommand{\invzeptobarn}{\zepto\invbarn}} +\CustomizeMathJax{\newcommand{\invyoctobarn}{\yocto\invbarn}} +\CustomizeMathJax{\newcommand{\invnb}{\invnanobarn}} +\CustomizeMathJax{\newcommand{\invpb}{\invpicobarn}} +\CustomizeMathJax{\newcommand{\invfb}{\invfemtobarn}} +\CustomizeMathJax{\newcommand{\invab}{\invattobarn}} +\CustomizeMathJax{\newcommand{\invzb}{\invzeptobarn}} +\CustomizeMathJax{\newcommand{\invyb}{\invyoctobarn}} +\fi + +\CustomizeMathJax{\newcommand{\electronvoltc}{\electronvolt\per\mathit{c}}} +\CustomizeMathJax{\newcommand{\electronvoltcsq}{\electronvolt\per\mathit{c}\squared}} +\CustomizeMathJax{\let\eVc\electronvoltc} +\CustomizeMathJax{\let\eVcsq\electronvoltcsq} + +\ifx\@HEPopt@noprefixcmds\@empty +\CustomizeMathJax{\newcommand{\meV}{\milli\eV}} +\CustomizeMathJax{\newcommand{\keV}{\kilo\eV}} +\CustomizeMathJax{\newcommand{\MeV}{\mega\eV}} +\CustomizeMathJax{\newcommand{\GeV}{\giga\eV}} +\CustomizeMathJax{\newcommand{\TeV}{\tera\eV}} +\CustomizeMathJax{\newcommand{\meVc}{\milli\eVc}} +\CustomizeMathJax{\newcommand{\keVc}{\kilo\eVc}} +\CustomizeMathJax{\newcommand{\MeVc}{\mega\eVc}} +\CustomizeMathJax{\newcommand{\GeVc}{\giga\eVc}} +\CustomizeMathJax{\newcommand{\TeVc}{\tera\eVc}} +\CustomizeMathJax{\newcommand{\meVcsq}{\milli\eVcsq}} +\CustomizeMathJax{\newcommand{\keVcsq}{\kilo\eVcsq}} +\CustomizeMathJax{\newcommand{\MeVcsq}{\mega\eVcsq}} +\CustomizeMathJax{\newcommand{\GeVcsq}{\giga\eVcsq}} +\CustomizeMathJax{\newcommand{\TeVcsq}{\tera\eVcsq}} +\fi +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-hepunits.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hhtensor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hhtensor.sty new file mode 100644 index 00000000000..57e680c9093 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hhtensor.sty @@ -0,0 +1,47 @@ +%% +%% This is file `lwarp-hhtensor.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `hhtensor') +%% 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{hhtensor}[2011/12/29] +\begin{warpMathJax} +\iftensor@bold + \CustomizeMathJax{\newcommand{\vec}[1]{\boldsymbol{#1}}} + \CustomizeMathJax{\newcommand{\matr}[1]{\boldsymbol{#1}}} + \CustomizeMathJax{\newcommand{\tens}[2]{\boldsymbol{#1}}} +\else + \iftensor@uline + \CustomizeMathJax{\newcommand{\vec}[1]{\ushort{#1}}} + \CustomizeMathJax{\newcommand{\matr}[1]{\ushortd{#1}}} + \CustomizeMathJax{\newcommand{\tens}[2]{ + \underset{ + \raise{.5ex}{\underset{#2}{\sim}} + }{#1} + }} + \else + \CustomizeMathJax{\newcommand{\matr}[1]{\vec{\vec{#1}}}} + \CustomizeMathJax{\newcommand{\tens}[2]{ + \underset{ + \raise{.5ex}{\underset{#2}{\sim}} + }{#1} + }} + \fi +\fi +\CustomizeMathJax{\newcommand{\dcdot}{\mathrel{\cdot\mkern 0.0mu \cdot}}} +\CustomizeMathJax{\newcommand{\trans}{{}^{\mathrm{T}}}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-hhtensor.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty index 1f1cf1ac9d1..8c6b91c105b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty @@ -20,23 +20,271 @@ \PackageInfo{lwarp}{% Using the lwarp HTML version of package `hyperref',\MessageBreak -and discarding options.\MessageBreak +and discarding options except backref, pagebackref.\MessageBreak (Not using \protect\ProvidesPackage, so that other packages\MessageBreak do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} +\SetupKeyvalOptions{family=LWR@hyperref,prefix=LWR@hyperref@} + +\newcommand{\hypersetup}[1]{\setkeys{LWR@hyperref}{#1}} + +\define@key{LWR@hyperref}{a4paper}[]{} +\define@key{LWR@hyperref}{a5paper}[]{} +\define@key{LWR@hyperref}{b5paper}[]{} +\define@key{LWR@hyperref}{letterpaper}[]{} +\define@key{LWR@hyperref}{legalpaper}[]{} +\define@key{LWR@hyperref}{executivepaper}[]{} +\define@key{LWR@hyperref}{implicit}[]{} +\define@key{LWR@hyperref}{draft}[]{} +\define@key{LWR@hyperref}{final}[]{} +\define@key{LWR@hyperref}{setpagesize}[]{} +\define@key{LWR@hyperref}{debug}[]{} +\define@key{LWR@hyperref}{linktocpage}[]{} +\define@key{LWR@hyperref}{linktoc}[]{} +\define@key{LWR@hyperref}{extension}[]{} +\define@key{LWR@hyperref}{verbose}[]{} +\define@key{LWR@hyperref}{typexml}[]{} +\define@key{LWR@hyperref}{raiselinks}[]{} +\define@key{LWR@hyperref}{breaklinks}[]{} +\define@key{LWR@hyperref}{localanchorname}[]{} +\define@key{LWR@hyperref}{pageanchor}[]{} +\define@key{LWR@hyperref}{plainpages}[]{} +\define@key{LWR@hyperref}{naturalnames}[]{} +\define@key{LWR@hyperref}{hypertexnames}[]{} +\define@key{LWR@hyperref}{nesting}[]{} +\define@key{LWR@hyperref}{destlabel}[]{} +\define@key{LWR@hyperref}{unicode}[]{} +\define@key{LWR@hyperref}{pdfencoding}[]{} +\define@key{LWR@hyperref}{psdextra}[]{} +\define@key{LWR@hyperref}{pdfversion}[]{} +\define@key{LWR@hyperref}{dvipdfmx-outline-open}[]{} +\define@key{LWR@hyperref}{driverfallback}[]{} +\define@key{LWR@hyperref}{customdriver}[]{} +\define@key{LWR@hyperref}{hyperfigures}[]{} +\define@key{LWR@hyperref}{hyperfootnotes}[]{} +\define@key{LWR@hyperref}{hyperindex}[]{} +\define@key{LWR@hyperref}{encap}[]{} +\define@key{LWR@hyperref}{colorlinks}[]{} +\define@key{LWR@hyperref}{ocgcolorlinks}[]{} +\define@key{LWR@hyperref}{frenchlinks}[]{} +\define@key{LWR@hyperref}{bookmarks}[]{} +\define@key{LWR@hyperref}{bookmarksopen}[]{} +\define@key{LWR@hyperref}{bookmarksdepth}[]{} +\define@key{LWR@hyperref}{bookmarksopenlevel}[]{} +\define@key{LWR@hyperref}{bookmarkstype}[]{} +\define@key{LWR@hyperref}{bookmarksnumbered}[]{} +\define@key{LWR@hyperref}{CJKbookmarks}[]{} +\define@key{LWR@hyperref}{link}[]{} +\define@key{LWR@hyperref}{anchor}[]{} +\define@key{LWR@hyperref}{cite}[]{} +\define@key{LWR@hyperref}{file}[]{} +\define@key{LWR@hyperref}{url}[]{} +\define@key{LWR@hyperref}{menu}[]{} +\define@key{LWR@hyperref}{run}[]{} +\define@key{LWR@hyperref}{linkbordercolor}[]{} +\define@key{LWR@hyperref}{anchorbordercolor}[]{} +\define@key{LWR@hyperref}{citebordercolor}[]{} +\define@key{LWR@hyperref}{filebordercolor}[]{} +\define@key{LWR@hyperref}{urlbordercolor}[]{} +\define@key{LWR@hyperref}{menubordercolor}[]{} +\define@key{LWR@hyperref}{runbordercolor}[]{} +\define@key{LWR@hyperref}{pagecolor}[]{} +\define@key{LWR@hyperref}{baseurl}[]{} +\define@key{LWR@hyperref}{linkfileprefix}[]{} +\define@key{LWR@hyperref}{pdfpagetransition}[]{} +\define@key{LWR@hyperref}{pdfpageduration}[]{} +\define@key{LWR@hyperref}{pdfpagehidden}[]{} +\define@key{LWR@hyperref}{pagebordercolor}[]{} +\define@key{LWR@hyperref}{allbordercolors}[]{} +\define@key{LWR@hyperref}{pdfhighlight}[]{} +\define@key{LWR@hyperref}{pdfborder}[]{} +\define@key{LWR@hyperref}{pdfborderstyle}[]{} +\define@key{LWR@hyperref}{pdfprintpagerange}[]{} +\define@key{LWR@hyperref}{pdfusetitle}[]{} +\define@key{LWR@hyperref}{pdftitle}[]{} +\define@key{LWR@hyperref}{pdfauthor}[]{} +\define@key{LWR@hyperref}{pdfproducer}[]{} +\define@key{LWR@hyperref}{pdfcreator}[]{} +\define@key{LWR@hyperref}{addtopdfcreator}[]{} +\define@key{LWR@hyperref}{pdfcreationdate}[]{} +\define@key{LWR@hyperref}{pdfmoddate}[]{} +\define@key{LWR@hyperref}{pdfsubject}[]{} +\define@key{LWR@hyperref}{pdfkeywords}[]{} +\define@key{LWR@hyperref}{pdftrapped}[]{} +\define@key{LWR@hyperref}{pdfinfo}[]{} +\define@key{LWR@hyperref}{pdfview}[]{} +\define@key{LWR@hyperref}{pdflinkmargin}[]{} +\define@key{LWR@hyperref}{pdfstartpage}[]{} +\define@key{LWR@hyperref}{pdfstartview}[]{} +\define@key{LWR@hyperref}{pdfremotestartview}[]{} +\define@key{LWR@hyperref}{pdfpagescrop}[]{} +\define@key{LWR@hyperref}{pdftoolbar}[]{} +\define@key{LWR@hyperref}{pdfmenubar}[]{} +\define@key{LWR@hyperref}{pdfwindowui}[]{} +\define@key{LWR@hyperref}{pdffitwindow}[]{} +\define@key{LWR@hyperref}{pdfcenterwindow}[]{} +\define@key{LWR@hyperref}{pdfdisplaydoctitle}[]{} +\define@key{LWR@hyperref}{pdfa}[]{} +\define@key{LWR@hyperref}{pdfnewwindow}[]{} +\define@key{LWR@hyperref}{pdflang}[]{} +\define@key{LWR@hyperref}{pdfpagelabels}[]{} +\define@key{LWR@hyperref}{pdfescapeform}[]{} +\define@key{LWR@hyperref}{english}[]{} +\define@key{LWR@hyperref}{UKenglish}[]{} +\define@key{LWR@hyperref}{british}[]{} +\define@key{LWR@hyperref}{USenglish}[]{} +\define@key{LWR@hyperref}{american}[]{} +\define@key{LWR@hyperref}{german}[]{} +\define@key{LWR@hyperref}{austrian}[]{} +\define@key{LWR@hyperref}{ngerman}[]{} +\define@key{LWR@hyperref}{naustrian}[]{} +\define@key{LWR@hyperref}{russian}[]{} +\define@key{LWR@hyperref}{brazil}[]{} +\define@key{LWR@hyperref}{brazilian}[]{} +\define@key{LWR@hyperref}{portuguese}[]{} +\define@key{LWR@hyperref}{spanish}[]{} +\define@key{LWR@hyperref}{catalan}[]{} +\define@key{LWR@hyperref}{afrikaans}[]{} +\define@key{LWR@hyperref}{french}[]{} +\define@key{LWR@hyperref}{frenchb}[]{} +\define@key{LWR@hyperref}{francais}[]{} +\define@key{LWR@hyperref}{acadian}[]{} +\define@key{LWR@hyperref}{canadien}[]{} +\define@key{LWR@hyperref}{italian}[]{} +\define@key{LWR@hyperref}{magyar}[]{} +\define@key{LWR@hyperref}{hungarian}[]{} +\define@key{LWR@hyperref}{greek}[]{} +\define@key{LWR@hyperref}{dutch}[]{} +\define@key{LWR@hyperref}{tex4ht}[]{} +\define@key{LWR@hyperref}{pdftex}[]{} +\define@key{LWR@hyperref}{luatex}[]{} +\define@key{LWR@hyperref}{nativepdf}[]{} +\define@key{LWR@hyperref}{dvipdfm}[]{} +\define@key{LWR@hyperref}{dvipdfmx}[]{} +\define@key{LWR@hyperref}{xetex}[]{} +\define@key{LWR@hyperref}{pdfmark}[]{} +\define@key{LWR@hyperref}{dvips}[]{} +\define@key{LWR@hyperref}{hypertex}[]{} +\define@key{LWR@hyperref}{vtex}[]{} +\define@key{LWR@hyperref}{vtexpdfmark}[]{} +\define@key{LWR@hyperref}{dviwindo}[]{} +\define@key{LWR@hyperref}{dvipsone}[]{} +\define@key{LWR@hyperref}{textures}[]{} +\define@key{LWR@hyperref}{latex2html}[]{} +\define@key{LWR@hyperref}{ps2pdf}[]{} +\define@key{LWR@hyperref}{vietnamese}[]{} +\define@key{LWR@hyperref}{vietnam}[]{} +\define@key{LWR@hyperref}{arabic}[]{} +\define@key{LWR@hyperref}{hidelinks}[]{} +\define@key{LWR@hyperref}{draft}[]{} +\define@key{LWR@hyperref}{nolinks}[]{} +\define@key{LWR@hyperref}{final}[]{} +\define@key{LWR@hyperref}{pdfa}[]{} +\define@key{LWR@hyperref}{pdfversion}[]{} +\define@key{LWR@hyperref}{typexml}[]{} +\define@key{LWR@hyperref}{tex4ht}[]{} +\define@key{LWR@hyperref}{pdftex}[]{} +\define@key{LWR@hyperref}{nativepdf}[]{} +\define@key{LWR@hyperref}{dvipdfm}[]{} +\define@key{LWR@hyperref}{dvipdfmx}[]{} +\define@key{LWR@hyperref}{dvipdfmx-outline-open}[]{} +\define@key{LWR@hyperref}{pdfmark}[]{} +\define@key{LWR@hyperref}{dvips}[]{} +\define@key{LWR@hyperref}{hypertex}[]{} +\define@key{LWR@hyperref}{vtex}[]{} +\define@key{LWR@hyperref}{vtexpdfmark}[]{} +\define@key{LWR@hyperref}{dviwindo}[]{} +\define@key{LWR@hyperref}{dvipsone}[]{} +\define@key{LWR@hyperref}{textures}[]{} +\define@key{LWR@hyperref}{latex2html}[]{} +\define@key{LWR@hyperref}{ps2pdf}[]{} +\define@key{LWR@hyperref}{xetex}[]{} +\define@key{LWR@hyperref}{driverfallback}[]{} +\define@key{LWR@hyperref}{customdriver}[]{} +\define@key{LWR@hyperref}{pdfversion}[]{} +\define@key{LWR@hyperref}{bookmarks}[]{} +\define@key{LWR@hyperref}{ocgcolorlinks}[]{} +\define@key{LWR@hyperref}{colorlinks}[]{} +\define@key{LWR@hyperref}{frenchlinks}[]{} +\define@key{LWR@hyperref}{backref}[]{} +\define@key{LWR@hyperref}{pagebackref}[]{} +\define@key{LWR@hyperref}{destlabel}[]{} +\define@key{LWR@hyperref}{pdfpagescrop}[]{} +\define@key{LWR@hyperref}{pdfpagemode}[]{} +\define@key{LWR@hyperref}{pdfnonfullscreenpagemode}[]{} +\define@key{LWR@hyperref}{pdfdirection}[]{} +\define@key{LWR@hyperref}{pdfviewarea}[]{} +\define@key{LWR@hyperref}{pdfviewclip}[]{} +\define@key{LWR@hyperref}{pdfprintarea}[]{} +\define@key{LWR@hyperref}{pdfprintclip}[]{} +\define@key{LWR@hyperref}{pdfprintscaling}[]{} +\define@key{LWR@hyperref}{pdfduplex}[]{} +\define@key{LWR@hyperref}{pdfpicktraybypdfsize}[]{} +\define@key{LWR@hyperref}{pdfprintpagerange}[]{} +\define@key{LWR@hyperref}{pdfnumcopies}[]{} +\define@key{LWR@hyperref}{pdfstartview}[]{} +\define@key{LWR@hyperref}{pdfstartpage}[]{} +\define@key{LWR@hyperref}{pdftoolbar}[]{} +\define@key{LWR@hyperref}{pdfmenubar}[]{} +\define@key{LWR@hyperref}{pdfwindowui}[]{} +\define@key{LWR@hyperref}{pdffitwindow}[]{} +\define@key{LWR@hyperref}{pdfcenterwindow}[]{} +\define@key{LWR@hyperref}{pdfdisplaydoctitle}[]{} +\define@key{LWR@hyperref}{pdfpagelayout}[]{} +\define@key{LWR@hyperref}{pdflang}[]{} +\define@key{LWR@hyperref}{baseurl}[]{} +\define@key{LWR@hyperref}{pdfusetitle}[]{} +\define@key{LWR@hyperref}{pdfpagelabels}[]{} +\define@key{LWR@hyperref}{hyperfootnotes}[]{} +\define@key{LWR@hyperref}{hyperfigures}[]{} +\define@key{LWR@hyperref}{hyperindex}[]{} +\define@key{LWR@hyperref}{encap}[]{} +\define@key{LWR@hyperref}{linkcolor}[]{} +\define@key{LWR@hyperref}{anchorcolor}[]{} +\define@key{LWR@hyperref}{citecolor}[]{} +\define@key{LWR@hyperref}{filecolor}[]{} +\define@key{LWR@hyperref}{urlcolor}[]{} +\define@key{LWR@hyperref}{menucolor}[]{} +\define@key{LWR@hyperref}{runcolor}[]{} +\define@key{LWR@hyperref}{allcolors}[]{} + +\DeclareStringOption[false]{backref}[section] + +\DeclareBoolOption{pagebackref} + +\DeclareDefaultOption{} + +\ProcessKeyvalOptions*\relax +\ifdefstring{\LWR@hyperref@backref}{section} + {\RequirePackage{backref}} + {} + +\ifdefstring{\LWR@hyperref@backref}{slide} + {\RequirePackage{backref}} + {} + +\ifdefstring{\LWR@hyperref@backref}{page} + {\RequirePackage{backref}} + {} + +\ifLWR@hyperref@pagebackref + \RequirePackage{backref} +\fi +\LetLtxMacro\href\LWR@href +\LetLtxMacro\nolinkurl\LWR@nolinkurl +\LetLtxMacro\url\LWR@url +\LetLtxMacro\phantomsection\LWR@phantomsection -\DeclareOption*{} -\let\ds@\@empty% from the original \ProcessOptions -\edef\@curroptions{}% lwarp modification to \ProcessOptions -\@process@ptions\relax% from the original \ProcessOptions - -\newcommand*{\hypersetup}[1]{} \newcommand*{\hyperbaseurl}[1]{} \NewDocumentCommand{\LWR@hyperimageb}{m +m}{% \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% } @@ -49,7 +297,7 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} \NewDocumentCommand{\LWR@hyperdefb}{m m +m}{% \LWR@ensuredoingapar% - \LWR@sublabel{#1.#2}% + \LWR@label@createtag{#1.#2}% #3% \endgroup% } @@ -62,18 +310,18 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} \newcommand{\LWR@hyperreffinish}[1]{% \begingroup% - \RenewDocumentCommand{\ref}{}{\LWR@ref@ignorestar}% - #1% + \RenewDocumentCommand{\ref}{s m}{\LWR@print@ref{##2}}% + #1% \endgroup% \LWR@htmltag{/a}% } \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% @@ -144,6 +392,7 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} \newcommand{\belowpdfbookmark}[2]{} +\let\texorpdfstring\relax \newcommand{\texorpdfstring}[2]{#1} \newcommand{\pdfstringdefDisableCommands}[1]{} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty index d823017e23a..822806b6238 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty @@ -17,16 +17,16 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{idxlayout}[2012/03/30] \newcommand{\LWR@indexprenote}{} +\AtBeginDocument{ + \preto\printindex{ -\preto\printindex{ + \LWR@maybe@orignewpage + \LWR@startpars -\LWR@orignewpage -\LWR@startpars - -\LWR@indexprenote + \LWR@indexprenote + } } - \newcommand{\setindexprenote}[1]{\renewcommand{\LWR@indexprenote}{#1}} \newcommand*{\noindexprenote}{\renewcommand{\LWR@indexprenote}{}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-imakeidx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-imakeidx.sty index 05a77eef4a9..177dd6be3f9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-imakeidx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-imakeidx.sty @@ -22,7 +22,7 @@ \catcode`\_=12% \renewcommand*{\printindex}[1][\imki@jobname]{% -\LWR@orignewpage% +\LWR@maybe@orignewpage% \LWR@startpars% \ifstrequal{#1}{\imki@jobname}{% \@ifundefined{#1@idxfile}{% @@ -80,14 +80,14 @@ } \renewcommand\imki@wrindexentrysplit[3]{% \addtocounter{LWR@autoindex}{1}% -\LWR@new@label{LWRindex-\arabic{LWR@autoindex}}% +\label{LWRindex-\arabic{LWR@autoindex}}% \expandafter\protected@write\csname#1@idxfile\endcsname{}% {\string\indexentry{#2}{\arabic{LWR@autoindex}}}% } \renewcommand\imki@wrindexentryunique[3]{% \addtocounter{LWR@autoindex}{1}% -\LWR@new@label{LWRindex-\arabic{LWR@autoindex}}% +\label{LWRindex-\arabic{LWR@autoindex}}% \protected@write\@indexfile{}% {\string\indexentry[#1]{#2}{\arabic{LWR@autoindex}}}% } diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-index.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-index.sty index f95a32084c3..f957c4fe6ef 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-index.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-index.sty @@ -37,7 +37,7 @@ {\begingroup} {% \addtocounter{LWR@autoindex}{1}% lwarp - \LWR@new@label{LWRindex-\arabic{LWR@autoindex}}% lwarp + \label{LWRindex-\arabic{LWR@autoindex}}% lwarp \begingroup% } {} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-intopdf.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-intopdf.sty index e8f834e4102..50910a5c221 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-intopdf.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-intopdf.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{intopdf}[2019/05/28] \NewDocumentCommand{\attachandlink}{o m o m m}{% - \href{#2}{#5}% + \LWR@href{#2}{#5}% } \endinput %% 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-jurabib.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-jurabib.sty new file mode 100644 index 00000000000..c64df8ae2df --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-jurabib.sty @@ -0,0 +1,76 @@ +%% +%% This is file `lwarp-jurabib.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `jurabib') +%% 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{jurabib}[2004/01/25] +\renewrobustcmd{\jblangle}{\textless} + +\renewrobustcmd{\jbrangle}{\textgreater} + +\renewcommand*{\jb@biblaw@item}{% + \hspace{0.5em}% + \HTMLunicode{25B7}% lwarp + \hspace{0.5em}% +} + +\renewrobustcmd{\jbarchsig}[2]{% + \ifjbweareinbib + \settowidth{\jb@subarchitemwidth}{\jbsamesubarchindent+#1}% + \setlength{\jb@subarchentrywidth}{\textwidth-\jb@subarchitemwidth-4em}% + #1\ifjb@dot\unskip\unskip\unskip.\fi + \quad% lwarp + \ifthenelse{\equal{#2}{}}{}{\jbarchnameformat{#2}}% + \fi +}% + +\xpatchcmd{\jb@do@post@item} + {\begin{tabular}{p{\jb@biblaw@item@width}j{\jb@biblaw@entry@width}}} + {} + {} + {\LWR@patcherror{jurabib}{jb@do@post@item 1}} + +\xpatchcmd{\jb@do@post@item} + {\multicolumn{2}{p{\columnwidth}}{\jb@@name}} + {\jb@@name} + {} + {\LWR@patcherror{jurabib}{jb@do@post@item 2}} + +\xpatchcmd{\jb@do@post@item} + {\jb@biblaw@item & \jb@@fulltitle} + {\jb@biblaw@item \quad \jb@@fulltitle} + {} + {\LWR@patcherror{jurabib}{jb@do@post@item 3}} + +\xpatchcmd{\jb@do@post@item} + {\end{tabular}} + {} + {} + {\LWR@patcherror{jurabib}{jb@do@post@item 4}} + +\xpatchcmd{\jb@do@post@item} + {\begin{minipage}[t]{\bibnumberwidth}} + {} + {} + {\LWR@patcherror{jurabib}{jb@do@post@item 5}} + +\xpatchcmd{\jb@do@post@item} + {\end{minipage}} + {\quad} + {} + {\LWR@patcherror{jurabib}{jb@do@post@item 6}} +\endinput +%% +%% End of file `lwarp-jurabib.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 75a9ee855f3..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,11 +105,14 @@ \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. }% - }{}% lwarp + }{\relax}% lwarp \begin{tikzpicture} % grid % for all dimensions diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty index 49e594da490..849e434c704 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty @@ -19,7 +19,7 @@ \LWR@ProvidesPackagePass{keyfloat}[2019/09/23] -\@ifpackagelater{keyfloat}{2019/09/23}{}{ +\@ifpackagelater{keyfloat}{2019/09/23}{\relax}{ \PackageError{lwarp-keyfloat} {% The keyfloat package is out of date.\MessageBreak @@ -211,7 +211,7 @@ {float:right; width:2in; margin:10pt}% {}% {marginblock}% - \captionsetup{type=#2}% + \renewcommand*{\@captype}{#2}% \minipage{\LWR@usersmarginparwidth}% \setlength{\marginparwidth}{.95\LWR@usersmarginparwidth}% } diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keystroke.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keystroke.sty new file mode 100644 index 00000000000..7a60732468e --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keystroke.sty @@ -0,0 +1,70 @@ +%% +%% This is file `lwarp-keystroke.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `keystroke') +%% 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{keystroke}[2010/04/23] +\newcommand*{\LWR@HTML@keystroke}[1]{ + \InlineClass{keystroke}{#1} +} +\LWR@formatted{keystroke} + +\newcommand*{\LWR@HTML@Return}{\keystroke{\HTMLunicode{021A9}}} +\LWR@formatted{Return} + +\newcommand*{\LWR@HTML@BSpace}{\keystroke{\HTMLunicode{027FB}}} +\LWR@formatted{BSpace} + +\newcommand*{\LWR@HTML@Tab}{\keystroke{|\HTMLunicode{021C6}|}} +\LWR@formatted{Tab} + +\newcommand*{\LWR@HTML@UArrow}{\keystroke{\HTMLunicode{02191}}} +\LWR@formatted{UArrow} + +\newcommand*{\LWR@HTML@DArrow}{\keystroke{\HTMLunicode{02193}}} +\LWR@formatted{DArrow} + +\newcommand*{\LWR@HTML@LArrow}{\keystroke{\HTMLunicode{02190}}} +\LWR@formatted{LArrow} + +\newcommand*{\LWR@HTML@RArrow}{\keystroke{\HTMLunicode{02192}}} +\LWR@formatted{RArrow} + +\LetLtxMacro\LWR@HTML@Shift\Shift +\xpatchcmd{\LWR@HTML@Shift} + {$\Uparrow$} + {\HTMLunicode{21D1}} + {} + {} +\LWR@formatted{Shift} + +\LetLtxMacro\LWR@HTML@PgUp\PgUp +\xpatchcmd{\LWR@HTML@PgUp} + {$\uparrow$} + {\HTMLunicode{2191}} + {} + {} +\LWR@formatted{PgUp} + +\LetLtxMacro\LWR@HTML@PgDown\PgDown +\xpatchcmd{\LWR@HTML@PgDown} + {$\downarrow$} + {\HTMLunicode{2193}} + {} + {} +\LWR@formatted{PgDown} +\endinput +%% +%% End of file `lwarp-keystroke.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-kpfonts-otf.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-kpfonts-otf.sty new file mode 100644 index 00000000000..2f62205bd10 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-kpfonts-otf.sty @@ -0,0 +1,76 @@ +%% +%% This is file `lwarp-kpfonts-otf.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `kpfonts-otf') +%% 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{kpfonts-otf}[2020/06/20] + +\LWR@infoprocessingmathjax{kpfonts-otf} + +\LWR@origRequirePackage{lwarp-common-mathjax-nonunicode} + +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} + +\ifkp@calasscr + \CustomizeMathJax{\let\mathscr\mathcal} +\else + \CustomizeMathJax{\let\mathcal\mathscr} +\fi + +\ifkp@frenchstyle + \LWR@mathjax@addgreek@l@up{}{} + \LWR@mathjax@addgreek@u@up*{}{} +\fi + +\ifkp@oldReIm + \CustomizeMathJax{\renewcommand{\Re}{\mathfrak{Re}}} + \CustomizeMathJax{\renewcommand{\Im}{\mathfrak{Im}}} +\else +\fi + +\ifkp@Dcommand + \CustomizeMathJax{ + \def\D#1{\mathclose{\,\mathrm{d}}#1} + } +\fi + +\CustomizeMathJax{\let\varint\int} +\CustomizeMathJax{\let\variint\iint} +\CustomizeMathJax{\let\variiint\iiint} +\CustomizeMathJax{\let\variiiint\iiiint} +\CustomizeMathJax{\let\varidotsint\idotsint} + +\CustomizeMathJax{\newcommand{\varointctrclockwise}{\mathop{\unicode{x2939}\!\!\unicode{x0222E}}}} +\CustomizeMathJax{\newcommand{\oiintclockwise}{\mathop{\unicode{x0222F}\!\!\unicode{x2938}}}} +\CustomizeMathJax{\newcommand{\oiintctrclockwise}{\mathop{\unicode{x2939}\!\!\unicode{x0222F}}}} +\CustomizeMathJax{\newcommand{\varoiintclockwise}{\mathop{\unicode{x0222F}\!\!\unicode{x2938}}}} +\CustomizeMathJax{\newcommand{\varoiintctrclockwise}{\mathop{\unicode{x2939}\!\!\unicode{x0222F}}}} +\CustomizeMathJax{\newcommand{\oiiintclockwise}{\mathop{\unicode{x02230}\!\!\unicode{x2938}}}} +\CustomizeMathJax{\newcommand{\oiiintctrclockwise}{\mathop{\unicode{x2939}\!\!\unicode{x02230}}}} +\CustomizeMathJax{\newcommand{\varoiiintclockwise}{\mathop{\unicode{x02230}\!\!\unicode{x2938}}}} +\CustomizeMathJax{\newcommand{\varoiiintctrclockwise}{\mathop{\unicode{x2939}\!\!\unicode{x02230}}}} +\CustomizeMathJax{\newcommand{\sqiint}{\mathop{\unicode{x2A16}\!\!\unicode{x2A16}}}} +\CustomizeMathJax{\newcommand{\sqiiint}{\mathop{\unicode{x2A16}\!\!\unicode{x2A16}\!\!\unicode{x2A16}}}} + +\CustomizeMathJax{\let\widearc\overparen} +\CustomizeMathJax{\let\widearcarrow\overrightarrow} +\CustomizeMathJax{\let\overrightarc\overrightarrow} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-kpfonts-otf.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-kpfonts.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-kpfonts.sty new file mode 100644 index 00000000000..dae3a801aba --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-kpfonts.sty @@ -0,0 +1,87 @@ +%% +%% This is file `lwarp-kpfonts.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `kpfonts') +%% 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{kpfonts}[2010/08/20] + +\LWR@infoprocessingmathjax{kpfonts} + +\LWR@origRequirePackage{lwarp-common-mathjax-newpxtxmath} + +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} + +\ifkp@calasscr + \CustomizeMathJax{\let\LWRorigmathscr\mathscr} + \CustomizeMathJax{\let\LWRorigmathcal\mathcal} + \CustomizeMathJax{\let\mathscr\LWRorigmathcal} + \CustomizeMathJax{\let\mathcal\LWRorigmathscr} +\fi + +\ifkp@upgrk % lowercase + \LWR@mathjax@addgreek@l@up{}{} + \LWR@mathjax@addgreek@l@it{other}{} +\else + \LWR@mathjax@addgreek@l@up{other}{} +\fi + +\ifkp@slGrk + \LWR@mathjax@addgreek@u@it*{}{} + \LWR@mathjax@addgreek@u@up*{other}{} + \LWR@mathjax@addgreek@u@up*{var}{} +\else + \LWR@mathjax@addgreek@u@it*{other}{} + \LWR@mathjax@addgreek@u@it*{var}{} +\fi + +\LWR@mathjax@addgreek@u@up*{}{up} +\LWR@mathjax@addgreek@l@up{}{up} + +\LWR@mathjax@addgreek@u@it*{}{sl} +\LWR@mathjax@addgreek@l@it{}{sl} + +\CustomizeMathJax{\newcommand{\partialsl}{\mathord{\unicode{x1D715}}}} +\CustomizeMathJax{\let\partialup\uppartial}% not upright + +\ifkp@oldReIm +\else + \CustomizeMathJax{\renewcommand{\Re}{\mathfrak{Re}}} + \CustomizeMathJax{\renewcommand{\Im}{\mathfrak{Im}}} +\fi + +\ifkp@Dcommand + \ifkp@upRm% + \CustomizeMathJax{ + \def\D#1{\mathclose{\,\mathrm{d}}#1} + } + \else + \CustomizeMathJax{ + \def\D#1{\mathclose{\,\mathit{d}}#1} + } + \fi +\fi + +\CustomizeMathJax{\let\pounds\mathsterling} +\CustomizeMathJax{\let\kppounds\mathsterling} + +\CustomizeMathJax{\newcommand{\mathup}[1]{\mathrm{#1}}}% never sans +\CustomizeMathJax{\let\mathupright\mathup} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-kpfonts.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty index 5205922e0a4..296ffef6dd4 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{lettrine}[2018-08-28] \DeclareDocumentCommand{\lettrine}{o m m}{% -\InlineClass{lettrine}{#2}\InlineClass{lettrinetext}{#3} % extra space + \InlineClass{lettrine}{#2}\InlineClass{lettrinetext}{#3} % extra space } \newcounter{DefaultLines} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty new file mode 100644 index 00000000000..5a144992061 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty @@ -0,0 +1,334 @@ +%% +%% This is file `lwarp-libertinust1math.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `libertinust1math') +%% 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{libertinust1math}[2020/06/10] + +\LWR@infoprocessingmathjax{libertinust1math} +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} + +\iflibus@slantedG + \LWR@mathjax@addgreek@u@it*{}{} +\else + \LWR@mathjax@addgreek@u@up*{}{} +\fi + +\LWR@mathjax@addgreek@u@it*{}{it} +\LWR@mathjax@addgreek@u@up*{up}{} +\LWR@mathjax@addgreek@u@up*{}{up} + +\iflibus@frenchm + \LWR@mathjax@addgreek@l@up{}{} +\else + \LWR@mathjax@addgreek@l@it{}{} +\fi + +\LWR@mathjax@addgreek@l@it{}{it} +\LWR@mathjax@addgreek@l@up{}{up} +\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{\let\vectorsym\mathbfit} +\CustomizeMathJax{\let\matrixsym\mathbfit} +\CustomizeMathJax{\let\tensorsym\mathsfbfit} +\CustomizeMathJax{\let\mathboldsans\mathsfbfit} +\CustomizeMathJax{\let\mathbold\mathbfit} +\CustomizeMathJax{\let\dlb\lBrack} +\CustomizeMathJax{\let\drb\rBrack} + +\CustomizeMathJax{\let\sqrtsign\sqrt} + +\CustomizeMathJax{\let\smallintsl\smallint} +\CustomizeMathJax{\newcommand{\smalliintsl}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiintsl}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiiintsl}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\newcommand{\smallointsl}{\mathop{\unicode{x222E}}\limits}} +\CustomizeMathJax{\newcommand{\smalloiintsl}{\mathop{\unicode{x222F}}\limits}} + +\CustomizeMathJax{\let\smallintup\smallint} +\CustomizeMathJax{\newcommand{\smalliintup}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiintup}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiiintup}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\newcommand{\smallointup}{\mathop{\unicode{x222E}}\limits}} +\CustomizeMathJax{\newcommand{\smalloiintup}{\mathop{\unicode{x222F}}\limits}} + +\CustomizeMathJax{\let\intslop\int} +\CustomizeMathJax{\newcommand{\iintslop}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\iiintslop}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\iiiintslop}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\let\ointslop\oint} +\CustomizeMathJax{\newcommand{\oiintslop}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\oiiintslop}{\mathop{\unicode{x2230}}\limits}} + +\CustomizeMathJax{\let\intupop\int} +\CustomizeMathJax{\newcommand{\iintupop}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\iiintupop}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\iiiintupop}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\let\ointupop\oint} +\CustomizeMathJax{\newcommand{\oiintupop}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\oiiintupop}{\mathop{\unicode{x2230}}\limits}} + +\CustomizeMathJax{\newcommand{\smalliint}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiint}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\smalliiiint}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\newcommand{\smalloint}{\mathop{\unicode{x222E}}\limits}} +\CustomizeMathJax{\newcommand{\smalloiint}{\mathop{\unicode{x222F}}\limits}} + +\CustomizeMathJax{\let\intop\int} +\CustomizeMathJax{\newcommand{\iintop}{\mathop{\unicode{x222C}}\limits}} +\CustomizeMathJax{\newcommand{\iiintop}{\mathop{\unicode{x222D}}\limits}} +\CustomizeMathJax{\newcommand{\iiiintop}{\mathop{\unicode{x2A0C}}\limits}} +\CustomizeMathJax{\let\ointop\oint} +\CustomizeMathJax{\newcommand{\oiintop}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\oiiintop}{\mathop{\unicode{x2230}}\limits}} + +\CustomizeMathJax{\newcommand{\oiint}{\mathop{\unicode{x222F}}\limits}} + +\CustomizeMathJax{\newcommand{\bigcupdot}{\mathop{\unicode{x2A03}}}} +\CustomizeMathJax{\newcommand{\bigsqcap}{\mathop{\unicode{x2A05}}}} +\CustomizeMathJax{\newcommand{\xsol}{\mathop{\unicode{x29F8}}}} +\CustomizeMathJax{\newcommand{\xbsol}{\mathop{\unicode{x29F9}}}} +\CustomizeMathJax{\let\prodop\prod} +\CustomizeMathJax{\let\coprodop\coprod} +\CustomizeMathJax{\let\sumop\sum} +\CustomizeMathJax{\let\bigwedgeop\bigwedge} +\CustomizeMathJax{\let\bigveeop\bigvee} +\CustomizeMathJax{\let\bigcapop\bigcap} +\CustomizeMathJax{\let\bigcupop\bigcup} +\CustomizeMathJax{\let\xsolop\xsol} +\CustomizeMathJax{\let\xbsolop\xbsol} +\CustomizeMathJax{\let\bigodotop\bigodot} +\CustomizeMathJax{\let\bigoplusop\bigoplus} +\CustomizeMathJax{\let\bigotimesop\bigotimes} +\CustomizeMathJax{\let\bigcupdotop\bigcupdot} +\CustomizeMathJax{\let\biguplusop\biguplus} +\CustomizeMathJax{\let\bigsqcapop\bigsqcap} +\CustomizeMathJax{\let\bigsqcupop\bigsqcup} + +\CustomizeMathJax{\newcommand{\ovhook}[1]{\mathord{#1\unicode{x00309}}}} +\CustomizeMathJax{\newcommand{\candra}[1]{\mathord{#1\unicode{x00310}}}} +\CustomizeMathJax{\newcommand{\oturnedcomma}[1]{\mathord{#1\unicode{x00312}}}} +\CustomizeMathJax{\newcommand{\ocommatopright}[1]{\mathord{#1\unicode{x00315}}}} +\CustomizeMathJax{\newcommand{\droang}[1]{\mathord{#1\unicode{x0031A}}}} +\CustomizeMathJax{\newcommand{\leftharpoonaccent}[1]{\mathord{#1\unicode{x020D0}}}} +\CustomizeMathJax{\newcommand{\rightharpoonaccent}[1]{\mathord{#1\unicode{x020D1}}}} +\CustomizeMathJax{\newcommand{\leftarrowaccent}[1]{\mathord{#1\unicode{x020D0}}}} +\CustomizeMathJax{\let\rightarrowaccent\vec} + +\CustomizeMathJax{\newcommand{\leftrightarrowaccent}[1]{\mathord{#1\unicode{x020E1}}}} +\CustomizeMathJax{\newcommand{\annuity}[1]{\mathord{#1\unicode{x020E7}}}} +\CustomizeMathJax{\newcommand{\widebridgeabove}[1]{\mathord{#1\unicode{x020E9}}}} +\CustomizeMathJax{\newcommand{\asteraccent}[1]{\mathord{#1\unicode{x020F0}}}} + +\CustomizeMathJax{\newcommand{\braceld}{}} +\CustomizeMathJax{\newcommand{\bracerd}{}} +\CustomizeMathJax{\newcommand{\bracelu}{}} +\CustomizeMathJax{\newcommand{\braceru}{}} +\CustomizeMathJax{\newcommand{\braceex}{}} +\CustomizeMathJax{\newcommand{\bracemu}{}} +\CustomizeMathJax{\newcommand{\bracemd}{}} +\CustomizeMathJax{\newcommand{\parenld}{}} +\CustomizeMathJax{\newcommand{\parenrd}{}} +\CustomizeMathJax{\newcommand{\parenlu}{}} +\CustomizeMathJax{\newcommand{\parenru}{}} +\CustomizeMathJax{\newcommand{\bracketld}{}} +\CustomizeMathJax{\newcommand{\bracketrd}{}} +\CustomizeMathJax{\newcommand{\bracketlu}{}} +\CustomizeMathJax{\newcommand{\bracketru}{}} +\CustomizeMathJax{\newcommand{\bracketex}{}} +\CustomizeMathJax{\newcommand{\parenex}{}} + +\CustomizeMathJax{\newcommand{lhook}{~}} +\CustomizeMathJax{\newcommand{rhook}{~}} +\CustomizeMathJax{\newcommand{relbar}{-}} +\CustomizeMathJax{\newcommand{Relbar}{=}} + +\CustomizeMathJax{\newcommand{\mapstochar}{\mathrel{\unicode{x21A6}}}} + +\CustomizeMathJax{\newcommand{\Zbar}{\mathord{\unicode{x0001B5}}}} +\CustomizeMathJax{\newcommand{\notchar}{\mathrel{\unicode{x000AC}}}} +\CustomizeMathJax{\newcommand{\upbackepsilon}{\mathord{\unicode{x03F6}}}} +\CustomizeMathJax{\newcommand{\smblkcircle}{\mathbin{\unicode{x02022}}}} +\CustomizeMathJax{\newcommand{\enleadertwodots}{\mathord{\unicode{x02025}}}} +\CustomizeMathJax{\newcommand{\unicodeellipsis}{\mathord{\unicode{x02026}}}} +\CustomizeMathJax{\newcommand{\mathellipsis}{\mathinner{\unicode{x02026}}}} +\CustomizeMathJax{\newcommand{\dprime}{\mathord{\unicode{x02033}}}} +\CustomizeMathJax{\newcommand{\trprime}{\mathord{\unicode{x02034}}}} +\CustomizeMathJax{\newcommand{\backdprime}{\mathord{\unicode{x02036}}}} +\CustomizeMathJax{\newcommand{\backtrprime}{\mathord{\unicode{x02037}}}} +\CustomizeMathJax{\newcommand{\caretinsert}{\mathord{\unicode{x02038}}}} +\CustomizeMathJax{\newcommand{\Exclam}{\mathord{\unicode{x0203C}}}} + +\CustomizeMathJax{\newcommand{\hyphenbullet}{\mathord{\unicode{x02043}}}} +\CustomizeMathJax{\newcommand{\fracslash}{\mathbin{\unicode{x02044}}}} +\CustomizeMathJax{\newcommand{\Question}{\mathord{\unicode{x02047}}}} +\CustomizeMathJax{\newcommand{\closure}{\mathrel{\unicode{x02050}}}} +\CustomizeMathJax{\newcommand{\qprime}{\mathord{\unicode{x02057}}}} +\CustomizeMathJax{\newcommand{\vertoverlay}{\mathrel{\unicode{x020D2}}}} +\CustomizeMathJax{\newcommand{\enclosecircle}{\mathord{\unicode{x020DD}}}} +\CustomizeMathJax{\newcommand{\enclosesquare}{\mathord{\unicode{x020DE}}}} +\CustomizeMathJax{\newcommand{\enclosetriangle}{\mathord{\unicode{x020E4}}}} +\CustomizeMathJax{\newcommand{\Eulerconst}{\mathord{\unicode{x02107}}}} +\CustomizeMathJax{\newcommand{\turnediota}{\mathord{\unicode{x02129}}}} +\CustomizeMathJax{\newcommand{\Angstrom}{\mathord{\unicode{x0212B}}}} + +\CustomizeMathJax{\newcommand{\sansLturned}{\mathord{\unicode{x02142}}}} +\CustomizeMathJax{\newcommand{\sansLmirrored}{\mathord{\unicode{x02143}}}} +\CustomizeMathJax{\newcommand{\Yup}{\mathord{\unicode{x02144}}}} +\CustomizeMathJax{\newcommand{\upand}{\mathbin{\unicode{x0214B}}}} +\CustomizeMathJax{\newcommand{\increment}{\mathord{\unicode{x02206}}}} +\CustomizeMathJax{\newcommand{\smallin}{\mathrel{\unicode{x0220A}}}} +\CustomizeMathJax{\newcommand{\nni}{\mathrel{\unicode{x0220C}}}} + +\CustomizeMathJax{\newcommand{\smallni}{\mathrel{\unicode{x0220D}}}} +\CustomizeMathJax{\newcommand{\QED}{\mathord{\unicode{x0220E}}}} +\CustomizeMathJax{\newcommand{\vysmwhtcircle}{\mathbin{\unicode{x02218}}}} +\CustomizeMathJax{\newcommand{\vysmblkcircle}{\mathbin{\unicode{x02219}}}} +\CustomizeMathJax{\newcommand{\rightangle}{\mathord{\unicode{x0221F}}}} + +\CustomizeMathJax{\newcommand{\Colon}{\mathrel{\unicode{x02237}}}} +\CustomizeMathJax{\newcommand{\dotminus}{\mathbin{\unicode{x02238}}}} +\CustomizeMathJax{\newcommand{\dashcolon}{\mathrel{\unicode{x02239}}}} +\CustomizeMathJax{\newcommand{\dotsminusdots}{\mathrel{\unicode{x0223A}}}} +\CustomizeMathJax{\newcommand{\kernelcontraction}{\mathrel{\unicode{x0223B}}}} +\CustomizeMathJax{\newcommand{\invlazys}{\mathbin{\unicode{x0223E}}}} + +\CustomizeMathJax{\newcommand{\sinewave}{\mathord{\unicode{x0223F}}}} +\CustomizeMathJax{\newcommand{\nsime}{\mathrel{\unicode{x02244}}}} +\CustomizeMathJax{\newcommand{\simneqq}{\mathrel{\unicode{x02246}}}} +\CustomizeMathJax{\newcommand{\napprox}{\mathrel{\unicode{x02249}}}} +\CustomizeMathJax{\newcommand{\approxident}{\mathrel{\unicode{x0224B}}}} +\CustomizeMathJax{\newcommand{\backcong}{\mathrel{\unicode{x0224C}}}} + +\CustomizeMathJax{\newcommand{\nasymp}{\mathrel{\unicode{x0226D}}}} +\CustomizeMathJax{\newcommand{\nlesssim}{\mathrel{\unicode{x02274}}}} +\CustomizeMathJax{\newcommand{\ngtrsim}{\mathrel{\unicode{x02275}}}} +\CustomizeMathJax{\newcommand{\nlessgtr}{\mathrel{\unicode{x02278}}}} +\CustomizeMathJax{\newcommand{\ngtrless}{\mathrel{\unicode{x02279}}}} + +\CustomizeMathJax{\newcommand{\nsubset}{\mathrel{\unicode{x02284}}}} +\CustomizeMathJax{\newcommand{\nsupset}{\mathrel{\unicode{x02285}}}} + +\CustomizeMathJax{\newcommand{\cupleftarrow}{\mathbin{\unicode{x0228C}}}} +\CustomizeMathJax{\newcommand{\cupdot}{\mathbin{\unicode{x0228D}}}} +\CustomizeMathJax{\newcommand{\circledequal}{\mathbin{\unicode{x0229C}}}} + +\CustomizeMathJax{\newcommand{\assert}{\mathrel{\unicode{x022A6}}}} +\CustomizeMathJax{\newcommand{\VDash}{\mathrel{\unicode{x022AB}}}} +\CustomizeMathJax{\newcommand{\prurel}{\mathrel{\unicode{x022B0}}}} + +\CustomizeMathJax{\newcommand{\origof}{\mathrel{\unicode{x022B6}}}} +\CustomizeMathJax{\newcommand{\smallprod}{\mathop{\unicode{x0220F}}}}% not small +\CustomizeMathJax{\newcommand{\smallcoprod}{\mathop{\unicode{x02210}}}}% not small +\CustomizeMathJax{\newcommand{\smallsum}{\mathop{\unicode{x02211}}}}% not small +\CustomizeMathJax{\newcommand{\Hfraktur}{\mathord{\unicode{x1D525}}}} +\CustomizeMathJax{\newcommand{\dsol}{\mathbin{\unicode{x029F6}}}} +\CustomizeMathJax{\newcommand{\rsolbar}{\mathbin{\unicode{x029F7}}}} + +\CustomizeMathJax{\newcommand{\eqless}{\mathrel{\unicode{x022DC}}}} +\CustomizeMathJax{\newcommand{\eqgtr}{\mathrel{\unicode{x022DD}}}} +\CustomizeMathJax{\newcommand{\npreccurlyeq}{\mathrel{\unicode{x022E0}}}} +\CustomizeMathJax{\newcommand{\nsucccurlyeq}{\mathrel{\unicode{x022E1}}}} +\CustomizeMathJax{\newcommand{\nsqsubseteq}{\mathrel{\unicode{x022E2}}}} +\CustomizeMathJax{\newcommand{\nsqsupseteq}{\mathrel{\unicode{x022E3}}}} +\CustomizeMathJax{\newcommand{\sqsubsetneq}{\mathrel{\unicode{x022E4}}}} +\CustomizeMathJax{\newcommand{\sqsupsetneq}{\mathrel{\unicode{x022E5}}}} +\CustomizeMathJax{\newcommand{\nvartriangleleft}{\mathrel{\unicode{x022EA}}}} +\CustomizeMathJax{\newcommand{\nvartriangleright}{\mathrel{\unicode{x022EB}}}} + +\CustomizeMathJax{\newcommand{\vdotsmath}{\mathrel{\unicode{x022EE}}}} +\CustomizeMathJax{\newcommand{\unicodecdots}{\mathord{\unicode{x022EF}}}} +\CustomizeMathJax{\newcommand{\adots}{\mathrel{\unicode{x022F0}}}} +\CustomizeMathJax{\newcommand{\succneq}{\mathrel{\unicode{x02AB2}}}} +\CustomizeMathJax{\newcommand{\preceqq}{\mathrel{\unicode{x02AB3}}}} +\CustomizeMathJax{\newcommand{\succeqq}{\mathrel{\unicode{x02AB4}}}} +\CustomizeMathJax{\newcommand{\precneq}{\mathrel{\unicode{x02AB1}}}} + +\CustomizeMathJax{\newcommand{\mapsfrom}{\mathrel{\unicode{x021A4}}}} + +\CustomizeMathJax{\newcommand{\longmapsfrom}{\mathrel{\unicode{x027FB}}}} + +\CustomizeMathJax{\newcommand{\diameter}{\mathord{\unicode{x02300}}}} +\CustomizeMathJax{\newcommand{\coloneq}{\mathrel{\unicode{x02254}}}} +\CustomizeMathJax{\newcommand{\eqcolon}{\mathrel{\unicode{x02255}}}} +\CustomizeMathJax{\newcommand{\arceq}{\mathrel{\unicode{x02258}}}} +\CustomizeMathJax{\newcommand{\wedgeq}{\mathrel{\unicode{x02259}}}} +\CustomizeMathJax{\newcommand{\veeeq}{\mathrel{\unicode{x0225A}}}} + +\CustomizeMathJax{\newcommand{\stareq}{\mathrel{\unicode{x0225B}}}} +\CustomizeMathJax{\newcommand{\eqdef}{\mathrel{\unicode{x0225D}}}} +\CustomizeMathJax{\newcommand{\measeq}{\mathrel{\unicode{x0225E}}}} +\CustomizeMathJax{\newcommand{\questeq}{\mathrel{\unicode{x0225F}}}} +\CustomizeMathJax{\newcommand{\nequiv}{\mathrel{\unicode{x02262}}}} +\CustomizeMathJax{\newcommand{\Equiv}{\mathrel{\unicode{x02263}}}} + +\CustomizeMathJax{\newcommand{\house}{\mathord{\unicode{x02302}}}} + +\CustomizeMathJax{\newcommand{\musicalnote}{\mathord{\unicode{x0266A}}}} +\CustomizeMathJax{\newcommand{\degree}{\mathord{\unicode{x000B0}}}} +\CustomizeMathJax{\newcommand{\mathsection}{\mathord{\unicode{x000A7}}}} +\CustomizeMathJax{\newcommand{\mathparagraph}{\mathord{\unicode{x000B6}}}} +\CustomizeMathJax{\newcommand{\checkmarkmath}{\mathord{\unicode{x02713}}}} +\CustomizeMathJax{\newcommand{\invnot}{\mathord{\unicode{x02310}}}} + +\CustomizeMathJax{\newcommand{\mathvisiblespace}{\mathord{\unicode{x02423}}}} +\CustomizeMathJax{\newcommand{\mdlgblksquare}{\mathord{\unicode{x025A0}}}} +\CustomizeMathJax{\newcommand{\mdlgwhtsquare}{\mathord{\unicode{x025A1}}}} + +\CustomizeMathJax{\newcommand{\bigblacktriangleup}{\mathord{\unicode{x025B2}}}} +\CustomizeMathJax{\newcommand{\varbigtriangleup}{\mathord{\unicode{x025B3}}}} + +\CustomizeMathJax{\newcommand{\bigblacktriangledown}{\mathord{\unicode{x025BC}}}} +\CustomizeMathJax{\newcommand{\varbigtriangledown}{\mathord{\unicode{x025BD}}}} +\CustomizeMathJax{\newcommand{\Longmapsfrom}{\mathrel{\unicode{x027FD}}}} + +\CustomizeMathJax{\newcommand{\mdlgblkdiamond}{\mathord{\unicode{x025C6}}}} + +\CustomizeMathJax{\newcommand{\mdlgwhtdiamond}{\mathord{\unicode{x025C7}}}} +\CustomizeMathJax{\newcommand{\Longmapsto}{\mathrel{\unicode{x027FE}}}} +\CustomizeMathJax{\newcommand{\fisheye}{\mathord{\unicode{x025C9}}}} +\CustomizeMathJax{\newcommand{\mdlgwhtlozenge}{\mathord{\unicode{x025CA}}}} +\CustomizeMathJax{\newcommand{\mdlgwhtcircle}{\mathbin{\unicode{x025CB}}}} +\CustomizeMathJax{\newcommand{\bullseye}{\mathord{\unicode{x025CE}}}} +\CustomizeMathJax{\newcommand{\mdlgblkcircle}{\mathord{\unicode{x025CF}}}} + +\CustomizeMathJax{\newcommand{\Nwarrow}{\mathrel{\unicode{x021D6}}}} +\CustomizeMathJax{\newcommand{\Nearrow}{\mathrel{\unicode{x021D7}}}} +\CustomizeMathJax{\newcommand{\Searrow}{\mathrel{\unicode{x021D8}}}} +\CustomizeMathJax{\newcommand{\Swarrow}{\mathrel{\unicode{x021D9}}}} + +\CustomizeMathJax{\newcommand{\Mapsfrom}{\mathord{\unicode{x02906}}}} +\CustomizeMathJax{\newcommand{\smwhtcircle}{\mathord{\unicode{x025E6}}}} +\CustomizeMathJax{\newcommand{\smwhtdiamond}{\mathbin{\unicode{x022C4}}}} +\CustomizeMathJax{\newcommand{\Mapsto}{\mathord{\unicode{x02907}}}} + +\CustomizeMathJax{\let\ngets\nleftarrow} +\CustomizeMathJax{\let\nsimeq\nsime} +\CustomizeMathJax{\let\nle\nleq} +\CustomizeMathJax{\let\nge\ngeq} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-libertinust1math.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lineno.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lineno.sty index d5ffb597425..7794654e859 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-lineno.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lineno.sty @@ -72,7 +72,7 @@ \newcommand\internallinenumbers{} \let\endinternallinenumbers\endlinenumbers -\@namedef{internallinenumbers*}{\internallinenumbers*} +\@namedef{internallinenumbers*}{\internallinenumbers} \expandafter\let\csname endinternallinenumbers*\endcsname\endlinenumbers \newcommand*{\linenoplaceholder}[1]{% redefine per language diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty index 21962725d87..50ac55f4648 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty @@ -17,7 +17,6 @@ %% version 2005/12/01 or later. -\begin{warpHTML} \LWR@ProvidesPackagePass{listings}[2018/09/02] \lst@column@flexible @@ -33,11 +32,15 @@ ,literate=% {<}{\HTMLentity{lt}}{4}% {>}{\HTMLentity{gt}}{4}% - {\&}{\HTMLentity{amp}}{5}% + {'}{\HTMLentity{apos}}{6}% + {`}{\HTMLentity{grave}}{7}% }% } \renewcommand{\lst@Init}[1]{% \LWR@traceinfo{lst@Init}% +\lst@ifdisplaystyle% + \LWR@forcenewpage% +\fi% \renewcommand*{\@captype}{lstlisting}% \let\lst@aboveskip\z@\let\lst@belowskip\z@% \gdef\lst@boxpos{t}% @@ -52,27 +55,30 @@ \def\lst@framelr{}% \LWR@traceinfo{finished origlst@Init}% \lst@ifdisplaystyle% -\LWR@traceinfo{About to create verbatim.}% -\let\lsthk@EveryPar\relax% -\LWR@forcenewpage -\LWR@atbeginverbatim{2}{programlisting}% + \LWR@traceinfo{About to create verbatim.}% + \let\lsthk@EveryPar\relax% + \LWR@atbeginverbatim{programlisting}% -\let\lsthk@EveryPar\LWR@origlsthkEveryPar% + \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}% } \renewcommand*{\lst@DeInit}{% \lst@ifdisplaystyle% -\let\lsthk@EveryPar\relax% -\LWR@afterendverbatim{0}% -\let\lsthk@EveryPar\LWR@origlsthkEveryPar% + \let\lsthk@EveryPar\relax% + \LWR@afterendverbatim% + \let\lsthk@EveryPar\LWR@origlsthkEveryPar% \else% -\ifbool{LWR@verbtags}{\noindent\LWR@htmltag{/span}}{}% + \ifbool{LWR@verbtags}{\noindent\LWR@htmltag{/span}}{}% \fi% \LWR@origlst@DeInit% } + \def\lst@MakeCaption#1{% \LWR@traceinfo{MAKING CAPTION at #1}% \lst@ifdisplaystyle @@ -88,10 +94,13 @@ \lst@ifnolol\else \ifx\lst@@caption\@empty \ifx\lst@caption\@empty - \ifx\lst@intname\@empty \else \def\lst@temp{ }% - \ifx\lst@intname\lst@temp \else + \ifx\lst@intname\@empty + \else + \def\lst@temp{ }% + \ifx\lst@intname\lst@temp \else \LWR@traceinfo{addcontents lst@name: -\lst@name-}% - \fi\fi + \fi + \fi \fi \else \LWR@traceinfo{addcontents lst@@caption: -\lst@@caption-}% @@ -111,9 +120,9 @@ \lst@makecaption\fnum@lstlisting{\ignorespaces \lst@caption} \else \LWR@traceinfo{Making title: \lst@title}% -\begin{BlockClass}{lstlistingtitle}% lwarp -\lst@maketitle\lst@title% lwarp -\end{BlockClass}% lwarp +\begin{BlockClass}{lstlistingtitle}% lwarp +\lst@maketitle\lst@title% lwarp +\end{BlockClass}% lwarp \fi \LWR@traceinfo{About to assign label: !\lst@label!}% \ifx\lst@label\@empty\else @@ -131,6 +140,11 @@ \fi \LWR@traceinfo{DONE WITH CAPTION at #1}% } + +\renewcommand{\lst@maketitle}[1]{% + \LWR@isolate{#1}% +}% + \lst@Key{numbers}{none}{% \let\lst@PlaceNumber\@empty \lstKV@SwitchCases{#1}% @@ -143,8 +157,6 @@ \kern 6in \kern\lst@numbersep \lst@numberstyle{\thelstnumber}}}% }{\PackageError{lwarp-listings}{Numbers #1 unknown}\@ehc}} -\end{warpHTML} - \endinput %% %% End of file `lwarp-listings.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty index 045f77844bb..97e5d4aad5e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty @@ -23,10 +23,14 @@ \boolfalse{LWR@longtable@havehead} \newenvironment{longtable*}[2][]{% \LWR@floatbegin{table}% - \setcaptiontype{\LTcaptype}% - \caption@setoptions{longtable}% - \caption@setoptions{@longtable}% - \caption@LT@setup% + \ifdef{\setcaptiontype}{% caption package: + \setcaptiontype{\LTcaptype}% + \caption@setoptions{longtable}% + \caption@setoptions{@longtable}% + \caption@LT@setup% + }{% w/o caption package: + \renewcommand*{\@captype}{\LTcaptype}% + }% \booltrue{LWR@starredlongtable}% \boolfalse{LWR@longtable@havehead}% \let\captionlistentry\LWR@LTcaptionlistentry% @@ -36,10 +40,14 @@ \newenvironment{longtable}[2][]{% \LWR@floatbegin{table}% - \setcaptiontype{\LTcaptype}% - \caption@setoptions{longtable}% - \caption@setoptions{@longtable}% - \caption@LT@setup% + \ifdef{\setcaptiontype}{% caption package: + \setcaptiontype{\LTcaptype}% + \caption@setoptions{longtable}% + \caption@setoptions{@longtable}% + \caption@LT@setup% + }{% w/o caption package: + \renewcommand*{\@captype}{\LTcaptype}% + }% \refstepcounter{\LTcaptype}% \boolfalse{LWR@longtable@havehead}% \let\captionlistentry\LWR@LTcaptionlistentry% @@ -49,7 +57,7 @@ \newcounter{LTchunksize} \newcommand*{\LWR@longtable@headerror}{% - \PackageError{lwarp} + \PackageError{lwarp-longtable} {For longtable:\MessageBreak 1: Keep either one of an \protect\endhead\space or \protect\endfirsthead\space\MessageBreak 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-luatodonotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-luatodonotes.sty index 5e873e851e9..ce23175ffc1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-luatodonotes.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-luatodonotes.sty @@ -26,7 +26,7 @@ \let\LWRTODONOTES@orig@todototoc\todototoc \renewcommand*{\todototoc}{% -\phantomsection% +\LWR@phantomsection% \LWRTODONOTES@orig@todototoc% } 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-lyluatex.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lyluatex.sty index 3bd0be0bbdc..42ae1f78c51 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-lyluatex.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lyluatex.sty @@ -23,7 +23,7 @@ \renewcommand*{\ly@compilescore}[1]{% \begingroup% - \LWR@orignewpage% + \LWR@maybe@orignewpage% \LWR@origloadgeometry{LWR@usergeometry}% \LWR@print@normalsize% \renewcommand{\includegraphics}[2][]{% @@ -53,7 +53,7 @@ tex.print{[[\string\end{BlockClass}]]} end }% - \LWR@orignewpage% + \LWR@maybe@orignewpage% \LWR@origrestoregeometry% \endgroup% } diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-makeidx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-makeidx.sty index a710aa3513c..8638a472dd0 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-makeidx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-makeidx.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{makeidx}[2014/09/29] \preto\printindex{% - \LWR@orignewpage% + \LWR@maybe@orignewpage% \LWR@startpars% } \endinput diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty new file mode 100644 index 00000000000..59e534e4d84 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty @@ -0,0 +1,28 @@ +%% +%% This is file `lwarp-mathalpha.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mathalpha') +%% 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{mathalpha}[2019/10/05] + +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\mathbbb}[1]{\boldsymbol{\mathbb{#1}}}}% not bold +\CustomizeMathJax{\newcommand{\mathbcal}[1]{\boldsymbol{\mathcal{#1}}}} +\CustomizeMathJax{\newcommand{\mathbfrak}[1]{\boldsymbol{\mathfrak{#1}}}} +\CustomizeMathJax{\newcommand{\mathbscr}[1]{\boldsymbol{\mathscr{#1}}}}% not bold +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mathalpha.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty new file mode 100644 index 00000000000..a83c5b4a69f --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty @@ -0,0 +1,62 @@ +%% +%% This is file `lwarp-mathastext.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mathastext') +%% 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{mathastext}[2019/11/16] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\ifmst@itgreek +\else + \ifmst@upgreek + \LWR@mathjax@addgreek@l@up{}{} + \else + \ifmst@frenchmath + \LWR@mathjax@addgreek@l@up{}{} + \else + \ifmst@italic + \else + \LWR@mathjax@addgreek@l@up{}{} + \fi + \fi + \fi +\fi + +\ifcase\mst@greek@select + \or{\LWR@mathjax@addgreek@u@it*{}{}} +\fi + +\CustomizeMathJax{\newcommand{\mathnormalbold}[1]{\boldsymbol{#1}}} +\CustomizeMathJax{\newcommand{\MathEulerBold}[1]{\boldsymbol{#1}}} +\CustomizeMathJax{\newcommand{\MathEuler}[1]{{#1}}} +\CustomizeMathJax{\newcommand{\MathPSymbol}[1]{{#1}}} +\CustomizeMathJax{\let\fouriervec\vec} +\CustomizeMathJax{\let\pmvec\vec} +\CustomizeMathJax{\let\inodot\imath} +\CustomizeMathJax{\let\jnodot\jmath} +\CustomizeMathJax{\let\shortiff\iff} +\CustomizeMathJax{\let\longto\longrightarrow} +\CustomizeMathJax{\newcommand{\inftypsy}{\mathord{\unicode{x221E}}}} +\CustomizeMathJax{\newcommand{\proptopsy}{\mathrel{\unicode{x221D}}}} +\CustomizeMathJax{\let\prodpsy\prod} +\CustomizeMathJax{\let\sumpsy\sum} +\CustomizeMathJax{\let\MToriginalprod\prod} +\CustomizeMathJax{\let\MToriginalsum\sum} +\CustomizeMathJax{\newcommand{\DotTriangle}{\mathord{\unicode{x2234}}}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mathastext.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathdesign.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathdesign.sty new file mode 100644 index 00000000000..d52776d8821 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathdesign.sty @@ -0,0 +1,65 @@ +%% +%% This is file `lwarp-mathdesign.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mathdesign') +%% 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{mathdesign}[2013/08/29] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\LWR@origRequirePackage{lwarp-common-mathjax-overlaysymbols} + +\begin{warpMathJax} +\LWR@infoprocessingmathjax{mathdesign} + +\if@MD@grupright +\LWR@mathjax@addgreek@l@up{}{} +\fi + +\if@MD@GRupright +\else +\LWR@mathjax@addgreek@u@it*{}{} +\fi +\LWR@mathjax@addgreek@l@up{}{up} +\LWR@mathjax@addgreek@u@up*{}{up} +\LWR@mathjax@addgreek@l@it{}{it} +\LWR@mathjax@addgreek@u@it*{}{it} +\CustomizeMathJax{\let\digammaup\Digammaup} +\CustomizeMathJax{\renewcommand{\digammait}{\mathit{\digammaup}}} +\CustomizeMathJax{\newcommand{\smallin}{\mathrel{\unicode{x220A}}}} +\CustomizeMathJax{\newcommand{\smallowns}{\mathrel{\unicode{x220D}}}} +\CustomizeMathJax{\newcommand{\notsmallin}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x220A}}}}} +\CustomizeMathJax{\newcommand{\notsmallowns}{\mathrel{\LWRoverlaysymbols{/}{\unicode{x220D}}}}} +\CustomizeMathJax{\newcommand{\rightangle}{\mathord{\unicode{x221F}}}} +\CustomizeMathJax{\newcommand{\intclockwise}{\mathop{\unicode{x2231}}\limits}} +\CustomizeMathJax{\newcommand{\ointclockwise}{\mathop{\unicode{x2232}}\limits}} +\CustomizeMathJax{\newcommand{\ointctrclockwise}{\mathop{\unicode{x2233}}\limits}} +\CustomizeMathJax{\newcommand{\oiint}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\oiiint}{\mathop{\unicode{x2230}}\limits}} +\CustomizeMathJax{\newcommand{\ddag}{\unicode{x2021}}} +\CustomizeMathJax{\newcommand{\P}{\unicode{x00B6}}} +\CustomizeMathJax{\newcommand{\copyright}{\unicode{x00A9}}} +\CustomizeMathJax{\newcommand{\dag}{\unicode{x2020}}} +\CustomizeMathJax{\newcommand{\pounds}{\unicode{x00A3}}} +\CustomizeMathJax{\newcommand{\iddots}{\mathinner{\unicode{x22F0}}}} +\CustomizeMathJax{\newcommand{\utimes}{\mathbin{\overline{\times}}}} +\CustomizeMathJax{\newcommand{\dtimes}{\mathbin{\underline{\times}}}} +\CustomizeMathJax{\newcommand{\udtimes}{\mathbin{\overline{\underline{\times}}}}} +\CustomizeMathJax{\newcommand{\leftwave}{\left\{}} +\CustomizeMathJax{\newcommand{\rightwave}{\right\}}} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mathdesign.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathdots.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathdots.sty index 676b705cbb5..ded5eae1187 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathdots.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathdots.sty @@ -17,7 +17,15 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{mathdots}[2014/06/11] \begin{warpMathJax} -\CustomizeMathJax{\newcommand{\iddots}{\unicode{x22F0}}} +\CustomizeMathJax{\newcommand{\iddots}{\mathinner{\unicode{x22F0}}}} +\CustomizeMathJax{\let\fixedddots\ddots} +\CustomizeMathJax{\let\fixedvdots\vdots} +\CustomizeMathJax{\let\fixediddots\iddots} +\CustomizeMathJax{\let\originalddots\ddots} +\CustomizeMathJax{\let\originalvdots\vdots} +\CustomizeMathJax{\let\originaliddots\iddots} +\CustomizeMathJax{\let\originaldddot\dddot} +\CustomizeMathJax{\let\originalddddot\ddddot} \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathfixs.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathfixs.sty index f721e39344c..8bb0e850bd2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathfixs.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathfixs.sty @@ -18,7 +18,7 @@ \LWR@ProvidesPackagePass{mathfixs}[2018/12/30] \begin{warpMathJax} \CustomizeMathJax{\newcommand{\rfrac}[2]{\tfrac{#1}{#2}}} -\CustomizeMathJax{\newcommand{\vfrac}[2]{{}^{#1}\!/{}_{#2}}} +\CustomizeMathJax{\newcommand{\vfrac}[2]{\mathinner{{}^{#1}\!/{}_{#2}}}} \CustomizeMathJax{\newcommand{\ProvideMathFix}[1]{}} \CustomizeMathJax{\newcommand{\mathbold}[1]{\boldsymbol{#1}}} \CustomizeMathJax{\newcommand{\.}{\,}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathpazo.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathpazo.sty new file mode 100644 index 00000000000..b9d43345948 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathpazo.sty @@ -0,0 +1,34 @@ +%% +%% This is file `lwarp-mathpazo.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mathpazo') +%% 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{mathpazo}[2020/03/25] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\LWR@infoprocessingmathjax{mathpazo} + +\ifpazo@slGreek +\LWR@mathjax@addgreek@u@it*{}{} +\fi + +\LWR@mathjax@addgreek@u@up*{up}{} + +\CustomizeMathJax{\newcommand{\mathbold}[1]{\boldsymbol{#1}}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mathpazo.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathptmx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathptmx.sty new file mode 100644 index 00000000000..403e04ba503 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathptmx.sty @@ -0,0 +1,32 @@ +%% +%% This is file `lwarp-mathptmx.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mathptmx') +%% 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{mathptmx}[2020/03/25] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\LWR@infoprocessingmathjax{mathptmx} + +\@ifpackagewith{mathptmx}{slantedGreek} + {\LWR@mathjax@addgreek@u@it*{}{}} + {} + +\LWR@mathjax@addgreek@u@up*{up}{} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mathptmx.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathspec.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathspec.sty new file mode 100644 index 00000000000..000e8c18b82 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathspec.sty @@ -0,0 +1,93 @@ +%% +%% This is file `lwarp-mathspec.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mathspec') +%% 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{mathspec}[2016/12/22] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\booltrue{LWR@MathJax@silentquotes} +\AtBeginDocument{ +\ifcase\eu@GreekUppercase@@value %% If Greek Uppercase Regular + \LWR@mathjax@addgreek@u@up*{}{} +\or %% If Greek Uppercase Italic + \LWR@mathjax@addgreek@u@it*{}{} +\or %% If Greek Uppercase Plain + \LWR@mathjax@addgreek@u@up*{}{} +\fi +\ifcase\eu@GreekLowercase@@value %% If Greek Lowercase Regular + \LWR@mathjax@addgreek@l@up{}{} +\or %% If Greek Lowercase Italic + \LWR@mathjax@addgreek@l@it{}{} +\or %% If Greek Lowercase Plain + \LWR@mathjax@addgreek@l@it{}{} +\fi +} +\newcommand*{\LWR@mathspec@varforms}{% +\eu@ifbooltrue{GreekLowercase}{ + \eu@ifbooltrue{exchangebetaforms}{ + \CustomizeMathJax{\let\LWRorigbeta\beta} + \CustomizeMathJax{\let\beta\varbeta} + \CustomizeMathJax{\let\varbeta\LWRorigbeta} + } + \eu@ifbooltrue{exchangeepsilonforms}{ + \CustomizeMathJax{\let\LWRorigepsilon\epsilon} + \CustomizeMathJax{\let\epsilon\varepsilon} + \CustomizeMathJax{\let\varepsilon\LWRorigepsilon} + } + \eu@ifbooltrue{exchangethetaforms}{ + \CustomizeMathJax{\let\LWRorigtheta\theta} + \CustomizeMathJax{\let\theta\vartheta} + \CustomizeMathJax{\let\vartheta\LWRorigtheta} + } + \eu@ifbooltrue{exchangekappaforms}{ + \CustomizeMathJax{\let\LWRorigkappa\kappa} + \CustomizeMathJax{\let\kappa\varkappa} + \CustomizeMathJax{\let\varkappa\LWRorigkappa} + } + \eu@ifbooltrue{exchangepiforms}{ + \CustomizeMathJax{\let\LWRorigpi\pi} + \CustomizeMathJax{\let\pi\varpi} + \CustomizeMathJax{\let\varpi\LWRorigpi} + } + \eu@ifbooltrue{exchangerhoforms}{ + \CustomizeMathJax{\let\LWRorigrho\rho} + \CustomizeMathJax{\let\rho\varrho} + \CustomizeMathJax{\let\varrho\LWRorigrho} + } + \eu@ifbooltrue{exchangephiforms}{ + \CustomizeMathJax{\let\LWRorigphi\phi} + \CustomizeMathJax{\let\phi\varphi} + \CustomizeMathJax{\let\varphi\LWRorigphi} + } +} +\eu@ifbooltrue{GreekUppercase}{ + \eu@ifbooltrue{exhangeThetaforms}{ + \CustomizeMathJax{\let\LWRorigTheta\Theta} + \CustomizeMathJax{\let\Theta\varTheta} + \CustomizeMathJax{\let\varTheta\LWRorigTheta} + } +} +} +\xapptocmd{\exchangeforms} + {\AtBeginDocument{\LWR@mathspec@varforms}} + {} + {\LWR@patcherror{mathspec}{exchangeforms}} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mathspec.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty index 8bbe52a1058..70c119f42ac 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty @@ -50,7 +50,8 @@ \CustomizeMathJax{\newcommand{\crampedclap}[2][]{{#1#2}}} \CustomizeMathJax{\newenvironment{crampedsubarray}[1]{}{}} \CustomizeMathJax{\newcommand{\crampedsubstack}{}} -\CustomizeMathJax{\newcommand{\smashoperator}[2][]{#2}} +\CustomizeMathJax{\newcommand{\smashoperator}[2][]{#2\limits}} +\CustomizeMathJax{\newcommand{\adjustlimits}{}} \CustomizeMathJax{\newcommand{\SwapAboveDisplaySkip}{}} \CustomizeMathJax{\require{extpfeil}} @@ -68,10 +69,14 @@ \CustomizeMathJax{\Newextarrow\xleftharpoonup{10,10}{0x21bc}} \CustomizeMathJax{\Newextarrow\xleftrightharpoons{10,10}{0x21cb}} -\CustomizeMathJax{\newcommand{\LWRdounderbracket}[1]{\underline{#1}}} +\CustomizeMathJax{\newcommand{\LWRdounderbracket}[3]{% + \mathinner{\underset{#3}{\underline{\llcorner{#1}\lrcorner}}}% +}} \CustomizeMathJax{\newcommand{\LWRunderbracket}[2][]{\LWRdounderbracket{#2}}} \CustomizeMathJax{\newcommand{\underbracket}[1][]{\LWRunderbracket}} -\CustomizeMathJax{\newcommand{\LWRdooverbracket}[1]{\overline{#1}}} +\CustomizeMathJax{\newcommand{\LWRdooverbracket}[3]{% + \mathinner{\overset{#3}{\overline{\ulcorner{#1}\urcorner}}}% +}} \CustomizeMathJax{\newcommand{\LWRoverbracket}[2][]{\LWRdooverbracket{#2}}} \CustomizeMathJax{\newcommand{\overbracket}[1][]{\LWRoverbracket}} @@ -118,22 +123,53 @@ \def\LWRAboxed#1!|!{\fbox{\(#1\)}&\fbox{\(#2\)}} \newcommand{\Aboxed}[1]{\LWRAboxed#1&&!|!} } - \CustomizeMathJax{ - \newcommand{\ArrowBetweenLines}[1][\Updownarrow]{#1}% no starred + \newcommand{\LWRABLines}[1][\Updownarrow]{#1 \notag \\}% star/nostar the same + \newcommand{\ArrowBetweenLines}{\ifstar\LWRABLines\LWRABLines} } - -\CustomizeMathJax{\newcommand{\shortintertext}[1]{\\ \text{#1}\notag \\}} +\CustomizeMathJax{\newcommand{\shortintertext}[1]{\text{#1}\notag \\}} \CustomizeMathJax{\newcommand{\vdotswithin}[1]{\hspace{.5em}\vdots}} -\CustomizeMathJax{\newcommand{\shortvdotswithin}[1]{ & \hspace{.5em}\vdots \\}} +\CustomizeMathJax{\newcommand{\LWRshortvdotswithinstar}[1]{\vdots \hspace{.5em} & \\}} +\CustomizeMathJax{\newcommand{\LWRshortvdotswithinnostar}[1]{& \hspace{.5em}\vdots \\}} +\CustomizeMathJax{% + \newcommand{\shortvdotswithin}% + {\ifstar\LWRshortvdotswithinstar\LWRshortvdotswithinnostar}% +} + \CustomizeMathJax{\newcommand{\MTFlushSpaceAbove}{}} \CustomizeMathJax{\newcommand{\MTFlushSpaceBelow}{\\}} \LetLtxMacro\LWR@mathtools@orig@DeclarePairedDelimiter\DeclarePairedDelimiter \renewcommand{\DeclarePairedDelimiter}[3]{ \LWR@mathtools@orig@DeclarePairedDelimiter{#1}{#2}{#3} - \CustomizeMathJax{\newcommand{#1}[2][]{{##1#2##2##1#3}}} + \appto\LWR@customizedMathJax{\LWRbackslash(} + \appto\LWR@customizedMathJax{% + \LWRbackslash{}newcommand\{\LWRbackslash\macrotocsname{#1}LWRsubstar\}% + }% + \appto\LWR@customizedMathJax{[2][]}% + \appto\LWR@customizedMathJax{\{\{}% + \LWR@subcustomizedmathjax{##1\left#2##2##1\right#3}% + \appto\LWR@customizedMathJax{\}\}}% + \appto\LWR@customizedMathJax{\LWRbackslash)\par}% + \appto\LWR@customizedMathJax{\LWRbackslash(} + \appto\LWR@customizedMathJax{% + \LWRbackslash{}newcommand\{\LWRbackslash\macrotocsname{#1}LWRsubnostar\}% + }% + \appto\LWR@customizedMathJax{[2][]}% + \appto\LWR@customizedMathJax{\{\{}% + \LWR@subcustomizedmathjax{##1#2##2##1#3}% + \appto\LWR@customizedMathJax{\}\}}% + \appto\LWR@customizedMathJax{\LWRbackslash)\par}% + \appto\LWR@customizedMathJax{\LWRbackslash(} + \appto\LWR@customizedMathJax{% + \LWRbackslash{}newcommand\{\LWRbackslash{}\macrotocsname{#1}\}% + \{\LWRbackslash{}ifstar% + \LWRbackslash{}\macrotocsname{#1}LWRsubstar% + \LWRbackslash{}\macrotocsname{#1}LWRsubnostar% + \}% + }% + \appto\LWR@customizedMathJax{\LWRbackslash)\par}% } \@onlypreamble\DeclareParedDelimiter @@ -143,7 +179,29 @@ \LWR@mathtools@orig@DeclarePairedDelimiterXPP{#1}[#2]{#3}{#4}{#5}{#6}{#7} \appto\LWR@customizedMathJax{\LWRbackslash(}% \appto\LWR@customizedMathJax{% - \LWRbackslash{}newcommand\{\LWRbackslash\macrotocsname{#1}LWRsub\}% + \LWRbackslash{}newcommand\{\LWRbackslash\macrotocsname{#1}LWRsubsubstar\}% + }% + \appto\LWR@customizedMathJax{[#2]}% + \appto\LWR@customizedMathJax{\{\{\LWRbackslash{}left}% + \LWR@subcustomizedmathjax{#3#4#7}% + \appto\LWR@customizedMathJax{\LWRbackslash{}right}% + \LWR@subcustomizedmathjax{#5#6}% + \appto\LWR@customizedMathJax{\}\}}% + \appto\LWR@customizedMathJax{\LWRbackslash)\par}% + \appto\LWR@customizedMathJax{\LWRbackslash(}% + \appto\LWR@customizedMathJax{% + \LWRbackslash{}newcommand\{\LWRbackslash\macrotocsname{#1}LWRsubstar\}[1][]% + }% + \appto\LWR@customizedMathJax{% + \{ + \LWRbackslash{}def\LWRbackslash{}delimsize\{\#1\} + \LWRbackslash\macrotocsname{#1}LWRsubsubstar + \}% + }% + \appto\LWR@customizedMathJax{\LWRbackslash)\par}% + \appto\LWR@customizedMathJax{\LWRbackslash(}% + \appto\LWR@customizedMathJax{% + \LWRbackslash{}newcommand\{\LWRbackslash\macrotocsname{#1}LWRsubsubnostar\}% }% \appto\LWR@customizedMathJax{[#2]}% \appto\LWR@customizedMathJax{\{\{\LWRbackslash{}delimsize}% @@ -154,13 +212,24 @@ \appto\LWR@customizedMathJax{\LWRbackslash)\par}% \appto\LWR@customizedMathJax{\LWRbackslash(}% \appto\LWR@customizedMathJax{% - \LWRbackslash{}newcommand\{\LWRbackslash\macrotocsname{#1}\}[1][]% + \LWRbackslash{}newcommand\{\LWRbackslash\macrotocsname{#1}LWRsubnostar\}[1][]% }% \appto\LWR@customizedMathJax{% \{ \LWRbackslash{}def\LWRbackslash{}delimsize\{\#1\} - \LWRbackslash\macrotocsname{#1}LWRsub + \LWRbackslash\macrotocsname{#1}LWRsubsubnostar + \}% + }% + \appto\LWR@customizedMathJax{\LWRbackslash)\par}% + \appto\LWR@customizedMathJax{\LWRbackslash(} + \appto\LWR@customizedMathJax{% + \LWRbackslash{}newcommand\{% + \LWRbackslash{}\macrotocsname{#1}% \}% + \{\LWRbackslash{}ifstar% + \LWRbackslash{}\macrotocsname{#1}LWRsubstar% + \LWRbackslash{}\macrotocsname{#1}LWRsubnostar% + \}% }% \appto\LWR@customizedMathJax{\LWRbackslash)\par}% } @@ -169,28 +238,28 @@ \CustomizeMathJax{\newcommand\lparen{(}} \CustomizeMathJax{\newcommand\rparen{)}} -\CustomizeMathJax{\newcommand{\vcentcolon}{:}} \CustomizeMathJax{\newcommand{\ordinarycolon}{:}} +\CustomizeMathJax{\newcommand{\vcentcolon}{\mathrel{\unicode{x2236}}}} + +\CustomizeMathJax{\newcommand\dblcolon{\mathrel{\unicode{x2237}}}} +\CustomizeMathJax{\newcommand\coloneqq{\mathrel{\unicode{x2236}\!=}}} +\CustomizeMathJax{\newcommand\Coloneqq{\mathrel{\unicode{x2237}\!=}}} +\CustomizeMathJax{\newcommand\coloneq{\mathrel{\unicode{x2236}-}}} +\CustomizeMathJax{\newcommand\Coloneq{\mathrel{\unicode{x2237}-}}} + +\CustomizeMathJax{\newcommand\eqqcolon{\mathrel{=\!\unicode{x2236}}}} +\CustomizeMathJax{\newcommand\Eqqcolon{\mathrel{=\!\unicode{x2237}}}} +\CustomizeMathJax{\newcommand\eqcolon{\mathrel{-\unicode{x2236}}}} +\CustomizeMathJax{\newcommand\Eqcolon{\mathrel{-\unicode{x2237}}}} + +\CustomizeMathJax{\newcommand\colonapprox{\mathrel{\unicode{x2236}\!\approx}}} +\CustomizeMathJax{\newcommand\Colonapprox{\mathrel{\unicode{x2237}\!\approx}}} +\CustomizeMathJax{\newcommand\colonsim{\mathrel{\unicode{x2236}\!\sim}}} +\CustomizeMathJax{\newcommand\Colonsim{\mathrel{\unicode{x2237}\!\sim}}} -\CustomizeMathJax{\newcommand\dblcolon{\vcentcolon\vcentcolon}} -\CustomizeMathJax{\newcommand\coloneqq{\vcentcolon=}} -\CustomizeMathJax{\newcommand\Coloneqq{\dblcolon=}} -\CustomizeMathJax{\newcommand\coloneq{\vcentcolon{-}}} -\CustomizeMathJax{\newcommand\Coloneq{\dblcolon{-}}} - -\CustomizeMathJax{\newcommand\eqqcolon{=\vcentcolon}} -\CustomizeMathJax{\newcommand\Eqqcolon{=\dblcolon}} -\CustomizeMathJax{\newcommand\eqcolon{\mathrel{-}\vcentcolon}} -\CustomizeMathJax{\newcommand\Eqcolon{\mathrel{-}\dblcolon}} - -\CustomizeMathJax{\newcommand\colonapprox{\vcentcolon\approx}} -\CustomizeMathJax{\newcommand\Colonapprox{\dblcolon\approx}} -\CustomizeMathJax{\newcommand\colonsim{\vcentcolon\sim}} -\CustomizeMathJax{\newcommand\Colonsim{\dblcolon\sim}} - -\CustomizeMathJax{\newcommand{\nuparrow}{\cancel{\uparrow}}} -\CustomizeMathJax{\newcommand{\ndownarrow}{\cancel{\downarrow}}} -\CustomizeMathJax{\newcommand{\bigtimes}{{\Large\times}}} +\CustomizeMathJax{\newcommand{\nuparrow}{\mathrel{\cancel{\uparrow}}}} +\CustomizeMathJax{\newcommand{\ndownarrow}{\mathrel{\cancel{\downarrow}}}} +\CustomizeMathJax{\newcommand{\bigtimes}{\mathop{\Large\times}\limits}} \CustomizeMathJax{\newcommand{\prescript}[3]{{}^{#1}_{#2}#3}} 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 72e38ced5a1..ec1f40943d2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty @@ -51,12 +51,13 @@ endinnercode={\LWR@stoppars}, } \newcommand*{\LWR@mdframedstart}{% \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 @@ -70,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-menukeys.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-menukeys.sty new file mode 100644 index 00000000000..8e53747a183 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-menukeys.sty @@ -0,0 +1,41 @@ +%% +%% This is file `lwarp-menukeys.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `menukeys') +%% 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{menukeys}[2020/12/19] +\xpatchcmd{\tw@define@menu@macro@} + {\@nameuse{tw@style@#4@pre}} + {% + \begin{lateximage}*[\detokenize{##2}]% + \@nameuse{tw@style@#4@pre}% + } + {} + {\LWR@patcherror{menukeys}{tw@define@menu@macro@}} + +\xpatchcmd{\tw@define@menu@macro@} + {\@nameuse{tw@style@#4@post}} + {% + \@nameuse{tw@style@#4@post}% + \end{lateximage}% + } + {} + {\LWR@patcherror{menukeys}{tw@define@menu@macro@ B}} +\renewmenumacro{\menu}[>]{menus} +\renewmenumacro{\directory}[/]{paths} +\renewmenumacro{\keys}[+]{roundedkeys} +\endinput +%% +%% End of file `lwarp-menukeys.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty index 10dd87baaf1..58b9be68356 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty @@ -93,6 +93,10 @@ \LetLtxMacro\cesplit\LWR@mhchem@origcesplit% } +\begin{warpMathJax} +\CustomizeMathJax{\require{mhchem}} +\end{warpMathJax} + \endinput %% %% End of file `lwarp-mhchem.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-minted.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-minted.sty new file mode 100644 index 00000000000..00cb4b0881f --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-minted.sty @@ -0,0 +1,62 @@ +%% +%% This is file `lwarp-minted.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `minted') +%% 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{minted}[2017/07/19] +\xpatchcmd{\minted} + {\setkeys{minted@opt@cmd}{#1}} + {% + \setkeys{minted@opt@cmd}{% + #1,% + mathescape=false,breaklines,texcomments=false,highlightlines={}% + }% + } + {} + {\LWR@patcherror{minted}{minted}} + +\xpatchcmd{\mintinline} + {\setkeys{minted@opt@cmd}{#1}} + {\setkeys{minted@opt@cmd}{% + #1,% + mathescape=false,breaklines,texcomments=false,highlightlines={}% + }% + } + {} + {\LWR@patcherror{minted}{mintinline}} + +\xpatchcmd{\mint} + {\setkeys{minted@opt@cmd}{#1}} + {% + \setkeys{minted@opt@cmd}{% + #1,% + mathescape=false,breaklines,texcomments=false,highlightlines={}% + }% + } + {} + {\LWR@patcherror{minted}{mint}} + +\xpatchcmd{\inputminted} + {\setkeys{minted@opt@cmd}{#1}} + {\setkeys{minted@opt@cmd}{% + #1,% + mathescape=false,breaklines,texcomments=false,highlightlines={}% + }% + } + {} + {\LWR@patcherror{minted}{inputminted}} +\endinput +%% +%% End of file `lwarp-minted.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mismath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mismath.sty index a571867a03e..5adbbb11cd3 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mismath.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mismath.sty @@ -61,48 +61,48 @@ \CustomizeMathJax{\newcommand{\V}{\operatorname{\probastyle{V}}}} \CustomizeMathJax{\newcommand{\Par}{\unicode{x00B6}}} -\CustomizeMathJax{\newcommand{\adj}{\mathrm{adj}}} -\CustomizeMathJax{\newcommand{\Aut}{\mathrm{Aut}}} -\CustomizeMathJax{\newcommand{\Conv}{\mathrm{Conv}}} -\CustomizeMathJax{\newcommand{\cov}{\mathrm{cov}}} -\CustomizeMathJax{\newcommand{\Cov}{\mathrm{Cov}}} -\CustomizeMathJax{\newcommand{curl}{\operatorname{\vect{\mathrm{curl}}}}} -\CustomizeMathJax{\newcommand{\divg}{\mathrm{div}}} -\CustomizeMathJax{\newcommand{\End}{\mathrm{End}}} +\CustomizeMathJax{\DeclareMathOperator{\adj}{adj}} +\CustomizeMathJax{\DeclareMathOperator{\Aut}{Aut}} +\CustomizeMathJax{\DeclareMathOperator{\Conv}{Conv}} +\CustomizeMathJax{\DeclareMathOperator{\cov}{cov}} +\CustomizeMathJax{\DeclareMathOperator{\Cov}{Cov}} +\CustomizeMathJax{\newcommand{\curl}{\operatorname{\vect{\mathrm{curl}}}}} +\CustomizeMathJax{\DeclareMathOperator{\divg}{div}} +\CustomizeMathJax{\DeclareMathOperator{\End}{End}} -\CustomizeMathJax{\newcommand{\erf}{\mathrm{erf}}} -\CustomizeMathJax{\newcommand{grad}{\operatorname{\vect{\mathrm{grad}}}}} -\CustomizeMathJax{\newcommand{\id}{\mathrm{id}}} -\CustomizeMathJax{\newcommand{\Id}{\mathrm{Id}}} -\CustomizeMathJax{\newcommand{\im}{\mathrm{im}}} +\CustomizeMathJax{\DeclareMathOperator{\erf}{erf}} +\CustomizeMathJax{\newcommand{\grad}{\operatorname{\vect{\mathrm{grad}}}}} +\CustomizeMathJax{\DeclareMathOperator{\id}{id}} +\CustomizeMathJax{\DeclareMathOperator{\Id}{Id}} +\CustomizeMathJax{\DeclareMathOperator{\im}{im}} \CustomizeMathJax{\let\oldIm\Im} \CustomizeMathJax{\renewcommand{\Im}{\operatorname{Im}}} -\CustomizeMathJax{\newcommand{\lb}{\mathrm{lb}}} -\CustomizeMathJax{\newcommand{\lcm}{\mathrm{lcm}}} +\CustomizeMathJax{\DeclareMathOperator{\lb}{lb}} +\CustomizeMathJax{\DeclareMathOperator{\lcm}{lcm}} -\CustomizeMathJax{\newcommand{\rank}{\mathrm{rank}}} +\CustomizeMathJax{\DeclareMathOperator{\rank}{rank}} \CustomizeMathJax{\let\oldRe\Re} \CustomizeMathJax{\renewcommand{\Re}{\operatorname{Re}}} -\CustomizeMathJax{\newcommand{rot}{\operatorname{\vect{\mathrm{rot}}}}} -\CustomizeMathJax{\newcommand{\sgn}{\mathrm{sgn}}} -\CustomizeMathJax{\newcommand{\spa}{\mathrm{span}}} -\CustomizeMathJax{\newcommand{\tr}{\mathrm{tr}}} -\CustomizeMathJax{\newcommand{\Var}{\mathrm{Var}}} -\CustomizeMathJax{\newcommand{\Zu}{\mathrm{Z}}} +\CustomizeMathJax{\newcommand{\rot}{\operatorname{\vect{\mathrm{rot}}}}} +\CustomizeMathJax{\DeclareMathOperator{\sgn}{sgn}} +\CustomizeMathJax{\DeclareMathOperator{\spa}{span}} +\CustomizeMathJax{\DeclareMathOperator{\tr}{tr}} +\CustomizeMathJax{\DeclareMathOperator{\Var}{Var}} +\CustomizeMathJax{\DeclareMathOperator{\Zu}{Z}} -\CustomizeMathJax{\newcommand{\arccot}{\mathrm{arccot}}} -\CustomizeMathJax{\newcommand{\sech}{\mathrm{sech}}} -\CustomizeMathJax{\newcommand{\csch}{\mathrm{csch}}} -\CustomizeMathJax{\newcommand{\arsinh}{\mathrm{arsinh}}} -\CustomizeMathJax{\newcommand{\arcosh}{\mathrm{arcosh}}} -\CustomizeMathJax{\newcommand{\artanh}{\mathrm{artanh}}} -\CustomizeMathJax{\newcommand{\arcoth}{\mathrm{arcoth}}} -\CustomizeMathJax{\newcommand{\arsech}{\mathrm{arsech}}} -\CustomizeMathJax{\newcommand{\arcsch}{\mathrm{arcsch}}} +\CustomizeMathJax{\DeclareMathOperator{\arccot}{arccot}} +\CustomizeMathJax{\DeclareMathOperator{\sech}{sech}} +\CustomizeMathJax{\DeclareMathOperator{\csch}{csch}} +\CustomizeMathJax{\DeclareMathOperator{\arsinh}{arsinh}} +\CustomizeMathJax{\DeclareMathOperator{\arcosh}{arcosh}} +\CustomizeMathJax{\DeclareMathOperator{\artanh}{artanh}} +\CustomizeMathJax{\DeclareMathOperator{\arcoth}{arcoth}} +\CustomizeMathJax{\DeclareMathOperator{\arsech}{arsech}} +\CustomizeMathJax{\DeclareMathOperator{\arcsch}{arcsch}} -\CustomizeMathJax{\newcommand{\bigO}{\mathcal{O}}} -\CustomizeMathJax{\newcommand{\bigo}{\mathrm{O}}} -\CustomizeMathJax{\newcommand{\lito}{\mathrm{o}}} +\CustomizeMathJax{\DeclareMathOperator{\bigO}{\mathcal{O}}} +\CustomizeMathJax{\DeclareMathOperator{\bigo}{O}} +\CustomizeMathJax{\DeclareMathOperator{\lito}{o}} \CustomizeMathJax{\newcommand{\R}{\mathset{R}}} \CustomizeMathJax{\newcommand{\C}{\mathset{C}}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mleftright.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mleftright.sty new file mode 100644 index 00000000000..ad0c6a3e9fb --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mleftright.sty @@ -0,0 +1,27 @@ +%% +%% This is file `lwarp-mleftright.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mleftright') +%% 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{mleftright}[2019/12/03] +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\mleft}{\left}} +\CustomizeMathJax{\newcommand{\mright}{\right}} +\CustomizeMathJax{\newcommand{\mleftright}{}} +\CustomizeMathJax{\newcommand{\mleftrightrestore}{}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-mleftright.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty index 3a5a25d562f..20824c8d7fd 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty @@ -15,41 +15,40 @@ %% 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. -\begin{warpHTML} \LWR@ProvidesPackagePass{moreverb}[2008/06/03] \BeforeBeginEnvironment{verbatimtab}{% \LWR@forcenewpage -\LWR@atbeginverbatim{3}{Verbatim}% +\LWR@atbeginverbatim{Verbatim}% } \AfterEndEnvironment{verbatimtab}{% -\LWR@afterendverbatim{1}% +\LWR@afterendverbatim% } \LetLtxMacro\LWRMV@orig@verbatimtabinput\@verbatimtabinput \renewcommand{\@verbatimtabinput}[2][]{% \LWR@forcenewpage -\LWR@atbeginverbatim{3}{Verbatim}% +\LWR@atbeginverbatim{Verbatim}% \LWRMV@orig@verbatimtabinput[#1]{#2}% -\LWR@afterendverbatim{1}% +\LWR@afterendverbatim% } \BeforeBeginEnvironment{listing}{% \LWR@forcenewpage -\LWR@atbeginverbatim{3}{programlisting}% +\LWR@atbeginverbatim{programlisting}% } \AfterEndEnvironment{listing}{% -\LWR@afterendverbatim{1}% +\LWR@afterendverbatim% } \BeforeBeginEnvironment{listingcont}{% \LWR@forcenewpage -\LWR@atbeginverbatim{3}{programlisting}% +\LWR@atbeginverbatim{programlisting}% } \AfterEndEnvironment{listingcont}{% -\LWR@afterendverbatim{1}% +\LWR@afterendverbatim% } @@ -57,22 +56,21 @@ \renewcommand{\@listinginput}[3][]{ \LWR@forcenewpage -\LWR@atbeginverbatim{3}{programlisting}% +\LWR@atbeginverbatim{programlisting}% \LWRMV@@listinginput[#1]{#2}{#3}% -\LWR@afterendverbatim{1}% +\LWR@afterendverbatim% } \renewenvironment*{boxedverbatim} { \LWR@forcenewpage -\LWR@atbeginverbatim{3}{boxedverbatim}% +\LWR@atbeginverbatim{boxedverbatim}% \verbatim% } { \endverbatim% -\LWR@afterendverbatim{1}% +\LWR@afterendverbatim% } -\end{warpHTML} \endinput %% %% End of file `lwarp-moreverb.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multibib.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multibib.sty new file mode 100644 index 00000000000..2eebbc14b25 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multibib.sty @@ -0,0 +1,26 @@ +%% +%% This is file `lwarp-multibib.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `multibib') +%% 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{multibib}[2008/12/10] +\xpatchcmd{\newcites} + {{\@suffix}} + {{\@suffix_html}} + {} + {\LWR@patcherror{multibib}{newcites}} +\endinput +%% +%% End of file `lwarp-multibib.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty index 9d27bf9c1e7..6d6d8164580 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty @@ -21,8 +21,6 @@ \LWR@ProvidesPackageDrop{multicol}[2018/12/27] -\begin{warpHTML} - \NewDocumentEnvironment{multicols}{s m o} { \LWR@forcenewpage @@ -54,8 +52,6 @@ \IfValueTF{#2}{#2}{#3}% } -\end{warpHTML} - \endinput %% %% End of file `lwarp-multicol.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multiobjective.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multiobjective.sty index 18c254a7879..95b58e60d6f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multiobjective.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multiobjective.sty @@ -21,8 +21,8 @@ \CustomizeMathJax{\newcommand{\negdom}{\not\prec}} \CustomizeMathJax{\newcommand{\weakdom}{\preccurlyeq}} \CustomizeMathJax{\newcommand{\negweakdom}{\not\preccurlyeq}} -\CustomizeMathJax{\newcommand{\strictdom}{\prec\!\!\!\prec}} -\CustomizeMathJax{\newcommand{\negstrictdom}{\not\prec\!\!\!\prec}} +\CustomizeMathJax{\newcommand{\strictdom}{\mathord{\prec}\!\!\!\mathord{\prec}}} +\CustomizeMathJax{\newcommand{\negstrictdom}{\mathord{\not\prec}\!\!\!\mathord{\prec}}} \CustomizeMathJax{\newcommand{\multepsilondom}{\preccurlyeq_{\epsilon\cdot}}} \CustomizeMathJax{\newcommand{\addiepsilondom}{\preccurlyeq_{\epsilon +}}} \CustomizeMathJax{\newcommand{\better}{\triangleleft}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty index e4e67975e4a..45963f2ddbe 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty @@ -18,36 +18,42 @@ \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" % -\ifstrequal{#1}{c}{style="\LWR@print@mbox{vertical-align:middle}" }{}% -\ifstrequal{#1}{b}{style="\LWR@print@mbox{vertical-align:bottom}" }{}% -\ifstrequal{#1}{t}{style="\LWR@print@mbox{vertical-align:top}" }{}% -\ifdefvoid{\LWR@multirowborder}{}{% -style="\LWR@print@mbox{border-\LWR@multirowborder:} 2px dotted black ; % -\LWR@print@mbox{padding-\LWR@multirowborder:} 2px" % -}% -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}}{}% +\ifstrequal{#1}{t}{\LWR@tdaddstyle\LWR@print@mbox{vertical-align:top}}{}% +\ifdefvoid{\LWR@multirowborder}{}{% + \LWR@tdaddstyle% + \LWR@print@mbox{border-\LWR@multirowborder:} 2px dotted black ; % + \LWR@print@mbox{padding-\LWR@multirowborder:} 2px% +}% \LWR@addcmidrulewidth% \LWR@addcdashline% \LWR@addtabularrulecolors% \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-nccmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nccmath.sty index 1600e59b58d..cec50a7db3b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nccmath.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nccmath.sty @@ -48,14 +48,16 @@ \newcommand*{\LWR@nccmath@eqs}[2][]{\begin{eqnarray}#2\end{eqnarray}} \begin{warpMathJax} -\CustomizeMathJax{\renewcommand{\intertext}[2][]{\\ \text{#2}\notag \\}} +\CustomizeMathJax{\renewcommand{\intertext}[2][]{\text{#2}\notag \\}} \CustomizeMathJax{\newenvironment{fleqn}[1][]{}{}} \CustomizeMathJax{\newenvironment{ceqn}{}{}} \CustomizeMathJax{\newenvironment{darray}[2][c]{\begin{array}[#1]{#2}}{\end{array}}} \CustomizeMathJax{\newcommand{\dmulticolumn}[3]{#3}} -\CustomizeMathJax{\newcommand{\nr}{\\[.5ex]}} +\CustomizeMathJax{\newcommand{\LWRnrnostar}[1][0.5ex]{\\[#1]}} +\CustomizeMathJax{\newcommand{\nr}{\ifstar\LWRnrnostar\LWRnrnostar}} + \CustomizeMathJax{\newcommand{\mrel}[1]{\begin{aligned}#1\end{aligned}}} -\CustomizeMathJax{\newcommand{\underrel}[2]{{#1}_{#2}}} +\CustomizeMathJax{\newcommand{\underrel}[2]{\underset{#2}{#1}}} \CustomizeMathJax{\newcommand{\medmath}[1]{#1}} \CustomizeMathJax{\newcommand{\medop}[1]{#1}} \CustomizeMathJax{\newcommand{\medint}[1]{#1}} @@ -63,6 +65,7 @@ \CustomizeMathJax{\newcommand{\mfrac}[2]{\frac{#1}{#2}}} \CustomizeMathJax{\newcommand{\mbinom}[2]{\binom{#1}{#2}}} \CustomizeMathJax{\newenvironment{mmatrix}{\begin{matrix}}{\end{matrix}}} +\CustomizeMathJax{\newcommand{\displaybreak}[1][]{}} \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newpxmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newpxmath.sty new file mode 100644 index 00000000000..9071bd3d83f --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newpxmath.sty @@ -0,0 +1,41 @@ +%% +%% This is file `lwarp-newpxmath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `newpxmath') +%% 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{newpxmath}[2020/01/09] + +\LWR@infoprocessingmathjax{newpxmath} + +\LWR@origRequirePackage{lwarp-common-mathjax-newpxtxmath} + +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} + +\LWR@mathjax@addgreek@u@up*{}{up} +\LWR@mathjax@addgreek@u@up*{up}{} +\LWR@mathjax@addgreek@l@up{up}{} +\LWR@mathjax@addgreek@l@up{}{up} +\LWR@mathjax@addgreek@u@it*{}{it} +\LWR@mathjax@addgreek@l@it{}{it} +\ifpx@slantedG + \LWR@mathjax@addgreek@u@it*{}{} +\fi + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-newpxmath.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newtxmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newtxmath.sty new file mode 100644 index 00000000000..49522cf05f0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newtxmath.sty @@ -0,0 +1,51 @@ +%% +%% This is file `lwarp-newtxmath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `newtxmath') +%% 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{newtxmath}[2020/08/04] + +\LWR@infoprocessingmathjax{newtxmath} + +\LWR@origRequirePackage{lwarp-common-mathjax-newpxtxmath} + +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} + +\LWR@mathjax@addgreek@u@up*{}{up} +\LWR@mathjax@addgreek@u@up*{up}{} +\LWR@mathjax@addgreek@l@up{up}{} +\LWR@mathjax@addgreek@l@up{}{up} +\LWR@mathjax@addgreek@u@it*{}{it} +\LWR@mathjax@addgreek@l@it{}{it} + +\LWR@mathjax@addgreek@u@it*{it}{} +\LWR@mathjax@addgreek@l@it{it}{} + +\ifdef{\iftx@BI}{ + \iftx@BI + \LWR@mathjax@addlatin@u@bfit{BI} + \LWR@mathjax@addlatin@l@bfit{BI} + \fi +}{} +\iftx@slantedG + \LWR@mathjax@addgreek@u@it*{}{} +\fi + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-newtxmath.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newtxsf.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newtxsf.sty new file mode 100644 index 00000000000..87d2818d0e2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newtxsf.sty @@ -0,0 +1,50 @@ +%% +%% This is file `lwarp-newtxsf.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `newtxsf') +%% 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{newtxsf}[2020/05/02] + +\LWR@infoprocessingmathjax{newtxsf} + +\LWR@origRequirePackage{lwarp-common-mathjax-newpxtxmath} + +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} + +\LWR@mathjax@addgreek@u@up*{}{up} +\LWR@mathjax@addgreek@u@up*{up}{} +\LWR@mathjax@addgreek@l@up{up}{} +\LWR@mathjax@addgreek@l@up{}{up} +\LWR@mathjax@addgreek@u@it*{}{it} +\LWR@mathjax@addgreek@l@it{}{it} + +\LWR@mathjax@addgreek@u@it*{it}{} +\LWR@mathjax@addgreek@l@it{it}{} +\ifdef{\iftx@BI}{ + \iftx@BI + \LWR@mathjax@addlatin@u@bfit{BI} + \LWR@mathjax@addlatin@l@bfit{BI} + \fi +}{} +\iftx@slantedG + \LWR@mathjax@addgreek@u@it*{}{} +\fi + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-newtxsf.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nfssext-cfr.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nfssext-cfr.sty index f0a4a1a0ef9..82a98f59ac9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nfssext-cfr.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nfssext-cfr.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{nfssext-cfr}[2017/03/28] \newrobustcmd{\LWR@HTML@lnstyle}{} -\newrobustcmd{\LWR@HTML@osstyle}{} +\newrobustcmd{\LWR@HTML@osstyle}{\LWR@HTML@scshape} \newrobustcmd{\LWR@HTML@instyle}{} \newrobustcmd{\LWR@HTML@sustyle}{} \newrobustcmd{\LWR@HTML@swstyle}{} @@ -34,7 +34,7 @@ \newrobustcmd{\LWR@HTML@qtstyle}{} \newrobustcmd{\LWR@HTML@shstyle}{} \newrobustcmd{\LWR@HTML@swashstyle}{} -\newrobustcmd{\LWR@HTML@tmstyle}{} +\newrobustcmd{\LWR@HTML@tmstyle}{\renewcommand*{\LWR@f@family}{tt}} \newrobustcmd{\LWR@HTML@tvstyle}{\renewcommand*{\LWR@f@family}{tt}} \newrobustcmd{\LWR@HTML@tstyle}{} \newrobustcmd{\LWR@HTML@lstyle}{} @@ -57,11 +57,11 @@ \newrobustcmd{\LWR@HTML@exwidth}{} \newrobustcmd{\LWR@HTML@uxwidth}{} \newrobustcmd{\LWR@HTML@mbweight}{\renewcommand*{\LWR@f@series}{md}} -\newrobustcmd{\LWR@HTML@dbweight}{\renewcommand*{\LWR@f@series}{bf}} -\newrobustcmd{\LWR@HTML@sbweight}{\renewcommand*{\LWR@f@series}{bf}} -\newrobustcmd{\LWR@HTML@ubweight}{\renewcommand*{\LWR@f@series}{eb}} -\newrobustcmd{\LWR@HTML@elweight}{\renewcommand*{\LWR@f@series}{lg}} -\newrobustcmd{\LWR@HTML@ulweight}{\renewcommand*{\LWR@f@series}{lg}} +\newrobustcmd{\LWR@HTML@dbweight}{\renewcommand*{\LWR@f@series}{db}} +\newrobustcmd{\LWR@HTML@sbweight}{\renewcommand*{\LWR@f@series}{sb}} +\newrobustcmd{\LWR@HTML@ubweight}{\renewcommand*{\LWR@f@series}{ub}} +\newrobustcmd{\LWR@HTML@elweight}{\renewcommand*{\LWR@f@series}{el}} +\newrobustcmd{\LWR@HTML@ulweight}{\renewcommand*{\LWR@f@series}{ul}} \newrobustcmd{\LWR@HTML@dfshape}{} \ifdef{\LWR@HTML@swshape}{}{% duplicated by fontaxes @@ -116,6 +116,9 @@ \LWR@formatted{ubweight} \LWR@formatted{elweight} \LWR@formatted{ulweight} +\LWR@formatted{itshape}% adapt to the new print version +\LWR@formatted{scshape}% adapt to the new print version +\LWR@formatted{upshape}% adapt to the new print version \LWR@formatted{dfshape} \ifdef{\LWR@HTML@swshape}{}{% duplicated by fontaxes @@ -123,121 +126,66 @@ } \LWR@formatted{ornament} - -\newcommand{\LWR@null@lnstyle}{} -\newcommand{\LWR@null@osstyle}{} -\newcommand{\LWR@null@instyle}{} -\newcommand{\LWR@null@sustyle}{} -\newcommand{\LWR@null@swstyle}{} -\newcommand{\LWR@null@pstyle}{} -\newcommand{\LWR@null@tistyle}{} -\newcommand{\LWR@null@ostyle}{} -\newcommand{\LWR@null@postyle}{} -\newcommand{\LWR@null@ltstyle}{} -\newcommand{\LWR@null@ofstyle}{} -\newcommand{\LWR@null@altstyle}{} -\newcommand{\LWR@null@regstyle}{} -\newcommand{\LWR@null@embossstyle}{} -\newcommand{\LWR@null@ornamentalstyle}{} -\newcommand{\LWR@null@qtstyle}{} -\newcommand{\LWR@null@shstyle}{} -\newcommand{\LWR@null@swashstyle}{} -\newcommand{\LWR@null@tmstyle}{} -\newcommand{\LWR@null@tvstyle}{} -\newcommand{\LWR@null@tstyle}{} -\newcommand{\LWR@null@lstyle}{} -\newcommand{\LWR@null@tlstyle}{} -\newcommand{\LWR@null@plstyle}{} -\newcommand{\LWR@null@tostyle}{} -\newcommand{\LWR@null@olshape}{} -\newcommand{\LWR@null@scolshape}{} -\newcommand{\LWR@null@ushape}{} -\newcommand{\LWR@null@scushape}{} -\newcommand{\LWR@null@uishape}{} -\newcommand{\LWR@null@rishape}{} -\newcommand{\LWR@null@regwidth}{} -\newcommand{\LWR@null@nwwidth}{} -\newcommand{\LWR@null@cdwidth}{} -\newcommand{\LWR@null@ecwidth}{} -\newcommand{\LWR@null@ucwidth}{} -\newcommand{\LWR@null@etwidth}{} -\newcommand{\LWR@null@epwidth}{} -\newcommand{\LWR@null@exwidth}{} -\newcommand{\LWR@null@uxwidth}{} -\newcommand{\LWR@null@mbweight}{} -\newcommand{\LWR@null@dbweight}{} -\newcommand{\LWR@null@sbweight}{} -\newcommand{\LWR@null@ubweight}{} -\newcommand{\LWR@null@elweight}{} -\newcommand{\LWR@null@ulweight}{} -\newcommand{\LWR@null@dfshape}{} - -\ifdef{\LWR@HTML@swshape}{}{% duplicated by fontaxes - \newcommand{\LWR@null@swshape}{} +\FilenameNullify{% + \LetLtxMacro\lnstyle\@empty% + \LetLtxMacro\osstyle\@empty% + \LetLtxMacro\instyle\@empty% + \LetLtxMacro\sustyle\@empty% + \LetLtxMacro\swstyle\@empty% + \LetLtxMacro\pstyle\@empty% + \LetLtxMacro\tistyle\@empty% + \LetLtxMacro\ostyle\@empty% + \LetLtxMacro\postyle\@empty% + \LetLtxMacro\ltstyle\@empty% + \LetLtxMacro\ofstyle\@empty% + \LetLtxMacro\altstyle\@empty% + \LetLtxMacro\regstyle\@empty% + \LetLtxMacro\embossstyle\@empty% + \LetLtxMacro\ornamentalstyle\@empty% + \LetLtxMacro\qtstyle\@empty% + \LetLtxMacro\shstyle\@empty% + \LetLtxMacro\swashstyle\@empty% + \LetLtxMacro\tmstyle\@empty% + \LetLtxMacro\tvstyle\@empty% + \LetLtxMacro\tstyle\@empty% + \LetLtxMacro\lstyle\@empty% + \LetLtxMacro\tlstyle\@empty% + \LetLtxMacro\plstyle\@empty% + \LetLtxMacro\tostyle\@empty% + \LetLtxMacro\olshape\@empty% + \LetLtxMacro\scolshape\@empty% + \LetLtxMacro\ushape\@empty% + \LetLtxMacro\scushape\@empty% + \LetLtxMacro\uishape\@empty% + \LetLtxMacro\rishape\@empty% + \LetLtxMacro\regwidth\@empty% + \LetLtxMacro\nwwidth\@empty% + \LetLtxMacro\cdwidth\@empty% + \LetLtxMacro\ecwidth\@empty% + \LetLtxMacro\ucwidth\@empty% + \LetLtxMacro\etwidth\@empty% + \LetLtxMacro\epwidth\@empty% + \LetLtxMacro\exwidth\@empty% + \LetLtxMacro\uxwidth\@empty% + \LetLtxMacro\mbweight\@empty% + \LetLtxMacro\dbweight\@empty% + \LetLtxMacro\sbweight\@empty% + \LetLtxMacro\ubweight\@empty% + \LetLtxMacro\elweight\@empty% + \LetLtxMacro\ulweight\@empty% + \LetLtxMacro\dfshape\@empty% + \LetLtxMacro\swshape\@empty% + \LetLtxMacro\ornament\@gobble% } -\newcommand{\LWR@null@ornament}[1]{} - -\appto{\LWR@nullfonts}{% -\LetLtxMacro\lnstyle\LWR@null@lnstyle% -\LetLtxMacro\osstyle\LWR@null@osstyle% -\LetLtxMacro\instyle\LWR@null@instyle% -\LetLtxMacro\sustyle\LWR@null@sustyle% -\LetLtxMacro\swstyle\LWR@null@swstyle% -\LetLtxMacro\pstyle\LWR@null@pstyle% -\LetLtxMacro\tistyle\LWR@null@tistyle% -\LetLtxMacro\ostyle\LWR@null@ostyle% -\LetLtxMacro\postyle\LWR@null@postyle% -\LetLtxMacro\ltstyle\LWR@null@ltstyle% -\LetLtxMacro\ofstyle\LWR@null@ofstyle% -\LetLtxMacro\altstyle\LWR@null@altstyle% -\LetLtxMacro\regstyle\LWR@null@regstyle% -\LetLtxMacro\embossstyle\LWR@null@embossstyle% -\LetLtxMacro\ornamentalstyle\LWR@null@ornamentalstyle% -\LetLtxMacro\qtstyle\LWR@null@qtstyle% -\LetLtxMacro\shstyle\LWR@null@shstyle% -\LetLtxMacro\swashstyle\LWR@null@swashstyle% -\LetLtxMacro\tmstyle\LWR@null@tmstyle% -\LetLtxMacro\tvstyle\LWR@null@tvstyle% -\LetLtxMacro\tstyle\LWR@null@tstyle% -\LetLtxMacro\lstyle\LWR@null@lstyle% -\LetLtxMacro\tlstyle\LWR@null@tlstyle% -\LetLtxMacro\plstyle\LWR@null@plstyle% -\LetLtxMacro\tostyle\LWR@null@tostyle% -\LetLtxMacro\olshape\LWR@null@olshape% -\LetLtxMacro\scolshape\LWR@null@scolshape% -\LetLtxMacro\ushape\LWR@null@ushape% -\LetLtxMacro\scushape\LWR@null@scushape% -\LetLtxMacro\uishape\LWR@null@uishape% -\LetLtxMacro\rishape\LWR@null@rishape% -\LetLtxMacro\regwidth\LWR@null@regwidth% -\LetLtxMacro\nwwidth\LWR@null@nwwidth% -\LetLtxMacro\cdwidth\LWR@null@cdwidth% -\LetLtxMacro\ecwidth\LWR@null@ecwidth% -\LetLtxMacro\ucwidth\LWR@null@ucwidth% -\LetLtxMacro\etwidth\LWR@null@etwidth% -\LetLtxMacro\epwidth\LWR@null@epwidth% -\LetLtxMacro\exwidth\LWR@null@exwidth% -\LetLtxMacro\uxwidth\LWR@null@uxwidth% -\LetLtxMacro\mbweight\LWR@null@mbweight% -\LetLtxMacro\dbweight\LWR@null@dbweight% -\LetLtxMacro\sbweight\LWR@null@sbweight% -\LetLtxMacro\ubweight\LWR@null@ubweight% -\LetLtxMacro\elweight\LWR@null@elweight% -\LetLtxMacro\ulweight\LWR@null@ulweight% -\LetLtxMacro\dfshape\LWR@null@dfshape% -\LetLtxMacro\swshape\LWR@null@swshape% -\LetLtxMacro\ornament\LWR@null@ornament% -} - -\newrobustcmd{\LWR@HTML@textln}[1]{#1} +\newrobustcmd{\LWR@HTML@textln}[1]{\InlineClass{textln}{#1}} \newrobustcmd{\LWR@HTML@textos}[1]{\textsc{#1}} \newrobustcmd{\LWR@HTML@textin}[1]{#1} \newrobustcmd{\LWR@HTML@textsu}[1]{#1} \newrobustcmd{\LWR@HTML@textdf}[1]{#1} - -\ifdef{\LWR@HTML@swshape}{}{% duplicated by fontaxes +\ifdef{\LWR@HTML@textsw}{}{% duplicated by fontaxes \newrobustcmd{\LWR@HTML@textsw}[1]{#1} + \LWR@formatted{textsw} } \newrobustcmd{\LWR@HTML@textti}[1]{#1} @@ -249,15 +197,15 @@ \newrobustcmd{\LWR@HTML@textorn}[1]{#1} \newrobustcmd{\LWR@HTML@textqt}[1]{#1} \newrobustcmd{\LWR@HTML@textsh}[1]{#1} -\newrobustcmd{\LWR@HTML@texttm}[1]{#1} +\newrobustcmd{\LWR@HTML@texttm}[1]{\texttt{#1}} \newrobustcmd{\LWR@HTML@texttv}[1]{\texttt{#1}} -\newrobustcmd{\LWR@HTML@textl}[1]{#1} -\newrobustcmd{\LWR@HTML@texto}[1]{#1} -\newrobustcmd{\LWR@HTML@textp}[1]{#1} -\newrobustcmd{\LWR@HTML@textt}[1]{#1} +\newrobustcmd{\LWR@HTML@textl}[1]{\InlineClass{textln}{#1}} +\newrobustcmd{\LWR@HTML@texto}[1]{\textsc{#1}} +\newrobustcmd{\LWR@HTML@textp}[1]{\InlineClass{textp}{#1}} +\newrobustcmd{\LWR@HTML@textt}[1]{\InlineClass{textt}{#1}} \newrobustcmd{\LWR@HTML@textpl}[1]{#1} \newrobustcmd{\LWR@HTML@textpo}[1]{\textsc{#1}} -\newrobustcmd{\LWR@HTML@texttl}[1]{#1} +\newrobustcmd{\LWR@HTML@texttl}[1]{\InlineClass{textln}{#1}} \newrobustcmd{\LWR@HTML@textto}[1]{\textsc{#1}} \newrobustcmd{\LWR@HTML@textol}[1]{#1} \newrobustcmd{\LWR@HTML@textswash}[1]{#1} @@ -274,19 +222,18 @@ \newrobustcmd{\LWR@HTML@textex}[1]{#1} \newrobustcmd{\LWR@HTML@textux}[1]{#1} \newrobustcmd{\LWR@HTML@textrw}[1]{#1} -\newrobustcmd{\LWR@HTML@textmb}[1]{\textmd{#1}} -\newrobustcmd{\LWR@HTML@textdb}[1]{\textbf{#1}} -\newrobustcmd{\LWR@HTML@textsb}[1]{\textbf{#1}} -\newrobustcmd{\LWR@HTML@textub}[1]{\texteb{#1}} -\newrobustcmd{\LWR@HTML@textel}[1]{\textlg{#1}} -\newrobustcmd{\LWR@HTML@textul}[1]{\textlg{#1}} +\newrobustcmd{\LWR@HTML@textmb}[1]{{\LWR@HTML@mbweight\InlineClass{textmb}{#1}}} +\newrobustcmd{\LWR@HTML@textdb}[1]{{\LWR@HTML@dbweight\InlineClass{textdb}{#1}}} +\newrobustcmd{\LWR@HTML@textsb}[1]{{\LWR@HTML@sbweight\InlineClass{textsb}{#1}}} +\newrobustcmd{\LWR@HTML@textub}[1]{{\LWR@HTML@ubweight\InlineClass{textub}{#1}}} +\newrobustcmd{\LWR@HTML@textel}[1]{{\LWR@HTML@elweight\InlineClass{textel}{#1}}} +\newrobustcmd{\LWR@HTML@textul}[1]{{\LWR@HTML@ulweight\InlineClass{textul}{#1}}} \LWR@formatted{textln} \LWR@formatted{textos} \LWR@formatted{textin} \LWR@formatted{textsu} \LWR@formatted{textdf} -\LWR@formatted{textsw} \LWR@formatted{textti} \LWR@formatted{textlt} \LWR@formatted{textof} @@ -328,104 +275,53 @@ \LWR@formatted{textel} \LWR@formatted{textul} -\newrobustcmd{\LWR@null@textln}[1]{#1} -\newrobustcmd{\LWR@null@textos}[1]{#1} -\newrobustcmd{\LWR@null@textin}[1]{#1} -\newrobustcmd{\LWR@null@textsu}[1]{#1} -\newrobustcmd{\LWR@null@textdf}[1]{#1} - -\ifdef{\LWR@HTML@swshape}{}{% duplicated by fontaxes - \newrobustcmd{\LWR@null@textsw}[1]{#1} -} - -\newrobustcmd{\LWR@null@textti}[1]{#1} -\newrobustcmd{\LWR@null@textlt}[1]{#1} -\newrobustcmd{\LWR@null@textof}[1]{#1} -\newrobustcmd{\LWR@null@textalt}[1]{#1} -\newrobustcmd{\LWR@null@textreg}[1]{#1} -\newrobustcmd{\LWR@null@emboss}[1]{#1} -\newrobustcmd{\LWR@null@textorn}[1]{#1} -\newrobustcmd{\LWR@null@textqt}[1]{#1} -\newrobustcmd{\LWR@null@textsh}[1]{#1} -\newrobustcmd{\LWR@null@texttm}[1]{#1} -\newrobustcmd{\LWR@null@texttv}[1]{#1} -\newrobustcmd{\LWR@null@textl}[1]{#1} -\newrobustcmd{\LWR@null@texto}[1]{#1} -\newrobustcmd{\LWR@null@textp}[1]{#1} -\newrobustcmd{\LWR@null@textt}[1]{#1} -\newrobustcmd{\LWR@null@textpl}[1]{#1} -\newrobustcmd{\LWR@null@textpo}[1]{#1} -\newrobustcmd{\LWR@null@texttl}[1]{#1} -\newrobustcmd{\LWR@null@textto}[1]{#1} -\newrobustcmd{\LWR@null@textol}[1]{#1} -\newrobustcmd{\LWR@null@textswash}[1]{#1} -\newrobustcmd{\LWR@null@textu}[1]{#1} -\newrobustcmd{\LWR@null@textscu}[1]{#1} -\newrobustcmd{\LWR@null@textui}[1]{#1} -\newrobustcmd{\LWR@null@textri}[1]{#1} -\newrobustcmd{\LWR@null@textnw}[1]{#1} -\newrobustcmd{\LWR@null@textcd}[1]{#1} -\newrobustcmd{\LWR@null@textec}[1]{#1} -\newrobustcmd{\LWR@null@textuc}[1]{#1} -\newrobustcmd{\LWR@null@textet}[1]{#1} -\newrobustcmd{\LWR@null@textep}[1]{#1} -\newrobustcmd{\LWR@null@textex}[1]{#1} -\newrobustcmd{\LWR@null@textux}[1]{#1} -\newrobustcmd{\LWR@null@textrw}[1]{#1} -\newrobustcmd{\LWR@null@textmb}[1]{#1} -\newrobustcmd{\LWR@null@textdb}[1]{#1} -\newrobustcmd{\LWR@null@textsb}[1]{#1} -\newrobustcmd{\LWR@null@textub}[1]{#1} -\newrobustcmd{\LWR@null@textel}[1]{#1} -\newrobustcmd{\LWR@null@textul}[1]{#1} - -\appto{\LWR@nullfonts}{% -\LetLtxMacro\textln\LWR@null@textln% -\LetLtxMacro\textos\LWR@null@textos% -\LetLtxMacro\textin\LWR@null@textin% -\LetLtxMacro\textsu\LWR@null@textsu% -\LetLtxMacro\textdf\LWR@null@textdf% -\LetLtxMacro\textsw\LWR@null@textsw% -\LetLtxMacro\textti\LWR@null@textti% -\LetLtxMacro\textlt\LWR@null@textlt% -\LetLtxMacro\textof\LWR@null@textof% -\LetLtxMacro\textalt\LWR@null@textalt% -\LetLtxMacro\textreg\LWR@null@textreg% -\LetLtxMacro\emboss\LWR@null@emboss% -\LetLtxMacro\textorn\LWR@null@textorn% -\LetLtxMacro\textqt\LWR@null@textqt% -\LetLtxMacro\textsh\LWR@null@textsh% -\LetLtxMacro\texttm\LWR@null@texttm% -\LetLtxMacro\texttv\LWR@null@texttv% -\LetLtxMacro\textl\LWR@null@textl% -\LetLtxMacro\texto\LWR@null@texto% -\LetLtxMacro\textp\LWR@null@textp% -\LetLtxMacro\textt\LWR@null@textt% -\LetLtxMacro\textpl\LWR@null@textpl% -\LetLtxMacro\textpo\LWR@null@textpo% -\LetLtxMacro\texttl\LWR@null@texttl% -\LetLtxMacro\textto\LWR@null@textto% -\LetLtxMacro\textol\LWR@null@textol% -\LetLtxMacro\textswash\LWR@null@textswash% -\LetLtxMacro\textu\LWR@null@textu% -\LetLtxMacro\textscu\LWR@null@textscu% -\LetLtxMacro\textui\LWR@null@textui% -\LetLtxMacro\textri\LWR@null@textri% -\LetLtxMacro\textnw\LWR@null@textnw% -\LetLtxMacro\textcd\LWR@null@textcd% -\LetLtxMacro\textec\LWR@null@textec% -\LetLtxMacro\textuc\LWR@null@textuc% -\LetLtxMacro\textet\LWR@null@textet% -\LetLtxMacro\textep\LWR@null@textep% -\LetLtxMacro\textex\LWR@null@textex% -\LetLtxMacro\textux\LWR@null@textux% -\LetLtxMacro\textrw\LWR@null@textrw% -\LetLtxMacro\textmb\LWR@null@textmb% -\LetLtxMacro\textdb\LWR@null@textdb% -\LetLtxMacro\textsb\LWR@null@textsb% -\LetLtxMacro\textub\LWR@null@textub% -\LetLtxMacro\textel\LWR@null@textel% -\LetLtxMacro\textul\LWR@null@textul% +\FilenameNullify{% + \LetLtxMacro\textln\@firstofone% + \LetLtxMacro\textos\@firstofone% + \LetLtxMacro\textin\@firstofone% + \LetLtxMacro\textsu\@firstofone% + \LetLtxMacro\textdf\@firstofone% + \LetLtxMacro\textsw\@firstofone% + \LetLtxMacro\textti\@firstofone% + \LetLtxMacro\textlt\@firstofone% + \LetLtxMacro\textof\@firstofone% + \LetLtxMacro\textalt\@firstofone% + \LetLtxMacro\textreg\@firstofone% + \LetLtxMacro\emboss\@firstofone% + \LetLtxMacro\textorn\@firstofone% + \LetLtxMacro\textqt\@firstofone% + \LetLtxMacro\textsh\@firstofone% + \LetLtxMacro\texttm\@firstofone% + \LetLtxMacro\texttv\@firstofone% + \LetLtxMacro\textl\@firstofone% + \LetLtxMacro\texto\@firstofone% + \LetLtxMacro\textp\@firstofone% + \LetLtxMacro\textt\@firstofone% + \LetLtxMacro\textpl\@firstofone% + \LetLtxMacro\textpo\@firstofone% + \LetLtxMacro\texttl\@firstofone% + \LetLtxMacro\textto\@firstofone% + \LetLtxMacro\textol\@firstofone% + \LetLtxMacro\textswash\@firstofone% + \LetLtxMacro\textu\@firstofone% + \LetLtxMacro\textscu\@firstofone% + \LetLtxMacro\textui\@firstofone% + \LetLtxMacro\textri\@firstofone% + \LetLtxMacro\textnw\@firstofone% + \LetLtxMacro\textcd\@firstofone% + \LetLtxMacro\textec\@firstofone% + \LetLtxMacro\textuc\@firstofone% + \LetLtxMacro\textet\@firstofone% + \LetLtxMacro\textep\@firstofone% + \LetLtxMacro\textex\@firstofone% + \LetLtxMacro\textux\@firstofone% + \LetLtxMacro\textrw\@firstofone% + \LetLtxMacro\textmb\@firstofone% + \LetLtxMacro\textdb\@firstofone% + \LetLtxMacro\textsb\@firstofone% + \LetLtxMacro\textub\@firstofone% + \LetLtxMacro\textel\@firstofone% + \LetLtxMacro\textul\@firstofone% } \providecommand*{\zeroslash}{0} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nicefrac.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nicefrac.sty index 70d138a10ca..6defc4bad87 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nicefrac.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nicefrac.sty @@ -39,7 +39,7 @@ \LWR@formatted{@UnitsUglyFrac} \begin{warpMathJax} -\CustomizeMathJax{\newcommand{\nicefrac}[3][]{#2/#3}} +\CustomizeMathJax{\newcommand{\nicefrac}[3][]{\mathinner{{}^{#2}\!/\!_{#3}}}} \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nicematrix.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nicematrix.sty new file mode 100644 index 00000000000..52e8f2c297b --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nicematrix.sty @@ -0,0 +1,118 @@ +%% +%% This is file `lwarp-nicematrix.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `nicematrix') +%% 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{nicematrix}[2020/11/23] +\begin{warpHTML} +\BeforeBeginEnvironment{NiceTabular}{% + \begin{lateximage}[-nicematrix-~\PackageDiagramAltText]% +} +\AfterEndEnvironment{NiceTabular}{\end{lateximage}} +\BeforeBeginEnvironment{NiceTabular*}{% + \begin{lateximage}[-nicematrix-~\PackageDiagramAltText]% +} +\AfterEndEnvironment{NiceTabular*}{\end{lateximage}} +\end{warpHTML} +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\LWRnicearrayarray}[1]{\begin{array}{#1}}} +\CustomizeMathJax{\def\LWRnicearrayarrayopt#1[#2] {\begin{array}{#1}}} + +\CustomizeMathJax{% + \newenvironment{NiceArray}[2][]% + {\ifnextchar[{\LWRnicearrayarrayopt{#2}}{\LWRnicearrayarray{#2}}}% + {\end{array}}% +} + +\CustomizeMathJax{% + \newcommand{\LWRnicearraywithdelimtwo}[2][]{% + \ifnextchar[{\LWRnicearrayarrayopt{#2}}{\LWRnicearrayarray{#2}}% + }% +} +\CustomizeMathJax{% + \newenvironment{NiceArrayWithDelims}[2]% + {% + \def\LWRnicearrayrightdelim{\right#2}% + \left#1% + \LWRnicearraywithdelimtwo% + }% + {\end{array}\LWRnicearrayrightdelim}% +} +\CustomizeMathJax{% + \newenvironment{pNiceArray} + {\begin{NiceArrayWithDelims}{(}{)}} + {\end{NiceArrayWithDelims}} +} + +\CustomizeMathJax{% + \newenvironment{bNiceArray} + {\begin{NiceArrayWithDelims}{[}{]}} + {\end{NiceArrayWithDelims}} +} + +\CustomizeMathJax{% + \newenvironment{BNiceArray} + {\begin{NiceArrayWithDelims}{\{}{\}}} + {\end{NiceArrayWithDelims}} +} + +\CustomizeMathJax{% + \newenvironment{vNiceArray} + {\begin{NiceArrayWithDelims}{\vert}{\vert}} + {\end{NiceArrayWithDelims}} +} + +\CustomizeMathJax{% + \newenvironment{VNiceArray} + {\begin{NiceArrayWithDelims}{\Vert}{\Vert}} + {\end{NiceArrayWithDelims}} +} +\CustomizeMathJax{\newenvironment{NiceMatrix}[1][]{\begin{matrix}}{\end{matrix}}} +\CustomizeMathJax{\newenvironment{pNiceMatrix}[1][]{\begin{pmatrix}}{\end{pmatrix}}} +\CustomizeMathJax{\newenvironment{bNiceMatrix}[1][]{\begin{bmatrix}}{\end{bmatrix}}} +\CustomizeMathJax{\newenvironment{BNiceMatrix}[1][]{\begin{Bmatrix}}{\end{Bmatrix}}} +\CustomizeMathJax{\newenvironment{vNiceMatrix}[1][]{\begin{vmatrix}}{\end{vmatrix}}} +\CustomizeMathJax{\newenvironment{VNiceMatrix}[1][]{\begin{Vmatrix}}{\end{Vmatrix}}} +\CustomizeMathJax{\newcommand{\LWRnicematrixBlock}[1]{#1}} +\CustomizeMathJax{\def\LWRnicematrixBlockopt<#1>#2{#2}} + +\CustomizeMathJax{% + \newcommand{\Block}[2][]{\ifnextchar<\LWRnicematrixBlockopt\LWRnicematrixBlock}% +} +\CustomizeMathJax{% + \newcommand{\diagbox}[2]{% + \begin{array}{l}\hfill\quad#2\\\hline#1\quad\hfill\end{array}% + }% +} +\CustomizeMathJax{\let\hdottedline\hdashline} + +\CustomizeMathJax{\newcommand{\ldots}[1][]{\dots}} +\CustomizeMathJax{\newcommand{\Cdots}[1][]{\cdots}} +\CustomizeMathJax{\newcommand{\Vdots}[1][]{\vdots}} +\CustomizeMathJax{\newcommand{\Ddots}[1][]{\ddots}} +\CustomizeMathJax{\newcommand{\Iddots}[1][]{\mathinner{\unicode{x22F0}}}} + +\CustomizeMathJax{\newcommand{\Hdotsfor}[1]{\ldots}} +\CustomizeMathJax{\newcommand{\Vdotsfor}[1]{\vdots}} +\CustomizeMathJax{\newcommand{\AutoNiceMatrix}[2]{\text{(AutoNiceMatrix #1)}}} +\CustomizeMathJax{\let\pAutoNiceMatrix\AutoNiceMatrix} +\CustomizeMathJax{\let\bAutoNiceMatrix\AutoNiceMatrix} +\CustomizeMathJax{\let\BAutoNiceMatrix\AutoNiceMatrix} +\CustomizeMathJax{\let\vAutoNiceMatrix\AutoNiceMatrix} +\CustomizeMathJax{\let\VAutoNiceMatrix\AutoNiceMatrix} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-nicematrix.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty index 4d396fe6fe5..99ffe80d233 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty @@ -17,7 +17,6 @@ %% version 2005/12/01 or later. - \LWR@ProvidesPackageDrop{nowidow}[2011/09/20] \newcommand*{\nowidow}[1][]{} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty index 0bf7e1aa03a..5096a264f66 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty @@ -16,7 +16,20 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -\DeclareOption{thref}{} +\DeclareOption{thref}{ + \AtEndDocument{ + \PackageWarningNoLine{lwarp}{% + Lwarp uses cleveref, which takes over ntheorem's\MessageBreak + referencing, including + \protect\label \space and \protect\thref.\MessageBreak + Cleveref does not accept ntheorem's optional\MessageBreak + argument for \protect\label, so it will appear\MessageBreak + in the text. It is recommended to remove the\MessageBreak + thref option, \protect\usepackage{cleveref} instead,\MessageBreak + and remove any trailing optional arguments for \protect\label% + }% + } +} \newbool{LWR@ntheoremmarks} \boolfalse{LWR@ntheoremmarks} @@ -180,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-parcolumns.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-parcolumns.sty index cef4d69bd91..f2a821bc783 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-parcolumns.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-parcolumns.sty @@ -45,7 +45,10 @@ }% \setkeys{LWRparcols}{#1}% } - {\end{LWR@setvirtualpage}} + {% + \colplacechunks% + \end{LWR@setvirtualpage}% + } \newcommand{\LWR@parcolumns@onecol}[1]{% \ifbool{LWR@parcolumns@started}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty index bec0e85c1fe..a3472dc516e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty @@ -55,8 +55,8 @@ } \AtBeginDocument{ -\crefname{parnotemark}{paragraph note}{paragraph notes}% -\Crefname{parnotemark}{Paragraph note}{Paragraph notes} + \crefname{parnotemark}{paragraph note}{paragraph notes} + \Crefname{parnotemark}{Paragraph note}{Paragraph notes} } \begin{warpMathJax} \providecommand{\parnotename}{parnote} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-komascript.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-komascript.sty index 2eee58b0529..4b488dc7e44 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-komascript.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-komascript.sty @@ -53,6 +53,8 @@ \renewcommand{\chapter@preamble}{#3}% } } +\renewcommand*{\LWR@printchaptername}{} +\AtBeginDocument{ \AtBeginDocument{ \LetLtxMacro\captionbelow\caption \LetLtxMacro\captionabove\caption @@ -60,6 +62,7 @@ \LetLtxMacro\captionofbelow\captionof \LetLtxMacro\captionofabove\captionof } +} \RenewDocumentEnvironment{captionbeside}{o m o o o s} {} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty index 20c2e566fda..643e96c138e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-patch-memoir.sty @@ -41,14 +41,28 @@ \RequirePackage{lwarp-parskip} \RequirePackage{lwarp-setspace}% req'd \RequirePackage{lwarp-showidx} -\RequirePackage{lwarp-subcaption}% req'd for \subfloat \makeindex \RequirePackage{lwarp-titling}% req'd \RequirePackage{lwarp-tocloft}% req'd \RequirePackage{lwarp-verse}% req'd -\LetLtxMacro\LWR@orig@label\@mem@old@label +\let\LWR@orig@label\@mem@old@label +\let\@mem@old@label\LWR@new@label +\AtBeginDocument{ + \renewcommand*{\sf@@memsub@label}[1]{% + \@bsphack + \sf@@memsub@label@hook{#1}% + \@memoldlabel{#1}% + \LWR@label@createtag{sub@#1}% + \protected@write\@auxout{}{% + \string\newlabel{sub@#1}% + {{\@nameuse{@@thesub\@captype}}% + {\thepage}}}% + \LWR@write@lwarplabel{sub@#1}% + \@esphack + } +} \setstocksize{190in}{20in} \setlrmarginsandblock{2in}{2in}{*} @@ -406,10 +420,9 @@ \renewcommand*{\makeheadposition}[5]{} \renewcommand{\makepsmarks}[2]{} \renewcommand*{\makeheadfootstrut}[3]{} - -\renewcommand{\createplainmark}[3]{} +\renewcommand{\createmark}[5]{\csdef{#1mark}[1]{}} +\renewcommand{\createplainmark}[3]{\csdef{#1mark}{}} \renewcommand{\memUChead}[1]{} -\renewcommand{\createmark}[5]{} \renewcommand*{\clearplainmark}[1]{} \renewcommand*{\clearmark}[1]{} \renewcommand{\addtopsmarks}[3]{} @@ -636,10 +649,32 @@ \renewcommand{\settocpreprocessor}[2]{} \DeclareRobustCommand{\cftpagenumbersoff}[1]{} \DeclareRobustCommand{\cftpagenumberson}[1]{} +\AtBeginDocument{ +\def\@xfloat #1[#2]{% + \LWR@floatbegin{#1}[#2] + \normalsize + \@nameuse{#1adjustment}% + \LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment% +} +\def\@xdblfloat #1[#2]{% + \LWR@floatbegin{#1}[#2] + \normalsize + \@nameuse{#1adjustment}% + \LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment% +} +} \RenewDocumentCommand{\newfloat}{o m m m}{% - \IfValueTF{#1}% - {\DeclareFloatingEnvironment[fileext=#3,within=#1,name={#4}]{#2}}% - {\DeclareFloatingEnvironment[fileext=#3,name={#4}]{#2}}% + \def\LWR@tempone{#4}% + \def\LWR@temptwo{\@nameuse{#2name}}% + \ifdefequal{\LWR@tempone}{\LWR@temptwo}{% recursive name, already defined + \IfValueTF{#1}% + {\DeclareFloatingEnvironment[fileext=#3,within=#1]{#2}}% + {\DeclareFloatingEnvironment[fileext=#3]{#2}}% + }{% not recursive name + \IfValueTF{#1}% + {\DeclareFloatingEnvironment[fileext=#3,within=#1,name={#4}]{#2}}% + {\DeclareFloatingEnvironment[fileext=#3,name={#4}]{#2}}% + }% \cslet{listof#2s}\relax% \cslet{listof#2es}\relax% } @@ -667,7 +702,7 @@ \NewDocumentEnvironment{KFLTmemoir@marginfloat}{O{-1.2ex} m} {% start \LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}{marginblock}% - \captionsetup{type=#2}% + \renewcommand*{\@captype}{#2}% } {% \endLWR@BlockClassWP% @@ -691,19 +726,17 @@ \renewcommand*{\setFloatBlockFor}{} \renewcommand{\captiontitlefinal}[1]{} - \renewcommand{\flegtable}{\tablename} \renewcommand{\flegfigure}{\figurename} \renewcommand{\flegtoctable}{} \renewcommand{\flegtocfigure}{} -\renewcommand{\subcaption}[2][]{% - \ifblank{#1}{\subfloat[#2]{}}{\subfloat[#1][#2]{}}% +\renewcommand{\@makesubfloatcaption}[2]{% + \minipagefullwidth + \begin{minipage}{\linewidth}% + #1 \ignorespaces #2 \unskip% + \end{minipage} } -\renewcommand{\contsubcaption}{\ContinuedFloat\subcaption} - -\LetLtxMacro\subcaptionref\subref - \renewcommand*{\tightsubcaptions}{} \renewcommand*{\loosesubcaptions}{} @@ -727,11 +760,12 @@ \renewcommand*{\sidecapmargin}[1]{} \scapmargleftfalse \renewcommand*{\setsidecappos}[1]{} - \RenewDocumentEnvironment{sidecontcaption}{m o} {} {% - \ContinuedFloat% + \ifdef{\ContinuedFloat}% + {\ContinuedFloat}% + {\addtocounter{\@captype}{-1}}% \caption{#1}% \IfValueT{#2}{\label[\@captype]{#2}}% } @@ -769,7 +803,7 @@ \renewcommand*{\verbfootnote}[2][]{% \PackageError{lwarp,memoir}% - {Verbatim footnotes are not yet supported by lwarp.}% + {Verbatim footnotes are not yet supported by lwarp}% {This may be improved some day.}% } @@ -781,7 +815,7 @@ \renewcommand*{\newfootnoteseries}[1]{% \PackageError{lwarp,memoir}% - {Memoir footnote series are not yet supported by lwarp.}% + {Memoir footnote series are not yet supported by lwarp}% {This may be improved some day.}% } @@ -825,16 +859,32 @@ \renewcommand*{\sidefootmarkstyle}[1]{} \renewcommand*{\sidefoottextfont}{} \renewcommand*{\sidefootform}{} - \renewcommand*{\continuousnotenums}{\pncontopttrue}% from pagenote \renewcommand*{\notepageref}{} \renewcommand*{\prenotetext}{} \renewcommand*{\postnotetext}{} -\renewcommand*{\idtextinnotes}[1]{} -\renewcommand*{\printpageinnotes}[1]{} -\renewcommand*{\printpageinnoteshyperref}[1]{} +\LetLtxMacro\printpageinnoteshyperref\printpageinnotes \renewcommand*{\foottopagenote}{} \renewcommand*{\pagetofootnote}{} +\xpatchcmd{\m@m@wrpnote} + {\string\startnoteentry{\thepagenote}} + {\string\startnoteentry{{\thepagenote}{\arabic{pagenote}}}} + {} + {\LWR@patcherror{memoir}{m@m@wrpnote}} + +\renewcommand\startnoteentrystart[4]{% + \prenoteinnotes% + \noteidinnotes{\@firstoftwo#1}{#2}% + \@ifmtarg{#2}{% + \def\@currentlabel{\@firstoftwo#1}% lwarp + \def\cref@currentlabel{% lwarp + [pagenote][\@secondoftwo#1][]\@firstoftwo#1% lwarp + }% lwarp + }{}% + \pagenoteanchor{#4}% + \pageinnotes{#3}% + \prenotetext% +} \renewcommand*{\epigraphposition}[1]{} \renewcommand*{\epigraphtextposition}[1]{} \renewcommand*{\epigraphsourceposition}[1]{} @@ -866,10 +916,6 @@ \renewcommand*{\PoemTitlefont}{} \renewenvironment{qframe}{\framed}{\endframed} \renewenvironment{qshade}{\shaded}{\endshaded} -\renewcommand*{\commentsoff}[1]{\includecomment{#1}} -\renewcommand*{\commentson}[1]{\excludecomment{#1}} -\LetLtxMacro\renewcomment\commentson - \renewcommand*{\setverbatimfont}[1]{} \renewcommand*{\tabson}[1]{} \renewcommand*{\tabsoff}{} @@ -931,14 +977,14 @@ \def\@@wrindexhyp#1||\\{% \addtocounter{LWR@autoindex}{1}% - \LWR@new@label{LWRindex-\arabic{LWR@autoindex}}% + \label{LWRindex-\arabic{LWR@autoindex}}% \protected@write\@auxout{}% {\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}% \endgroup \@esphack}% \def\@@wrspindexhyp#1||\\{% \addtocounter{LWR@autoindex}{1}% - \LWR@new@label{LWRindex-\arabic{LWR@autoindex}}% + \label{LWRindex-\arabic{LWR@autoindex}}% \protected@write\@auxout{}% {\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}% \endgroup @@ -1050,7 +1096,6 @@ \end{center} \@nameuse{flegtoc\@captype}{#1} } - \renewcommand{\newfixedcaption}[3][\caption]{% \renewcommand{#2}{\def\@captype{#3}#1}} \renewcommand{\renewfixedcaption}[3][\caption]{% @@ -1086,33 +1131,50 @@ \contcaption{#3}% \endgroup% } - -\RenewDocumentCommand{\subtop}{O{} O{} m}{% - \subfloat[#1][#2]{#3}% -} - -\RenewDocumentCommand{\subbottom}{O{} O{} m}{% - \subfloat[#1][#2]{#3}% -} -\renewcommand{\contsubtop}{% - \ContinuedFloat - \subtop% -} - -\renewcommand{\contsubbottom}{% - \ContinuedFloat - \subbottom% +\renewcommand{\@memsubbody}{% + \bgroup + \let\label=\memsub@label + \ifdonemaincaption\else + \advance\csname c@\@captype\endcsname\@ne + \fi + % \refstepcounter{sub\@captype}\@contkeep% + \@ifnextchar [% + {\@memsubfig}% + {\@memsubfig[\@empty]}} + +\renewcommand{\@memcontsubbody}{% + \bgroup + \let\label=\memsub@label + \@contset + % \refstepcounter{sub\@captype}\@contkeep% + \@ifnextchar [% + {\@memsubfig}% + {\@memsubfig[\@empty]}} + +\long\def\@memsubfloat#1[#2][#3]#4{% + \bgroup% + \mem@step@subcounter% + \LWR@stoppars% + \minipagefullwidth% lwarp + \begin{minipage}{\linewidth}% lwarp + \bgroup + \if@contbotsub + #4% \box\@tempboxa + \egroup + \ifx \@empty#3\relax \else + \@memsubcaption{#1}{#2}{#3}% + \fi + \else + \ifx \@empty#3\relax \else + \@memsubcaption{#1}{#2}{#3}% + \fi\egroup + #4% \box\@tempboxa + \fi + \end{minipage}% lwarp + \LWR@startpars% lwarp + \egroup +\egroup } -\renewcommand{\subconcluded}{} - -\let\contsubtable\contsubtop -\let\contsubfigure\contsubbottom -\newcommand{\newfloatentry}[4][\@empty]{TODO: newfloatentry} -\newcommand{\newfloatlist}[5][\@empty]{TODO: newfloatlist} -\newcommand{\newfloatenv}[4][\@empty]{TODO: newfloatenv} -\DeclareRobustCommand{\newfloatpagesoff}[1]{} -\DeclareRobustCommand{\newfloatpageson}[1]{} -\newcommand{\setnewfloatindents}[3]{} \newlistof{tableofcontents}{toc}{\contentsname} \newlistof{listoffigures}{lof}{\listfigurename} \newlistof{listoftables}{lot}{\listtablename} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pdfrender.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pdfrender.sty index 7fff474e1a4..8afb89f7d78 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-pdfrender.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pdfrender.sty @@ -15,9 +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{pdfrender}[2016/05/17] -\newcommand*{\pdfrender}[1]{} -\newcommand{\textpdfrender}[2]{#2} +\LWR@ProvidesPackagePass{pdfrender}[2019/12/29] \endinput %% %% End of file `lwarp-pdfrender.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty index 262cb356ea2..4ec05659310 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty @@ -17,267 +17,8 @@ %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{physics}% No date is provided by the package. \begin{warpMathJax} -\LWR@infoprocessingmathjax{physics} - -\CustomizeMathJax{\newcommand{\quantity}{}} -\CustomizeMathJax{\let\qty\quantity} -\CustomizeMathJax{\newcommand{\pqty}[1]{\left(#1\right)}} -\CustomizeMathJax{\newcommand{\bqty}[1]{\left\lbrack#1\right\rbrack}} -\CustomizeMathJax{\newcommand{\vqty}[1]{\left\vert#1\right\rvert}} -\CustomizeMathJax{\newcommand{\Bqty}[1]{\left\lbrace#1\right\rbrace}} - -\CustomizeMathJax{\newcommand{\absolutevalue}[1]{\left\lvert#1\right\rvert}} -\CustomizeMathJax{\let\abs\absolutevalue} - -\CustomizeMathJax{\newcommand{\norm}[1]{% - \left\lvert\left\lvert#1\right\rvert\right\rvert}% -} - -\CustomizeMathJax{\newcommand{\evaluated}[1]{#1\vert}} -\CustomizeMathJax{\let\eval\evaluated} - -\CustomizeMathJax{\newcommand{\order}[1]{\mathcal{O}\left(#1\right)}} - -\CustomizeMathJax{\newcommand{\commutator}[2]{\left\lbrack#1,#2\right\rbrack}} -\CustomizeMathJax{\let\comm\commutator} - -\CustomizeMathJax{\newcommand{\anticommutator}[2]{% - \left\lbrace#1,#2\right\rbrace}% -} -\CustomizeMathJax{\let\acomm\anticommutator} - -\CustomizeMathJax{\let\poissonbracket\anticommutator} -\CustomizeMathJax{\let\pb\anticommutator} - -\CustomizeMathJax{\newcommand{\vectorbold}[1]{\mathbf{#1}}} -\CustomizeMathJax{\let\vb\vectorbold} - -\CustomizeMathJax{\newcommand{\vectorarrow}[1]{\vec{\mathbf{#1}}}} -\CustomizeMathJax{\let\va\vectorarrow} - -\CustomizeMathJax{\newcommand{\vectorunit}[1]{\mathbf{\hat{#1}}}} -\CustomizeMathJax{\let\va\vectorunit} - -\CustomizeMathJax{\newcommand{\dotproduct}{\boldsymbol\cdot}} -\CustomizeMathJax{\let\vdot\dotproduct} - -\CustomizeMathJax{\newcommand{\crossproduct}{\boldsymbol\times}} -\CustomizeMathJax{\let\cross\crossproduct} -\CustomizeMathJax{\let\cp\crossproduct} - -\CustomizeMathJax{\newcommand{\gradient}{\mathbf{\nabla}}} -\CustomizeMathJax{\let\grad\gradient} - -\CustomizeMathJax{\let\divisionsymbol\div} - -\CustomizeMathJax{\newcommand{\divergence}{\nabla\vdot}} -\CustomizeMathJax{\let\div\divergence} - -\CustomizeMathJax{\newcommand{\curl}{\nabla\cross}} - -\CustomizeMathJax{\newcommand{\laplacian}{\nabla^2}} - -\ifx\trigopt 1 - \CustomizeMathJax{\DeclareMathOperator{\sine}{sin}} - \CustomizeMathJax{\DeclareMathOperator{\cosine}{cos}} - \CustomizeMathJax{\DeclareMathOperator{\tangent}{tan}} - \CustomizeMathJax{\DeclareMathOperator{\cosecant}{csc}} - \CustomizeMathJax{\DeclareMathOperator{\secant}{sec}} - \CustomizeMathJax{\DeclareMathOperator{\cotangent}{cot}} - \CustomizeMathJax{\DeclareMathOperator{\arcsine}{arcsin}} - \CustomizeMathJax{\DeclareMathOperator{\arccosine}{arccos}} - \CustomizeMathJax{\DeclareMathOperator{\arctangent}{arctan}} - \CustomizeMathJax{\DeclareMathOperator{\hypsine}{sinh}} - \CustomizeMathJax{\DeclareMathOperator{\hypcosine}{cosh}} - \CustomizeMathJax{\DeclareMathOperator{\hyptangent}{tanh}} - \CustomizeMathJax{\DeclareMathOperator{\hypcotangent}{coth}} - \CustomizeMathJax{\DeclareMathOperator{\exponential}{exp}} - \CustomizeMathJax{\DeclareMathOperator{\logarithm}{log}} - \CustomizeMathJax{\DeclareMathOperator{\naturallogarithm}{\ln}} - \CustomizeMathJax{\DeclareMathOperator{\determinant}{det}} - \CustomizeMathJax{\DeclareMathOperator{\Probability}{Pr}} - \CustomizeMathJax{\newcommand{\sin}[1][{}]{\mathrm{sin}^#1}} - \CustomizeMathJax{\newcommand{\sinh}[1][{}]{\mathrm{sinh}^#1}} - \CustomizeMathJax{\newcommand{\arcsin}[1][{}]{\mathrm{arcsin}^#1}} - \CustomizeMathJax{\newcommand{\asin}[1][{}]{\mathrm{asin}^#1}} - \CustomizeMathJax{\newcommand{\cos}[1][{}]{\mathrm{cos}^#1}} - \CustomizeMathJax{\newcommand{\cosh}[1][{}]{\mathrm{cosh}^#1}} - \CustomizeMathJax{\newcommand{\arccos}[1][{}]{\mathrm{arccos}^#1}} - \CustomizeMathJax{\newcommand{\acos}[1][{}]{\mathrm{acos}^#1}} - \CustomizeMathJax{\newcommand{\tan}[1][{}]{\mathrm{tan}^#1}} - \CustomizeMathJax{\newcommand{\tanh}[1][{}]{\mathrm{tanh}^#1}} - \CustomizeMathJax{\newcommand{\arctan}[1][{}]{\mathrm{arctan}^#1}} - \CustomizeMathJax{\newcommand{\atan}[1][{}]{\mathrm{atan}^#1}} - \CustomizeMathJax{\newcommand{\csc}[1][{}]{\mathrm{csc}^#1}} - \CustomizeMathJax{\newcommand{\csch}[1][{}]{\mathrm{csch}^#1}} - \CustomizeMathJax{\newcommand{\arccsc}[1][{}]{\mathrm{arccsc}^#1}} - \CustomizeMathJax{\newcommand{\acsc}[1][{}]{\mathrm{acsc}^#1}} - \CustomizeMathJax{\newcommand{\sec}[1][{}]{\mathrm{sec}^#1}} - \CustomizeMathJax{\newcommand{\sech}[1][{}]{\mathrm{sech}^#1}} - \CustomizeMathJax{\newcommand{\arcsec}[1][{}]{\mathrm{arcsec}^#1}} - \CustomizeMathJax{\newcommand{\asec}[1][{}]{\mathrm{asec}^#1}} - \CustomizeMathJax{\newcommand{\cot}[1][{}]{\mathrm{cot}^#1}} - \CustomizeMathJax{\newcommand{\coth}[1][{}]{\mathrm{coth}^#1}} - \CustomizeMathJax{\newcommand{\arccot}[1][{}]{\mathrm{arccot}^#1}} - \CustomizeMathJax{\newcommand{\acot}[1][{}]{\mathrm{acot}^#1}} -\else - \CustomizeMathJax{\DeclareMathOperator{\arccsc}{arccsc}} - \CustomizeMathJax{\DeclareMathOperator{\arcsec}{arcsec}} - \CustomizeMathJax{\DeclareMathOperator{\arccot}{arccot}} - \CustomizeMathJax{\DeclareMathOperator{\asin}{asin}} - \CustomizeMathJax{\DeclareMathOperator{\acos}{acos}} - \CustomizeMathJax{\DeclareMathOperator{\atan}{atan}} - \CustomizeMathJax{\DeclareMathOperator{\acsc}{acsc}} - \CustomizeMathJax{\DeclareMathOperator{\asec}{asec}} - \CustomizeMathJax{\DeclareMathOperator{\acot}{acot}} - \CustomizeMathJax{\DeclareMathOperator{\csch}{csch}} - \CustomizeMathJax{\DeclareMathOperator{\sech}{sech}} - \CustomizeMathJax{\newcommand{\tr}{\trace}} - \CustomizeMathJax{\newcommand{\Tr}{\Trace}} - \CustomizeMathJax{\newcommand{\Res}{\Residue}} -\fi - -\CustomizeMathJax{\DeclareMathOperator{\trace}{tr}} -\CustomizeMathJax{\let\tr\trace} -\CustomizeMathJax{\DeclareMathOperator{\Trace}{Tr}} -\CustomizeMathJax{\let\Tr\Trace} -\CustomizeMathJax{\DeclareMathOperator{\rank}{rank}} -\CustomizeMathJax{\DeclareMathOperator{\erf}{erf}} -\CustomizeMathJax{\DeclareMathOperator{\Residue}{Res}} -\CustomizeMathJax{\newcommand{\principalvalue}{\mathcal{P}}} -\CustomizeMathJax{\let\pv\principalvalue} -\CustomizeMathJax{\newcommand{\PV}{\text{P.V.}}} -\CustomizeMathJax{\newcommand{\real}{\mathcal{R}}} -\CustomizeMathJax{\newcommand{\imaginary}{\mathcal{I}}} - -\CustomizeMathJax{\newcommand{\Re}[1]{\mathrm{Re}\left\lbrace#1\right\rbrace}} -\CustomizeMathJax{\newcommand{\Im}[1]{\mathrm{Im}\left\lbrace#1\right\rbrace}} - -\CustomizeMathJax{\newcommand{\qqtext}[1]{\quad\mathrm{#1}\quad}} -\CustomizeMathJax{\let\qq\qqtext} -\CustomizeMathJax{\newcommand{\qqcomma}{\text{,}\quad}} -\CustomizeMathJax{\let\qc\qqcomma} -\CustomizeMathJax{\newcommand{\qcc}{\quad\text{c.c.}\quad}} -\CustomizeMathJax{\let\qcc} -\CustomizeMathJax{\newcommand{\qif}{\quad\text{if}\quad}} -\CustomizeMathJax{\newcommand{\qthen}{\quad\text{then}\quad}} -\CustomizeMathJax{\newcommand{\qelse}{\quad\text{else}\quad}} -\CustomizeMathJax{\newcommand{\qotherwise}{\quad\text{otherwise}\quad}} -\CustomizeMathJax{\newcommand{\qunless}{\quad\text{unless}\quad}} -\CustomizeMathJax{\newcommand{\qgiven}{\quad\text{given}\quad}} -\CustomizeMathJax{\newcommand{\qusing}{\quad\text{using}\quad}} -\CustomizeMathJax{\newcommand{\qassume}{\quad\text{assume}\quad}} -\CustomizeMathJax{\newcommand{\qsince}{\quad\text{since}\quad}} -\CustomizeMathJax{\newcommand{\qlet}{\quad\text{let}\quad}} -\CustomizeMathJax{\newcommand{\qfor}{\quad\text{for}\quad}} -\CustomizeMathJax{\newcommand{\qall}{\quad\text{all}\quad}} -\CustomizeMathJax{\newcommand{\qeven}{\quad\text{even}\quad}} -\CustomizeMathJax{\newcommand{\qodd}{\quad\text{odd}\quad}} -\CustomizeMathJax{\newcommand{\qinteger}{\quad\text{integer}\quad}} -\CustomizeMathJax{\newcommand{\qand}{\quad\text{and}\quad}} -\CustomizeMathJax{\newcommand{\qor}{\quad\text{or}\quad}} -\CustomizeMathJax{\newcommand{\qas}{\quad\text{as}\quad}} -\CustomizeMathJax{\newcommand{\qin}{\quad\text{in}\quad}} - -\CustomizeMathJax{\newcommand{\differential}[1][]{\text{d}^{#1}}} -\CustomizeMathJax{\let\dd\differential} - -\CustomizeMathJax{\newcommand{\derivative}[3][]{% - \frac{\text{d}^{#1}#2}{\text{d}#3^{#1}}}% -} -\CustomizeMathJax{\let\dv\derivative} - -\CustomizeMathJax{\newcommand{\partialderivative}[3][]{% - \frac{\partial^{#1}#2}{\partial#3^{#1}}}% -} -\CustomizeMathJax{\let\pderivative\partialderivative} -\CustomizeMathJax{\let\pdv\partialderivative} - -\CustomizeMathJax{\newcommand{\variation}{\delta}} -\CustomizeMathJax{\let\var\variation} - -\CustomizeMathJax{\newcommand{\functionalderivative}[3][]{% - \frac{\delta^{#1}#2}{\delta#3^{#1}}}% -} -\CustomizeMathJax{\let\fdv\functionalderivative} - -\CustomizeMathJax{\newcommand{\bra}[1]{\langle{#1}\rvert}} -\CustomizeMathJax{\newcommand{\ket}[1]{\lvert{#1}\rangle}} - -\CustomizeMathJax{\newcommand{\innerproduct}[2]{% - \left\langle{#1}\middle\vert{#2}\right\rangle}% -} -\CustomizeMathJax{\let\braket\innerproduct} -\CustomizeMathJax{\let\ip\innerproduct} - -\CustomizeMathJax{\newcommand{\outerproduct}[2]{% - \left\lvert{#1}\middle\rangle\!\middle\langle#2\right\rvert}% -} -\CustomizeMathJax{\let\dyad\outerproduct} -\CustomizeMathJax{\let\op\outerproduct} - -\CustomizeMathJax{\newcommand{\expectationvalue}[2]{% - \left\langle{#2}\middle\vert{#1}\middle\vert{#2}\right\rangle}% -} -\CustomizeMathJax{\let\expval\expectationvalue} -\CustomizeMathJax{\let\ev\expectationvalue} - -\CustomizeMathJax{\newcommand{\matrixelement}[3]{% - \left\langle{#1}\middle\vert{#2}\middle\vert{#3}\right\rangle}% -} -\CustomizeMathJax{\let\mel\matrixelement} - -\CustomizeMathJax{\newcommand{\matrixquantity}[1]{\begin{matrix}#1\end{matrix}}} -\CustomizeMathJax{\let\mqty\matrixquantity} -\CustomizeMathJax{\newcommand{\pmqty}[1]{\begin{pmatrix}#1\end{pmatrix}}} -\CustomizeMathJax{\newcommand{\Pmqty}[1]{% - \left\lgroup\begin{matrix}#1\end{matrix}\right\rgroup}% -} -\CustomizeMathJax{\newcommand{\bmqty}[1]{\begin{bmatrix}#1\end{bmatrix}}} -\CustomizeMathJax{\newcommand{\vmqty}[1]{\begin{vmatrix}#1\end{vmatrix}}} - -\CustomizeMathJax{\newcommand{\smallmatrixquantity}[1]{% - \begin{smallmatrix}#1\end{smallmatrix}}% -} -\CustomizeMathJax{\let\smqty\smallmatrixquantity} -\CustomizeMathJax{\newcommand{\spmqty}[1]{% - \pqty{\begin{smallmatrix}#1\end{smallmatrix}}}% -} -\CustomizeMathJax{\newcommand{\sPmqty}[1]{% - \left\lgroup\begin{smallmatrix}#1\end{smallmatrix}\right\rgroup}% -} -\CustomizeMathJax{\newcommand{\sbmqty}[1]{% - \bqty{\begin{smallmatrix}#1\end{smallmatrix}}}% -} -\CustomizeMathJax{\newcommand{\svmqty}[1]{% - \vqty{\begin{smallmatrix}#1\end{smallmatrix}}}% -} - -\CustomizeMathJax{\let\matrixdeterminant\vmqty} -\CustomizeMathJax{\let\mdet\vmqty} -\CustomizeMathJax{\let\smdet\svmqty} - -\CustomizeMathJax{\newcommand{\identitymatrix}[1]{(\text{imat}\{#1\})}} -\CustomizeMathJax{\let\imat\identitymatrix} - -\CustomizeMathJax{\newcommand{\xmatrix}[3]{(\text{xmat}\{\}\{#2\}\{#3\})}} -\CustomizeMathJax{\let\xmat\xmatrix} - -\CustomizeMathJax{\newcommand{\zeromatrix}[2]{(\text{zmat}\{#1\}\{#2\})}} -\CustomizeMathJax{\let\zmat\zeromatrix} - -\CustomizeMathJax{\newcommand{\paulimatrix}[1]{(\text{pmat}\{#1\})}} -\CustomizeMathJax{\let\pmat\paulimatrix} - -\CustomizeMathJax{\newcommand{\diagonalmatrix}[2][]{% - \left(\text{dmat}\right)}% -} -\CustomizeMathJax{\let\dmat\diagonalmatrix} - -\CustomizeMathJax{\newcommand{\antidiagonalmatrix}[2][]{% - \left(\text{admat}\right)}% -} -\CustomizeMathJax{\let\admat\antidiagonalmatrix} +\PackageWarningNoLine{lwarp, physics}{The MathJax v3 extension will be used} +\CustomizeMathJax{\require{physics}} \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-picinpar.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-picinpar.sty new file mode 100644 index 00000000000..c81ce6ad193 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-picinpar.sty @@ -0,0 +1,75 @@ +%% +%% This is file `lwarp-picinpar.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `picinpar') +%% 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{picinpar}% No date is assigned. +\long\def\LWR@HTML@window[#1,#2,#3,#4] {% + \if #2r% + \begin{BlockClass}[float:right]{marginblock}% + \else% + \begin{BlockClass}[float:left]{marginblock}% + \fi% + #3\par% + #4% + \end{BlockClass}% +} + +\def\endLWR@HTML@window{} + +\LWR@formattedenv{window} +\def\LWR@HTML@framepic#1{% + \begin{BlockClass}{framebox} + \expandafter\box\csname #1box\endcsname% + \end{BlockClass} +} +\LWR@formatted{framepic} +\def\LWR@HTML@wframepic#1{% + \begin{BlockClass}{framebox} + \expandafter\box\csname #1box\endcsname% + \end{BlockClass} +} +\LWR@formatted{wframepic} +\long\def\LWR@HTML@@makewincaption#1#2{% +\begin{BlockClass}{figurecaption} +#1: #2 +\end{BlockClass} +} +\LWR@formatted{@makewincaption} +\long\def\LWR@HTML@figwindow[#1,#2,#3,#4] {% + \window[#1,#2,{#3},{\def\@captype{figure}% + \wincaption#4\par}] } + +\def\endLWR@HTML@figwindow{\endwindow} + +\LWR@formattedenv{figwindow} +\long\def\LWR@HTML@subtabwindow[#1,#2,#3,#4] {% + \window[#1,#2,{#3},{\def\@captype{table}% + \wincaption#4\par}] } + +\newcommand*{\LWR@HTML@tabwindow}{% + \StartDefiningTabulars% + \LWR@HTML@subtabwindow% +} + +\def\endLWR@HTML@tabwindow{% + \endwindow% + \StopDefiningTabulars% +} + +\LWR@formattedenv{tabwindow} +\endinput +%% +%% End of file `lwarp-picinpar.sty'. 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-plimsoll.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-plimsoll.sty new file mode 100644 index 00000000000..f486fdb0772 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-plimsoll.sty @@ -0,0 +1,31 @@ +%% +%% This is file `lwarp-plimsoll.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `plimsoll') +%% 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{plimsoll}[2020/10/09] +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\plimsollroman}{\unicode{x029B5}}} + +\CustomizeMathJax{\let\plimsoll\plimsollroman} +\CustomizeMathJax{\let\plimsollsans\plimsoll} + +\ifdefstring{\stst}{^{\circ}} + {\CustomizeMathJax{\newcommand{\stst}{^{\circ}}}} + {\CustomizeMathJax{\newcommand{\stst}{^{\plimsoll}}}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-plimsoll.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pstricks.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pstricks.sty index ca0c15d59de..2f6b0bfc5e7 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-pstricks.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pstricks.sty @@ -20,6 +20,11 @@ \begin{lateximage}[pspicture]% } \AfterEndEnvironment{pspicture}{\end{lateximage}} + +\BeforeBeginEnvironment{pspicture*}{% + \begin{lateximage}[pspicture]% +} +\AfterEndEnvironment{pspicture*}{\end{lateximage}} \endinput %% %% End of file `lwarp-pstricks.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pxfonts.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pxfonts.sty new file mode 100644 index 00000000000..7eec48516ee --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pxfonts.sty @@ -0,0 +1,28 @@ +%% +%% This is file `lwarp-pxfonts.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `pxfonts') +%% 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{pxfonts}[2008/01/22] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\LWR@infoprocessingmathjax{pxfonts} + +\LWR@mathjax@addgreek@l@up{}{up} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-pxfonts.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-quoting.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-quoting.sty index 40f6ed7efc7..a4278a215f8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-quoting.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-quoting.sty @@ -26,7 +26,7 @@ \xpatchcmd{\endquoting}{\quo@endtext} {\quo@endtext\end{LWR@blocktextcurrentfont}\LWR@stoppars} {} - {\LWR@patcherror{imakeidx}{endquoting}} + {\LWR@patcherror{quoting}{endquoting}} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty index 23561137152..6e2c5acc02e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty @@ -15,14 +15,125 @@ %% 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{realscripts}[2016/02/13] -\let\realsuperscript\textsuperscript -\let\realsubscript\textsubscript +\LWR@ProvidesPackagePass{realscripts}[2016/02/13] +\ExplSyntaxOn -\let\fakesuperscript\textsuperscript -\let\fakesubscript\textsubscript +\DeclareDocumentCommand \LWR@print@realsubscript {m} { + \fontspec_if_fontspec_font:TF { + \fontspec_if_opentype:TF + { \fontspec_if_feature:nTF {+subs} + { {\addfontfeature{VerticalPosition=Inferior}#1} } + { \fontspec_if_feature:nTF {+sinf} + { {\addfontfeature{VerticalPosition=ScientificInferior}#1} } + { \fakesubscript{#1} } + } + } + { \fontspec_if_aat_feature:nnTF {10} {2} + { {\addfontfeature{VerticalPosition=Inferior}#1} } + { \fakesubscript{#1} } + } + } + { \fakesubscript{#1} } +} + +\DeclareDocumentCommand \LWR@HTML@realsubscript {m} { + \LWR@HTML@textsubscript{#1} +} + +\LWR@formatted{realsubscript} + +\DeclareDocumentCommand \LWR@print@realsuperscript {m} { + \fontspec_if_fontspec_font:TF + { + \fontspec_if_opentype:TF + { \fontspec_if_feature:nTF {+sups} + { {\addfontfeature{VerticalPosition=Superior}#1} } + { \fakesuperscript{#1} } + } + { \fontspec_if_aat_feature:nnTF {10} {1} + { {\addfontfeature{VerticalPosition=Superior}#1} } + { \fakesuperscript{#1} } + } + } + { \fakesuperscript{#1} } +} + +\DeclareDocumentCommand \LWR@HTML@realsuperscript {m} { + \LWR@HTML@textsuperscript{#1} +} + +\LWR@formatted{realsuperscript} + +\DeclareDocumentCommand \LWR@print@textsubsuperscript {s O{l} mm} { + \leavevmode + \group_begin: + \IfBooleanTF #1 + { + \hbox_set:Nn \l_tmpa_box {\textsubscript*{#3}} + \hbox_set:Nn \l_tmpb_box {\textsuperscript*{#4}} + } + { + \hbox_set:Nn \l_tmpa_box {\textsubscript{#3}} + \hbox_set:Nn \l_tmpb_box {\textsuperscript{#4}} + } + \hbox_set:Nn \l_tmpa_box + { \box_move_down:nn \subsupersep {\box_use:N \l_tmpa_box} } + \hbox_set:Nn \l_tmpb_box + { \box_move_up:nn \subsupersep {\box_use:N \l_tmpb_box} } + \str_case:nnF {#2} + { + {l}{\use_i:nnn} + {c}{\use_ii:nnn} + {r}{\use_iii:nnn} + } + { + \PackageWarning{realscripts}{ + Unknown~alignment~option~`#2'. \MessageBreak + One~ of~ `l',~ `c',~ `r',~ only + } + \use_i:nnn + } + { + \hbox_overlap_right:n { \box_use:N \l_tmpa_box } + \hbox_overlap_right:n { \box_use:N \l_tmpb_box } + \skip_horizontal:n { + \dim_max:nn {\box_wd:N \l_tmpa_box} {\box_wd:N \l_tmpb_box} + } + } + { + \dim_compare:nTF { \box_wd:N \l_tmpa_box > \box_wd:N \l_tmpb_box } + { + \skip_horizontal:n { + 0.5\box_wd:N \l_tmpa_box-0.5\box_wd:N \l_tmpb_box + } + \box_use:N \l_tmpb_box + \skip_horizontal:n { + -0.5\box_wd:N \l_tmpa_box-0.5\box_wd:N \l_tmpb_box + } + \box_use:N \l_tmpa_box + } + { + \skip_horizontal:n { + 0.5\box_wd:N \l_tmpb_box-0.5\box_wd:N \l_tmpa_box + } + \box_use:N \l_tmpa_box + \skip_horizontal:n { + -0.5\box_wd:N \l_tmpb_box-0.5\box_wd:N \l_tmpa_box + } + \box_use:N \l_tmpb_box + } + } + { + \skip_horizontal:n { + \dim_max:nn {\box_wd:N \l_tmpa_box} {\box_wd:N \l_tmpb_box} + } + \hbox_overlap_left:n { \box_use:N \l_tmpa_box } + \hbox_overlap_left:n { \box_use:N \l_tmpb_box } + } + \group_end: +} -\newlength{\subsupersep} +\ExplSyntaxOff \newcommand*{\LWR@realscriptsalign}{} @@ -40,18 +151,23 @@ }{}% } -\DeclareDocumentCommand \textsubsuperscript {s O{l} mm} {% +\DeclareDocumentCommand \LWR@HTML@textsubsuperscript {s O{l} mm} {% \LWR@setrealscriptsalign{#2}% \InlineClass[\LWR@realscriptsalign]{supsubscript}{% \textsuperscript{#4}\textsubscript{#3}% }% } +\LWR@formatted{textsubsuperscript} -\DeclareDocumentCommand \textsupersubscript {s O{l} mm} {% - \LWR@setrealscriptsalign{#2}% - \InlineClass[\LWR@realscriptsalign]{supsubscript}{% - \textsubscript{#4}\textsuperscript{#3}% - }% +\FilenameNullify{% + \RenewDocumentCommand{\textsuperscript}{s m}{}% + \RenewDocumentCommand{\textsubscript}{s m}{}% + \renewcommand{\fakesubscript}[1]{}% + \renewcommand{\fakesuperscript}[1]{}% + \renewcommand{\realsubscript}[1]{}% + \renewcommand{\realsuperscript}[1]{}% + \renewcommand{\textsubsuperscript}[2]{}% + \renewcommand{\textsupersubscript}[2]{}% } \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-repltext.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-repltext.sty new file mode 100644 index 00000000000..9027d7a7047 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-repltext.sty @@ -0,0 +1,26 @@ +%% +%% This is file `lwarp-repltext.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `repltext') +%% 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@ProvidesPackageDrop{repltext}[2020/09/25] +\newcommand{\repltext}[2]{#2} +\newcommand*{\prevrepl}{} +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\repltext}[2]{#2}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-repltext.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-rmathbr.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-rmathbr.sty index 9117fb9e326..d75bb728696 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-rmathbr.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rmathbr.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@ProvidesPackagePass{rmathbr}[2016/04/10] +\LWR@ProvidesPackagePass{rmathbr}[2020/12/11] \begin{warpMathJax} \CustomizeMathJax{\def\*{~}} \CustomizeMathJax{\newcommand{\cdott}{\cdot}} 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-rotfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty index c845df256f5..11f41888b05 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty @@ -20,6 +20,7 @@ \LWR@ProvidesPackageDrop{rotfloat}[2004/01/04] \RequirePackage{float} +\RequirePackage{rotating} \RenewDocumentCommand{\newfloat}{m m m o}{% \IfValueTF{#4}% {% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-scalerel.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-scalerel.sty new file mode 100644 index 00000000000..27ed2f7754b --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-scalerel.sty @@ -0,0 +1,45 @@ +%% +%% This is file `lwarp-scalerel.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `scalerel') +%% 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{scalerel}[2016/12/29] +\begin{warpMathJax} +\LWR@infoprocessingmathjax{scalerel} + +\CustomizeMathJax{\newcommand{\scalerel}{\ifstar{\scalerelplain}{\scalerelplus}}} +\CustomizeMathJax{\newcommand{\scalerelplain}[3][]{#2}} +\CustomizeMathJax{\newcommand{\scalerelplus}[3][]{#2#3}} +\CustomizeMathJax{\newcommand{\stretchrel}{\ifstar{\stretchrelplain}{\stretchrelplus}}} +\CustomizeMathJax{\newcommand{\stretchrelplain}[3][]{#2}} +\CustomizeMathJax{\newcommand{\stretchrelplus}[3][]{#2#3}} +\CustomizeMathJax{\newcommand{\scaleto}[3][]{#2}} +\CustomizeMathJax{\newcommand{\stretchto}[3][]{#2}} +\CustomizeMathJax{\newcommand{\scaleleftright}[4][]{#2#3#4}} +\CustomizeMathJax{\newcommand{\stretchleftright}[4][]{#2#3#4}} +\CustomizeMathJax{\newcommand{\hstretch}[2]{#2}} +\CustomizeMathJax{\newcommand{\vstretch}[2]{#2}} +\CustomizeMathJax{\newcommand{\scaleobj}[2]{#2}} +\CustomizeMathJax{\newcommand{\ThisStyle}[1]{#1}} +\CustomizeMathJax{\newcommand{\SavedStyle}{}} +\CustomizeMathJax{\def\scriptstyleScaleFactor{.7}} +\CustomizeMathJax{\def\scriptscriptstyleScaleFactor{.5}} +\CustomizeMathJax{\newcommand{\discernmathstyle}{}} +\CustomizeMathJax{\newcommand{\ignoremathstyle}[1][T]{}} +\CustomizeMathJax{\newcommand{\Isnextbyte}[3][v]{}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-scalerel.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-schemata.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-schemata.sty index 10aee32f114..6fedcbf7c19 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-schemata.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-schemata.sty @@ -16,23 +16,23 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -\LWR@ProvidesPackagePass{schemata}[2016/01/25] +\LWR@ProvidesPackagePass{schemata}[2020/11/23] \LetLtxMacro\LWR@schemata@origschema\schema \LetLtxMacro\LWR@schemata@origSchema\Schema \renewcommand{\schema}[3][open]{% -\begin{lateximage}% -\LWR@print@normalsize -\LWR@schemata@origschema[#1]{#2}{#3}% -\end{lateximage}% + \begin{lateximage}[-schemata-~\PackageDiagramAltText]% + \LWR@print@normalsize% + \LWR@schemata@origschema[#1]{#2}{#3}% + \end{lateximage}% } \renewcommand{\Schema}[5][open]{% -\begin{lateximage}% -\LWR@print@normalsize -\LWR@schemata@origSchema[#1]{#2}{#3}{#4}{#5}% -\end{lateximage}% + \begin{lateximage}[-schemata-~\PackageDiagramAltText]% + \LWR@print@normalsize% + \LWR@schemata@origSchema[#1]{#2}{#3}{#4}{#5}% + \end{lateximage}% } \endinput diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty index ed2b1cdcf79..d1baaa3444b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-scrextend.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{scrextend}[2018/03/30] +\LWR@ProvidesPackageDrop{scrextend}[2020/01/24] \DeclareDocumentCommand{\setkomafont}{m m}{} \DeclareDocumentCommand{\addkomafont}{m m}{} \DeclareDocumentCommand{\usekomafont}{m}{} @@ -27,23 +27,79 @@ \DeclareDocumentCommand{\useseriesofkomafont}{m}{} \DeclareDocumentCommand{\useshapeofkomafont}{m}{} +\providecommand*{\coverpagetopmargin}{} +\providecommand*{\coverpagebottommargin}{} +\providecommand*{\coverpageleftmargin}{} +\providecommand*{\coverpagerightmargin}{} + \AtBeginDocument{ \let\LWR@koma@orig@maketitle\maketitle \DeclareDocumentCommand{\maketitle}{o}{\LWR@koma@orig@maketitle} } +\DeclareDocumentCommand{\@maketitle}{}{% + \ifdefvoid{\@titlehead}{}{% + \begin{BlockClass}{titlehead}% + \@titlehead% + \end{BlockClass}% + }% + \ifdefvoid{\@subject}{}{% + \begin{BlockClass}{subject}% + \@subject% + \end{BlockClass}% + }% + \LWR@stoppars% + \LWR@htmltag{\LWR@tagtitle}% + \@title% + \LWR@htmltag{\LWR@tagtitleend}% + \ifdefvoid{\@subtitle}{}{% + \begin{BlockClass}{subtitle}% + \@subtitle% + \end{BlockClass}% + }% + \LWR@startpars% + \begin{BlockClass}{author}% + \renewcommand*{\cr}{}% + \renewcommand*{\crcr}{}% + \renewcommand*{\noalign}{}% + \renewcommand{\and}{% + \end{BlockClass}% + \begin{BlockClass}{oneauthor}% + }% + \begin{BlockClass}{oneauthor}% + \@author% + \end{BlockClass}% + \end{BlockClass}% + \begin{BlockClass}{titledate}% + \@date% + \end{BlockClass}% + \ifdefvoid{\@published}{}{% + \begin{BlockClass}{published}% + \@published% + \end{BlockClass}% + }% +} + +\AddSubtitlePublished + \DeclareDocumentCommand{\extratitle}{m}{} -\DeclareDocumentCommand{\titlehead}{m}{} -\DeclareDocumentCommand{\subject}{m}{} +\DeclareDocumentCommand{\frontispiece}{m}{} + +\def\@titlehead{}% +\DeclareDocumentCommand{\titlehead}{m}{\gdef\@titlehead{#1}}% + +\def\@subject{}% +\DeclareDocumentCommand{\subject}{m}{\gdef\@subject{#1}}% + + \DeclareDocumentCommand{\publishers}{m}{\published{#1}} + \DeclareDocumentCommand{\uppertitleback}{m}{} \DeclareDocumentCommand{\lowertitleback}{m}{} \DeclareDocumentCommand{\dedication}{m}{} \DeclareDocumentCommand{\ifthispageodd}{m m}{#1} -\DeclareDocumentCommand{\titlepagestyle}{}{} - \DeclareDocumentCommand{\cleardoublepageusingstyle}{m}{} \DeclareDocumentCommand{\cleardoubleemptypage}{}{} \DeclareDocumentCommand{\cleardoubleplainpage}{}{} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-selectp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-selectp.sty new file mode 100644 index 00000000000..39e6a05df23 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-selectp.sty @@ -0,0 +1,22 @@ +%% +%% This is file `lwarp-selectp.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `selectp') +%% 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@ProvidesPackageDrop{selectp}% no date given +\newcommand*{\outputonly}[1]{} +\endinput +%% +%% End of file `lwarp-selectp.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-seqsplit.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-seqsplit.sty new file mode 100644 index 00000000000..1d0d24ab1ea --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-seqsplit.sty @@ -0,0 +1,44 @@ +%% +%% This is file `lwarp-seqsplit.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `seqsplit') +%% 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{seqsplit}[2006/08/07] +\begin{warpHTML} +\LetLtxMacro\LWR@orig@seqsplit\seqsplit + +\renewcommand*{\seqsplit}[1]{% + \ifmmode% + \begin{LWR@print@minipage}{6in}% + \LWR@orig@seqsplit{#1}% + \end{LWR@print@minipage}% + \else% + \InlineClass[word-wrap:break-word]{seqsplit}{\LWR@orig@seqsplit{#1}}% + \fi +} +\AtBeginDocument{ + \newcommand*{\LWR@HTML@seqinsert}{% + \LWR@htmlcomment{ }% + } + \LWR@formatted{seqinsert} +} +\end{warpHTML} + +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\seqsplit}[1]{#1}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-seqsplit.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-shadethm.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-shadethm.sty new file mode 100644 index 00000000000..0c4c0a19b97 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-shadethm.sty @@ -0,0 +1,32 @@ +%% +%% This is file `lwarp-shadethm.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `shadethm') +%% 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{shadethm}[1999/11/23] +\newenvironment{LWR@HTML@shadebox} +{% + \convertcolorspec{named}{shadethmcolor}{HTML}\LWR@tempcolor% + \convertcolorspec{named}{shaderulecolor}{HTML}\LWR@tempcolortwo% + \begin{BlockClass}[% + background: \LWR@origpound\LWR@tempcolor ; + border: 1px solid \LWR@origpound\LWR@tempcolortwo ; + ]{shadebox} +}% +{\end{BlockClass}} +\LWR@formattedenv{shadebox} +\endinput +%% +%% End of file `lwarp-shadethm.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-shuffle.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-shuffle.sty new file mode 100644 index 00000000000..223428ca6b1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-shuffle.sty @@ -0,0 +1,54 @@ +%% +%% This is file `lwarp-shuffle.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `shuffle') +%% 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@ProvidesPackageDrop{shuffle}[2008/10/27] +\LWR@origRequirePackage{lwarp-common-mathjax-overlaysymbols} +\newcommand*{\LWR@shuffle@start}{% + \hspace*{.2em} + \begin{picture}(.75,0.65) + \setlength{\unitlength}{1em} + \put(0,0){\line(1,0){.75}} + \put(0,0){\line(0,1){.5}} + \put(.375,0){\line(0,1){.5}} + \put(.75,0){\line(0,1){.5}} +} + +\newcommand*{\LWR@shuffle@finish}{% + \end{picture} + \hspace*{.75em} + \hspace*{.2em} +} + +\newcommand*{\shuffle}{% + \LWR@shuffle@start% + \LWR@shuffle@finish% +} + +\newcommand*{\cshuffle}{% + \LWR@shuffle@start% + \put(.05,.65){\line(1,0){.65}}% + \LWR@shuffle@finish% +} +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\shuffle}{\mathbin{\unicode{0x29E2}}}} +\CustomizeMathJax{\newcommand{\cshuffle}{% + \mathbin{\LWRoverlaysymbols{\raise{.6ex}{-}}{\unicode{0x29E2}}}% +}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-shuffle.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty index fd7083aeb0b..c3422db5fa1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty @@ -16,15 +16,15 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{sidenotes} -\RenewDocumentCommand \sidecaption {s o o +m} +\RenewDocumentCommand \sidecaption {s o o m} { \LWR@stoppars \begingroup - \captionsetup{style=sidecaption} + \captionsetup{style=sidecaption}% \IfBooleanTF{#1} { % starred \begin{BlockClass}[border:none ; box-shadow:none]{marginblock} - \caption*{#4} + \caption*{#4}% \end{BlockClass} } { % unstarred @@ -40,11 +40,11 @@ } \NewDocumentEnvironment{KFLTsidenotes@marginfloat}{O{-1.2ex} m} {% start -\LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}{marginblock}% -\captionsetup{type=#2}% + \LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}{marginblock}% + \renewcommand*{\@captype}{#2}% } {% -\endLWR@BlockClassWP% + \endLWR@BlockClassWP% } \RenewDocumentEnvironment{marginfigure}{o} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-simplebnf.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-simplebnf.sty new file mode 100644 index 00000000000..4347a1f73ce --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-simplebnf.sty @@ -0,0 +1,71 @@ +%% +%% This is file `lwarp-simplebnf.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `simplebnf') +%% 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{simplebnf}[2020/09/01] +\ExplSyntaxOn + +\RenewDocumentEnvironment { bnfgrammar } { +b } + { + %% \l__input_seq is a list of term definitions. + \regex_split:nnN { ;; } { #1 } \l__input_seq + \begin{center} + \begin{lateximage}[#1]% lwarp + \tl_set:Nn \l__table_tl + { + \begin{tabular}{lcll} + } + \bool_set_true:N \l_tmp_first_term % Is this the first term in this grammar? + \seq_map_inline:Nn \l__input_seq + { + %% \l__term_seq - (term, rhses)... + %% \l__term_tl - term + %% \l__keypairs_tl - rhses + \regex_split:nnN { ::= } { ##1 } \l__term_seq + \seq_pop_left:NN \l__term_seq \l__term_tl + \seq_pop_left:NN \l__term_seq \l__keypairs_tl + + \regex_replace_once:nnN { ^\s+ } {} \l__term_tl + + \bool_if:NTF \l_tmp_first_term + { + \bool_set_false:N \l_tmp_first_term + } + { + \tl_put_right:Nn \l__table_tl { \\ } + } + \tl_put_right:Nx \l__table_tl + { + \bnfexpr { \l__term_tl } & \g__simplebnf_defeq_tl & + } + %% \l__keypairs_seq - (rhs:annot | rhs)... + \seq_set_split:NnV \l__keypairs_seq { | } \l__keypairs_tl + + \bool_set_true:N \l__first_rhs + \seq_map_function:NN \l__keypairs_seq \simplebnf_typeset_rhs:n + } + + \tl_put_right:Nn \l__table_tl { \end{tabular} } + \tl_use:N \l__table_tl + \end{lateximage}% lwarp + \end{center} + } + { } + +\ExplSyntaxOff +\endinput +%% +%% End of file `lwarp-simplebnf.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty index 84226850bd9..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,21 +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~-- #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~-- #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}}} @@ -344,8 +479,8 @@ \CustomizeMathJax{\newcommand{\electronvolt}{\mathrm{eV}}} \CustomizeMathJax{\newcommand{\elementarycharge}{\mathit{e}}} \CustomizeMathJax{\newcommand{\hartree}{\mathit{E}_{\mathrm{h}}}} -\CustomizeMathJax{\newcommand{\planckbar}{\mathit{\unicode{x0127}}}} -\CustomizeMathJax{\newcommand{\angstrom}{\mathrm{\unicode{x00C5}}}} +\CustomizeMathJax{\newcommand{\planckbar}{\mathit{\unicode{x210F}}}} +\CustomizeMathJax{\newcommand{\angstrom}{\mathrm{\unicode{x212B}}}} \CustomizeMathJax{\let\LWRorigbar\bar} \CustomizeMathJax{\newcommand{\bar}{\mathrm{bar}}} \CustomizeMathJax{\newcommand{\barn}{\mathrm{b}}} 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-slantsc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-slantsc.sty index 31ba892b0dd..aee0ee8dedf 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-slantsc.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-slantsc.sty @@ -19,10 +19,8 @@ \newcommand*{\LWR@HTML@noscshape}{} \LWR@formatted{noscshape} -\newcommand*{\LWR@null@noscshape}{} - -\appto{\LWR@nullfonts}{% -\LetLtxMacro\noscshape\LWR@null@noscshape% +\FilenameNullify{% + \LetLtxMacro\noscshape\@empty% } \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-splitbib.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-splitbib.sty new file mode 100644 index 00000000000..4222ac381c9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-splitbib.sty @@ -0,0 +1,54 @@ +%% +%% This is file `lwarp-splitbib.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `splitbib') +%% 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{splitbib}[2005/12/22] +\def\NMSB@stylebox#1#2{% +\begin{BlockClass}[text-align:center ; border: 1px solid black]{splitbibbox} + \csname SB\NMSB@level font\endcsname{\LWR@textcurrentfont{#1#2}} +\end{BlockClass} +} + +\def\NMSB@stylebar#1#2{% +\begin{BlockClass}[% + text-align:center ; + border-top: 1px solid black ; + border-bottom: 1px solid black ; +]{splitbibbar} + \csname SB\NMSB@level font\endcsname{\LWR@textcurrentfont{#1#2}} +\end{BlockClass} +} + +\def\NMSB@styledash#1#2{% +\begin{BlockClass}[% + text-align:center ; +]{splitbibdash} + \csname SB\NMSB@level font\endcsname{\LWR@textcurrentfont{---~#1#2~---}} +\end{BlockClass} +} + +\def\NMSB@stylenone#1#2{% + \par +} + +\def\NMSB@stylesimple#1#2{% +\par + \csname SB\NMSB@level font\endcsname{\LWR@textcurrentfont{#1#2}} +\par +} +\endinput +%% +%% End of file `lwarp-splitbib.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-splitidx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-splitidx.sty index 868968930c0..a453ce36557 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-splitidx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-splitidx.sty @@ -36,7 +36,7 @@ \def\@tempa{#2}% \csname index@#1@hook\endcsname \addtocounter{LWR@autoindex}{1}% lwarp - \LWR@new@label{LWRindex-\arabic{LWR@autoindex}}% lwarp + \label{LWRindex-\arabic{LWR@autoindex}}% lwarp \@@@wrsindex{#1}{{\@tempa}{\arabic{LWR@autoindex}}}% \endgroup \@esphack diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-statex2.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-statex2.sty index 031af35979f..a003d482a93 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-statex2.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-statex2.sty @@ -118,7 +118,7 @@ \I[#1]{\{0, 1,\., #2\}}, \where #3>0,\; #4>0 \and n=1, 2,\.}% }} \CustomizeMathJax{\newcommand{\pBin}[3][x]{% - \mb{\binom{#2}{#1}#3^#1} \LWRwrapparen{\mb{{1-#3}^{#2-#1}}}% + \mb{\binom{#2}{#1}#3^{#1}} \LWRwrapparen{\mb{{1-#3}^{#2-#1}}}% \mb{\I[#1]{\{0,1,\.,#2\}}, \where p \in (0, 1) \and n=1, 2,\.}% }} \CustomizeMathJax{\newcommand{\pPoi}[2][x]{% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-statistics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-statistics.sty new file mode 100644 index 00000000000..0d474817ff8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-statistics.sty @@ -0,0 +1,268 @@ +%% +%% This is file `lwarp-statistics.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `statistics') +%% 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{statistics}[2019/09/29] +\ExplSyntaxOn +\StartDefiningTabulars% lwarp +\cs_set_protected_nopar:Nn \__statistics_table_make:nn { + \int_compare:nT + { 0 < \l__statistics_table_maxcols_int + = \l__statistics_nbvals_int } { + \__statistics_table_end: + \tl_use:N \l__statistics_table_sep_tl + \__statistics_table_start: + } + \int_incr:N \l__statistics_nbvals_int + \int_incr:N \l__statistics_currange_int + \fp_add:Nn \l__statistics_curtotal_fp { #2 } + \__statistics_set_if_shown:N \l_tmpa_bool + \tl_set:Nx \l_tmpa_tl { + \exp_not:n { & \tl_set:Nn \currentcolumn } { + \int_use:N \l__statistics_currange_int + } + } + \bool_if:NTF \l_tmpa_bool { + \tl_put_right:Nn \l_tmpa_tl + {\__statistics_table_shown_format:n} + }{ + \tl_put_right:Nn \l_tmpa_tl + {\__statistics_table_hidden_format:n} + } + \seq_put_right:Nn \l__statistics_store_values_seq { #1 } + \bool_if:NT \l__statistics_table_values_bool { + \tl_put_right:Nx \l__statistics_table_values_tl { + \exp_not:V \l_tmpa_tl { + \exp_not:n { + \__statistics_table_values_format:n { #1 } + } + } + } + } + \seq_put_right:Nx \l__statistics_store_counts_seq { \fp_eval:n {#2} } + \bool_if:NT \l__statistics_table_counts_bool { + \tl_put_right:Nx \l__statistics_table_counts_tl { + \exp_not:V \l_tmpa_tl { + \exp_not:n { + \__statistics_table_counts_format:n { + { \__statistics_table_allcounts_format:n { #2 } } + } + } + } + } + } + \bool_if:NT \l__statistics_table_icc_bool { + \tl_put_right:Nx \l__statistics_table_icc_tl { + \exp_not:V \l_tmpa_tl { + \exp_not:n { \__statistics_table_icc_format:n } + { + \exp_not:n{ \__statistics_table_allcounts_format:n } + { \fp_use:N \l__statistics_curtotal_fp } + } + } + } + } + \bool_if:NT \l__statistics_table_dcc_bool { + \tl_put_right:Nx \l__statistics_table_dcc_tl { + \exp_not:V \l_tmpa_tl { + \exp_not:n { \__statistics_table_dcc_format:n } + { + \exp_not:n{ \__statistics_table_allcounts_format:n } + { + \fp_eval:n { + \l__statistics_total_fp + - \l__statistics_curtotal_fp + + #2 + } + } + } + } + } + } + \fp_set:Nn \l__statistics_table_curICF_fp { + round(\l__statistics_curtotal_fp + / \l__statistics_total_fp, + \l__statistics_table_round_int) + } + \bool_if:NT \l__statistics_table_frequencies_bool { + \tl_put_right:Nx \l__statistics_table_frequencies_tl { + \exp_not:V \l_tmpa_tl { + \exp_not:n { \__statistics_table_frequencies_format:n } + { + \exp_not:n{ \__statistics_table_allfreqs_format:n } + { + \fp_eval:n { + \l__statistics_table_curICF_fp + - \l__statistics_table_prevICF_fp + } + } + } + } + } + } + \bool_if:NT \l__statistics_table_icf_bool { + \tl_put_right:Nx \l__statistics_table_icf_tl { + \exp_not:V \l_tmpa_tl { + \exp_not:n { \__statistics_table_icf_format:n } + { + \exp_not:n{ \__statistics_table_allfreqs_format:n } + { \fp_to_decimal:N \l__statistics_table_curICF_fp } + } + } + } + } + \bool_if:NT \l__statistics_table_dcf_bool { + \tl_put_right:Nx \l__statistics_table_dcf_tl { + \exp_not:V \l_tmpa_tl { + \exp_not:n { \__statistics_table_dcf_format:n } + { + \exp_not:n{ \__statistics_table_allfreqs_format:n } + { + \fp_eval:n { + 1 - \l__statistics_table_prevICF_fp + } + } + } + } + } + } + \fp_set_eq:NN + \l__statistics_table_prevICF_fp + \l__statistics_table_curICF_fp +} +\StopDefiningTabulars% lwarp + +\cs_set_protected_nopar:Nn \__statistics_table_end: { + \tl_set:Nx \l__statistics_table_preamble_tl { + \exp_not:n {\begin{tabular}[ }% lwarp + \exp_not:V \l__statistics_table_valign_tl + \exp_not:n { ] } + { \exp_not:V \l__statistics_table_headcoltype_tl + \prg_replicate:nn { \l__statistics_nbvals_int } + { \exp_not:V \l__statistics_table_coltype_tl } } + } + \seq_clear:N \l__statistics_table_contents_seq + \clist_map_inline:nn { values, counts, icc, dcc, frequencies, icf, dcf } { + \bool_if:cT { l__statistics_table_##1_bool } { + \seq_put_right:Nv + \l__statistics_table_contents_seq + { l__statistics_table_##1_tl } + } + } + \tl_use:N \l__statistics_table_preamble_tl + \hline% lwarp + \seq_use:Nn + \l__statistics_table_contents_seq + { \l__statistics_table_newline_tl } + \\ + \hline% lwarp + \end{tabular}% lwarp +} + +\cs_set_protected_nopar:Nn \__statistics_table_start: { + \int_zero:N \l__statistics_nbvals_int + \clist_pop:NNT \l__statistics_table_maxcols_clist \l_tmpa_tl { + \int_set:Nn \l__statistics_table_maxcols_int { \l_tmpa_tl } + } + \clist_map_inline:nn { values, counts, frequencies, icc, icf, dcc, dcf } { + \tl_set:cx { l__statistics_table_##1_tl } { + \exp_not:N \hbox { + \exp_not:c { l__statistics_table_##1_name_tl } + } + } + } +} + +\RenewDocumentCommand \__statistics_IN:w { m u{;} u{;} m } { + #1 #2 ; #3 #4% lwarp +} + +\__statistics_setup:nn { table } { + values/format = {#1},% lwarp +} +\RenewDocumentCommand \StatsGraph { +O{} +m +O{} } { + \group_begin: + \int_gincr:N \g__statistics_graph_last_int + \tl_set:Nx \l_tmpa_tl { + \exp_not:n { g__statistics_graph_xstep_ } + \int_use:N \g__statistics_graph_last_int + \exp_not:n { _tl } + } + \tl_if_exist:cTF { \l_tmpa_tl } { + \fp_gset:Nn \g__statistics_graph_xstep_fp + { \tl_use:c {\l_tmpa_tl} } + }{ + \fp_gset:Nn \g__statistics_graph_xstep_fp { \c_one_int } + } + \__statistics_setup:nn { graph } { #1, #3 } + \tl_if_single:nTF { #2 } { + \cs_if_exist:NF #2 { #2 } + \tl_set_eq:NN \l__statistics_data_tl #2 + }{ + \tl_set:Nn \l__statistics_data_tl { #2 } + } + \fp_zero:N \l__statistics_graph_maxheight_fp + \fp_set:Nn \l__statistics_graph_minvalue_fp {inf} + \fp_set:Nn \l__statistics_graph_maxvalue_fp {-inf} + \fp_zero:N \l__statistics_total_fp + \int_zero:N \l__statistics_nbvals_int + \bool_set_true:N \l__statistics_graph_allranges_bool + \keyval_parse:NNV + \__statistics_graph_prepare:n + \__statistics_graph_prepare:nn + \l__statistics_data_tl + \tl_clear:N \l__statistics_graph_tikzdata_tl + \tl_clear:N \l__statistics_graph_tikzinfo_tl + \int_zero:N \l__statistics_currange_int + \bool_if:NTF \l__statistics_graph_allranges_bool { + \bool_if:NTF \l__statistics_graph_cumulative_bool { + \ExplSyntaxOn% lwarp + \__statistics_graph_dopicture_cumulative: + \ExplSyntaxOff% lwarp + }{ + \ExplSyntaxOn% lwarp + \__statistics_graph_dopicture_hist: + \ExplSyntaxOff% lwarp + } + }{ + \ExplSyntaxOn% lwarp + \__statistics_graph_dopicture_comb: + \ExplSyntaxOff% lwarp + } + \iow_now:Nx \@auxout { + \exp_not:n { + \ExplSyntaxOn + \tl_gset:cn + } + { + \exp_not:n {g__statistics_graph_xstep_} + \int_use:N \g__statistics_graph_last_int + \exp_not:n {_tl} + } + { + \fp_to_decimal:N \g__statistics_graph_xstep_fp + } + \exp_not:n { + \ExplSyntaxOff + } + } + \group_end: +} + +\ExplSyntaxOff +\endinput +%% +%% End of file `lwarp-statistics.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty index d5d93f0997a..b127f9dc336 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty @@ -16,11 +16,17 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{statmath}[2018/03/08] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + \begin{warpMathJax} \LWR@infoprocessingmathjax{statmath} -\CustomizeMathJax{\let\abcbf\mathbf} +\ifdefequal{\abcbf}{\mathbf} + {\CustomizeMathJax{\newcommand{\abcbf}[1]{\mathbf{#1}}}} + {\CustomizeMathJax{\newcommand{\abcbf}[1]{\boldsymbol{#1}}}} + \CustomizeMathJax{\newcommand{\greekbf}[1]{\boldsymbol{#1}}} + \CustomizeMathJax{\newcommand{\bfA}{\abcbf A}} \CustomizeMathJax{\newcommand{\bfB}{\abcbf B}} \CustomizeMathJax{\newcommand{\bfC}{\abcbf C}} @@ -73,47 +79,12 @@ \CustomizeMathJax{\newcommand{\bfx}{\abcbf x}} \CustomizeMathJax{\newcommand{\bfy}{\abcbf y}} \CustomizeMathJax{\newcommand{\bfz}{\abcbf z}} -\CustomizeMathJax{\newcommand{\bfalpha}{\greekbf \alpha}} -\CustomizeMathJax{\newcommand{\bfbeta}{\greekbf \beta}} -\CustomizeMathJax{\newcommand{\bfdelta}{\greekbf \delta}} -\CustomizeMathJax{\newcommand{\bfepsilon}{\greekbf \epsilon}} -\CustomizeMathJax{\newcommand{\bfvarepsilon}{\greekbf \varepsilon}} -\CustomizeMathJax{\newcommand{\bfzeta}{\greekbf \zeta}} -\CustomizeMathJax{\newcommand{\bfeta}{\greekbf \eta}} -\CustomizeMathJax{\newcommand{\bftheta}{\greekbf \theta}} -\CustomizeMathJax{\newcommand{\bfvartheta}{\greekbf \vartheta}} -\CustomizeMathJax{\newcommand{\bfgamma}{\greekbf \gamma}} -\CustomizeMathJax{\newcommand{\bfkappa}{\greekbf \kappa}} -\CustomizeMathJax{\newcommand{\bflambda}{\greekbf \lambda}} -\CustomizeMathJax{\newcommand{\bfmu}{\greekbf \mu}} -\CustomizeMathJax{\newcommand{\bfnu}{\greekbf \nu}} -\CustomizeMathJax{\newcommand{\bfxi}{\greekbf \xi}} -\CustomizeMathJax{\newcommand{\bfpi}{\greekbf \pi}} -\CustomizeMathJax{\newcommand{\bfvarpi}{\greekbf \varpi}} -\CustomizeMathJax{\newcommand{\bfrho}{\greekbf \rho}} -\CustomizeMathJax{\newcommand{\bfvarrho}{\greekbf \varrho}} -\CustomizeMathJax{\newcommand{\bfsigma}{\greekbf \sigma}} -\CustomizeMathJax{\newcommand{\bfvarsigma}{\greekbf \varsigma}} -\CustomizeMathJax{\newcommand{\bftau}{\greekbf \tau}} -\CustomizeMathJax{\newcommand{\bfupsilon}{\greekbf \upsilon}} -\CustomizeMathJax{\newcommand{\bfphi}{\greekbf \phi}} -\CustomizeMathJax{\newcommand{\bfvarphi}{\greekbf \varphi}} -\CustomizeMathJax{\newcommand{\bfchi}{\greekbf \chi}} -\CustomizeMathJax{\newcommand{\bfpsi}{\greekbf \psi}} -\CustomizeMathJax{\newcommand{\bfomega}{\greekbf \omega}} -\CustomizeMathJax{\newcommand{\bfiota}{\greekbf \iota}} -\CustomizeMathJax{\newcommand{\bfGamma}{\greekbf \Gamma}} -\CustomizeMathJax{\newcommand{\bfDelta}{\greekbf \Delta}} -\CustomizeMathJax{\newcommand{\bfTheta}{\greekbf \Theta}} -\CustomizeMathJax{\newcommand{\bfLambda}{\greekbf \Lambda}} -\CustomizeMathJax{\newcommand{\bfXi}{\greekbf \Xi}} -\CustomizeMathJax{\newcommand{\bfPi}{\greekbf \Pi}} -\CustomizeMathJax{\newcommand{\bfSigma}{\greekbf \Sigma}} -\CustomizeMathJax{\newcommand{\bfUpsilon}{\greekbf \Upsilon}} -\CustomizeMathJax{\newcommand{\bfPhi}{\greekbf \Phi}} -\CustomizeMathJax{\newcommand{\bfPsi}{\greekbf \Psi}} -\CustomizeMathJax{\newcommand{\bfOmega}{\greekbf \Omega}} + +\LWR@mathjax@addgreek@l@bfit{bf}{}% Greek lowercase bold face italic +\LWR@mathjax@addgreek@u@bfup*{bf}{}% Greek uppercase bold face upright, cap macros. + \CustomizeMathJax{\newcommand{\bfzero}{\greekbf 0}} + \CustomizeMathJax{\DeclareMathOperator{\cov}{Cov}} \CustomizeMathJax{\DeclareMathOperator{\E}{E}} \CustomizeMathJax{\DeclareMathOperator{\V}{V}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-steinmetz.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-steinmetz.sty index 1f5a98065aa..8b1a7ecd03e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-steinmetz.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-steinmetz.sty @@ -16,13 +16,11 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{steinmetz}[2009/06/14] -\begin{warpHTML} \renewcommand{\phase}[2][]{% \begin{lateximage}*[steinmetz\{\detokenize{#2}\}] \ensuremath{\underline{/#2}} \end{lateximage} } -\end{warpHTML} \begin{warpMathJax} \CustomizeMathJax{\newcommand{\phase}[2][]{\underline{/#2}}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-struktex.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-struktex.sty index 7bb1791ceab..afcaced4a41 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-struktex.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-struktex.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@ProvidesPackagePass{struktex}[2018/06/04] +\LWR@ProvidesPackagePass{struktex} \BeforeBeginEnvironment{struktogramm}{% \begin{lateximage}[-struktex-~\PackageDiagramAltText]% } diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty index eeb5e5b4b3d..7441db77cd8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty @@ -16,19 +16,14 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{subcaption}[2018/05/01] -\ifdef{\subcaption@minipage}{ - \xpatchcmd{\subcaption@minipage} - {\minipage} - {\minipagefullwidth\minipage} - {} - {\LWR@patcherror{subcaption}{subcaption@minipage}} -}{} -\ifdef{\subcaptionbox}{ - \xpretocmd{\subcaptionbox} - {\minipagefullwidth} - {} - {\LWR@patcherror{subcaption}{subcaptionbox}} -}{} +\xpretocmd{\subcaption@iiminipage} + {\minipagefullwidth} + {} + {\LWR@patcherror{subcaption}{subcaption@iiminipage}} +\xpretocmd{\subcaptionbox} + {\minipagefullwidth} + {} + {\LWR@patcherror{subcaption}{subcaptionbox}} \endinput %% %% End of file `lwarp-subcaption.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty index 2a18225b24b..4bb971d171e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty @@ -108,14 +108,14 @@ \fi \@ifundefined{FBsc@max}% { -\LWR@traceinfo{sfsubcap B1}% lwarp - \LWR@figcaption% lwarp +\LWR@traceinfo{sfsubcap B1}% lwarp + \LWR@figcaption% lwarp \caption@make {\@nameuse{sub\@captype name}}% {\@nameuse{thesub\@captype}}% {\LWR@isolate{#3}}% - \endLWR@figcaption% lwarp -\LWR@traceinfo{sfsubcap B2}% lwarp + \endLWR@figcaption% lwarp +\LWR@traceinfo{sfsubcap B2}% lwarp }% {\dimen@\ht0% \advance\dimen@\dp0% @@ -153,7 +153,7 @@ \@nameuse{thesub\@captype}.)}} \renewcommand{\sf@subref}[1]{% -\LWR@subnewref{#1}{sub@#1}% + \LWR@subnewref{#1}{sub@#1}% } \renewcommand{\sf@@subref}[1]{\LWR@orig@pageref{sub@#1}} \LetLtxMacro\LWR@orig@newsubfloat\@newsubfloat diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-svg.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-svg.sty index 4e5db978bcb..7ad7bd165d8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-svg.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-svg.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@ProvidesPackagePass{svg}[2019/10/22] +\LWR@ProvidesPackagePass{svg}[2020/10/23] \xpretocmd{\includesvg}% {\begin{lateximage}}% {}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-swfigure.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-swfigure.sty new file mode 100644 index 00000000000..7be18e815af --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-swfigure.sty @@ -0,0 +1,32 @@ +%% +%% This is file `lwarp-swfigure.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `swfigure') +%% 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@ProvidesPackageDrop{swfigure}[2020-11-10] +\NewDocumentEnvironment{DFimage}% + {O{SW} m O{#4} m o D(){0.8} D<>{0} D||{0.25} D!!{}}% +{% + \begin{figure} + \centering + \includegraphics{#2} + \caption[#3]{#4} + \IfValueT{#5}{\label{#5}} + \end{figure} +}% +{}% +\endinput +%% +%% End of file `lwarp-swfigure.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tcolorbox.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tcolorbox.sty new file mode 100644 index 00000000000..63e303936c1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tcolorbox.sty @@ -0,0 +1,252 @@ +%% +%% This is file `lwarp-tcolorbox.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `tcolorbox') +%% 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{tcolorbox}[2020/04/28] +\newbool{LWR@havetcblower} +\boolfalse{LWR@havetcblower} +\newcommand{\LWR@tcolorbox@findcolors}{% + \convertcolorspec{named}{tcbcolback}{HTML}\LWR@tcbcolback + \convertcolorspec{named}{tcbcolframe}{HTML}\LWR@tcbcolframe + \iftcb@titlefilled% + \convertcolorspec{named}{tcbcolbacktitle}{HTML}\LWR@tcbcolbacktitle + \else + \convertcolorspec{named}{tcbcolframe}{HTML}\LWR@tcbcolbacktitle + \fi + \convertcolorspec{named}{tcbcoltitle}{HTML}\LWR@tcbcoltitle + \convertcolorspec{named}{tcbcolupper}{HTML}\LWR@tcbcolupper + \convertcolorspec{named}{tcbcollower}{HTML}\LWR@tcbcollower +} + +\newcommand*{\LWR@tcolorbox@titlecolorstyles}{% + border-top: 1px solid \LWR@origpound\LWR@tcbcolframe ; + border-bottom: 1px solid \LWR@origpound\LWR@tcbcolframe ; + background: \LWR@origpound\LWR@tcbcolbacktitle ; + color: \LWR@origpound\LWR@tcbcoltitle ; +} +\newcommand*{\LWR@showtitle@}[1]{% + \begin{BlockClass}[ + \LWR@tcolorbox@titlecolorstyles + ]{tcolorboxtitle} + \kvtcb@before@title#1\kvtcb@after@title + \end{BlockClass} +} +\newcommand*{\LWR@showtitle}[1]{% + \iftcb@titlevisible + \LWR@showtitle@{#1} + \else + \LWR@showtitle@{~} + \fi +} + +\newcommand*{\LWR@tcolorbox@dophantom}{% + \kvtcb@phantom + \let\kvtcb@phantom\@empty% +} +\newcommand*{\LWR@tcolorboxstart}[1]{ + \LWR@tcolorbox@findcolors + \begin{BlockClass}[ + border: 1px solid \LWR@origpound\LWR@tcbcolframe ; + background: \LWR@origpound\LWR@tcbcolback ; + ]{#1} + \LWR@tcolorbox@dophantom% + \ifdefvoid{\kvtcb@title} + {} + { + \LWR@showtitle{\kvtcb@title} + } + \begin{BlockClass}[ + color: \LWR@origpound\LWR@tcbcolupper ; + ]{tcolorboxupper} +} +\newcommand*{\LWR@tcolorbox@dostartfloat}{% + \ifx\kvtcb@float\@empty% + \else% + \tcb@float@env@begin{tcbfloat}[\kvtcb@float] + \noexpand\kvtcb@everyfloat + \fi% +} + +\newcommand*{\LWR@tcolorbox@doendfloat}{% + \ifx\kvtcb@float\@empty% + \else% + \tcb@float@env@end% + \fi% +} +\renewenvironment{tcolorbox}[1][] + { + \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% + { + \PackageError{lwarp} + {% + Lwarp cannot process a tcolorbox inside a lateximage\MessageBreak + or SVG math.\MessageBreak + Enter 'H' for possible solutions% + } + {% + Use \protect\tcbox, \protect\tcboxmath, or + \protect\tcbhighmath\space instead.\MessageBreak% + (Inside math, you probably want to use these anyhow.)% + } + }{\relax} + \LWR@printpendingfootnotes + \tcb@layer@inc + \tcb@apply@box@options{#1} + \LWR@tcolorbox@dostartfloat% + \boolfalse{LWR@havetcblower} + \LWR@tcolorboxstart{tcolorbox} + \tcb@insert@before@upper% + } + { + \ifbool{LWR@havetcblower}{% + \tcb@insert@after@lower% + }{% + \tcb@insert@after@upper% + }% + \end{BlockClass} + \LWR@printpendingfootnotes + \tcb@layer@dec + \end{BlockClass} + \LWR@tcolorbox@doendfloat% + } +\newcommand{\tcblower}{ + \tcb@insert@after@upper% + \end{BlockClass} + \begin{BlockClass}[% + border-top: 1px dashed \LWR@origpound\LWR@tcbcolframe ; + color: \LWR@origpound\LWR@tcbcollower ; + ]{tcolorboxlower} + \tcb@insert@before@lower% +} +\AtBeginDocument{ +\ifdef{\tcbline}{ + \newcommand*{\LWR@sub@tcbline}{% + \begin{BlockClass}{hrule} + \end{BlockClass} + } + \newcommand{\LWR@HTML@tcbline}{\@ifstar\LWR@sub@tcbline\LWR@sub@tcbline} + \LWR@formatted{tcbline} +}{} +} + +\newcommand{\LWR@HTML@tcbox}[2][]{ + \LWR@printpendingfootnotes + \LWR@tcolorbox@dostartfloat% + \begingroup + \tcb@layer@inc + \tcb@apply@box@options{#1} + \boolfalse{LWR@havetcblower} + \LWR@tcolorboxstart{tcolorbox inlineminipage} + \tcb@insert@before@upper% + #2 + \ifbool{LWR@havetcblower}{% + \tcb@insert@after@lower% + }{% + \tcb@insert@after@upper% + }% + \end{BlockClass} + \LWR@printpendingfootnotes + \end{BlockClass} + \tcb@layer@dec% + \endgroup% + \LWR@tcolorbox@dostartfloat% + \global\booltrue{LWR@minipagethispar}% +} +\LWR@formatted{tcbox} + +\appto\LWR@restoreMathJaxformatting{% + \renewcommand{\tcbox}[2][]{#2}% +} +\xpatchcmd{\tcbsubtitle} + {\begingroup} + {\begingroup\let\kvtcb@title\relax\begin{BlockClass}{tcolorboxsubtitle}} + {} + {\LWR@patcherror{tcolorbox}{tcbsubtitle}} + +\xpatchcmd{\tcbsubtitle} + {\endgroup} + {\end{BlockClass}\endgroup} + {} + {\LWR@patcherror{tcolorbox}{tcbsubtitleB}} +\AtBeginDocument{ + \ifdef{\tcboxfit}{% + \let\LWR@HTML@tcboxfit\tcbox% + \LWR@formatted{tcboxfit} + }{} +} +\LetLtxMacro\LWR@HTML@tcbtitle\tcbtitle +\xpatchcmd{\LWR@HTML@tcbtitle} + {\kvtcb@before@title\tcbtitletext} + {\kvtcb@before@title\LWR@textcurrentfont{\LWR@textcurrentcolor{\tcbtitletext}}} + {} + {\LWR@patcherror{tcolorbox}{LWR@HTML@tcbtitle}} +\LWR@formatted{tcbtitle} +\renewcommand*\l@tcolorbox[2]{\hypertocfloat{1}{tcolorbox}{lof}{#1}{#2}} +\AtBeginDocument{ +\pgfkeysifdefined{/tcb/libload/theorems}{ + + \def\LWR@HTML@tcb@hack@amsmath{% + \PackageError{lwarp} + {% + tcolorbox ``math'', ``ams equation'', and related\MessageBreak + are not supported.\MessageBreak + \protect\tcboxmath\space and + \protect\tcbhighmath\space are emulated.\MessageBreak + Enter 'H' for possible solutions% + } + {% + Remove tcolorbox math-related options, and instead\MessageBreak + use the usual math environments inside each tcolorbox.% + } + } + \LWR@formatted{tcb@hack@amsmath} + + % Cause an error if using math: + \tcbset{% + math upper/.style={before upper*=\tcb@hack@amsmath,after upper*=$},% + math lower/.style={before lower*=\tcb@hack@amsmath,after lower*=$},% + } + + \appto\LWR@restoreorigformatting{% + \tcbset{% + math upper/.style={before upper*=$\displaystyle,after upper*=$},% + math lower/.style={before lower*=$\displaystyle,after lower*=$},% + }% + } + + \newcommand{\LWR@HTML@tcboxmath}[2][]{#2} + \LWR@formatted{tcboxmath} + \newcommand{\LWR@HTML@tcbhighmath}[2][]{#2} + \LWR@formatted{tcbhighmath} + \appto\LWR@restoreMathJaxformatting{% + \renewcommand{\tcboxmath}[2][]{#2}% + \renewcommand{\tcbhighmath}[2][]{#2}% + } +}{}% theorems loaded +}% AtBeginDocument +\CustomizeMathJax{\newcommand{\tcbset}[1]{}} +\CustomizeMathJax{\newcommand{\tcbsetforeverylayer}[1]{}} +\CustomizeMathJax{\newcommand{\tcbox}[2][]{\boxed{\text{#2}}}} +\CustomizeMathJax{\newcommand{\tcboxfit}[2][]{\boxed{#2}}} +\CustomizeMathJax{\newcommand{\tcblower}{}} +\CustomizeMathJax{\newcommand{\tcbline}{}} +\CustomizeMathJax{\newcommand{\tcbtitle}{}} +\CustomizeMathJax{\newcommand{\tcbsubtitle[2][]{\mathrm{#2}}}} +\CustomizeMathJax{\newcommand{\tcboxmath}[2][]{\boxed{#2}}} +\CustomizeMathJax{\newcommand{\tcbhighmath}[2][]{\boxed{#2}}} +\endinput +%% +%% End of file `lwarp-tcolorbox.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-termcal.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-termcal.sty new file mode 100644 index 00000000000..c66ac91df67 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-termcal.sty @@ -0,0 +1,44 @@ +%% +%% This is file `lwarp-termcal.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `termcal') +%% 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{termcal}% questionable date in the .sty file +\xpatchcmd{\endcalendar} + {@{}} + {} + {} + {\LWR@patcherror{termcal}{endcalendar}} +\xpatchcmd{\ca@doaday} + {\hbox to \hsize{\calprintdate\hfill\ifclassday\calprintclass\fi}} + {% + \calprintdate\hfill\ifclassday\calprintclass\fi% + } + {} + {\LWR@patcherror{termcal}{ca@doaday}} +\xpatchcmd{\calday} + {&} + {\LWR@tabularampersand} + {} + {\LWR@patcherror{termcal}{calday}} + +\xpatchcmd{\calday} + {&} + {\LWR@tabularampersand} + {} + {\LWR@patcherror{termcal}{calday B}} +\endinput +%% +%% End of file `lwarp-termcal.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty index e6aa56dc2c7..1e78f0318b7 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty @@ -97,7 +97,7 @@ \newcommand*{\LWR@HTML@capitalmacron}[1]{#1\HTMLunicode{304}} \newcommand*{\LWR@HTML@capitaldotaccent}[1]{#1\HTMLunicode{307}} \providecommand*{\LWR@HTML@textcircled}[1]{% -\InlineClass[border: 1px solid \LWR@currenttextcolor]{textcircled}{#1}% + \InlineClass[border: 1px solid \LWR@currenttextcolor]{textcircled}{#1}% } \LWR@formatted{capitalcedilla} @@ -113,6 +113,7 @@ \LWR@formatted{capitalbreve} \LWR@formatted{capitalmacron} \LWR@formatted{capitaldotaccent} + \LWR@formatted{textcircled} \FilenameNullify{% \renewcommand*{\textdegree}{}% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty index d2db94c64a5..d836221fdb0 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty @@ -18,11 +18,13 @@ -\LWR@ProvidesPackageDrop{textpos}[2019/04/15] +\LWR@ProvidesPackageDrop{textpos}[2020/09/26] \NewDocumentEnvironment{textblock}{m o r()}{}{} \NewDocumentEnvironment{textblock*}{m o r()}{}{} \newcommand*{\TPGrid}[3][]{} +\def\TPShowGrid{\@ifstar{\@TPShowGrid}{\@TPShowGrid}} +\def\@TPShowGrid#1#2{} \NewDocumentCommand{\TPMargin}{s o}{} \newcommand*{\textblockcolour}[1]{} \newcommand*{\textblockrulecolour}[1]{} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-thm-listof.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-thm-listof.sty new file mode 100644 index 00000000000..2a66e72c96f --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-thm-listof.sty @@ -0,0 +1,50 @@ +%% +%% This is file `lwarp-thm-listof.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `thm-listof') +%% 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{thm-listof}[2019/12/22] +\@ifpackagelater{thm-listof}{2020/08/01}{% v0.72 + \def\thmtlo@newentry{% + \csdef{l@\thmt@envname}##1##2{\hypertocfloat{1}{figure}{lof}{##1}{##2}}% + } +}{% earlier than v0.72 + \xpatchcmd{\listoftheorems} + {% + \@xa\protected@edef\csname l@\thmt@envname\endcsname{% + \@nx\@dottedtocline{1}{1.5em}{\@nx\thmt@listnumwidth}% + }% + } + {% + \csdef{l@\thmt@envname}##1##2{\hypertocfloat{1}{figure}{lof}{##1}{##2}}% + } + {} + {\LWR@patcherror{thm-listof}{listoftheorems}} + + \xpatchcmd{\thmt@mklistcmd} + {% + \@xa\protected@edef\csname l@\thmt@envname\endcsname{% + \@nx\@dottedtocline{1}{1.5em}{\@nx\thmt@listnumwidth}% + }% + } + {% + \csdef{l@\thmt@envname}##1##2{\hypertocfloat{1}{figure}{lof}{##1}{##2}}% + } + {} + {\LWR@patcherror{thm-listof}{thmt@mklistcmd}} +} +\endinput +%% +%% End of file `lwarp-thm-listof.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-thm-restate.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-thm-restate.sty new file mode 100644 index 00000000000..a5d19770212 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-thm-restate.sty @@ -0,0 +1,26 @@ +%% +%% This is file `lwarp-thm-restate.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `thm-restate') +%% 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{thm-restate}[2020/08/01] +\xpatchcmd{\thmt@restatable} + {\@ifstar} + {\edef\LWR@thisthmstyle{#2}\@ifstar} + {} + {\LWR@patcherror{thm-restate}{thmt@restatable}} +\endinput +%% +%% End of file `lwarp-thm-restate.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-thmbox.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-thmbox.sty new file mode 100644 index 00000000000..a8c8069a75f --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-thmbox.sty @@ -0,0 +1,50 @@ +%% +%% This is file `lwarp-thmbox.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `thmbox') +%% 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{thmbox}[2005/04/24] +\renewenvironment{thmbox}[2][]% + {% + \begin{BlockClass}{thmbox} + \begin{BlockClass}{thmboxtitle} + #2 + \end{BlockClass} + } + {\end{BlockClass}} + +\renewenvironment{proof}[1][] + {% + \begin{BlockClass}{thmboxproof}% + \InlineClass{thmboxproofname}{\proofname\ #1\unskip\,:} + } + {% + \qquad\HTMLunicode{220E}% end of proof symbol + \end{BlockClass} + } + +\renewenvironment{example}[1][\examplename]% + {% + \begin{BlockClass}{thmboxexample}% + \InlineClass{thmboxexamplename}{#1\,:} + } + {\end{BlockClass}} + +\renewenvironment{leftbar}[1][]% + {\begin{BlockClass}{thmboxleftbar}} + {\end{BlockClass}} +\endinput +%% +%% End of file `lwarp-thmbox.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-thmtools.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-thmtools.sty new file mode 100644 index 00000000000..0010378d326 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-thmtools.sty @@ -0,0 +1,29 @@ +%% +%% This is file `lwarp-thmtools.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `thmtools') +%% 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{thmtools}[2020/08/01] +\def\thmt@headstyle@margin{% + \InlineClass{amsthmnnumbertheorem}{\NUMBER} + \ + \InlineClass{amsthmnametheorem}{\NAME} + \InlineClass{amsthmnotetheorem}{\NOTE} +} + +\let\thmt@headstyle@swapnumber\thmt@headstyle@margin +\endinput +%% +%% End of file `lwarp-thmtools.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-tikz.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty index 07a973fd0dc..a859df3535e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty @@ -39,21 +39,20 @@ \let\pgfutil@raggedleft\LWR@print@raggedleft \let\pgfutil@raggedright\LWR@print@raggedright - -\def\pgfutil@font@tiny{\LWR@printtiny} -\def\pgfutil@font@scriptsize{\LWR@printscriptsize} -\def\pgfutil@font@footnotesize{\LWR@printfootnotesize} +\def\pgfutil@font@tiny{\LWR@print@tiny} +\def\pgfutil@font@scriptsize{\LWR@print@scriptsize} +\def\pgfutil@font@footnotesize{\LWR@print@footnotesize} \def\pgfutil@font@small{\LWR@print@small} \def\pgfutil@font@normalsize{\LWR@print@normalsize} -\def\pgfutil@font@large{\LWR@printlarge} -\def\pgfutil@font@Large{\LWR@printLarge} -\def\pgfutil@font@huge{\LWR@printhuge} -\def\pgfutil@font@Huge{\LWR@printHuge} +\def\pgfutil@font@large{\LWR@print@large} +\def\pgfutil@font@Large{\LWR@print@Large} +\def\pgfutil@font@huge{\LWR@print@huge} +\def\pgfutil@font@Huge{\LWR@print@Huge} -\def\pgfutil@font@itshape{\LWR@origitshape} -\def\pgfutil@font@bfseries{\LWR@origbfseries} +\def\pgfutil@font@itshape{\LWR@print@itshape} +\def\pgfutil@font@bfseries{\LWR@print@bfseries} -\def\pgfutil@font@normalfont{\LWR@orignormalfont} +\def\pgfutil@font@normalfont{\LWR@print@normalfont} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty index b003d11552d..05b1553f1c6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty @@ -18,8 +18,23 @@ +\PackageInfo{lwarp}{Using the lwarp version of package `titlesec'.}% +\ProvidesPackage{lwarp-titlesec}[2016/03/21] -\LWR@ProvidesPackageDrop{titlesec}[2016/03/21] +\newbool{LWR@loadtitleps} +\boolfalse{LWR@loadtitleps} + +\DeclareOption{pagestyles}{ + \booltrue{LWR@loadtitleps} +} + +\DeclareOption*{} + +\ProcessOptions\relax + +\ifbool{LWR@loadtitleps}{ + \RequirePackage{lwarp-titleps} +}{} \newcommand*{\titlelabel}[1]{} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty index dcdd9e24af9..d888bb88030 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty @@ -41,21 +41,22 @@ { \end{titlepage} } +\AtBeginDocument{ + \pretitle{} + \posttitle{} -\pretitle{} -\posttitle{} + \preauthor{} + \postauthor{} -\preauthor{} -\postauthor{} - -\predate{} -\postdate{} + \predate{} + \postdate{} +} \renewcommand*{\LWR@maketitlesetup}{% -\def\@makefnmark{\textsuperscript{\@thefnmark}} -\long\def\@makefntext##1{% -\makethanksmark~% -##1% -}% \@makefntext + \def\@makefnmark{\textsuperscript{\@thefnmark}}% + \long\def\@makefntext##1{% + \makethanksmark~% + ##1% + }% \@makefntext } \renewcommand{\thanksfootmark}{% \thanksscript{% @@ -63,13 +64,13 @@ }% } \renewcommand*{\maketitle}{% -\begin{titlepage} -\@bsmarkseries -\LWR@maketitlesetup -\@maketitle -\LWR@stoppars\@thanks\LWR@startpars -\end{titlepage} -\@bscontmark + \begin{titlepage} + \@bsmarkseries + \LWR@maketitlesetup + \@maketitle + \LWR@stoppars\@thanks\LWR@startpars + \end{titlepage} + \@bscontmark } \DeclareDocumentCommand{\@maketitle}{}{% \maketitlehooka diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty index d4a87982091..c179276d7b0 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty @@ -239,21 +239,21 @@ \DeclareDocumentCommand{\newlistof}{o m m m} {% -\IfValueTF{#1} -{\newlistentry[#1]{#2}{#3}{0}} -{\newlistentry{#2}{#3}{0}} -\@namedef{ext@#2}{#3} -\@ifundefined{c@#3depth}{\newcounter{#3depth}}{} -\setcounter{#3depth}{1} -\@namedef{cftmark#3}{} -\@namedef{listof#2}{\listof{#2}{#4}} -\@namedef{@cftmake#3title}{} -\expandafter\newlength\csname cftbefore#3titleskip\endcsname -\expandafter\newlength\csname cftafter#3titleskip\endcsname -\@namedef{cft#3titlefont}{} -\@namedef{cftafter#3title}{} -\@namedef{cft#3prehook}{} -\@namedef{cft#3posthook}{} + \IfValueTF{#1}% + {\newlistentry[#1]{#2}{#3}{0}}% + {\newlistentry{#2}{#3}{0}}% + \@namedef{ext@#2}{#3}% + \@ifundefined{c@#3depth}{\newcounter{#3depth}}{}% + \setcounter{#3depth}{1}% + \@namedef{cftmark#3}{}% + \@namedef{listof#2}{\listof{#2}{#4}}% + \@namedef{@cftmake#3title}{}% + \expandafter\newlength\csname cftbefore#3titleskip\endcsname% + \expandafter\newlength\csname cftafter#3titleskip\endcsname% + \@namedef{cft#3titlefont}{}% + \@namedef{cftafter#3title}{}% + \@namedef{cft#3prehook}{}% + \@namedef{cft#3posthook}{}% } \newcommand{\cftchapterprecis}[1]{% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-todonotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-todonotes.sty index c340abfb1d4..9e18046dde1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-todonotes.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-todonotes.sty @@ -25,7 +25,7 @@ \let\LWRTODONOTES@orig@todototoc\todototoc \renewcommand*{\todototoc}{% -\phantomsection% +\LWR@phantomsection% \LWRTODONOTES@orig@todototoc% } diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty index 9f1d616e5b3..c21904c880f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty @@ -21,16 +21,9 @@ \LWR@origRequirePackage{trivfloat} -\begin{warpHTML} - \AtBeginDocument{\DeclareDocumentCommand{\tfl@chapter@fix}{m m}{}} -\end{warpHTML} - -\begin{warpall} - -\end{warpall} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-txfonts.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-txfonts.sty new file mode 100644 index 00000000000..2293b02d963 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-txfonts.sty @@ -0,0 +1,28 @@ +%% +%% This is file `lwarp-txfonts.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `txfonts') +%% 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{txfonts}[2008/01/22] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\LWR@infoprocessingmathjax{txfonts} + +\LWR@mathjax@addgreek@l@up{}{up} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-txfonts.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-txgreeks.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-txgreeks.sty new file mode 100644 index 00000000000..d24d5ca86c2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-txgreeks.sty @@ -0,0 +1,44 @@ +%% +%% This is file `lwarp-txgreeks.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `txgreeks') +%% 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{txgreeks}[2011/03/16] + +\LWR@infoprocessingmathjax{txgreeks} +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\iftgs@uplower% upright lowercase Greek + \LWR@mathjax@addgreek@l@up{}{} + \LWR@mathjax@addgreek@l@it{other}{} +\else% italic lowercase Greek + \LWR@mathjax@addgreek@l@it{}{} + \LWR@mathjax@addgreek@l@up{other}{} +\fi + +\iftgs@itupper % italic uppercase Greek + \LWR@mathjax@addgreek@u@it*{}{} + \LWR@mathjax@addgreek@u@up*{other}{} + \LWR@mathjax@addgreek@u@up*{var}{} +\else% upright uppercase Greek + \LWR@mathjax@addgreek@u@up*{}{} + \LWR@mathjax@addgreek@u@it*{other}{} + \LWR@mathjax@addgreek@u@it*{var}{} +\fi +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-txgreeks.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty index a471eac12a9..dc777a2888b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty @@ -16,6 +16,8 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{unicode-math}[2019/09/26] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + \begin{warpMathJax} \LWR@infoprocessingmathjax{unicode-math} @@ -26,15 +28,12 @@ \CustomizeMathJax{\let\symcal\mathcal} \CustomizeMathJax{\let\symscr\mathscr} \CustomizeMathJax{\let\symfrak\mathfrak} + \CustomizeMathJax{\let\symsfup\mathsf} -\CustomizeMathJax{\newcommand{\symsfit}[1]{% - \mmlToken{mi}[mathvariant="sans-serif-italic"]{#1}}% -} +\CustomizeMathJax{\let\symsfit\mathit}% not sans -\CustomizeMathJax{\newcommand{\symbfsf}[1]{% - \mmlToken{mi}[mathvariant="bold-sans-serif"]{#1}}% -} +\CustomizeMathJax{\let\symbfsf\mathbf}% not sans \CustomizeMathJax{\let\symbfup\mathbf} \CustomizeMathJax{\newcommand{\symbfit}[1]{\boldsymbol{#1}}} @@ -44,20 +43,126 @@ \CustomizeMathJax{\let\symbffrak\mathfrak}% not bold -\CustomizeMathJax{\newcommand{\symbfsfup}[1]{% - \mmlToken{mi}[mathvariant="bold-sans-serif"]{#1}}% -} +\CustomizeMathJax{\let\symbfsfup\mathbf}% not sans -\CustomizeMathJax{\newcommand{\symbfsfit}[1]{% - \mmlToken{mi}[mathvariant="sans-serif-bold-italic"]{#1}}% -} +\CustomizeMathJax{\newcommand{\symbfsfit}[1]{\boldsymbol{#1}}}% not sans \CustomizeMathJax{\let\symup\mathrm} \CustomizeMathJax{\let\symbf\mathbf}% \symbfup defined above \CustomizeMathJax{\let\symit\mathit} -\CustomizeMathJax{\let\symsf\mathsf} +\ExplSyntaxOn +\AtBeginDocument{ +\bool_if:NTF \g__um_sfliteral_bool + {\CustomizeMathJax{\let\symsf\symsfup}} + { + \bool_if:NTF \g__um_upsans_bool + {\CustomizeMathJax{\let\symsf\symsfup}} + {\CustomizeMathJax{\let\symsf\symsfit}} + } +} +\ExplSyntaxOff \CustomizeMathJax{\let\symtt\mathtt} \CustomizeMathJax{\let\symbffrac\mathbffrac} +\CustomizeMathJax{\newcommand{\mathfence}[1]{\mathord{#1}}} +\CustomizeMathJax{\newcommand{\mathover}[1]{#1}} +\CustomizeMathJax{\newcommand{\mathunder}[1]{#1}} +\CustomizeMathJax{\newcommand{\mathaccent}[1]{#1}} +\CustomizeMathJax{\newcommand{\mathbotaccent}[1]{#1}} +\CustomizeMathJax{\newcommand{\mathalpha}[1]{\mathord{#1}}} +\ExplSyntaxOn + +\AtBeginDocument{ +\bool_if:NTF \g__um_upGreek_bool + {\LWR@mathjax@addgreek@u@up*{}{}} + {\LWR@mathjax@addgreek@u@it*{}{}} + +\bool_if:NTF \g__um_upgreek_bool + {\LWR@mathjax@addgreek@l@up{}{}} + {\LWR@mathjax@addgreek@l@it{}{}} +} + +\LWR@mathjax@addgreek@u@up*{up}{} +\LWR@mathjax@addgreek@u@it*{it}{} +\LWR@mathjax@addgreek@l@up{up}{} +\LWR@mathjax@addgreek@l@it{it}{} + +\ExplSyntaxOff + +\CustomizeMathJax{\let\lparen(} +\CustomizeMathJax{\let\rparen)} +\CustomizeMathJax{\newcommand{\cuberoot}[1]{\,{}^3\!\!\sqrt{#1}}\,} +\CustomizeMathJax{\newcommand{\fourthroot}[1]{\,{}^4\!\!\sqrt{#1}}\,} +\CustomizeMathJax{\newcommand{\longdivision}[1]{\mathord{\unicode{x027CC}#1}}} + +\CustomizeMathJax{\newcommand{\mathcomma}{,}} +\CustomizeMathJax{\newcommand{\mathcolon}{:}} +\CustomizeMathJax{\newcommand{\mathsemicolon}{;}} + +\CustomizeMathJax{\newcommand{\overbracket}[1]{\mathinner{\overline{\ulcorner{#1}\urcorner}}}} +\CustomizeMathJax{\newcommand{\underbracket}[1]{\mathinner{\underline{\llcorner{#1}\lrcorner}}}} + +\CustomizeMathJax{\newcommand{\overbar}[1]{\mathord{#1\unicode{x00305}}}} +\CustomizeMathJax{\newcommand{\ovhook}[1]{\mathord{#1\unicode{x00309}}}} +\CustomizeMathJax{\newcommand{\ocirc}[1]{\mathord{#1\unicode{x0030A}}}} +\CustomizeMathJax{\newcommand{\candra}[1]{\mathord{#1\unicode{x00310}}}} +\CustomizeMathJax{\newcommand{\oturnedcomma}[1]{\mathord{#1\unicode{x00312}}}} +\CustomizeMathJax{\newcommand{\ocommatopright}[1]{\mathord{#1\unicode{x00315}}}} +\CustomizeMathJax{\newcommand{\droang}[1]{\mathord{#1\unicode{x0031A}}}} +\CustomizeMathJax{\newcommand{\leftharpoonaccent}[1]{\mathord{#1\unicode{x020D0}}}} +\CustomizeMathJax{\newcommand{\rightharpoonaccent}[1]{\mathord{#1\unicode{x020D1}}}} +\CustomizeMathJax{\newcommand{\vertoverlay}[1]{\mathord{#1\unicode{x020D2}}}} +\CustomizeMathJax{\newcommand{\leftarrowaccent}[1]{\mathord{#1\unicode{x020D0}}}} +\CustomizeMathJax{\newcommand{\annuity}[1]{\mathord{#1\unicode{x020E7}}}} +\CustomizeMathJax{\newcommand{\widebridgeabove}[1]{\mathord{#1\unicode{x020E9}}}} +\CustomizeMathJax{\newcommand{\asteraccent}[1]{\mathord{#1\unicode{x020F0}}}} +\CustomizeMathJax{\newcommand{\threeunderdot}[1]{\mathord{#1\unicode{x020E8}}}} + +\CustomizeMathJax{\newcommand{\Bbbsum}{\mathop{\unicode{x2140}}\limits}} +\CustomizeMathJax{\newcommand{\oiint}{\mathop{\unicode{x222F}}\limits}} +\CustomizeMathJax{\newcommand{\oiiint}{\mathop{\unicode{x2230}}\limits}} +\CustomizeMathJax{\newcommand{\intclockwise}{\mathop{\unicode{x2231}}\limits}} +\CustomizeMathJax{\newcommand{\ointclockwise}{\mathop{\unicode{x2232}}\limits}} +\CustomizeMathJax{\newcommand{\ointctrclockwise}{\mathop{\unicode{x2233}}\limits}} +\CustomizeMathJax{\newcommand{\varointclockwise}{\mathop{\unicode{x2232}}\limits}} +\CustomizeMathJax{\newcommand{\leftouterjoin}{\mathop{\unicode{x27D5}}\limits}} +\CustomizeMathJax{\newcommand{\rightouterjoin}{\mathop{\unicode{x27D6}}\limits}} +\CustomizeMathJax{\newcommand{\fullouterjoin}{\mathop{\unicode{x27D7}}\limits}} +\CustomizeMathJax{\newcommand{\bigbot}{\mathop{\unicode{x27D8}}\limits}} +\CustomizeMathJax{\newcommand{\bigtop}{\mathop{\unicode{x27D9}}\limits}} +\CustomizeMathJax{\newcommand{\xsol}{\mathop{\unicode{x29F8}}\limits}} +\CustomizeMathJax{\newcommand{\xbsol}{\mathop{\unicode{x29F9}}\limits}} +\CustomizeMathJax{\newcommand{\bigcupdot}{\mathop{\unicode{x2A03}}\limits}} +\CustomizeMathJax{\newcommand{\bigsqcap}{\mathop{\unicode{x2A05}}\limits}} +\CustomizeMathJax{\newcommand{\conjquant}{\mathop{\unicode{x2A07}}\limits}} +\CustomizeMathJax{\newcommand{\disjquant}{\mathop{\unicode{x2A08}}\limits}} +\CustomizeMathJax{\newcommand{\bigtimes}{\mathop{\unicode{x2A09}}\limits}} +\CustomizeMathJax{\newcommand{\modtwosum}{\mathop{\unicode{x2A0A}}\limits}} +\CustomizeMathJax{\newcommand{\sumint}{\mathop{\unicode{x2A0B}}\limits}} +\CustomizeMathJax{\newcommand{\intbar}{\mathop{\unicode{x2A0D}}\limits}} +\CustomizeMathJax{\newcommand{\intBar}{\mathop{\unicode{x2A0E}}\limits}} +\CustomizeMathJax{\newcommand{\fint}{\mathop{\unicode{x2A0F}}\limits}} +\CustomizeMathJax{\newcommand{\cirfnint}{\mathop{\unicode{x2A10}}\limits}} +\CustomizeMathJax{\newcommand{\awint}{\mathop{\unicode{x2A11}}\limits}} +\CustomizeMathJax{\newcommand{\rppolint}{\mathop{\unicode{x2A12}}\limits}} +\CustomizeMathJax{\newcommand{\scpolint}{\mathop{\unicode{x2A13}}\limits}} +\CustomizeMathJax{\newcommand{\npolint}{\mathop{\unicode{x2A14}}\limits}} +\CustomizeMathJax{\newcommand{\pointint}{\mathop{\unicode{x2A15}}\limits}} +\CustomizeMathJax{\newcommand{\sqint}{\mathop{\unicode{x2A16}}\limits}} +\CustomizeMathJax{\newcommand{\intlarhk}{\mathop{\unicode{x2A17}}\limits}} +\CustomizeMathJax{\newcommand{\intx}{\mathop{\unicode{x2A18}}\limits}} +\CustomizeMathJax{\newcommand{\intcap}{\mathop{\unicode{x2A19}}\limits}} +\CustomizeMathJax{\newcommand{\intcup}{\mathop{\unicode{x2A1A}}\limits}} +\CustomizeMathJax{\newcommand{\upint}{\mathop{\unicode{x2A1B}}\limits}} +\CustomizeMathJax{\newcommand{\lowint}{\mathop{\unicode{x2A1C}}\limits}} +\CustomizeMathJax{\newcommand{\bigtriangleleft}{\mathop{\unicode{x2A1E}}\limits}} +\CustomizeMathJax{\newcommand{\zcmp}{\mathop{\unicode{x2A1F}}\limits}} +\CustomizeMathJax{\newcommand{\zpipe}{\mathop{\unicode{x2A20}}\limits}} +\CustomizeMathJax{\newcommand{\zproject}{\mathop{\unicode{x2A21}}\limits}} +\CustomizeMathJax{\newcommand{\biginterleave}{\mathop{\unicode{x2AFC}}\limits}} +\CustomizeMathJax{\newcommand{\bigtalloblong}{\mathop{\unicode{x2AFF}}\limits}} +\CustomizeMathJax{\newcommand{\arabicmaj}{\mathop{\unicode{x1EEF0}}\limits}} +\CustomizeMathJax{\newcommand{\arabichad}{\mathop{\unicode{x1EEF1}}\limits}} + \end{warpMathJax} \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty index 325fa58f47a..a31b4104d5d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty @@ -41,8 +41,8 @@ \LWR@formatted{unitfrac} \begin{warpMathJax} -\CustomizeMathJax{\newcommand{\unit}[2][]{#1 #2}} -\CustomizeMathJax{\newcommand{\unitfrac}[3][]{#1 #2/#3}} +\CustomizeMathJax{\newcommand{\unit}[2][]{#1 \mathinner{#2}}} +\CustomizeMathJax{\newcommand{\unitfrac}[3][]{#1 \mathinner{{}^{#2}\!/\!_{#3}}}} \end{warpMathJax} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-upgreek.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-upgreek.sty new file mode 100644 index 00000000000..8867ad622b7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-upgreek.sty @@ -0,0 +1,30 @@ +%% +%% This is file `lwarp-upgreek.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `upgreek') +%% 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{upgreek}[2003/02/12] +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + +\begin{warpMathJax} +\LWR@infoprocessingmathjax{upgreek} + +\LWR@mathjax@addgreek@l@up{up}{} +\LWR@mathjax@addgreek@u@up{Up}{} + +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-upgreek.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-url.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-url.sty index 67effdd15b2..8279c61a0b8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-url.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-url.sty @@ -16,13 +16,14 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -\LetLtxMacro\LWR@url@orig@url\url +\LetLtxMacro\LWR@url@orig@url\LWR@url \LWR@ProvidesPackagePass{url}[2013/09/16] -\renewcommand*{\Url@FormatString}{% +\newcommand*{\LWR@HTML@Url@FormatString}{% \expandafter\LWR@url@orig@url\expandafter{\Url@String}% } +\LWR@formatted{Url@FormatString} \endinput %% %% End of file `lwarp-url.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ushort.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ushort.sty new file mode 100644 index 00000000000..2b03be61a4e --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ushort.sty @@ -0,0 +1,30 @@ +%% +%% This is file `lwarp-ushort.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `ushort') +%% 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{ushort}[2001/06/13] +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\ushortdline}[1]{% + \kern{.1em}\underline{\underline{{#1}}}\kern{.1em}% +}} +\CustomizeMathJax{\newcommand{\ushort}[1]{\kern{.1em}\underline{#1}\kern{.1em}}} +\CustomizeMathJax{\newcommand{\ushortd}[1]{\ushortdline{#1}}} +\CustomizeMathJax{\newcommand{\ushortw}[1]{\kern{.1em}\underline{#1}\kern{.1em}}} +\CustomizeMathJax{\newcommand{\ushortdw}[1]{\ushortdline{#1}}} +\end{warpMathJax} +\endinput +%% +%% End of file `lwarp-ushort.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-varioref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-varioref.sty new file mode 100644 index 00000000000..37a38b8331e --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-varioref.sty @@ -0,0 +1,28 @@ +%% +%% This is file `lwarp-varioref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `varioref') +%% 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{varioref}[2020/01/23] +\def\reftextfaceafter {\unskip}% +\def\reftextfacebefore{\unskip}% +\def\reftextafter {\unskip}% +\def\reftextbefore {\unskip}% +\def\reftextcurrent {\unskip}% +\def\reftextfaraway#1{\unskip}% +\def\reftextpagerange#1#2{\unskip}% +\endinput +%% +%% End of file `lwarp-varioref.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty index 3440ad1de95..43c20d8ed7c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty @@ -27,11 +27,11 @@ \setlength{\leftmargini}{\HTMLleftmargini} }{} \LWR@forcenewpage -\LWR@atbeginverbatim{3}{verse}% +\LWR@atbeginverbatim{verse}% } \AtEndEnvironment{verse}{% \leavevmode% -\LWR@afterendverbatim{1}% +\LWR@afterendverbatim% } \ifdef{\poemtitle}{ \DeclareDocumentCommand{\@vstypeptitle}{m}{% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty index ee12a277352..4bc9d7d359b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty @@ -16,8 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{witharrows}[2019/12/27] -\begin{warpHTML} -\makeatletter \ifbool{mathjax}{ % For the hidden print version in the HTML: \newcommand{\Arrow}[2][]{} @@ -74,8 +72,6 @@ } \AfterEndEnvironment{DispWithArrows*}{\end{lateximage}\end{BlockClass}} } -\makeatother -\end{warpHTML} \begin{warpMathJax} \CustomizeMathJax{\newenvironment{WithArrows}[1][]{\begin{aligned}}{\end{aligned}}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty index 3174d3856b4..8bfd8b4e3d7 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty @@ -43,35 +43,35 @@ \NewDocumentEnvironment{wrapfigure}{o m o m} {% -\begin{LWR@setvirtualpage}*% -\LWR@subwrapfigure{#2}{#4}% -\captionsetup{type=figure}% + \begin{LWR@setvirtualpage}*% + \LWR@subwrapfigure{#2}{#4}% + \renewcommand*{\@captype}{figure}% } {% -\endLWR@BlockClassWP% -\end{LWR@setvirtualpage}% + \endLWR@BlockClassWP% + \end{LWR@setvirtualpage}% } \NewDocumentEnvironment{wraptable}{o m o m} {% -\begin{LWR@setvirtualpage}*% -\LWR@subwrapfigure{#2}{#4}% -\captionsetup{type=table}% + \begin{LWR@setvirtualpage}*% + \LWR@subwrapfigure{#2}{#4}% + \renewcommand*{\@captype}{table}% } {% -\endLWR@BlockClassWP% -\end{LWR@setvirtualpage}% + \endLWR@BlockClassWP% + \end{LWR@setvirtualpage}% } \NewDocumentEnvironment{wrapfloat}{m o m o m} {% -\begin{LWR@setvirtualpage}*% -\LWR@subwrapfigure{#3}{#5}% -\captionsetup{type=#1}% + \begin{LWR@setvirtualpage}*% + \LWR@subwrapfigure{#3}{#5}% + \renewcommand*{\@captype}{#1}% } {% -\endLWR@BlockClassWP% -\end{LWR@setvirtualpage}% + \endLWR@BlockClassWP% + \end{LWR@setvirtualpage}% } \newlength{\wrapoverhang} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty index fc8e4b1038d..ff6a7f39f34 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty @@ -19,7 +19,6 @@ \LWR@ProvidesPackagePass{xcolor}[2016/05/11] -\begin{warpHTML} \LetLtxMacro\LWR@print@pagecolor\pagecolor \LetLtxMacro\LWR@print@nopagecolor\nopagecolor \appto\LWR@restoreorigformatting{% @@ -42,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}% @@ -52,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% }% @@ -83,6 +82,7 @@ padding:\LWR@printlength{\fboxsep}% \LWR@formatted{color} \NewDocumentCommand{\LWR@HTML@textcolor}{o m m}{% \begingroup% +\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}% @@ -109,12 +109,12 @@ padding:\LWR@printlength{\fboxsep}% } \AtBeginDocument{ -\LWR@formatted{colorbox} + \LWR@formatted{colorbox} } \NewDocumentCommand{\LWR@HTML@colorboxBlock}{O{named} m +m}{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@stoppars% \begin{BlockClass}[% background:\LWR@colorstyle{#1}{#2} ; % @@ -127,13 +127,13 @@ padding:\LWR@printlength{\fboxsep}% } \AtBeginDocument{ -\LWR@formatted{colorboxBlock} + \LWR@formatted{colorboxBlock} } -\NewDocumentCommand{\LWR@HTML@fcolorbox}{O{named} m O{named} m +m}{% +\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 @@ -151,13 +151,13 @@ padding:\LWR@printlength{\fboxsep}% } \AtBeginDocument{ -\LWR@formatted{fcolorbox} + \LWR@formatted{fcolorbox} } -\NewDocumentCommand{\LWR@HTML@fcolorboxBlock}{O{named} m O{named} m +m}{% +\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}}% @@ -183,7 +183,7 @@ padding:\LWR@printlength{\fboxsep}% } \AtBeginDocument{ -\LWR@formatted{fcolorboxBlock} + \LWR@formatted{fcolorboxBlock} } \NewDocumentCommand{\LWR@subfcolorminipage}{m m m m}{% @@ -195,9 +195,9 @@ padding:\LWR@printlength{\fboxsep}% width:\LWR@printlength{\LWR@tempwidth}% ]{fcolorminipage}% } -\NewDocumentEnvironment{LWR@HTML@fcolorminipage}{O{named} m O{named} m O{c} o o m} +\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}% @@ -288,8 +288,6 @@ height:\LWR@printlength{\LWR@tempheight}% \advance\rownum\@ne% \@rowcolors% } - -\end{warpHTML} \endinput %% %% End of file `lwarp-xcolor.sty'. 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-xfakebold.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty index e5cec3ffaa4..64ca7a92dbc 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty @@ -15,14 +15,15 @@ %% 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{xfakebold}[2018/07/25] -\let\LWR@orig@setBold\setBold -\let\LWR@orig@unsetBold\unsetBold -\renewcommand*{\setBold}{\booltrue{LWR@xfakebold}} -\renewcommand*{\unsetBold}{\boolfalse{LWR@xfakebold}} +\LWR@ProvidesPackagePass{xfakebold}[2020/06/24] +\newcommand*{\LWR@HTML@setBold}{\booltrue{LWR@xfakebold}} +\LWR@formatted{setBold} + +\newcommand*{\LWR@HTML@unsetBold}{\boolfalse{LWR@xfakebold}} +\LWR@formatted{unsetBold} \renewcommand*{\LWR@applyxfakebold}{% - \ifbool{LWR@xfakebold}{\LWR@orig@setBold}{\LWR@orig@unsetBold}% + \ifbool{LWR@xfakebold}{\LWR@print@setBold}{\LWR@print@unsetBold}% } \begin{warpMathJax} \CustomizeMathJax{\newcommand{\setBold}[1][]{}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty index aaf85ec6503..08e288e45f3 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty @@ -21,14 +21,8 @@ -\begin{warpall} - \newcommand*{\xfracHTMLfontsize}{.6em} -\end{warpall} - -\begin{warpHTML} - \DeclareInstance{xfrac}{default}{text}{ numerator-format = {% \begingroup% @@ -98,7 +92,6 @@ \CustomizeMathJax{\newcommand{\sfrac}[2][]{\def\LWRsfracnumerator{#2}\LWRsfrac}} \end{warpMathJax} -\end{warpHTML} \endinput %% %% End of file `lwarp-xfrac.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xpinyin.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xpinyin.sty index 33482536cb4..b51db884d00 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xpinyin.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xpinyin.sty @@ -68,6 +68,8 @@ \ExplSyntaxOff \renewcommand*{\LWR@disablepinyin}{\disablepinyin} + +\FilenameNullify{\LWR@disablepinyin} \endinput %% %% End of file `lwarp-xpinyin.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty index a476c088b8c..ddb31bd5e15 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty @@ -17,7 +17,8 @@ %% version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{lwarp} - [2020/03/25 v0.83 Allows LaTeX to directly produce HTML5 output.] + [2021/02/18 v0.895 Allows LaTeX to directly produce HTML5 output.] + @@ -26,6 +27,8 @@ \RequirePackage{iftex}[2019/11/07] +\RequirePackage{ifpdf} +\RequirePackage{ifptex} \newif\ifxetexorluatex @@ -50,14 +53,17 @@ {% Package #1,\MessageBreak or one which uses #1,\MessageBreak - must be loaded after lwarp + must be loaded after Lwarp.\MessageBreak + Enter 'H' for possible solutions% + } + {% + Move ``\protect\usepackage{#1}'' after + ``\protect\usepackage{lwarp}''.\MessageBreak + Package #1 may also be loaded by something else,\MessageBreak + which must also be moved after Lwarp.% } - {Move \detokenize{\usepackage}{#1} after - \detokenize{\usepackage}{lwarp}.\MessageBreak - Package #1 may also be loaded by something else,\MessageBreak - which must also be moved after lwarp.} } -{} +{\relax} } \@ifclassloaded{memoir} @@ -80,11 +86,14 @@ \newcommand*{\LWR@loadbefore}[1]{% \@ifpackageloaded{#1} -{} +{\relax} { \PackageError{lwarp} - {Package #1 must be loaded before lwarp} - {Move \detokenize{\usepackage}{#1} before \detokenize{\usepackage}{lwarp}.} + {% + Package #1 must be loaded before lwarp.\MessageBreak + Enter 'H' for possible solutions% + } + {Move ``\protect\usepackage{#1}'' before ``\protect\usepackage{lwarp}''.} } } @@ -100,7 +109,9 @@ {% Package #1 is not supported\MessageBreak by lwarp's HTML conversion.\MessageBreak - Package(s) #2 may be useful instead% + Package(s)\MessageBreak + \space\space#2\MessageBreak + may be useful instead% } {% Package #1 might conflict with lwarp in some way,\MessageBreak @@ -132,7 +143,7 @@ or is superceded by another class.\MessageBreak For a possible alternative, see class(es) #2. } -}{}% +}{\relax}% } \LWR@earlyclassloadnever{jarticle}{ujarticle} \LWR@earlyclassloadnever{jbook}{ujbook} @@ -146,22 +157,20 @@ \LWR@earlyloadnever{alg}{algorithm2e, algorithmicx} \LWR@earlyloadnever{algorithmic}{algorithm2e, algorithmicx} \LWR@earlyloadnever{bitfield}{bytefield} -\LWR@earlyloadnever{boxedminipage}{boxedminipage2e} \LWR@earlyloadnever{caption2}{caption} \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} \LWR@earlyloadnever{glossary}{glossaries} \LWR@earlyloadnever{hyper}{hyperref} +\LWR@earlyloadnever{libgreek}{libertinust1math, newtx} \LWR@earlyloadnever{newthm}{ntheorem} \LWR@earlyloadnever{pdfcprot}{microtype} -\LWR@earlyloadnever{picinpar}{floatflt, wrapfig} \LWR@earlyloadnever{picins}{floatflt, wrapfig} \LWR@earlyloadnever{rplain}{fancyhdr} -\LWR@earlyloadnever{shadethm}{mdframed} \LWR@earlyloadnever{si}{siunitx} \LWR@earlyloadnever{sistyle}{siunitx} \LWR@earlyloadnever{slashbox}{diagbox} @@ -182,6 +191,7 @@ \LWR@loadafter{a5comb} \LWR@notmemoirloadafter{abstract} \LWR@loadafter{academicons} +\LWR@loadafter{accents} \LWR@loadafter{accessibility} \LWR@loadafter{accsupp} \LWR@loadafter{acro} @@ -192,8 +202,7 @@ \LWR@loadafter{algorithm2e} \LWR@loadafter{algorithmicx} \LWR@loadafter{alltt} -\LWR@loadafter{amsmath} -\LWR@loadafter{amsthm} +\LWR@loadafter{amscdx} \LWR@loadafter{anonchap} \LWR@loadafter{anysize} \LWR@notmemoirloadafter{appendix} @@ -205,6 +214,7 @@ \LWR@loadafter{attachfile} \LWR@loadafter{attachfile2} \LWR@loadafter{authblk} +\LWR@loadafter{authoraftertitle}% Supported as-is, but must be loaded after. \LWR@loadafter{autobreak} \LWR@loadafter{autonum} \LWR@loadafter{awesomebox} @@ -225,19 +235,21 @@ \LWR@notmemoirloadafter{booktabs} \LWR@loadafter{bophook} \LWR@loadafter{bounddvi} +\LWR@loadafter{boxedminipage} \LWR@loadafter{boxedminipage2e} \LWR@loadafter{braket} \LWR@loadafter{breakurl} \LWR@loadafter{breqn} \LWR@loadafter{bsheaders} +\LWR@loadafter{bussproofs} \LWR@loadafter{bxpapersize} \LWR@loadafter{bytefield} \LWR@loadafter{cancel} \LWR@loadafter{canoniclayout} \LWR@loadafter{caption} \LWR@loadafter{caption2} +\LWR@loadafter{caption3} \LWR@loadafter{cases} -\LWR@loadafter{centernot} \LWR@loadafter{changebar} \LWR@loadafter{changelayout} \LWR@notmemoirloadafter{changepage} @@ -252,6 +264,8 @@ \LWR@loadafter{chkfloat} \LWR@notmemoirloadafter{chngpage} \LWR@loadafter{cite} +\LWR@loadafter{citeref} +\LWR@loadafter{cleveref} \LWR@loadafter{cmdtrack} \LWR@loadafter{colonequals} \LWR@loadafter{color} @@ -274,6 +288,7 @@ \LWR@loadafter{draftcopy} \LWR@loadafter{draftfigure} \LWR@loadafter{draftwatermark} +\LWR@loadafter{drftcite} \LWR@loadafter{easy-todo} \LWR@loadafter{ebook} \LWR@loadafter{econometrics} @@ -288,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} @@ -295,10 +311,10 @@ \LWR@loadafter{eqparbox} \LWR@loadafter{errata} \LWR@loadafter{eso-pic} +\LWR@loadafter{esvect} \LWR@loadafter{etoc} \LWR@loadafter{eurosym} \LWR@loadafter{everypage} -\LWR@loadafter{everyshi} \LWR@loadafter{extarrows} \LWR@loadafter{extramarks} \LWR@loadafter{fancybox} @@ -306,11 +322,13 @@ \LWR@loadafter{fancyref} \LWR@loadafter{fancytabs} \LWR@loadafter{fancyvrb} +\LWR@loadafter{fbox} \LWR@loadafter{fewerfloatpages} \LWR@loadafter{figcaps} \LWR@loadafter{figsize} \LWR@loadafter{fitbox} \LWR@loadafter{fix2col} +\LWR@loadafter{fixmath} \LWR@loadafter{fixme} \LWR@loadafter{fixmetodonotes} \LWR@loadafter{flafter} @@ -343,10 +361,12 @@ \LWR@loadafter{fullminipage} \LWR@loadafter{fullpage} \LWR@loadafter{fullwidth} +\LWR@loadafter{fvextra} \LWR@loadafter{fwlw} \LWR@loadafter{gensymb} \LWR@loadafter{gentombow} \LWR@loadafter{ghsystem} +\LWR@loadafter{gindex} \LWR@loadafter{glossaries} \LWR@loadafter{gmeometric} \LWR@loadafter{gloss} @@ -357,7 +377,9 @@ \LWR@loadafter{gridset} \LWR@loadafter{hang} \LWR@loadafter{hanging} +\LWR@loadafter{hepunits} \LWR@loadafter{hhline} +\LWR@loadafter{hhtensor} \LWR@loadafter{hypbmsec} \LWR@loadafter{hypcap} \LWR@loadafter{hypdestopt} @@ -368,10 +390,15 @@ \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} +\LWR@loadafter{keystroke} \LWR@loadafter{layaureo} \LWR@loadafter{layout} \LWR@loadafter{layouts} @@ -384,6 +411,7 @@ \LWR@loadafter{listings} \LWR@loadafter{listliketab} \LWR@loadafter{longtable} +\LWR@loadafter{lpic} \LWR@loadafter{lscape} \LWR@loadafter{ltablex} \LWR@loadafter{ltcaption} @@ -394,6 +422,7 @@ \LWR@loadafter{luacolor} \LWR@loadafter{luamplib} \LWR@loadafter{luatodonotes} +\LWR@loadafter{luavlna} \LWR@loadafter{lyluatex} \LWR@loadafter{magaz} \LWR@notmemoirloadafter{makeidx} @@ -402,14 +431,23 @@ \LWR@loadafter{marginfix} \LWR@loadafter{marginnote} \LWR@loadafter{marvosym} +\LWR@loadafter{mathastext} \LWR@loadafter{mathcomp} +\LWR@loadafter{mathdesign} \LWR@loadafter{mathdots} \LWR@loadafter{mathfixs} +\LWR@loadafter{mathpazo} +\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} \LWR@loadafter{metalogo} \LWR@loadafter{metalogox} \LWR@loadafter{mhchem} @@ -418,10 +456,13 @@ \LWR@loadafter{midpage} \LWR@loadafter{minibox} \LWR@loadafter{minitoc} +\LWR@loadafter{minted} \LWR@loadafter{mismath} +\LWR@loadafter{mleftright} \LWR@notmemoirloadafter{moreverb} \LWR@notmemoirloadafter{movie15} \LWR@notmemoirloadafter{mparhack} +\LWR@loadafter{multibib} \LWR@loadafter{multicap} \LWR@loadafter{multicolrule} \LWR@loadafter{multimedia} @@ -436,10 +477,10 @@ \LWR@loadafter{nccfoots} \LWR@loadafter{nccmath} \LWR@notmemoirloadafter{needspace} -\LWR@loadafter{newtxmath} \LWR@notmemoirloadafter{nextpage} \LWR@loadafter{nicefrac} \LWR@loadafter{niceframe} +\LWR@loadafter{nicematrix} \LWR@loadafter{noitcrul} \LWR@loadafter{nolbreaks} \LWR@loadafter{nomencl} @@ -481,7 +522,9 @@ \LWR@loadafter{phfqit} \LWR@loadafter{physics} \LWR@loadafter{physunits} +\LWR@loadafter{picinpar} \LWR@loadafter{pifont} +\LWR@loadafter{pinlabel} \LWR@loadafter{placeins} \LWR@loadafter{plarray} \LWR@loadafter{plarydshln} @@ -489,6 +532,7 @@ \LWR@loadafter{plextarydshln} \LWR@loadafter{plcolortbl} \LWR@loadafter{plextdelarray} +\LWR@loadafter{plimsoll} \LWR@loadafter{prelim2e} \LWR@loadafter{prettyref} \LWR@loadafter{preview} @@ -510,6 +554,7 @@ \LWR@loadafter{repeatindex} \LWR@loadafter{resizegather} \LWR@loadafter{returntogrid} +\LWR@loadafter{rlepsf} \LWR@loadafter{rmathbr} \LWR@loadafter{rmpage} \LWR@loadafter{romanbar} @@ -518,6 +563,7 @@ \LWR@loadafter{rotfloat} \LWR@loadafter{rviewport} \LWR@loadafter{savetrees} +\LWR@loadafter{scalerel} \LWR@loadafter{schemata} \LWR@loadafter{scrextend} \LWR@loadafter{scrhack} @@ -528,6 +574,7 @@ \LWR@loadafter{section} \LWR@loadafter{sectionbreak} \LWR@loadafter{sectsty} +\LWR@loadafter{selectp} \LWR@loadafter{semantic-markup} \LWR@notmemoirloadafter{setspace} \LWR@loadafter{shadow} @@ -535,15 +582,19 @@ \LWR@notmemoirloadafter{showidx} \LWR@loadafter{showkeys} \LWR@loadafter{showtags} +\LWR@loadafter{shuffle} \LWR@loadafter{sidecap} \LWR@loadafter{sidenotes} +\LWR@loadafter{simplebnf} \LWR@loadafter{SIunits} \LWR@loadafter{siunitx} +\LWR@loadafter{skmath} \LWR@loadafter{slantsc} \LWR@loadafter{slashed} \LWR@loadafter{soul} \LWR@loadafter{soulpos} \LWR@loadafter{soulutf8} +\LWR@loadafter{splitbib} \LWR@loadafter{splitidx} \LWR@loadafter{srcltx} \LWR@loadafter{srctex} @@ -551,6 +602,7 @@ \LWR@loadafter{stackengine} \LWR@loadafter{stackrel} \LWR@loadafter{statex2} +\LWR@loadafter{statistics} \LWR@loadafter{statmath} \LWR@loadafter{steinmetz} \LWR@notltjloadafter{stfloats} @@ -561,6 +613,7 @@ \LWR@loadafter{subsupscripts} \LWR@loadafter{supertabular} \LWR@loadafter{svg} +\LWR@loadafter{swfigure} \LWR@loadafter{syntonly} \LWR@loadafter{t1inc} \LWR@loadafter{tabfigures} @@ -568,19 +621,27 @@ \LWR@loadafter{tablefootnote} \LWR@notmemoirloadafter{tabularx} \LWR@loadafter{tabulary} -\LWR@loadafter{tascmac} \LWR@loadafter{tagpdf} +\LWR@loadafter{tascmac} +\LWR@loadafter{tcolorbox} +\LWR@loadafter{tensor} +\LWR@loadafter{termcal} \LWR@loadafter{textarea} \LWR@loadafter{textfit} \LWR@loadafter{textpos} \LWR@loadafter{theorem} \LWR@loadafter{thinsp} +\LWR@loadafter{thm-listof} +\LWR@loadafter{thm-restate} +\LWR@loadafter{thmbox} +\LWR@loadafter{thmtools} \LWR@loadafter{threadcol} \LWR@loadafter{threeparttable} \LWR@loadafter{threeparttablex} \LWR@loadafter{thumb} \LWR@loadafter{thumbs} \LWR@loadafter{tikz} +\LWR@loadafter{tikz-imagelabels} \LWR@loadafter{titleps} \LWR@loadafter{titlesec} \LWR@loadafter{titletoc} @@ -603,13 +664,14 @@ \LWR@loadafter{typicons} \LWR@loadafter{umoline} \LWR@loadafter{underscore} -\LWR@loadafter{unicode-math} \LWR@loadafter{units} \LWR@loadafter{unitsdef} +\LWR@loadafter{upgreek} \LWR@loadafter{upref} \LWR@loadafter{url} +\LWR@loadafter{ushort} \LWR@loadafter{uspace} -\LWR@loadafter{varioref}% no lwarp package provided +\LWR@loadafter{varioref} \LWR@notmemoirloadafter{verse} \LWR@loadafter{versonotes} \LWR@loadafter{vertbars} @@ -627,6 +689,7 @@ \LWR@loadafter{xcolor} \LWR@loadafter{xechangebar} \LWR@loadafter{xellipsis} +\LWR@loadafter{xevlna} \LWR@loadafter{xfakebold} \LWR@loadafter{xfrac} \LWR@loadafter{xltabular} @@ -641,9 +704,12 @@ \LWR@loadafter{xy} \LWR@loadafter{zwpagelayout} \newcommand{\LWR@mdfive}[1]{% -\PackageError{lwarp} -{No MD5 macro was found} -{Lwarp must find the macros pdfmdfivesum or mdfivesum.} + \PackageError{lwarp} + {No MD5 macro was found} + {% + Lwarp must find the macros \protect\pdfmdfivesum\space + or \protect\mdfivesum.% + } } \let\LWR@mdfive\pdfmdfivesum \ifLuaTeX @@ -703,7 +769,8 @@ {% Lwarp requires a vector font.\MessageBreak Install and load cm-super, lmodern, or another\MessageBreak - Type-1 vector font before loading lwarp% + Type-1 vector font before loading lwarp.\MessageBreak + Enter 'H' for possible solutions% } {% Install cm-super or lmodern.\MessageBreak @@ -722,6 +789,25 @@ \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} +\newcounter{LWR@tempcountone} \newcommand*\LWR@providelength[1]{% \ifdeflength{#1}{}{\newlength{#1}}% } @@ -739,9 +825,13 @@ \newcommand*{\LWR@patcherror}[2]{% -\PackageError{lwarp} -{Unable to patch package #1, macro #2} -{Please contact the author of the Lwarp package.} + \PackageError{lwarp}% + {% + Unable to patch package #1,\MessageBreak + macro \LWRbackslash #2.\MessageBreak + Lwarp or #1 may need to be updated% + }% + {Please contact the maintainer of the Lwarp package.}% } \newcommand{\LWR@isolate}[1]{#1}% @@ -761,6 +851,15 @@ \long\def\LWR@secondoffour#1#2#3#4{#2} \long\def\LWR@thirdoffour#1#2#3#4{#3} \long\def\LWR@fourthoffour#1#2#3#4{#4} +\newcounter{LWR@texboxdepth} +\setcounter{LWR@texboxdepth}{0} +\newcommand*{\LWR@maybe@orignewpage}{% + \LWR@traceinfo{LWR@maybe@orignewpage}% + \ifnumgreater{\value{LWR@texboxdepth}}{0} + {}% + {\LWR@orignewpage}% + \LWR@traceinfo{LWR@maybe@orignewpage done}% +} \DeclareRobustCommand\LWR@gsavebox[1]{% \@ifnextchar(%) {\LWR@@gsavepicbox#1}{\@ifnextchar[{\LWR@@gsavebox#1}{\LWR@gsbox#1}}}% @@ -794,6 +893,20 @@ \fi #1% } +\ExplSyntaxOn +\newcommand*{\LWRtexttitlecase}[1]{% + \text_titlecase:n{#1}% +} +\ExplSyntaxOff +\newcommand*{\LWR@LetLtxMacrocs}[2]{% + \expandafter\LetLtxMacro\csname #1\expandafter\endcsname% + \csname#2\endcsname% +} +\newcommand*{\LWR@absorbstar}[1]{% + \LWR@LetLtxMacrocs{LWR@origns@#1}{#1}% + \csdef{#1}{\@ifstar{\csuse{LWR@origns@#1}}{\csuse{LWR@origns@#1}}} + \expandafter\robustify\csname #1\endcsname +} \let\LWRpercent\@percentchar \catcode`\$=12 \def\LWRdollar{$} @@ -853,26 +966,26 @@ \boolfalse{warpingHTML}% \boolfalse{mathjax}% \DeclareVoidOption{warpprint}{% -\PackageInfo{lwarp}{Using option 'warpprint'} -\booltrue{warpingprint}% -\boolfalse{warpingHTML}% + \PackageInfo{lwarp}{Using option 'warpprint'} + \booltrue{warpingprint}% + \boolfalse{warpingHTML}% } \DeclareVoidOption{warpHTML}{% -\PackageInfo{lwarp}{Using option 'warpHTML'}% -\booltrue{warpingHTML}% -\boolfalse{warpingprint}% + \PackageInfo{lwarp}{Using option 'warpHTML'}% + \booltrue{warpingHTML}% + \boolfalse{warpingprint}% } \DeclareVoidOption{mathsvg}{% -\PackageInfo{lwarp}{Using option 'mathsvg'} -\boolfalse{mathjax}% -\boolfalse{LWR@origmathjax}% + \PackageInfo{lwarp}{Using option 'mathsvg'} + \boolfalse{mathjax}% + \boolfalse{LWR@origmathjax}% } \DeclareVoidOption{mathjax}{% -\PackageInfo{lwarp}{Using option 'mathjax'} -\booltrue{mathjax}% -\booltrue{LWR@origmathjax}% + \PackageInfo{lwarp}{Using option 'mathjax'} + \booltrue{mathjax}% + \booltrue{LWR@origmathjax}% } @@ -890,19 +1003,22 @@ \DeclareStringOption[utf8]{xindyCodepage} + +\DeclareStringOption[]{xindexConfig} + \DeclareStringOption[UTF-8]{pdftotextEnc} \newbool{LWR@creatinglwarpmk} \boolfalse{LWR@creatinglwarpmk} \DeclareVoidOption{lwarpmk}{ -\PackageInfo{lwarp}{Using option 'lwarpmk'} -\booltrue{LWR@creatinglwarpmk} + \PackageInfo{lwarp}{Using option 'lwarpmk'} + \booltrue{LWR@creatinglwarpmk} } \DeclareVoidOption{OSWindows}{ -\PackageInfo{lwarp}{Using option 'OSWindows'} -\LWR@setOSWindows + \PackageInfo{lwarp}{Using option 'OSWindows'} + \LWR@setOSWindows } \DeclareStringOption[]{HomeHTMLFilename} @@ -923,6 +1039,10 @@ \DeclareBoolOption[false]{xindy} +\DeclareBoolOption[false]{xindex} + +\DeclareStringOption[cref]{IndexRef} + \DeclareStringOption[makeglossaries]{GlossaryCmd} \DeclareBoolOption[false]{latexmk} @@ -973,6 +1093,20 @@ \jobname.idx% } }{} + \ifbool{LWR@xindex}{ + \ifdefvoid{\LWR@xindexConfig}{ + \renewcommand{\LWR@PrintIndexCmd}{% + xindex + \jobname.idx% + } + }{ + \renewcommand{\LWR@PrintIndexCmd}{% + xindex + -c \LWR@xindexConfig \space + \jobname.idx% + } + } + }{} }{} \ifdefempty{\LWR@HTMLIndexCmd}{ @@ -988,6 +1122,20 @@ \jobname_html.idx% } }{} + \ifbool{LWR@xindex}{ + \ifdefvoid{\LWR@xindexConfig}{ + \renewcommand{\LWR@HTMLIndexCmd}{% + xindex + \jobname_html.idx% + } + }{ + \renewcommand{\LWR@HTMLIndexCmd}{% + xindex + -c \LWR@xindexConfig \space + \jobname_html.idx% + } + } + }{} }{} \ifdefempty{\LWR@LatexmkIndexCmd}{ @@ -1002,42 +1150,87 @@ -C \LWR@xindyCodepage% } }{} + \ifbool{LWR@xindex}{ + \ifdefvoid{\LWR@xindexConfig}{ + \renewcommand{\LWR@LatexmkIndexCmd}{% + xindex + } + }{ + \renewcommand{\LWR@LatexmkIndexCmd}{% + xindex + -c \LWR@xindexConfig + } + } + }{} }{} \newcommand{\warpprintonly}[1]{\ifbool{warpingprint}{#1}{}} \newcommand{\warpHTMLonly}[1]{\ifbool{warpingHTML}{#1}{}} \RequirePackage{comment} -\ifbool{warpingHTML}{ -\def\DefaultCutFileName{\def\CommentCutFile{comment_html.cut}} -}{} +\def\LWR@includecomment + #1#2{\message{Lwarp: Including comment '#1'}% + \csarg\def{After#1Comment}{% + \CloseAndInputCutFile% + \csundef{LWR@#1commentused}% + } + \csarg\def{#1}{% + \endgroup + \ifcsdef{LWR@#1commentused}{ + \PackageError{lwarp}% + {Nested #1 environment}% + {% + Environment #1 cannot be nested.\MessageBreak + This can happen when a package is loaded + from inside a\MessageBreak + #1 environment.% + }% + }{\relax} + \csdef{LWR@#1commentused}{} + \message{Including '#1' comment.}% + \def\CommentCutFile{comment_#2.cut} + \SetUpCutFile + \ProcessComment{#1} + }% + \CommentEndDef{#1} +} -\ifbool{warpingprint}{ -\def\DefaultCutFileName{\def\CommentCutFile{comment_print.cut}} -}{} +\def\LWR@excludecomment + #1#2{\message{Lwarp: Excluding comment '#1'}% + \csarg\def{#1}{ + \endgroup + \message{Excluding '#1' comment.}% + \begingroup + \def\CommentCutFile{comment_#2.cut} + \def\ProcessCutFile{}% + \def\ThisComment####1{}% + \ProcessComment{#1} + }% + \csarg\def{After#1Comment}{\CloseAndInputCutFile \endgroup} + \CommentEndDef{#1}} -\includecomment{warpall} +\LWR@includecomment{warpall}{all} \ifbool{warpingHTML} - {\includecomment{warpHTML}} - {\excludecomment{warpHTML}}% + {\LWR@includecomment{warpHTML}{html}} + {\LWR@excludecomment{warpHTML}{html}} \ifbool{warpingprint} - {\includecomment{warpprint}} - {\excludecomment{warpprint}} + {\LWR@includecomment{warpprint}{print}} + {\LWR@excludecomment{warpprint}{print}} \begin{warpprint} -\excludecomment{warpMathJax} +\LWR@excludecomment{warpMathJax}{mathjax} \end{warpprint} \begin{warpHTML} \ifbool{mathjax} - {\includecomment{warpMathJax}} - {\excludecomment{warpMathJax}} + {\LWR@includecomment{warpMathJax}{mathjax}} + {\LWR@excludecomment{warpMathJax}{mathjax}} \end{warpHTML} \ifbool{LWR@creatinglwarpmk} - {\includecomment{LWR@createlwarpmk}} - {\excludecomment{LWR@createlwarpmk}} + {\LWR@includecomment{LWRcreatelwarpmk}{lwarpmk}} + {\LWR@excludecomment{LWRcreatelwarpmk}{lwarpmk}} \begin{warpHTML} @@ -1059,8 +1252,7 @@ tracking=false, kerning=false, spacing=false} - -\DisableLigatures[f,q,t,T,Q]{encoding = *,family = *} +\DisableLigatures{encoding = *,family = tt*} \fi \end{warpHTML} @@ -1219,7 +1411,6 @@ \end{warpprint} \begin{warpall} - \LetLtxMacro\LWR@origRequirePackage\RequirePackage \LetLtxMacro\LWR@origRequirePackageWithOptions\RequirePackageWithOptions @@ -1238,6 +1429,7 @@ \StrBetween[#3,\numexpr#3+1]{#1#2#1}{#1}{#1}% } + \newcommand*{\LWR@checkloadfilename}[1]{% \LWR@checkloadnever{#1}{ae}{cm-super, lmodern} \LWR@checkloadnever{#1}{aecc}{cm-super, lmodern} @@ -1245,23 +1437,21 @@ \LWR@checkloadnever{#1}{alg}{algorithm2e, algorithmicx} \LWR@checkloadnever{#1}{algorithmic}{algorithm2e, algorithmicx} \LWR@checkloadnever{#1}{bitfield}{bytefield} -\LWR@checkloadnever{#1}{boxedminipage}{boxedminipage2e} \LWR@checkloadnever{#1}{caption2}{caption} \LWR@checkloadnever{#1}{ccaption}{caption}% might be preloaded by memoir \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} \LWR@checkloadnever{#1}{glossary}{glossaries} \LWR@checkloadnever{#1}{hyper}{hyperref} +\LWR@checkloadnever{#1}{libgreek}{libertinust1math, newtx} \LWR@checkloadnever{#1}{newthm}{ntheorem} \LWR@checkloadnever{#1}{pdfcprot}{microtype} -\LWR@checkloadnever{#1}{picinpar}{floatflt, wrapfig} \LWR@checkloadnever{#1}{picins}{floatflt, wrapfig} \LWR@checkloadnever{#1}{rplain}{fancyhdr} -\LWR@checkloadnever{#1}{shadethm}{mdframed} \LWR@checkloadnever{#1}{si}{siunitx} \LWR@checkloadnever{#1}{sistyle}{siunitx} \LWR@checkloadnever{#1}{slashbox}{diagbox} @@ -1278,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} @@ -1360,6 +1551,8 @@ }% } \LetLtxMacro\usepackage\RequirePackage +\@onlypreamble\RequirePackage +\@onlypreamble\usepackage \end{warpall} @@ -1367,8 +1560,9 @@ \NewDocumentCommand{\LWR@ProvidesPackagePass}{m o}{ \PackageInfo{lwarp}{% - Using package `#1' and adding lwarp modifications,\MessageBreak - including options,}% + Using package `#1',\MessageBreak + and adding lwarp modifications, including options,\MessageBreak% + }% \IfValueTF{#2}% {\ProvidesPackage{lwarp-#1}[#2]}% {\ProvidesPackage{lwarp-#1}}% @@ -1419,14 +1613,6 @@ \end{warpHTML} -\begin{warpHTML} - -\LWR@origRequirePackage{caption} -\AtBeginDocument{\RequirePackage{lwarp-caption}}% - -\end{warpHTML} - - \begin{warpall} @@ -1447,7 +1633,7 @@ \immediate\openout\LWR@quickfile #1_html_inc.tex% lwarp \immediate\write\LWR@quickfile{\string\input{#1.tex}}% lwarp \immediate\closeout\LWR@quickfile% lwarp -\LWR@orignewpage% changed from clearpage +\LWR@maybe@orignewpage% changed from clearpage \if@filesw \immediate\write\@mainaux{\string\@input{#1_html_inc.aux}}% changed \fi @@ -1465,7 +1651,7 @@ \immediate\write\@partaux{\relax}% \fi \@input@{#1_html_inc.tex}% changed - \LWR@orignewpage% changed from clearpage + \LWR@maybe@orignewpage% changed from clearpage \@writeckpt{#1}% \if@filesw \immediate\closeout\@partaux @@ -1482,27 +1668,27 @@ \begin{warpHTML} -\newwrite\LWR@copyoutfile % open the file to write to -\newread\LWR@copyinfile % open the file to read from +\newwrite\LWR@copyoutfile % open the file to write to +\newread\LWR@copyinfile % open the file to read from \newcommand*{\LWR@copyfile}[2]{% -\LWR@traceinfo{LWR@copyfile: copying #1 to #2} - -\immediate\openout\LWR@copyoutfile=#2 -\openin\LWR@copyinfile=#1 -\begingroup\endlinechar=-1 -\makeatletter - -\LWR@traceinfo{LWR@copyfile: about to loop} - -\loop\unless\ifeof\LWR@copyinfile - \LWR@traceinfo{LWR@copyfile: one line} - \read\LWR@copyinfile to\LWR@fileline % Read one line and store it into \LWR@fileline - \immediate\write\LWR@copyoutfile{\unexpanded\expandafter{\LWR@fileline}}% -\repeat -\immediate\closeout\LWR@copyoutfile -\LWR@traceinfo{LWR@copyfile: done} -\endgroup + \LWR@traceinfo{LWR@copyfile: copying #1 to #2} + + \immediate\openout\LWR@copyoutfile=#2 + \openin\LWR@copyinfile=#1 + \begingroup\endlinechar=-1 + \makeatletter + + \LWR@traceinfo{LWR@copyfile: about to loop} + + \loop\unless\ifeof\LWR@copyinfile + \LWR@traceinfo{LWR@copyfile: one line} + \read\LWR@copyinfile to\LWR@fileline % Read one line and store it into \LWR@fileline + \immediate\write\LWR@copyoutfile{\unexpanded\expandafter{\LWR@fileline}}% + \repeat + \immediate\closeout\LWR@copyoutfile + \LWR@traceinfo{LWR@copyfile: done} + \endgroup } \end{warpHTML} @@ -1537,7 +1723,26 @@ \begin{warpHTML} \newcommand*{\LWR@formatting}{HTML} +\newcommand*{\LWR@formatted@checkname}[1]{% + \ifcsundef{LWR@HTML@#1}{% + \PackageError{lwarp} + {% + \protect\LWR@HTML@#1 is not defined% + } + {Perhaps it is misspelled.} + }{\relax}% +} +\newcommand*{\LWR@formatted@checkendname}[1]{% + \ifcsundef{endLWR@HTML@#1}{% + \PackageError{lwarp} + {% + \protect\endLWR@HTML@#1 is not defined% + } + {Perhaps it is misspelled.} + }{\relax}% +} \newcommand*{\LWR@formatted}[1]{% + \LWR@formatted@checkname{#1}% \ifcsundef{LWR@print@#1}{% \expandafter\LetLtxMacro\csname LWR@print@#1\expandafter\endcsname% \csname#1\endcsname% @@ -1553,6 +1758,7 @@ }% } \newcommand*{\LWR@expandableformatted}[1]{% + \LWR@formatted@checkname{#1}% \ifcsundef{LWR@print@#1}{% \expandafter\LetLtxMacro\csname LWR@print@#1\expandafter\endcsname% \csname#1\endcsname% @@ -1568,6 +1774,8 @@ }% } \newcommand*{\LWR@formattedenv}[1]{% + \LWR@formatted@checkname{#1}% + \LWR@formatted@checkendname{#1}% \ifcsundef{LWR@print@#1}{% \expandafter\LetLtxMacro\csname LWR@print@#1\expandafter\endcsname% \csname#1\endcsname% @@ -1582,6 +1790,8 @@ }% } \newcommand*{\LWR@expandableformattedenv}[1]{% + \LWR@formatted@checkname{#1}% + \LWR@formatted@checkendname{#1}% \ifcsundef{LWR@print@#1}{% \expandafter\LetLtxMacro\csname LWR@print@#1\expandafter\endcsname% \csname#1\endcsname% @@ -1639,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} @@ -1662,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} @@ -1676,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 @@ -1709,8 +1919,16 @@ \let\LWR@origbigskip\bigskip \let\LWR@origtextellipsis\textellipsis -\let\LWR@orig@textquotedbl\textquotedbl +\let\LWR@origvdots\vdots +\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 @@ -1721,13 +1939,6 @@ \let\LWR@origsp\sp \let\LWR@origsb\sb -\LetLtxMacro\LWR@origtextsuperscript\textsuperscript -\LetLtxMacro\LWR@orig@textsuperscript\@textsuperscript - -\AtBeginDocument{ -\LetLtxMacro\LWR@origtextsubscript\textsubscript -\LetLtxMacro\LWR@orig@textsubscript\@textsubscript -} \LetLtxMacro\LWR@origunderline\underline \let\LWR@orignewpage\newpage @@ -1770,39 +1981,57 @@ \begin{warpHTML} \AtBeginDocument{ -\LetLtxMacro\LWR@origt\t +\LetLtxMacro\LWR@origtie\t \ifPDFTeX% pdflatex or dvi latex -\LetLtxMacro\LWR@origequalaccent\= +\LetLtxMacro\LWR@origgraveaccent\` +\LetLtxMacro\LWR@origacuteaccent\' +\LetLtxMacro\LWR@origcircumflexaccent\^ +\LetLtxMacro\LWR@origtildeaccent\~ +\LetLtxMacro\LWR@origmacronaccent\= +\LetLtxMacro\LWR@origbreve\u \LetLtxMacro\LWR@origdotaccent\. -\LetLtxMacro\LWR@origu\u -\LetLtxMacro\LWR@origv\v -\LetLtxMacro\LWR@origc\c -\LetLtxMacro\LWR@origd\d -\LetLtxMacro\LWR@origb\b -\renewcommand*{\=}[1]{#1\HTMLunicode{0305}} -\renewcommand*{\.}[1]{#1\HTMLunicode{0307}} +\LetLtxMacro\LWR@origdiaeresisaccent\" +\LetLtxMacro\LWR@origdoubleacuteaccent\H +\LetLtxMacro\LWR@origcaronaccent\v +\LetLtxMacro\LWR@origdotbelowaccent\d +\LetLtxMacro\LWR@origcedillaaccent\c +\LetLtxMacro\LWR@origmacronbelowaccent\b +\renewcommand*{\`}[1]{#1\HTMLunicode{0300}} +\renewcommand*{\'}[1]{#1\HTMLunicode{0301}} +\renewcommand*{\^}[1]{#1\HTMLunicode{0302}} +\renewcommand*{\~}[1]{#1\HTMLunicode{0303}} +\renewcommand*{\=}[1]{#1\HTMLunicode{0304}} \renewcommand*{\u}[1]{#1\HTMLunicode{0306}} +\renewcommand*{\.}[1]{#1\HTMLunicode{0307}} +\renewcommand*{\"}[1]{#1\HTMLunicode{0308}} +\renewcommand*{\H}[1]{#1\HTMLunicode{030B}} \renewcommand*{\v}[1]{#1\HTMLunicode{030C}} -\renewcommand*{\c}[1]{#1\HTMLunicode{0327}} \renewcommand*{\d}[1]{#1\HTMLunicode{0323}} +\renewcommand*{\c}[1]{#1\HTMLunicode{0327}} \renewcommand*{\b}[1]{#1\HTMLunicode{0331}} \fi \def\LWR@t#1#2{#1\HTMLunicode{0361}#2} \renewcommand*{\t}[1]{\LWR@t#1} \ifPDFTeX% pdflatex or dvi latex \newcommand*{\LWR@restoreorigaccents}{% -\LetLtxMacro\=\LWR@origequalaccent% -\LetLtxMacro\.\LWR@origdotaccent% -\LetLtxMacro\u\LWR@origu% -\LetLtxMacro\v\LWR@origu% -\LetLtxMacro\t\LWR@origt% -\LetLtxMacro\c\LWR@origc% -\LetLtxMacro\d\LWR@origd% -\LetLtxMacro\b\LWR@origb% + \LetLtxMacro\`\LWR@origgraveaccent% + \LetLtxMacro\'\LWR@origacuteaccent% + \LetLtxMacro\^\LWR@origcircumflexaccent% + \LetLtxMacro\~\LWR@origtildeaccent% + \LetLtxMacro\=\LWR@origmacronaccent% + \LetLtxMacro\u\LWR@origbreve% + \LetLtxMacro\.\LWR@origdotaccent% + \LetLtxMacro\"\LWR@origdiaeresisaccent% + \LetLtxMacro\H\LWR@origdoubleacuteaccent% + \LetLtxMacro\v\LWR@origcaronaccent% + \LetLtxMacro\t\LWR@origtie% + \LetLtxMacro\d\LWR@origdotbelowaccent% + \LetLtxMacro\c\LWR@origcedillaaccent% + \LetLtxMacro\b\LWR@origmacronbelowaccent% }% \else% XeLaTeX, LuaLaTeX: \newcommand*{\LWR@restoreorigaccents}{% -\LetLtxMacro\t\LWR@origt% + \LetLtxMacro\t\LWR@origtie% }% \fi% }% AtBeginDocument @@ -1811,7 +2040,7 @@ -\excludecomment{LWRwriteconf} +\LWR@excludecomment{LWRwriteconf}{writeconf} \begin{warpprint} \fullexpandarg% \IfSubStr*{\jobname}{-pstool} @@ -1823,7 +2052,7 @@ } { \PackageInfo{lwarp}{Generating lwarp configuration files,}% - \includecomment{LWRwriteconf} + \LWR@includecomment{LWRwriteconf}{writeconf} } \end{warpprint} @@ -1856,9 +2085,12 @@ #1 \jobname#2% } \newcommand*{\LWR@unknownengine}{% - \PackageError{lwarp} - {Unknown LaTeX engine.} - {Lwarp only knows about pdflatex, dvi latex, xelatex, lualatex, and upLateX.} + \PackageError{lwarp}% + {Unknown LaTeX engine}% + {% + Lwarp only knows about pdflatex, DVI latex, + xelatex, lualatex, and upLateX.% + }% } \newcommand*{\LWR@latexmkvar}[2]{% -e @@ -1869,7 +2101,7 @@ \newcommand*{\LWR@latexmkcmd}[1]{% latexmk \space \LWR@shellescapecmd \space #1 \space -recorder \space - \LWR@latexmkvar{makeindex}{\LWR@LatexmkIndexCmd} + \LWR@latexmkvar{makeindex}{\LWR@LatexmkIndexCmd}% } \newcommand*{\LWR@latexmkdvipdfm}[1]{% -pdfdvi \space @@ -2037,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: */ @@ -2093,10 +2325,11 @@ span.sectionnumber { margin-right: 0em } span.indexitem {margin-left: 0em} span.indexsubitem {margin-left: 2em} span.indexsubsubitem {margin-left: 4em} +div.indexheading {margin-top: 2ex ; font-weight: bold} div.hidden, span.hidden { display: none ; } -kbd, span.texttt { +kbd, span.texttt, p span.texttt { font-family: "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", "Nimbus Mono L", "Liberation Mono", "FreeMono", "Andale Mono", "Courier New", monospace; @@ -2111,10 +2344,6 @@ span.textit, div.textit { font-style: italic; } span.textmd, div.textmd { font-weight: normal; } -span.texteb { font-weight: bolder; } - -span.textlg { font-weight: lighter; } - span.textup, div.textup { font-style: normal; font-variant: normal; @@ -2143,6 +2372,50 @@ span.textsf, div.textsf { Geneva, Verdana, sans-serif ; } +/* nfssext-cfr lining figures */ +span.textln, div.textln { + font-variant-numeric: lining-nums ; +} + +/* nfssext-cfr proportional figures */ +span.textp, div.textp { + font-variant-numeric: proportional-nums ; +} + +/* nfssext-cfr tabular figures */ +span.textt, div.textt { + font-variant-numeric: tabular-nums ; +} + +/* nfssext-cfr font weights */ +span.textdb, div.textdb { + font-weight: 500 ; +} + +span.textsb, div.textsb { + font-weight: 600 ; +} + +span.texteb, div.texteb { + font-weight: 800 ; +} + +span.textub, div.textub { + font-weight: 900 ; +} + +span.textlg, div.textlg { + font-weight: 300 ; +} + +span.textel, div.textel { + font-weight: 200 ; +} + +span.textul, div.textul { + font-weight: 100 ; +} + span.textcircled { border: 1px solid black ; border-radius: 1ex ; } span.underline { @@ -2155,6 +2428,8 @@ span.overline { text-decoration-skip: auto ; } +div.hrule { border-top: 1px solid silver } + /* for vertical text: */ div.verticalrl { writing-mode: vertical-rl } div.horizontaltb { writing-mode: horizontal-tb } @@ -2183,16 +2458,16 @@ div.diagboxW { .supsubscript sub { position: relative; display: block; - font-size: .5em; + font-size: .7em; line-height: 1; } .supsubscript sup { - top: .5em; + top: .3em; } .supsubscript sub { - top: .5em; + top: .3em; } div.attribution p { @@ -2270,7 +2545,7 @@ div.epigraph p, div.dictum p { padding: .5ex ; margin: 0ex ;} div.epigraphsource p, div.dictumauthor p { padding: .5ex 0ex 0ex 0ex ; margin: 0ex ;} div.dictumauthor { font-style:italic } -/* copyrightbox package */ +/* copyrightbox package: */ div.copyrightbox { margin: .5ex .5em } div.copyrightbox p {margin: 0px .5em ; padding: 0px} div.copyrightboxnote {text-align: left ; font-size: 60%} @@ -2331,6 +2606,12 @@ span.capsspacing { span.highlight { background: #F8E800 ; } +/* keystroke package: */ +span.keystroke { + border-style: outset ; + padding: 0pt .5em 0pt .5em ; +} + html body { margin: 0 ; line-height: 1.2; @@ -2474,7 +2755,7 @@ div.bodywithoutsidetoc div.bodycontainer { } section.textbody div.footnotes{ - margin: 3ex 2em 0ex 2em ; + margin: 3ex 2em .5ex 2em ; border-bottom: 2px solid silver ; } @@ -2654,6 +2935,7 @@ div.wpminipage { border: 1px solid green ; margin: .5ex ; padding: .5ex ;} .minipage, .fminipage, .fcolorminipage { /* display: inline-block ; */ /* Mini pages which follow each other will be tiled. */ + text-align:left; margin: .25em .25em .25em .25em; padding: .25em .25em .25em .25em; display: inline-flex; @@ -2715,20 +2997,33 @@ div.wpminipage { border: 1px solid green ; margin: .5ex ; padding: .5ex ;} display: inline-block ; } -.mdframed { +/* mdframed, tcolorbox, shadebox packages */ +.mdframed, .tcolorbox, .shadebox { padding: 0ex ; margin: 2ex 0em 2ex 0em ; + border: 1px solid black ; +} + +.tcolorbox { + border-radius: 10pt ; + margin: 2ex 1em 2ex 1em ; } -.mdframed p { padding: 0ex .5em 0ex .5em ; } +.mdframed p, .tcolorbox p { padding: 0ex .5em 0ex .5em ; } -.mdframed dl { padding: 1ex .5em 0ex .5em ; } +.mdframed dl, .tcolorbox dl { padding: 1ex .5em 0ex .5em ; } -.mdframedtitle { +.mdframedtitle, .tcolorboxtitle { padding: .5ex 0pt 0pt 0pt ; border-radius: 10pt 10pt 0pt 0pt ; display: block ; margin-bottom: 1ex ; + border-bottom: 1px solid silver ; +} + +.tcolorboxsubtitle .tcolorbox { + margin: 2ex 0em 2ex 0em ; + border-radius: 0pt ; } .mdframedsubtitle { @@ -2828,7 +3123,10 @@ dl dd:after { content: "" ; display: block ; clear: both } dl dd p { margin-top: 0em; } -dd ul, dd ol, dd dl { clear: both ; padding-top: 1ex } +dd ul, dd ol, dd dl { + clear: both ; +/* padding-top: 1ex ; */ +} nav { font-family: "URW Classico", Optima, "Linux Biolinum O", @@ -3125,6 +3423,26 @@ span.verbatim { "Courier New", monospace; } +div.titlehead +{ + text-align: left ; + font-style: normal ; + font-weight: normal ; + font-style: normal ; + font-size: .8em ; + margin: 1ex 0em 1ex 0em ; +} + +div.subject +{ + text-align: center ; + font-style: normal ; + font-weight: bold ; + font-style: normal ; + font-size: .8em ; + margin: 1ex 0em 1ex 0em ; +} + div.published { text-align: center ; @@ -3215,6 +3533,7 @@ footer { text-align:left ; } +/* for \LinkHome, \LinkPrevious, and \LinkNext: */ a.linkhome { font-weight:bold ; font-size: 1em ;} div.lateximagesource { padding: 0px ; margin: 0px ; display: none; } @@ -3326,8 +3645,13 @@ nav .authorartist{ display:inline; } /* Native LaTeX theorems: */ -.theoremcontents { font-style: italic; margin-top: 3ex ; margin-bottom: 3ex ; } -.theoremlabel { font-style: normal; font-weight: bold ; margin-right: .5em ; } +.theoremcontents { + font-style: italic; margin-top: 3ex ; margin-bottom: 3ex ; +} + +.theoremlabel { + font-style: normal; font-weight: bold ; margin-right: .5em ; +} /* theorem, amsthm, and ntheorem packages */ @@ -3396,6 +3720,33 @@ div.amsthmproof span.amsthmnoteremark {} +/* thmbox */ + +.thmbox { + font-style: italic; margin-top: 3ex ; margin-bottom: 3ex ; + border: 1px solid gray ; + padding: 1ex ; +} + +.thmboxtitle { + font-style: normal; font-weight: bold ; margin-right: .5em ; + border-bottom: 1px solid gray ; +} + +span.thmboxproofname, span.thmboxexamplename { + font-weight: bold ; +} + +div.thmboxproof, div.thmboxexample { + font-size: 0.85em ; + margin: 2ex ; +} + +div.thmboxleftbar { + border-left: 2px solid black ; + padding-left: 1em ; +} + /* For the backnaur package: */ div.backnaur { display: block ; @@ -3440,6 +3791,9 @@ span.nolbreaks { white-space: nowrap ; } /* For CSS LaTeX and related logos: Based on spacing demonstrated by the metafont package. + +The subscripts are shrunk instead of lowered below the baseline, +to avoid browser rendering errors with the line height in lists, etc. */ .latexlogofont { @@ -3451,7 +3805,6 @@ Based on spacing demonstrated by the metafont package. .latexlogo { font-family: "Linux Libertine O", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; - font-size: 1.1em; } .latexlogosup { @@ -3465,10 +3818,11 @@ Based on spacing demonstrated by the metafont package. .latexlogosub { text-transform: uppercase; - vertical-align: -0.27ex; +/* vertical-align: -0.27ex; */ margin-left: -0.08em; margin-right: -0.07em; - font-size: 1em; +/* font-size: 1em; */ + font-size: .7em ; } .latexlogotwoe { @@ -3478,24 +3832,25 @@ Based on spacing demonstrated by the metafont package. .latexlogotwoesub { font-style:italic ; - vertical-align: -0.27ex; +/* vertical-align: -0.27ex; */ margin-left: -0.11em; margin-right: -0.1em; - font-size: 1em; +/* font-size: 1em; */ + font-size: .7em ; } .xelatexlogo { font-family: "Linux Libertine O", "Nimbus Roman No 9 L", "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; letter-spacing: .03em ; - font-size: 1.1em; } .xelatexlogosub { - vertical-align: -0.27ex; +/* vertical-align: -0.27ex; */ margin-left: -0.0667em; margin-right: -.05em; - font-size: 1em; +/* font-size: 1em; */ + font-size: .7em ; letter-spacing: .03em ; } @@ -3532,6 +3887,7 @@ span.sidetocthetitle { display: none } box-shadow: none ; } span.sidetocthetitle { display: inline } + nav.topnavigation { display:block } nav.botnavigation { display:block } div.bodycontainer { width: 100% } .marginpar { @@ -4090,114 +4446,218 @@ page_compositor "." \end{LWRwriteconf} + \begin{LWRwriteconf} \begin{filecontents*}[overwrite]{lwarp_mathjax.txt} -<!-- https://groups.google.com/forum/#!topic/ - mathjax-users/jUtewUcE2bY --> -<script type="text/x-mathjax-config"> -MathJax.Hub.Register.StartupHook("TeX AMSmath Ready",function () { - var seteqsectionDefault = {name: "", num: 0}; - var seteqsections = {}, seteqsection = seteqsectionDefault; - var TEX = MathJax.InputJax.TeX, PARSE = TEX.Parse; - var AMS = MathJax.Extension["TeX/AMSmath"]; - TEX.Definitions.Add({ - macros: { - seteqsection: "mySection", - seteqnumber: "mySetEqNumber" - } - }); - - PARSE.Augment({ - mySection: function (name) { - seteqsection.num = AMS.number; - var n = this.GetArgument(name); - if (n === "") { - seteqsection = seteqsectionDefault; - } else { - if (!seteqsections["_"+n]) - seteqsections["_"+n] = {name:n, num:0}; - seteqsection = seteqsections["_"+n]; +<script> +// Lwarp MathJax emulation code +// +// Based on code by Davide P. Cervone. +// Equation numbering: https://github.com/mathjax/MathJax/issues/2427 +// Starred and ifnextchar macros: https://github.com/mathjax/MathJax/issues/2428 +// \left, \right delimiters: https://github.com/mathjax/MathJax/issues/2535 +// +// Modified by Brian Dunn to adjust equation numbering and add subequations. +// +// LaTeX can use \seteqnumber{subequations?}{section}{number} before each equation. +// subequations? is 0 usually, 1 if inside subequations. +// section is a string printed as-is, or empty. +// number is auto-incremented by MathJax between equations. +// +MathJax = { + subequations: "0", + section: "", + loader: { + load: ['[tex]/tagformat', '[tex]/textmacros'], + }, + startup: { + ready() { + // These would be replaced by import commands if you wanted to make + // a proper extension. + const Configuration = MathJax._.input.tex.Configuration.Configuration; + const CommandMap = MathJax._.input.tex.SymbolMap.CommandMap; + const Macro = MathJax._.input.tex.Symbol.Macro; + const TexError = MathJax._.input.tex.TexError.default; + const ParseUtil = MathJax._.input.tex.ParseUtil.default; + const expandable = MathJax._.util.Options.expandable; + + // Insert the replacement string into the TeX string, and check + // that there haven't been too many maxro substitutions (prevents + // infinite loops). + const useArgument = (parser, text) => { + parser.string = ParseUtil.addArgs(parser, text, parser.string.slice(parser.i)); + parser.i = 0; + if (++parser.macroCount > parser.configuration.options.maxMacros) { + throw new TexError('MaxMacroSub1', + 'MathJax maximum macro substitution count exceeded; ' + + 'is there a recursive macro call?'); } - AMS.number = seteqsection.num; - }, - mySetEqNumber: function (name) { - var n = this.GetArgument(name); - if (!n || !n.match(/^ *[0-9]+ *$/)) - n = ""; - else - n = parseInt(n)-1; - <!-- $ syntax highlighting --> - if (n === "" || n < 1) - TEX.Error - ("Argument to "+name+" should be a positive integer"); - AMS.number = n; - } - }); - MathJax.Hub.Config({ - TeX: { - equationNumbers: { - formatTag: function (n) { - <!-- if not numeric, don't include the chapter --> - if (!n.match(/^ *[0-9]+ *$/ )) - <!-- $ syntax highlighting --> - return "("+(n).replace(/^\./,"")+")" ; - else - return "("+(seteqsection.name+"."+n).replace(/^\./,"")+")" ; - }, - formatID: function (n) { - n = (seteqsection.name+'.'+n).replace - (/[:"'<>&]/g,"").replace(/^\./,""); - return 'mjx-eqn-' + n; - } + } + + // 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. + IfstarFunction(parser, name) { + const resultstar = parser.GetArgument(name); + const resultnostar = parser.GetArgument(name); + const star = parser.GetStar(); // true if there is a * + useArgument(parser, star ? resultstar : resultnostar); + }, + + // This function implements an ifnextchar macro. + IfnextcharFunction(parser, name) { + let whichchar = parser.GetArgument(name); + if (whichchar.match(/^(?:0x[0-9A-F]+|[0-9]+)$/i)) { + // $ syntax highlighting + whichchar = String.fromCodePoint(parseInt(whichchar)); + } + const resultnextchar = parser.GetArgument(name); + const resultnotnextchar = parser.GetArgument(name); + const gotchar = (parser.GetNext() === whichchar); + 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 + const star = parser.GetStar(); // true if there is a * + const optBrackets = parser.GetBrackets(name); // contents of optional brackets + const newsubequations = parser.GetArgument(name); // the subequations argument + const neweqsection = parser.GetArgument(name); // the eq section argument + const neweqnumber = parser.GetArgument(name); // the eq number argument + MathJax.config.subequations=newsubequations ; // a string with boolean meaning + MathJax.config.section=neweqsection ; // a string with numeric meaning + parser.tags.counter = parser.tags.allCounter = neweqnumber ; } - } - }); -}); -</script> -<!-- http://docs.mathjax.org/en/latest/options/ThirdParty.html --> -<script type="text/x-mathjax-config"> - MathJax.Ajax.config.path["Contrib"] = - "https://cdn.mathjax.org/mathjax/contrib"; -</script> + }); -<script type="text/x-mathjax-config"> -MathJax.Hub.Config({ - TeX: { - extensions: ["autoload-all.js"] , - equationNumbers: { - autoNumber: "AMS" - } - } -}); -</script> + // Create the Lwarp-macros package + Configuration.create('Lwarp-macros', { + handler: {macro: ['Lwarp-macros']} + }); -<!-- Alternative CDN provider: --> -<script type="text/javascript" async -src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-AMS_HTML-full"> -</script> + MathJax.startup.defaultReady(); -<!-- No longer supported after April 30, 2017: --> -<!-- -<script - src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full"> + // For forward references: + MathJax.startup.input[0].preFilters.add(({math}) => { + if (math.inputData.recompile){ + MathJax.config.subequations = math.inputData.recompile.subequations; + MathJax.config.section = math.inputData.recompile.section; + } + }); + MathJax.startup.input[0].postFilters.add(({math}) => { + if (math.inputData.recompile){ + math.inputData.recompile.subequations = MathJax.config.subequations; + math.inputData.recompile.section = MathJax.config.section; + } + }); + + // For \left, \right with unicode-math: + const {DelimiterMap} = MathJax._.input.tex.SymbolMap; + const {Symbol} = MathJax._.input.tex.Symbol; + const {MapHandler} = MathJax._.input.tex.MapHandler; + const delimiter = MapHandler.getMap('delimiter'); + delimiter.add('\\lBrack', new Symbol('\\lBrack', '\u27E6')); + delimiter.add('\\rBrack', new Symbol('\\rBrack', '\u27E7')); + delimiter.add('\\lAngle', new Symbol('\\lAngle', '\u27EA')); + delimiter.add('\\rAngle', new Symbol('\\rAngle', '\u27EB')); + delimiter.add('\\lbrbrak', new Symbol('\\lbrbrak', '\u2772')); + delimiter.add('\\rbrbrak', new Symbol('\\rbrbrak', '\u2773')); + delimiter.add('\\lbag', new Symbol('\\lbag', '\u27C5')); + delimiter.add('\\rbag', new Symbol('\\rbag', '\u27C6')); + delimiter.add('\\llparenthesis', new Symbol('\\llparenthesis', '\u2987')); + delimiter.add('\\rrparenthesis', new Symbol('\\rrparenthesis', '\u2988')); + delimiter.add('\\llangle', new Symbol('\\llangle', '\u2989')); + delimiter.add('\\rrangle', new Symbol('\\rrangle', '\u298A')); + delimiter.add('\\Lbrbrak', new Symbol('\\Lbrbrak', '\u27EC')); + delimiter.add('\\Rbrbrak', new Symbol('\\Rbrbrak', '\u27ED')); + delimiter.add('\\lBrace', new Symbol('\\lBrace', '\u2983')); + delimiter.add('\\rBrace', new Symbol('\\rBrace', '\u2984')); + delimiter.add('\\lParen', new Symbol('\\lParen', '\u2985')); + delimiter.add('\\rParen', new Symbol('\\rParen', '\u2986')); + delimiter.add('\\lbrackubar', new Symbol('\\lbrackubar', '\u298B')); + delimiter.add('\\rbrackubar', new Symbol('\\rbrackubar', '\u298C')); + delimiter.add('\\lbrackultick', new Symbol('\\lbrackultick', '\u298D')); + delimiter.add('\\rbracklrtick', new Symbol('\\rbracklrtick', '\u298E')); + delimiter.add('\\lbracklltick', new Symbol('\\lbracklltick', '\u298F')); + delimiter.add('\\rbrackurtick', new Symbol('\\rbrackurtick', '\u2990')); + delimiter.add('\\langledot', new Symbol('\\langledot', '\u2991')); + delimiter.add('\\rangledot', new Symbol('\\rangledot', '\u2992')); + delimiter.add('\\lparenless', new Symbol('\\lparenless', '\u2993')); + delimiter.add('\\rparengtr', new Symbol('\\rparengtr', '\u2994')); + delimiter.add('\\Lparengtr', new Symbol('\\Lparengtr', '\u2995')); + delimiter.add('\\Rparenless', new Symbol('\\Rparenless', '\u2996')); + delimiter.add('\\lblkbrbrak', new Symbol('\\lblkbrbrak', '\u2997')); + delimiter.add('\\rblkbrbrak', new Symbol('\\rblkbrbrak', '\u2998')); + delimiter.add('\\lvzigzag', new Symbol('\\lvzigzag', '\u29D8')); + delimiter.add('\\rvzigzag', new Symbol('\\rvzigzag', '\u29D9')); + delimiter.add('\\Lvzigzag', new Symbol('\\Lvzigzag', '\u29DA')); + delimiter.add('\\Rvzigzag', new Symbol('\\Rvzigzag', '\u29DB')); + delimiter.add('\\lcurvyangle', new Symbol('\\lcurvyangle', '\u29FC')); + delimiter.add('\\rcurvyangle', new Symbol('\\rcurvyangle', '\u29FD')); + delimiter.add('\\Vvert', new Symbol('\\Vvert', '\u2980')); + } // ready + }, // startup + + tex: { + packages: {'[+]': ['tagformat', 'Lwarp-macros', 'textmacros']}, + tags: "ams", + tagformat: { + number: function (n) { + if(MathJax.config.subequations==0) + return(MathJax.config.section + n); + else + return(MathJax.config.section + String.fromCharCode(96+n)); + }, + }, + } +} </script> ---> +<script + id="MathJax-script" + src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js" +></script> \end{filecontents*} \end{LWRwriteconf} - -\begin{LWR@createlwarpmk} +\begin{LWRcreatelwarpmk} \begin{filecontents*}[overwrite]{lwarpmk.lua} #!/usr/bin/env texlua --- Copyright 2016-2020 Brian Dunn +-- Copyright 2016-2021 Brian Dunn -printversion = "v0.83" +printversion = "v0.895" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -4227,10 +4687,11 @@ lwarpmk pdftohtml [-p project]: lwarpmk pdftosvg <list of file names>: Converts each PDF file to SVG. lwarpmk epstopdf <list of file names>: Converts each EPS file to PDF. lwarpmk clean [-p project]: Remove *.aux, *.toc, *.lof/t, - *.idx, *.ind, *.log, *_html_inc.*, .gl*, + *.idx, *.ind, *.bbl, *.log, *_html_inc.*, .gl*, *_html.pdf, *_html.html, *_html.sidetoc lwarpmk cleanall [-p project]: Remove auxiliary files, project.pdf, *.html lwarpmk cleanlimages: Removes all images from the "lateximages" directory. +lwarpmk -v: Print the version number. lwarpmk -h: Print this help message. lwarpmk --help: Print this help message. @@ -4574,12 +5035,13 @@ function removeaux () -- Remove auxiliary files: -- All .aux files are removed since there may be many bbl*.aux files. -- Also removes sourcename_html.pdf, sourcename_html.html, --- and sourcename_html.sidetoc. +-- and sourcename_html.sidetoc, plus comment_*.cut. -- os.execute ( rmname .. " *.aux " .. sourcename ..".toc " .. sourcename .. "_html.toc " .. sourcename ..".lof " .. sourcename .. "_html.lof " .. sourcename ..".lot " .. sourcename .. "_html.lot " .. + sourcename ..".bbl " .. sourcename .. "_html.bbl " .. " *.idx " .. " *.ind " .. sourcename ..".ps " .. sourcename .."_html.ps " .. @@ -4588,7 +5050,8 @@ os.execute ( rmname .. " *.aux " .. sourcename .. "_html.pdf " .. sourcename .. "_html.html " .. sourcename .. "_html.sidetoc " .. - " *_html_inc.* " + " *_html_inc.* " .. + " comment_*.cut" ) end @@ -5085,6 +5548,12 @@ print ("lwarpmk: Done.") elseif (arg[1] == nil) then printhelp () +-- lwarpmk -v: + +elseif (arg[1] == "-v" ) then +-- The version number has already been printed +-- by the lwarpmk intro. + -- lwarpmk -h or lwarpmk --help : elseif (arg[1] == "-h" ) or (arg[1] == "--help") then @@ -5099,7 +5568,7 @@ end end -- not --version \end{filecontents*} -\end{LWR@createlwarpmk} +\end{LWRcreatelwarpmk} \begin{warpHTML} @@ -5267,7 +5736,7 @@ end -- not --version \let\LWR@origampersand\& \newcommand*{\HTMLentity}[1]{% \begingroup% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@origampersand#1;% \endgroup% } @@ -5293,7 +5762,7 @@ end -- not --version \providecommand*{\HomeHTMLFilename}{\BaseJobname} \newcommand*{\SetHTMLFileNumber}[1]{% -\setcounter{LWR@htmlfilenumber}{#1}% + \setcounter{LWR@htmlfilenumber}{#1}% } \newbool{FileSectionNames} @@ -5303,6 +5772,15 @@ end -- not --version \begin{warpHTML} +\newcounter{LWR@HTMLpagenum} +\setcounter{LWR@HTMLpagenum}{0} + +\newcounter{LWR@htmlseqfilenumber} +\setcounter{LWR@htmlseqfilenumber}{0} + +\newbool{LWR@setseqfilelabel} +\setbool{LWR@setseqfilelabel}{false} + \newcounter{LWR@htmlfilenumber} \setcounter{LWR@htmlfilenumber}{0} @@ -5312,29 +5790,31 @@ end -- not --version \LWR@disablepinyin% \LWR@sanitize{#1}% \LWR@traceinfo{about to compare with ??}% -\ifthenelse{\equal{\LWR@sanitized}{??}}% +\ifdefstring{\LWR@sanitized}{??} {\LWR@traceinfo{found ??}}% {\LWR@traceinfo{not found ??}}% \LWR@traceinfo{about to compare with zero or empty}% -\ifthenelse{% - \equal{\LWR@sanitized}{0}% - \OR \equal{\LWR@sanitized}{}% - \OR \equal{\LWR@sanitized}{??}% -}% +\ifboolexpr{ + test {\ifdefstring{\LWR@sanitized}{0}} or + test {\ifdefstring{\LWR@sanitized}{}} or + test {\ifdefstring{\LWR@sanitized}{??}} +} {% \LWR@traceinfo{LWR@htmlsectionfilename B \HomeHTMLFilename.html}% \HomeHTMLFilename.html% }% {% \LWR@traceinfo{LWR@htmlsectionfilename C \LWR@sanitized}% - \ifthenelse{% - \equal{\HTMLFilename}{} \AND - \equal{\LWR@sanitized}{Index} \OR - \equal{\LWR@sanitized}{index}% + \ifboolexpr{ + test{\ifdefvoid{\HTMLFilename}} and + ( + test{\ifdefstring{\LWR@sanitized}{Index}} or + test{\ifdefstring{\LWR@sanitized}{index}} + ) }% {% - \LWR@traceinfo{Prefixing the index name with an underscore.}% - \_\LWR@sanitized.html% + \LWR@traceinfo{Adding a zero to the index filename.}% + \LWR@sanitized-0.html% }% {% \HTMLFilename\LWR@isolate{\LWR@sanitized}.html% @@ -5345,12 +5825,12 @@ end -- not --version } \newcommand*{\LWR@htmlrefsectionfilename}[1]{% -\LWR@traceinfo{LWR@htmlrefsectionfilename: !\detokenize{#1}!}% -\begingroup% -\LWR@nullfonts% -\LWR@htmlsectionfilename{\LWR@htmlfileref{#1}}% -\endgroup% -\LWR@traceinfo{LWR@htmlrefsectionfilename: done}% + \LWR@traceinfo{LWR@htmlrefsectionfilename: !\detokenize{#1}!}% + \begingroup% + \LWR@nullfonts% + \LWR@htmlsectionfilename{\LWR@htmlfileref{#1}}% + \endgroup% + \LWR@traceinfo{LWR@htmlrefsectionfilename: done}% } \end{warpHTML} @@ -5365,7 +5845,7 @@ end -- not --version \begin{warpHTML} \newcommand*{\LinkHome}{% -\LWR@subhyperrefclass{\HomeHTMLFilename.html}{\linkhomename}{linkhome}% + \LWR@subhyperrefclass{\HomeHTMLFilename.html}{\linkhomename}{linkhome}% } \end{warpHTML} @@ -5390,12 +5870,63 @@ end -- not --version \begin{warpHTML} -\newcommand*{\LWR@topnavigation}{ -\LWR@htmlelementclassline{nav}{topnavigation}{\LinkHome} +\newcommand*{\LWR@topnavigation}{% + \LWR@htmlelementclassline{nav}{topnavigation}{\LinkHome} +} + +\newcommand*{\LWR@botnavigation}{% + \LWR@htmlelementclassline{nav}{botnavigation}{\LinkHome} +} + +\end{warpHTML} + + +\begin{warpall} + +\newcommand*{\linkpreviousname}{Previous} + +\newcommand*{\linknextname}{Next} + +\end{warpall} + +\begin{warpprint} + +\newcommand*{\LinkPrevious}{} + +\newcommand*{\LinkNext}{} + +\end{warpprint} + +\begin{warpHTML} + +\newcommand*{\LinkPrevious}{% + \ifnumless{\value{LWR@htmlseqfilenumber}}{1}{}{% + \setcounter{LWR@tempcountone}{\value{LWR@htmlseqfilenumber}-1}% + \LWR@subhyperrefclass{% + \LWR@htmlrefsectionfilename{% + \BaseJobname-autofile-\arabic{LWR@tempcountone}% + }% + }{\linkpreviousname}{linkhome}% + }% } -\newcommand*{\LWR@botnavigation}{ -\LWR@htmlelementclassline{nav}{botnavigation}{\LinkHome} +\newcommand*{\LinkNext}{% + \ifcsdef{r@\BaseJobname-autofile-last@lwarp}{% + \edef\LWR@tempone{% + \LWR@htmlfileref{\BaseJobname-autofile-\arabic{LWR@htmlseqfilenumber}}% + }% + \edef\LWR@temptwo{% + \LWR@htmlfileref{\BaseJobname-autofile-last}% + }% + \ifdefequal{\LWR@tempone}{\LWR@temptwo}{}{% + \setcounter{LWR@tempcountone}{\value{LWR@htmlseqfilenumber}+1}% + \LWR@subhyperrefclass{% + \LWR@htmlrefsectionfilename{% + \BaseJobname-autofile-\arabic{LWR@tempcountone}% + }% + }{\linknextname}{linkhome}% + }% + }{}% } \end{warpHTML} @@ -5462,8 +5993,14 @@ end -- not --version \newcommand{\LWR@forcenewpage}{% \LWR@traceinfo{LWR@forcenewpage}% \ifinner\else% -\LWR@stoppars\LWR@orignewpage\LWR@startpars% + \LWR@traceinfo{LWR@forcenewpage A}% + \LWR@stoppars% + \LWR@traceinfo{LWR@forcenewpage B}% + \LWR@maybe@orignewpage% + \LWR@traceinfo{LWR@forcenewpage C}% + \LWR@startpars% \fi% +\LWR@traceinfo{LWR@forcenewpage done}% } \renewcommand*{\pagestyle}[1]{} \renewcommand*{\thispagestyle}[1]{} @@ -5481,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} @@ -5493,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}{} @@ -5508,6 +6047,7 @@ end -- not --version {}% {% \LetLtxMacro\LWR@FBcancel\NoAutoSpacing% + \appto{\LWR@hook@processingtags}{\LWR@FBcancel}% }% \@ifundefined{frenchbsetup}% @@ -5516,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% }% @@ -5565,14 +6105,32 @@ end -- not --version \newcommand*{\LWR@htmltagc}[1]{% \LWR@traceinfo{LWR@htmltagc !\detokenize{#1}!}% \begingroup% -\LWR@FBcancel% -\ifmmode\else\protect\LWR@origttfamily\fi% +\LWR@hook@processingtags% +\ifmmode\else\protect\LWR@print@normalfont\protect\LWR@origttfamily\fi% \protect\LWR@origtextless% \LWR@isolate{#1}% \protect\LWR@origtextgreater% \endgroup% } +\newcommand*{\LWR@spanwarnformat}[1]{% + \ifnumcomp{\value{LWR@spandepth}}{>}{0}{% + \PackageWarning{lwarp}{% + A #1 is being used inside a span.\MessageBreak + Formatting may be lost,% + }% + }{}% +} + +\newcommand*{\LWR@spanwarninvalid}[1]{% + \ifnumcomp{\value{LWR@spandepth}}{>}{0}{% + \PackageWarning{lwarp}{% + A #1 is being used inside a span.\MessageBreak + This generates invalid HTML,% + }% + }{}% +} + \newcommand*{\LWR@nestspanitem}{% \if@newlist\else{\LWR@htmltagc{br /}}\fi% \LWR@origitem% @@ -5589,10 +6147,15 @@ end -- not --version \LWR@traceinfo{LWR@nestspan: NOT inside a lateximage}% \addtocounter{LWR@spandepth}{1}% \RenewDocumentEnvironment{minipage}{O{t} o O{t} m}% - {\LWR@subhtmlelementclass{span}{inlineminipage}}% - {\LWR@htmltagc{/span}}% - \RenewDocumentEnvironment{BlockClass}{o m}{}{}% - \renewcommand{\BlockClassSingle}[2]{##2}% + {\LWR@spanwarnformat{minipage or \protect\parbox}}% + {}% + \RenewDocumentEnvironment{BlockClass}{o m}% + {\LWR@spanwarnformat{multi-paragraph object}}% + {}% + \renewcommand{\BlockClassSingle}[2]{% + {\LWR@spanwarnformat{multi-paragraph object}}% + ##2% + }% \renewcommand{\LWR@forcenewpage}{}% \renewcommand{\LWR@liststart}{% \let\item\LWR@nestspanitem% @@ -5642,8 +6205,8 @@ end -- not --version \newcommand*{\LWR@htmlopencomment}{% {% \begingroup% -\LWR@FBcancel% -\ifmmode\else\protect\LWR@origttfamily\fi% +\LWR@hook@processingtags% +\ifmmode\else\protect\LWR@print@normalfont\protect\LWR@origttfamily\fi% \LWR@print@mbox{\LWR@origtextless{}!-\/-}% \endgroup% }% @@ -5652,20 +6215,25 @@ end -- not --version \newcommand*{\LWR@htmlclosecomment}{% {% \begingroup% -\LWR@FBcancel% -\ifmmode\else\protect\LWR@origttfamily\fi% +\LWR@hook@processingtags% +\ifmmode\else\protect\LWR@print@normalfont\protect\LWR@origttfamily\fi% \LWR@print@mbox{-\/-\LWR@origtextgreater}% \endgroup% }% } \newcommand{\LWR@htmlcomment}[1]{% -\LWR@htmlopencomment{}% -{% -\LWR@origttfamily% break ligatures -#1% -}% -\LWR@htmlclosecomment{}} +\ifmmode% +\else% + \LWR@htmlopencomment{}% + {% + \LWR@print@normalfont% + \LWR@origttfamily% break ligatures + #1% + }% + \LWR@htmlclosecomment{}% +\fi% +} \newcommand{\LWR@htmlblockcomment}[1] {\LWR@stoppars\LWR@htmlcomment{#1}\LWR@startpars} @@ -5679,16 +6247,16 @@ end -- not --version \NewDocumentCommand{\LWR@subhtmlelementclass}{m O{} m}{% \LWR@traceinfo{LWR@subhtmlelementclass !#1!#2!#3!}% \ifblank{#2}% -{% empty option +{% empty style \LWR@htmltag{% - #1 % space - class=\textquotedbl#3\textquotedbl\ % space + #1% + \ifblank{#3}{}{ class=\textquotedbl#3\textquotedbl\ }% spaces }% }% -{% non-empty option +{% non-empty style \LWR@htmltag{% #1\LWR@indentHTML% - class=\textquotedbl#3\textquotedbl\LWR@indentHTML% + \ifblank{#3}{}{class=\textquotedbl#3\textquotedbl\LWR@indentHTML}% style=\textquotedbl#2\textquotedbl\LWR@orignewline% }% }% @@ -5748,12 +6316,12 @@ end -- not --version \NewDocumentEnvironment{BlockClass}{o m}{}{}% \end{warpprint} \begin{warpHTML} + \NewDocumentEnvironment{LWR@print@BlockClass}{o m}{}{}% + \NewDocumentEnvironment{LWR@HTML@BlockClass}{o m}% -{% - \LWR@htmldivclass[#1]{#2}% -} -{\LWR@htmldivclassend{#2}} + {\LWR@htmldivclass[#1]{#2}} + {\LWR@htmldivclassend{#2}} \LWR@formattedenv{BlockClass} \end{warpHTML} @@ -5762,7 +6330,7 @@ end -- not --version \end{warpall} \begin{warpHTML} \newcommand{\LWR@HTML@BlockClassSingle}[2]{% -\LWR@htmlelementclassline{div}{#1}{#2}% + \LWR@htmlelementclassline{div}{#1}{#2}% } \LWR@formatted{BlockClassSingle} @@ -5947,7 +6515,10 @@ end -- not --version \newcommand*{\LWR@startpars}% {% -\ifnumcomp{\value{LWR@spandepth}}{>}{0}% +\ifboolexpr{ + test {\ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}} or + test {\ifnumcomp{\value{LWR@spandepth}}{>}{0}} +}% {}% {% \ifbool{LWR@doingstartpars}% @@ -5964,7 +6535,10 @@ end -- not --version \newcommand*{\LWR@stoppars}% {% -\ifnumcomp{\value{LWR@spandepth}}{>}{0}% +\ifboolexpr{ + test {\ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}} or + test {\ifnumcomp{\value{LWR@spandepth}}{>}{0}} +}% {}% {% \ifbool{LWR@doingapar}% @@ -5989,8 +6563,8 @@ end -- not --version \begin{warpHTML} \AtBeginDocument{ -\def\@afterindentfalse{\let\if@afterindent\iffalse} -\@afterindentfalse + \def\@afterindentfalse{\let\if@afterindent\iffalse} + \@afterindentfalse } \let\LWR@afterindent@syntaxhighlight\fi% syntax highlighting @@ -6000,11 +6574,15 @@ end -- not --version \begin{warpall} \newcommand{\LWR@firstpagetop}{} % for the home page alone +\newcommand{\LWR@firstpagebottom}{} % for the home page alone \newcommand{\LWR@pagetop}{} % for all other pages \newcommand{\LWR@pagebottom}{} \newcommand{\HTMLFirstPageTop}[1]{% \renewcommand{\LWR@firstpagetop}{#1}% } +\newcommand{\HTMLFirstPageBottom}[1]{% + \renewcommand{\LWR@firstpagebottom}{#1}% +} \newcommand{\HTMLPageTop}[1]{% \renewcommand{\LWR@pagetop}{#1}% } @@ -6158,7 +6736,7 @@ end -- not --version \LWR@traceinfo{@mpfootnotetext: done}% } \AtBeginDocument{ -\def\thempfootnote{\@alph\c@mpfootnote} + \def\thempfootnote{\@alph\c@mpfootnote} } \newcommand*{\LWR@@printpendingfootnotes}[1]{% \expandafter\ifvoid\csname LWR@#1box\endcsname\else @@ -6286,6 +6864,20 @@ end -- not --version }% } +\newcommand*{\LWR@avoiddupfilenames}{% + To avoid duplicate filenames, use the optional\MessageBreak + short Table of Contents entry:\MessageBreak + \space\space\protect\section[Unique name, no math]{Name with math}% + \MessageBreak + or use \protect\texorpdfstring, from the hyperref package:\MessageBreak + \space\space% + \protect\section{\MessageBreak + \space\space\space\space\protect\texorpdfstring\MessageBreak + \space\space\space\space\space\space% + {Name with math}{Unique name, no math}\MessageBreak + \space\space} +} + \newcommand*{\LWR@filenamenoblanks}[1]{% \begingroup \LWR@nullfonts% @@ -6300,14 +6892,38 @@ end -- not --version \LWR@simplifyname{\textless} \LWR@simplifyname{\textgreater} \edef\LWR@thisnewfilename{\detokenize\expandafter{\LWR@thisnewfilename}}% +\ifbool{FileSectionNames}{% + \IfSubStr{\LWR@thisnewfilename}{\LWRdollar}{% + \PackageWarning{lwarp} + {% + This section name:\MessageBreak + \space\space``\detokenize\expandafter{#1}''\MessageBreak + at the line number listed below,\MessageBreak + is using $dollar-delimited math$, + which generates\MessageBreak + complicated file names. It is better to use\MessageBreak + \space\space% + \protect\section{Name with \protect\(parenthesis math\protect\)}% + \MessageBreak + The math then will be removed from the file name.\MessageBreak + \MessageBreak + \LWR@avoiddupfilenames% + \MessageBreak + This section is found before or% + } + }{}% +}{} \LWR@traceinfo{LWR@filenamenoblanks edef: !\LWR@thisnewfilename!}% \fullexpandarg% \LWR@simplifyname*{ } +\LWR@simplifyname*{*} +\LWR@simplifyname*{(} +\LWR@simplifyname*{)} +\LWR@simplifyname*{.} \LWR@simplifyname*{!} \LWR@simplifyname*{,} \LWR@simplifyname*{'} \LWR@simplifyname*{+} -\LWR@simplifyname*{,} \LWR@simplifyname*{/} \LWR@simplifyname*{:} \LWR@simplifyname*{;} @@ -6351,19 +6967,19 @@ end -- not --version \LWR@simplifyname*{-the-} \LWR@simplifyname*{-THE-} \LWR@simplifycustom% -\LWR@simplifyname*{-----} -\LWR@simplifyname*{----} -\LWR@simplifyname*{---} -\LWR@simplifyname*{--} \ifPDFTeX% pdflatex or dvi latex \ifdefstring{\inputencodingname}{utf8}{% -\LWR@simplifyname*{—} -\LWR@simplifyname*{–} + \LWR@simplifyname*{—} + \LWR@simplifyname*{–} }{}% \else% not PDFTeX -\LWR@simplifyname*{—} -\LWR@simplifyname*{–} + \LWR@simplifyname*{—} + \LWR@simplifyname*{–} \fi% +\LWR@simplifyname*{-----} +\LWR@simplifyname*{----} +\LWR@simplifyname*{---} +\LWR@simplifyname*{--} \IfBeginWith{\LWR@thisnewfilename}{\detokenize{-}}{% \StrGobbleLeft{\LWR@thisnewfilename}{1}[\LWR@thisnewfilename]% }{}% @@ -6409,6 +7025,9 @@ end -- not --version } \egroup +\newbool{LWR@MathJax@silentquotes} +\boolfalse{LWR@MathJax@silentquotes} + \catcode`\#=12 \catcode`\&=12 \newcommand{\LWR@subHTMLsanitize}{% @@ -6416,7 +7035,14 @@ end -- not --version \LWR@replacestrings{&}{&}% \LWR@replacestrings{<}{<}% \LWR@replacestrings{>}{>}% - \LWR@replacestrings{"}{"}% + \ifbool{LWR@MathJax@silentquotes} + {% + \expandafter\LWR@replacestrings\expandafter{\LWRbackslash"}{}% + \LWR@replacestrings{"}{}% + }% + {\LWR@replacestrings{"}{"}}% + \LWR@replacestrings{'}{'}% + \LWR@replacestrings{`}{`}% \LWR@replacestrings{##}{#}% \edef\LWR@strresult{\detokenize\expandafter{\tmpb}}% } @@ -6425,21 +7051,31 @@ end -- not --version \newrobustcmd{\LWR@HTMLsanitize}[1]{% \begingroup% - \LWR@FBcancel% - \fullexpandarg% - \protect\StrSubstitute{\detokenize{#1}}% - {\detokenize{\&}}{\detokenize{&}}[\LWR@strresult]% + \LWR@hook@processingtags% + \edef\LWR@strresult{\detokenize{#1}}% \LWR@subHTMLsanitize% \LWR@strresult% \endgroup% } +\edef\LWR@beginspaceleftbrace{begin \LWRleftbrace} +\edef\LWR@beginspaceleftbrace{\detokenize\expandafter{\LWR@beginspaceleftbrace}} +\edef\LWR@beginleftbrace{begin\LWRleftbrace} +\edef\LWR@beginleftbrace{\detokenize\expandafter{\LWR@beginleftbrace}} + +\edef\LWR@endspacerightbrace{end \LWRrightbrace} +\edef\LWR@endspacerightbrace{\detokenize\expandafter{\LWR@endspacerightbrace}} +\edef\LWR@endrightbrace{end\LWRrightbrace} +\edef\LWR@endrightbrace{\detokenize\expandafter{\LWR@endrightbrace}} + \newrobustcmd{\LWR@HTMLsanitizeexpand}[1]{% \begingroup% - \LWR@FBcancel% - \fullexpandarg% - \protect\StrSubstitute{\detokenize\expandafter{#1}}% - {\detokenize{\&}}{\detokenize{&}}[\LWR@strresult]% + \LWR@hook@processingtags% + \edef\LWR@strresult{\detokenize\expandafter{#1}}% + \protect\StrSubstitute{\LWR@strresult}% + {\LWR@beginspaceleftbrace}{\LWR@beginleftbrace}[\LWR@strresult]% + \protect\StrSubstitute{\LWR@strresult}% + {\LWR@endspacerightbrace}{\LWR@endrightbrace}[\LWR@strresult]% \LWR@subHTMLsanitize% \LWR@strresult% \endgroup% @@ -6453,10 +7089,8 @@ end -- not --version \newcommand*{\LWR@subcustomizedmathjax}[1]{% \begingroup% - \LWR@FBcancel% - \fullexpandarg% - \protect\StrSubstitute{\detokenize{#1}}% - {\detokenize{\&}}{\detokenize{&}}[\LWR@strresult]% + \LWR@hook@processingtags% + \edef\LWR@strresult{\detokenize{#1}}% \LWR@subHTMLsanitize% \xdef\LWR@customizedMathJax{% \LWR@customizedMathJax% @@ -6469,8 +7103,8 @@ end -- not --version \newcommand*{\CustomizeMathJax}[1]{% \ifbool{LWR@warnedcustomizemathjax}{}{% \StrLen{\detokenize{#1}}[\LWR@tempone]% - \ifnumgreater{\LWR@tempone}{200}{% - \AtBeginDocument{% + \ifnumgreater{\LWR@tempone}{350}{% + \AtEndDocument{% \PackageWarningNoLine{lwarp}{% To ensure faster MathJax compilation, place each\MessageBreak custom macro in its own \protect\CustomizeMathJax.\MessageBreak @@ -6512,9 +7146,9 @@ end -- not --version \CustomizeMathJax{\def\LWRfootnote{1}} \CustomizeMathJax{\newcommand{\footnote}[2][\LWRfootnote]{{}^{\mathrm{#1}}}} \CustomizeMathJax{\newcommand{\footnotemark}[1][\LWRfootnote]{{}^{\mathrm{#1}}}} -\end{warpMathJax} - -\begin{warpMathJax} +\CustomizeMathJax{\let\LWRorighspace\hspace} +\CustomizeMathJax{\renewcommand{\hspace}{\ifstar\LWRorighspace\LWRorighspace}} +\CustomizeMathJax{\newcommand{\mathnormal}[1]{{#1}}} \CustomizeMathJax{\newcommand\ensuremath[1]{#1}} \CustomizeMathJax{% absorb two optional arguments \newcommand{\LWRframebox}[2][]{\fbox{#2}} @@ -6524,9 +7158,21 @@ end -- not --version \CustomizeMathJax{\newcommand{\addtolength}[2]{}} \CustomizeMathJax{\newcommand{\setcounter}[2]{}} \CustomizeMathJax{\newcommand{\addtocounter}[2]{}} +\CustomizeMathJax{\newcommand{\arabic}[1]{}} +\CustomizeMathJax{\newcommand{\number}[1]{}} +\CustomizeMathJax{\newcommand{\noalign}[1]{\text{#1}\notag \\}} \CustomizeMathJax{\newcommand{\cline}[1]{}} \CustomizeMathJax{\newcommand{\directlua}[1]{\text{(directlua)}}} \CustomizeMathJax{\newcommand{\luatexdirectlua}[1]{\text{(directlua)}}} +\CustomizeMathJax{\newcommand{\protect}{}} +\CustomizeMathJax{\def\LWRabsorbnumber#1 {}} +\CustomizeMathJax{\def\LWRabsorbquotenumber"#1 {}} +\CustomizeMathJax{\newcommand{\LWRabsorboption}[1][]{}} +\CustomizeMathJax{\newcommand{\LWRabsorbtwooptions}[1][]{\LWRabsorboption}} +\CustomizeMathJax{\def\mathchar{\ifnextchar"\LWRabsorbquotenumber\LWRabsorbnumber}} +\CustomizeMathJax{\def\mathcode#1={\mathchar}} +\CustomizeMathJax{\let\delcode\mathcode} +\CustomizeMathJax{\let\delimiter\mathchar} \end{warpMathJax} \begin{warpHTML}% due to warpMathJax @@ -6536,16 +7182,14 @@ end -- not --version \LWR@stoppars \LWR@htmlcomment{MathJax customizations:} -\typeout{---} -\typeout{Package lwarp:} -\typeout{Processing MathJax customizations. If this takes too long,} -\typeout{see the Lwarp manual regarding customizing MathJax.} \begin{BlockClass}{hidden} \LWR@stoppars -\LWR@customizedMathJax +{ + \LWR@print@ttfamily + \LWR@customizedMathJax +} \LWR@startpars \end{BlockClass} -\typeout{---} \LWR@startpars }{} @@ -6568,6 +7212,26 @@ end -- not --version \begin{warpHTML} +\newcommand*{\LWR@createfooter}{% + \ifnumless{\value{LWR@htmlseqfilenumber}}{1}{% + \ifdefempty{\LWR@firstpagebottom}{}{% + \LWR@htmlelement{footer} + + \LWR@firstpagebottom + + \LWR@htmlelementend{footer} + }% + }{% + \ifdefempty{\LWR@pagebottom}{}{% + \LWR@htmlelement{footer} + + \LWR@pagebottom + + \LWR@htmlelementend{footer} + }% + }% +} + \newcommand*{\LWR@newhtmlfile}[1]{ \LWR@traceinfo{LWR@newhtmlfile} \LWR@htmlelementclassend{section}{textbody} @@ -6576,17 +7240,7 @@ end -- not --version \LWR@printpendingfootnotes -\ifbool{FormatEPUB} -{} -{ - \ifdefempty{\LWR@pagebottom}{}{% - \LWR@htmlelement{footer} - - \LWR@pagebottom - - \LWR@htmlelementend{footer} - } -} +\ifbool{FormatEPUB}{}{\LWR@createfooter} \ifthenelse{\boolean{FormatEPUB}\OR\boolean{FormatWP}} {} {\ifnumcomp{\value{LWR@htmlfilenumber}}{>}{0}{\LWR@botnavigation}{}} @@ -6595,9 +7249,9 @@ end -- not --version \LWR@htmltag{/body}\LWR@orignewline \LWR@htmltag{/html}\LWR@orignewline \LWR@traceinfo{LWR@newhtmlfile: about to LWR@orignewpage} -\LWR@orignewpage - +\LWR@maybe@orignewpage \addtocounter{LWR@htmlfilenumber}{1}% +\addtocounter{LWR@htmlseqfilenumber}{1}% \ifbool{FileSectionNames}% {% \LWR@filenamenoblanks{#1}% @@ -6605,23 +7259,25 @@ end -- not --version \ifcsundef{LWR@filename\LWR@hashedname}{% \csdef{LWR@filename\LWR@hashedname}{}% }{% - \PackageError{lwarp} + \PackageError{lwarp}% {% - Section name\MessageBreak + The section name:\MessageBreak ``#1'',\MessageBreak at the line number listed below,\MessageBreak generates the filename\MessageBreak ``\LWR@thisfilename'',\MessageBreak - which appears to be a duplicate.\MessageBreak - There is a previous section with an\MessageBreak - identical or similar name% - } + which appears to be a duplicate. There is a\MessageBreak + previous section with an identical or similar name.\MessageBreak + While generating file names, Lwarp sanitizes math,\MessageBreak + most symbols, and a few common short words,\MessageBreak + and this may cause a conflict.\MessageBreak + Enter 'H' for possible solutions% + }% {% - Lwarp sanitizes most symbols and a few common short words - when generating file names, and this may cause a conflict. - } - } -} + \LWR@avoiddupfilenames% + }% + }% +}% {\renewcommand*{\LWR@thisfilename}{\arabic{LWR@htmlfilenumber}}} \LWR@traceinfo{LWR@newhtmlfile: about to print start file}% \begingroup% @@ -6660,7 +7316,7 @@ end -- not --version \LWR@htmlelementclass{div}{bodycontainer} \LWR@htmlelementclass{section}{textbody} - +\boolfalse{LWR@setseqfilelabel} \ifthenelse{\boolean{FormatEPUB}\OR\boolean{FormatWP}}% {}% {% @@ -6735,12 +7391,16 @@ end -- not --version \let\@chapcntformat\@seccntformat \let\@partcntformat\@seccntformat \newcommand*{\@partnameformat}{\LWR@isolate{\partname}~}% +\newcommand*{\LWR@printchaptername}{% + \ifdefvoid{\chaptername}{}{\chaptername~}% +} \newcounter{LWR@currentautosec} \setcounter{LWR@currentautosec}{1} \DeclareDocumentCommand{\LWR@section}{m m m m}{% \IfValueTF{#2}% {\LWR@traceinfo{LWR@section: starting #4 #2}}% {\LWR@traceinfo{LWR@section: starting #4 #3}}% + \LWR@spanwarninvalid{section}% \LWR@maybeprintpendingfootnotes{\csuse{LWR@depth#4}}% \LWR@stoppars% \LWR@startnewdepth{#4}% @@ -6776,7 +7436,7 @@ end -- not --version }% new file {% not new file \LWR@traceinfo{LWR@section: not a new HTML file, about to LWR@orignewpage}% - \LWR@orignewpage% + \LWR@maybe@orignewpage% }% not new file \IfValueT{#3}{% @@ -6869,14 +7529,17 @@ end -- not --version {\protect\LWR@sectionnumber{\@partcntformat{#4}}}% {% \ifstrequal{#4}{chapter}% - {\protect\LWR@sectionnumber{\@chapcntformat{#4}}}% + {% + \LWR@printchaptername% + \protect\LWR@sectionnumber{\@chapcntformat{#4}}% + }% {\protect\LWR@sectionnumber{\@seccntformat{#4}}}% }% }% {}% \LWR@traceinfo{LWR@section: finished print section number}% }{}% -}% end of not starred +}% not starred \LWR@traceinfo{LWR@section: about to print the section name}% \LWR@isolate{#3}% \LWR@traceinfo{LWR@section: about to close the heading tag}% @@ -6885,6 +7548,10 @@ end -- not --version \LWR@traceinfo{LWR@section: about to create the LaTeX label}% \setcounter{LWR@latestautopage}{\value{page}}% \LWR@newautopagelabel{LWR@currentautosec}\LWR@orignewline% +\ifbool{LWR@setseqfilelabel}{}{% + \label{\BaseJobname-autofile-\arabic{LWR@htmlseqfilenumber}}% + \booltrue{LWR@setseqfilelabel}% +}% \ifthenelse{% \cnttest{\@nameuse{LWR@depth#4}}{<}{\LWR@depthparagraph}% }% @@ -6987,20 +7654,20 @@ end -- not --version \newcommand*{\LWR@currentHTMLLanguage}{en-US} \newcommand*{\HTMLLanguage}[1]{% -\renewcommand*{\LWR@currentHTMLLanguage}{#1}% + \renewcommand*{\LWR@currentHTMLLanguage}{#1}% } \ifPDFTeX% pdflatex or dvi latex \ifdefstring{\inputencodingname}{utf8}{% - \newcommand*{\theHTMLTitleSeparator}{ — }% EMdash + \newcommand*{\theHTMLTitleSeparator}{ —\ }% EMdash }{% - \newcommand*{\theHTMLTitleSeparator}{ - }% hyphen + \newcommand*{\theHTMLTitleSeparator}{ -\ }% hyphen }% \else% \ifpTeX - \newcommand*{\theHTMLTitleSeparator}{ - }% hyphen + \newcommand*{\theHTMLTitleSeparator}{ -\ }% hyphen \else - \newcommand*{\theHTMLTitleSeparator}{ — }% EMdash + \newcommand*{\theHTMLTitleSeparator}{ —\ }% EMdash \fi% \fi% @@ -7029,6 +7696,14 @@ end -- not --version \begingroup% \LWR@nullfonts% \edef\theHTMLSection{#1}% +\StrSubstitute{\theHTMLSection}{\protect}{\detokenize{-}}[\theHTMLSection] +\StrSubstitute{\theHTMLSection}{\detokenize{-----}}{\detokenize{-}}[\theHTMLSection] +\StrSubstitute{\theHTMLSection}{\detokenize{----}}{\detokenize{-}}[\theHTMLSection] +\StrSubstitute{\theHTMLSection}{\detokenize{---}}{\detokenize{-}}[\theHTMLSection] +\StrSubstitute{\theHTMLSection}{\detokenize{--}}{\detokenize{-}}[\theHTMLSection] +\IfBeginWith{\theHTMLSection}{\detokenize{-}}{% + \StrGobbleLeft{\theHTMLSection}{1}[\theHTMLSection]% +}{}% \LWR@htmltag{!DOCTYPE html}\LWR@orignewline \LWR@htmltag{% html lang=\LWR@orig@textquotedbl\LWR@currentHTMLLanguage\LWR@orig@textquotedbl% @@ -7091,7 +7766,17 @@ end -- not --version \begingroup% \LWR@restoreoriglists% \boolfalse{LWR@verbtags}% - \verbatiminput{\LWR@mathjaxfilename}% + \IfFileExists{\LWR@mathjaxfilename}% + {\verbatiminput{\LWR@mathjaxfilename}}% + {% + \PackageError{lwarp}% + {% + \protect\MathJaxFilename\space specified the file\MessageBreak + \space\space\LWR@mathjaxfilename\MessageBreak + which does not exist% + }% + {Specify an existing file, or remove \protect\MathJaxFilename.}% + }% \booltrue{LWR@verbtags}% \endgroup% \LWR@stoppars% @@ -7134,8 +7819,6 @@ end -- not --version \setlength{\abovecaptionskip}{0ex} \renewcommand{\ps@plain}{} \let\LWR@origcaption\caption -\let\LWR@origltx@label\ltx@label -\let\ltx@label\LWR@htmlmathlabel \global\boolfalse{LWR@doingapar} \global\boolfalse{LWR@doingstartpars} \mainmatter @@ -7154,12 +7837,27 @@ end -- not --version \LWR@htmlelementclass{div}{bodycontainer} \LWR@traceinfo{LWR@lwarpStart: Generating textbody.} \LWR@htmlelementclass{section}{textbody} +\booltrue{LWR@setseqfilelabel}% +\label{\BaseJobname-autofile-\arabic{LWR@htmlseqfilenumber}} \LWR@patchlists \catcode`\$=\active \immediate\write\@mainaux{\catcode`\string$\active}% \LetLtxMacro\LWR@syntaxhighlightone$% balance for editor syntax highlighting \LWR@startpars +\ifbool{mathjax}{ + \typeout{---} + \typeout{Package lwarp:} + \typeout{Processing MathJax customizations for the first HTML page.} + \typeout{Later HTML pages will take the same amount of time.} + \typeout{If this takes too long, see the Lwarp manual regarding customizing MathJax.} +}{} + \LWR@customizeMathJax + +\ifbool{mathjax}{ + \typeout{Done.} + \typeout{---} +}{} \setcounter{LWR@latestautopage}{\value{page}}% \LWR@newautopagelabel{LWR@currentautosec}% \LWR@traceinfo{LWR@lwarpStart: done} @@ -7185,17 +7883,12 @@ end -- not --version \LWR@stoppars \LWR@closeprevious{finished} +\label{\BaseJobname-autofile-last} \LWR@htmlelementclassend{section}{textbody} \LWR@htmlelementclassend{div}{bodycontainer} \LWR@htmlelementclassend{div}{bodyandsidetoc} \LWR@printpendingfootnotes -\ifdefempty{\LWR@pagebottom}{}{% - \LWR@htmlelement{footer} - - \LWR@pagebottom - - \LWR@htmlelementend{footer} -} +\ifbool{FormatEPUB}{}{\LWR@createfooter} \ifthenelse{\boolean{FormatEPUB}\OR\boolean{FormatWP}} {} @@ -7205,37 +7898,67 @@ end -- not --version \LWR@stoppars% final stop of all paragraphs \LWR@htmltag{/body}\LWR@orignewline \LWR@htmltag{/html}\LWR@orignewline -\LWR@orignewpage +\LWR@maybe@orignewpage } -\xpatchcmd{\enddocument} - {% - \if@tempswa - \@latex@warning@no@line{Label(s) may have changed. - Rerun to get cross-references right}% - \fi - } - {% - \if@tempswa - \@latex@warning@no@line{Label(s) may have changed. - Rerun to get cross-references right}% - \else +\ifdef{\AddToHook}{% newer kernel + \AddToHook{enddocument/info}{% + \if@filesw + \ifx \@multiplelabels \relax + \if@tempswa + \else \immediate\write\LWR@lateximagesfile{% |end|end|end|% }% - \fi + \fi + \fi\fi } - {} - { - \PackageWarningNoLine{lwarp} +}% newer kernel +{% older kernel + \xpatchcmd{\enddocument} {% - Could not patch \protect\enddocument.\MessageBreak - If labels have changed, be sure to recompile before\MessageBreak - creating lateximages with\MessageBreak - \space\space lwarpmk limages,\MessageBreak - or the images may be corrupt% + \if@tempswa + \@latex@warning@no@line{Label(s) may have changed. + Rerun to get cross-references right}% + \fi + } + {% + \if@tempswa + \@latex@warning@no@line{Label(s) may have changed. + Rerun to get cross-references right}% + \else + \immediate\write\LWR@lateximagesfile{% + |end|end|end|% + }% + \fi + } + {} + { + \AtEndDocument{ + \PackageWarningNoLine{lwarp} + {% + Could not patch \protect\enddocument.\MessageBreak + If labels have changed, be sure to recompile before\MessageBreak + creating lateximages with\MessageBreak + \space\space lwarpmk limages,\MessageBreak + or the images may be corrupt% + } + } + } +}% older kernel + +\ifdef{\RemoveFromHook}{ + \AfterEndPreamble{ + \IfHookEmptyTF{shipout/background}{}{ + \PackageInfo{lwarp}{Removing background hook} + \RemoveFromHook{shipout/background}[*] + } + \IfHookEmptyTF{shipout/foreground}{}{ + \PackageInfo{lwarp}{Removing foreground hook} + \RemoveFromHook{shipout/foreground}[*] } } +}{} \end{warpHTML} @@ -7274,9 +7997,13 @@ end -- not --version \LWR@printpendingfootnotes } \end{warpHTML} -\begin{warpall} +\begin{warpprint} +\newcommand*{\printthanks}{\@thanks} +\end{warpprint} + +\begin{warpHTML} \newcommand*{\printthanks}{\LWR@stoppars\@thanks\LWR@startpars} -\end{warpall} +\end{warpHTML} \begin{warpHTML} \newcommand*{\printtitle} @@ -7352,10 +8079,19 @@ end -- not --version }% } -\def\@fnsymbol#1{\ifcase#1\or *\or \HTMLentity{dagger}\or \HTMLentity{Dagger}\or - \HTMLentity{sect}\or \HTMLentity{para}\or \text{\HTMLunicode{2016}}\or - **\or \HTMLentity{dagger}\HTMLentity{dagger} \or - \HTMLentity{Dagger}\HTMLentity{Dagger} \else\@ctrerr\fi} +\def\LWR@HTML@@fnsymbol#1{% + \ifcase#1\or *\or + \HTMLentity{dagger}\or + \HTMLentity{Dagger}\or + \HTMLentity{sect}\or + \HTMLentity{para}\or + \HTMLunicode{2016}\or + **\or + \HTMLentity{dagger}\HTMLentity{dagger} \or + \HTMLentity{Dagger}\HTMLentity{Dagger} \else + \@ctrerr\fi% +} +\LWR@formatted{@fnsymbol} \renewcommand*{\maketitle}{% \begin{titlepage} \LWR@maketitlesetup @@ -7433,10 +8169,12 @@ end -- not --version }% }% yes titling package {% no titling package - \newcommand{\published}[1]{}% - \newcommand*{\printpublished}{}% - \newcommand{\subtitle}{}% - \newcommand*{\printsubtitle}% + \def\@published{}% + \DeclareDocumentCommand{\published}{m}{\gdef\@published{##1}}% + \DeclareDocumentCommand{\printpublished}{}{}% + \def\@subtitle{}% + \DeclareDocumentCommand{\subtitle}{m}{\gdef\@subtitle{##1}}% + \DeclareDocumentCommand{\printsubtitle}{}{}% }% no titling package }% \AddSubtitlePublished @@ -7447,55 +8185,60 @@ end -- not --version \providecommand*{\abstractname}{Abstract} \DeclareDocumentEnvironment{abstract}{O{\abstractname}} { -\LWR@forcenewpage -\BlockClass{abstract} -\BlockClassSingle{abstracttitle}{#1} + \LWR@forcenewpage + \BlockClass{abstract} + \BlockClassSingle{abstracttitle}{#1} } { -\endBlockClass + \endBlockClass } \end{warpHTML} +\begin{warpall} +\newcommand{\attribution}[1]{ + \begin{flushright} + \unskip + #1 + \end{flushright}% +} +\end{warpall} \begin{warpHTML} -\newcommand{\attribution}[1]{% +\newcommand{\LWR@HTML@attribution}[1]{% \LWR@stoppars% \begin{BlockClass}{attribution} #1 \end{BlockClass} \LWR@startpars% } +\LWR@formatted{attribution} \end{warpHTML} -\begin{warpprint} -\newcommand{\attribution}[1]{ - \begin{flushright} - \unskip - #1 - \end{flushright}% -} -\end{warpprint} \begin{warpHTML} -\renewenvironment*{quote} +\newenvironment*{LWR@HTML@quote} { \LWR@forcenewpage \LWR@htmlblocktag{blockquote} } {\LWR@htmlblocktag{/blockquote}} -\renewenvironment*{quotation} + +\LWR@formattedenv{quote} +\newenvironment*{LWR@HTML@quotation} { \LWR@forcenewpage \LWR@htmlblocktag{blockquote} } {\LWR@htmlblocktag{/blockquote}} +\LWR@formattedenv{quotation} + \end{warpHTML} \begin{warpHTML} -\renewenvironment{verse} +\newenvironment{LWR@HTML@verse} {\let\\\newline% lwarp \list{}{\itemsep \z@ \itemindent -1.5em% @@ -7504,6 +8247,8 @@ end -- not --version \advance\leftmargin 1.5em}% \item\relax} {\endlist} + +\LWR@formattedenv{verse} \end{warpHTML} \begin{warpall} @@ -7527,64 +8272,96 @@ end -- not --version \newbool{LWR@verbtags} \booltrue{LWR@verbtags} -\newcommand*{\LWR@atbeginverbatim}[3][] +\LetLtxMacro\LWR@orig@verb@egroup\verb@egroup + +\def\LWR@verb@egroup@endspan{% + \LWR@orig@verb@egroup% + \LWR@htmltag{/span}% + \endgroup% +} +\xpretocmd{\verb} + {% + \begingroup% + \LWR@htmltag{span class=\textquotedbl{}texttt\textquotedbl}% + \let\verb@egroup\LWR@verb@egroup@endspan% + } + {} + {\LWR@patcherror{LaTeX}{verb}} + +\newcommand*{\LWR@atbeginverbatim}[2][] {% -\setlength{\parskip}{0ex}% \LWR@stoppars% +\setlength{\parskip}{0ex}% +\setlength{\topsep}{0pt}% +\setlength{\partopsep}{0pt}% \ifbool{LWR@verbtags}{% - \LWR@htmltag{pre class=\textquotedbl#3\textquotedbl% + \LWR@htmltag{pre class=\textquotedbl#2\textquotedbl% \ifthenelse{\equal{#1}{}}{}{ style=\textquotedbl#1\textquotedbl}% }% - \LWR@orignewline% pre - \leavevmode\unskip\LWR@print@vspace*{-#2\baselineskip}% + \par% }{}% \begingroup% +\LWR@print@normalfont% \LWR@origttfamily% -\LWR@print@small% +\LWR@print@scriptsize% \LWR@restoreoriglists% -\LWR@FBcancel% +\LWR@hook@processingtags% \LWR@select@print@hspace% } -\newcommand*{\LWR@afterendverbatim}[1]{% +\newcommand*{\LWR@afterendverbatim}{% \endgroup% \par% \ifbool{LWR@verbtags}{% - \LWR@print@vspace*{-#1\baselineskip}% - \noindent\LWR@htmltag{/pre}\LWR@orignewline% pre + \noindent\LWR@htmltag{/pre}\par% pre }{}% \LWR@startpars% } -\let\LWRV@origverbatim@input\verbatim@input - -\renewcommand{\verbatim@input}[2]{% -\ifbool{LWR@verbtags}{\LWR@forcenewpage}{}% -\LWR@atbeginverbatim{2.5}{Verbatim}% -\LWRV@origverbatim@input{#1}{#2}% -\LWR@afterendverbatim{1.5}% +\newcommand{\LWR@HTML@verbatim@input}[2]{% + \ifbool{LWR@verbtags}{\LWR@forcenewpage}{}% + \LWR@atbeginverbatim{Verbatim}% + \LWR@print@verbatim@input{#1}{#2}% + \LWR@afterendverbatim% } +\LWR@formatted{verbatim@input} + \AfterEndPreamble{ \LWR@traceinfo{Patching verbatim.} \AtBeginEnvironment{verbatim}{% -\LWR@forcenewpage% -\LWR@atbeginverbatim{2.5}{verbatim}% + \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% + {}% + {% + \LWR@forcenewpage% + \LWR@atbeginverbatim{verbatim}% + }% } \AfterEndEnvironment{verbatim}{% - \LWR@afterendverbatim{1}% + \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% + {}% + {% + \LWR@afterendverbatim% + }% } } \newcommand*{\LWR@HTML@tabbing}{% -\LWR@forcenewpage% -\LWR@atbeginverbatim{3}{tabbing}% -\LWR@print@tabbing% + \LWR@forcenewpage% + \LWR@atbeginverbatim{tabbing}% + \let\enskip\LWR@origenskip% + \let\quad\LWR@origquad% + \let\qquad\LWR@origqquad% + \let~\LWR@origtilde% + \let\,\LWR@origcomma% + \let\thinspace\LWR@origthinspace% + \let\negthinspace\LWR@orignegthinspace% + \LWR@print@tabbing% } \newcommand*{\LWR@HTML@endtabbing}{% \LWR@print@endtabbing% - \LWR@afterendverbatim{1}% + \LWR@afterendverbatim% } \LWR@formatted{tabbing} @@ -7594,18 +8371,19 @@ end -- not --version \begin{warpHTML} - \renewcommand{\@begintheorem}[2]{% \LWR@forcenewpage \BlockClass{theoremcontents} \trivlist \item[\InlineClass{theoremlabel}{#1\ #2\ }]\itshape } -\renewcommand{\@opargbegintheorem}[3]{% -\LWR@forcenewpage -\BlockClass{theoremcontents} -\trivlist -\item[\InlineClass{theoremlabel}{#1\ #2\ (#3)\ }]\itshape +\ifundef{\@opargbegintheorem}{}{ + \renewcommand{\@opargbegintheorem}[3]{% + \LWR@forcenewpage + \BlockClass{theoremcontents} + \trivlist + \item[\InlineClass{theoremlabel}{#1\ #2\ (#3)\ }]\itshape + } } \renewcommand*{\@endtheorem}{% \endtrivlist @@ -7618,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{% @@ -7714,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% } @@ -7723,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% } @@ -7787,22 +8571,22 @@ end -- not --version } \newcommand*{\LWR@restoreoriglists}{% -\LWR@traceinfo{LWR@restoreoriglists}% -\LetLtxMacro\item\LWR@origitem% -\LetLtxMacro\@item\LWR@orig@item% -\let\@trivlist\LWR@orig@trivlist% -\let\trivlist\LWR@origtrivlist% -\let\endtrivlist\LWR@origendtrivlist% -\LetLtxMacro\itemize\LWR@origitemize% -\LetLtxMacro\enditemize\LWR@endorigitemize% -\LetLtxMacro\enumerate\LWR@origenumerate% -\LetLtxMacro\endenumerate\LWR@endorigenumerate% -\LetLtxMacro\description\LWR@origdescription% -\LetLtxMacro\enddescription\LWR@endorigdescription% -\let\@mklab\LWR@orig@mklab% -\let\makelabel\LWR@origmakelabel% -\let\@donoparitem\LWR@orig@donoparitem% -\let\@nbitem\LWR@orig@nbitem% + \LWR@traceinfo{LWR@restoreoriglists}% + \LetLtxMacro\item\LWR@origitem% + \LetLtxMacro\@item\LWR@orig@item% + \let\@trivlist\LWR@orig@trivlist% + \let\trivlist\LWR@origtrivlist% + \let\endtrivlist\LWR@origendtrivlist% + \LetLtxMacro\itemize\LWR@origitemize% + \LetLtxMacro\enditemize\LWR@endorigitemize% + \LetLtxMacro\enumerate\LWR@origenumerate% + \LetLtxMacro\endenumerate\LWR@endorigenumerate% + \LetLtxMacro\description\LWR@origdescription% + \LetLtxMacro\enddescription\LWR@endorigdescription% + \let\@mklab\LWR@orig@mklab% + \let\makelabel\LWR@origmakelabel% + \let\@donoparitem\LWR@orig@donoparitem% + \let\@nbitem\LWR@orig@nbitem% } \end{warpHTML} @@ -8393,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% @@ -8435,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% @@ -8485,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% @@ -8606,24 +9390,19 @@ end -- not --version \LWR@subcdashline#1% } -\newlength{\LWR@templengthone} -\newlength{\LWR@templengthtwo} -\newlength{\LWR@templengththree} -\newcounter{LWR@tempcountone} - \newcommand*{\LWR@tdstartstyles}{\boolfalse{LWR@tdhavecellstyle}} \newcommand*{\LWR@tdaddstyle}{% \ifbool{LWR@tdhavecellstyle}% {; }% - { style="}% + { style=\textquotedbl}% \booltrue{LWR@tdhavecellstyle}% } \newcommand*{\LWR@tdendstyles}{% \ifbool{LWR@tdhavecellstyle}% {% - "% + \textquotedbl% \boolfalse{LWR@tdhavecellstyle}% }{}% } @@ -8824,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}% } @@ -9017,17 +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" % - \IfValueT{#1}{% vpos? - \ifstrequal{#1}{b}% - {style="\LWR@print@mbox{vertical-align:bottom}" }{}% - \ifstrequal{#1}{t}% - {style="\LWR@print@mbox{vertical-align:top}" }{}% - }% vpos? - }% rows? - class="td% + rowspan=\textquotedbl#2\textquotedbl\ % + }% + class=\textquotedbl{}td% \defcounter{LWR@mcolvertbarsl}{0}% \defcounter{LWR@mcolvertbarsr}{0}% \defcounter{LWR@mcolvertbarsldash}{0}% @@ -9053,8 +9828,20 @@ end -- not --version \ifnumcomp{\value{LWR@mcolvertbarsrdash}}{=}{1}{ tvertbarrdash}{}% \ifnumcomp{\value{LWR@mcolvertbarsrdash}}{>}{1}% { tvertbarrdoubledash}{}% - "% + \textquotedbl{}% \LWR@tdstartstyles% + \IfValueT{#1}{% vpos? + \ifstrequal{#1}{b}% + {% + \LWR@tdaddstyle% + \LWR@print@mbox{vertical-align:bottom}% + }{}% + \ifstrequal{#1}{t}% + {% + \LWR@tdaddstyle% + \LWR@print@mbox{vertical-align:top}% + }{}% + }% vpos? \LWR@addtabularrowcolor% \LWR@addcmidrulewidth% \LWR@addcdashline% @@ -9412,16 +10199,7 @@ end -- not --version \NewDocumentCommand{\LWR@HTML@@tabular}{d<> o m} {% \LWR@traceinfo{LWR@HTML@@tabular started}% - \ifnumcomp{\value{LWR@spandepth}}{>}{0}{% - \PackageWarning{lwarp}{% - A tabular is being used inside a span such as\MessageBreak - a minipage. Some formatting may not be correct\MessageBreak - in the tabular.\MessageBreak - It is recommended to use \protect\warpprintonly\space or the\MessageBreak - warpprint environment to isolate the span to\MessageBreak - print-only,% - } - }{}% + \LWR@spanwarnformat{tabular}% \addtocounter{LWR@tabulardepth}{1}% \boolfalse{LWR@startedrow}% \defcounter{LWR@hlines}{0}% @@ -9540,7 +10318,7 @@ end -- not --version }{}% \ifbool{LWR@usedmultirow}{% \ifbool{LWR@foundmrowcell}% - {}% + {\relax}% {% \PackageError{lwarp}% {% @@ -9577,7 +10355,7 @@ end -- not --version \begin{warpHTML} -\providecommand*{\@currentlabelname}{} +\def\@currentlabelname{\linkhomename}% \def\LWR@stripperiod#1.\ltx@empty#2\@nil{#1}% \newcommand*{\LWR@setlatestname}[1]{% \GetTitleStringExpand{#1}% @@ -9606,8 +10384,8 @@ end -- not --version \newcommand*{\LWR@lateximagenumberref}[1]{% \expandafter\LWR@setref\csname r@#1@lwarp\endcsname\LWR@fourthoffour{#1}% } -\newcommand*{\LWR@lwarplabel}[1]{% - \LWR@traceinfo{LWR@lwarplabel !#1!}% +\newcommand*{\LWR@write@lwarplabel}[1]{% + \LWR@traceinfo{LWR@write@lwarplabel !#1!}% \LWR@setlatestname{\@currentlabelname}% \@bsphack% \protected@write\@auxout{}% @@ -9627,36 +10405,59 @@ end -- not --version } -\newcommand*{\LWR@sublabel}[1]{% - \LWR@traceinfo{LWR@sublabel !#1!}% +\newcommand*{\LWR@label@subcreatetag}{% + \LWR@htmltag{a \LWR@print@mbox{id=\textquotedbl\LWR@sanitized\textquotedbl}}% + \LWR@htmltag{/a}% +} + +\newcommand*{\LWR@label@inmathcomment}{% + \ifboolexpr{bool{mathjax} or ( bool{FormatWP} and bool{WPMarkMath} ) }% + {% + \mbox{% + \ifdef{\totwidth@}{\ifbool{LWR@amsmultline}{}{\hspace*{\totwidth@}}}{}% + \LWR@htmlclosecomment% + \LWR@label@subcreatetag% + \LWR@htmlopencomment% + }% mbox + }% mathjax + {% + \LWR@label@subcreatetag% + }% +} + +\newcommand*{\LWR@label@createtag}[1]{% + \LWR@traceinfo{LWR@label@createtag !#1!}% \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% {}% {% not lateximage \LWR@sanitize{#1}% - \ifbool{LWR@doingstartpars}% - {% pars allowed - \ifbool{LWR@doingapar}% - {% par started - \LWR@htmltag{a \LWR@print@mbox{id="\LWR@sanitized"}}% - \LWR@htmltag{/a}% - }% par started - {% par not started - \LWR@stoppars% - \LWR@htmltag{a \LWR@print@mbox{id="\LWR@sanitized"}}% - \LWR@htmltag{/a}% - \LWR@startpars% - }% par not started - }% pars allowed - {% pars not allowed - \LWR@htmltag{a \LWR@print@mbox{id="\LWR@sanitized"}}% - \LWR@htmltag{/a}% - }% pars not allowed + \ifbool{LWR@insidemathcomment}% + {% inside HTML math comment + \LWR@label@inmathcomment% + }% inside HTML math comment + {% not inside HTML math comment + \ifbool{LWR@doingstartpars}% + {% pars allowed + \ifbool{LWR@doingapar}% + {% par started + \LWR@label@subcreatetag% + }% par started + {% par not started + \LWR@stoppars% + \LWR@label@subcreatetag% + \LWR@startpars% + }% par not started + }% pars allowed + {% pars not allowed + \LWR@label@subcreatetag% + }% pars not allowed + }% not inside HTML math comment }% not lateximage } -\NewDocumentCommand{\LWR@new@label}{d() m o}{% +\NewDocumentCommand{\LWR@new@label}{m}{% \LWR@traceinfo{LWR@new@label: starting}% - \LWR@traceinfo{LWR@new@label: !#2!}% - \LWR@orig@label{#2}% + \LWR@traceinfo{LWR@new@label: !#1!}% + \LWR@orig@label{#1}% \LWR@traceinfo{% LWR@new@label: filesectionnames is % \ifbool{FileSectionNames}{true}{false}% @@ -9667,8 +10468,8 @@ end -- not --version \LWR@traceinfo{% LWR@new@label: LWR@htmlfilenumber is \arabic{LWR@htmlfilenumber}% }% - \LWR@lwarplabel{#2}% - \LWR@sublabel{#2}% + \LWR@write@lwarplabel{#1}% + \LWR@label@createtag{#1}% % \@esphack% \LWR@traceinfo{LWR@new@label: done}% } @@ -9676,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{}% }% } @@ -9685,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}% @@ -9699,7 +10500,7 @@ end -- not --version {% \ifthenelse{\cnttest{\LWR@lateximagedepthref{#1}}{>}{0}}% {% - \LWR@ImagesName\LWR@lateximagenumberref{#1}% + lateximage-\BaseJobname-\LWR@lateximagenumberref{#1}% }% {% \LWR@traceinfo{LWR@startref D3}% @@ -9707,7 +10508,7 @@ end -- not --version }% }% \LWR@traceinfo{LWR@startref E}% - "% + \textquotedbl% \LWR@addlinktitle% }% \LWR@traceinfo{LWR@startref F}% @@ -9720,6 +10521,7 @@ end -- not --version \LWR@htmltag{/a}% } +\LWR@absorbstar{ref}% \NewDocumentCommand{\LWR@HTML@ref}{s m}{% \LWR@traceinfo{LWR@HTML@ref !#2!}% \IfBooleanTF{#1}% @@ -9728,10 +10530,8 @@ end -- not --version } \LWR@formatted{ref} -\NewDocumentCommand{\LWR@ref@ignorestar}{s m}{% - \LWR@print@ref{#2}% -} - +\CustomizeMathJax{\let\LWRref\ref} +\CustomizeMathJax{\renewcommand{\ref}{\ifstar\LWRref\LWRref}} \newcommand*{\pagerefPageFor}{see } \NewDocumentCommand{\LWR@new@pageref}{s m}{% \IfBooleanTF{#1}% @@ -9755,11 +10555,7 @@ end -- not --version \AtBeginDocument{ - -\def\@currentHref{% - autopage-\theLWR@currentautosec% -} - + \def\@currentHref{\BaseJobname-autopage-\theLWR@currentautosec} } \newcommand*{\LWR@linkcatcodes}{% @@ -9768,7 +10564,7 @@ end -- not --version \catcode`\&=12% \catcode`\~=12% \catcode`\_=12% - \LWR@FBcancel% + \LWR@hook@processingtags% } \newcommand*{\LWR@linkmediacatcodes}{% @@ -9776,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 }% } @@ -9798,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% @@ -9814,7 +10610,7 @@ end -- not --version \LWR@subhyperreftext% } -\newrobustcmd*{\href}{% +\newrobustcmd*{\LWR@href}{% \begingroup% \LWR@linkcatcodes% \LWR@hrefb% @@ -9828,7 +10624,7 @@ end -- not --version \endgroup% } -\newrobustcmd*{\nolinkurl}{% +\newrobustcmd*{\LWR@nolinkurl}{% \begingroup% \LWR@linkcatcodes% \LWR@nolinkurlb% @@ -9838,11 +10634,11 @@ end -- not --version \LWR@ensuredoingapar% \def\LWR@templink{#1}% \@onelevel@sanitize\LWR@templink% - \href{\LWR@templink}{\LWR@templink}% + \LWR@href{\LWR@templink}{\LWR@templink}% \endgroup% } -\newrobustcmd*{\url}{% +\newrobustcmd*{\LWR@url}{% \begingroup% \LWR@linkcatcodes% \LWR@urlb% @@ -9852,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 }% }% } @@ -9878,6 +10674,7 @@ end -- not --version \begin{warpHTML} \NewDocumentCommand{\LWR@floatbegin}{m o}{% + \LWR@spanwarninvalid{float}% \ifbool{FormatWP}{\newline}{}% \LWR@stoppars% \addtocounter{LWR@thisautoid}{1}% @@ -9885,22 +10682,22 @@ 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% \LWR@BlockClassWP{}{}{wp#1}% }{}% \renewcommand*{\@captype}{#1}% - \caption@settype{#1}% \LWR@startpars% \ifboolexpr{bool{FormatWP} and bool{WPMarkFloats}}{% === begin #1 === }{}% - \LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment% } \AtBeginDocument{ @@ -9913,8 +10710,16 @@ end -- not --version }{}% tocbasic }% AtBeginDocument -\let\@float\LWR@floatbegin -\let\@dblfloat\LWR@floatbegin +\AtBeginDocument{ + \def\@xfloat #1[#2]{% + \LWR@floatbegin{#1}[#2] + \LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment% + } + \def\@xdblfloat #1[#2]{% + \LWR@floatbegin{#1}[#2] + \LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment% + } +} \newcommand*{\LWR@floatend}{% \LWR@endfloatalignment% \ifboolexpr{bool{FormatWP} and bool{WPMarkFloats}}{% @@ -9930,8 +10735,10 @@ end -- not --version \LWR@startpars% \ifbool{FormatWP}{\newline}{}% } -\let\end@float\LWR@floatend -\let\end@dblfloat\LWR@floatend +\AtBeginDocument{ + \let\end@float\LWR@floatend + \let\end@dblfloat\LWR@floatend +} \newcounter{LWR@thisautoid} @@ -9942,8 +10749,21 @@ end -- not --version \newcommand*{\LWR@forcenewautoidanchor}{% \addtocounter{LWR@thisautoid}{1}% - \LWR@htmltag{a id="\LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}"}% - \LWR@htmltag{/a}% + \ifbool{LWR@doingapar}% + {% + \LWR@htmltag{a id=\textquotedbl% + \LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}% + \textquotedbl\ }% space + \LWR@htmltag{/a }% + }% + {% + \LWR@stoppars% + \LWR@htmltag{a id=\textquotedbl% + \LWR@print@mbox{autoid-\arabic{LWR@thisautoid}}% + \textquotedbl\ }% space + \LWR@htmltag{/a }% + \LWR@startpars% + }% } \newcommand*{\LWR@newautoidanchor}{% @@ -9981,11 +10801,26 @@ end -- not --version \AtBeginDocument{\providecommand*{\CaptionSeparator}{:~}} -\AtBeginDocument{\renewcommand{\@makecaption}[2]{% - \LWR@traceinfo{@makecaption}% - \LWR@isolate{#1}\CaptionSeparator\LWR@isolate{#2}% - \LWR@traceinfo{@makecaption: done}% -}% +\AtBeginDocument{ + \@ifpackageloaded{caption}{}{ + \let\LWR@orig@caption\@caption% + \long\def\@caption#1[#2]{% + \LWR@spanwarnformat{caption}% + \LWR@setlatestname{#2}% + \LWR@orig@caption{#1}[{#2}]% also takes third argument + }% + + \renewcommand{\@makecaption}[2]{% + \LWR@traceinfo{@makecaption}% + \caption@begin{\@captype}% + \LWR@isolate{#1}% + \edef\LWR@tempone{#1}% + \ifdefvoid{\LWR@tempone}{}{\CaptionSeparator}% + \LWR@isolate{#2}% + \caption@end% + \LWR@traceinfo{@makecaption: done}% + }% + } } @@ -10031,27 +10866,38 @@ end -- not --version } \AtBeginDocument{ -\LWR@formatted{caption@begin} -\LWR@formatted{caption@end} + \providecommand{\caption@begin}[1]{} + \LWR@formatted{caption@begin} + + \providecommand{\caption@end}{} + \LWR@formatted{caption@end} } -\let\LWR@origcaptionlistentry\captionlistentry +\AtBeginDocument{% +\@ifpackageloaded{caption}{ + \let\LWR@origcaptionlistentry\captionlistentry -\renewcommand*{\captionlistentry}{% - \LWR@ensuredoingapar% - \LWR@origcaptionlistentry% -} -\def\LWR@LTcaptionlistentry{% - \LWR@ensuredoingapar% - \LWR@forcenewautoidanchor% - \bgroup - \@ifstar{\egroup\LWR@LT@captionlistentry}% gobble * - {\egroup\LWR@LT@captionlistentry}% -}% + \renewcommand*{\captionlistentry}{% + \LWR@ensuredoingapar% + \LWR@origcaptionlistentry% + } + \def\LWR@LTcaptionlistentry{% + \LWR@ensuredoingapar% + \LWR@forcenewautoidanchor% + \bgroup% + \@ifstar{\egroup\LWR@LT@captionlistentry}% gobble * + {\egroup\LWR@LT@captionlistentry}% + }% -\def\LWR@LT@captionlistentry#1{% - \caption@listentry\@firstoftwo[\LTcaptype]{#1}% -}% + \def\LWR@LT@captionlistentry#1{% + \caption@listentry\@firstoftwo[\LTcaptype]{#1}% + }% +}% caption loaded +{% caption not loaded + \newcommand{\captionlistentry}[2][]{}% + \newcommand{\LWR@LT@captionlistentry}[2][]{}% +} +}% AtBeginDocument \let\LWR@origaddcontentsline\addcontentsline @@ -10069,15 +10915,15 @@ end -- not --version }% not TOC \LWR@origaddcontentsline{#1}{#2}{#3}% } -\AtBeginDocument{ +\RequirePackage{capt-of} -\let\LWR@origcaptionof\captionof - -\renewcommand*{\captionof}{% - \LWR@stoppars% - \LWR@origcaptionof% -} +\AtBeginDocument{ + \let\LWR@origcaptionof\captionof + \renewcommand*{\captionof}{% + \LWR@stoppars% + \LWR@origcaptionof% + } }% AtBeginDocument \end{warpHTML} @@ -10191,7 +11037,7 @@ end -- not --version \newcounter{SideTOCDepth} \setcounter{SideTOCDepth}{1} -\AtBeginDocument{% +\AtEndDocument{% \ifnumcomp{\value{SideTOCDepth}}{<}{\value{FileDepth}}{ \PackageWarningNoLine{lwarp} {% @@ -10240,7 +11086,8 @@ end -- not --version \NewDocumentCommand{\hypertoc}{m m +m m}{% \LWR@traceinfo{hypertoc !#1!#2!#3!#4!}% - \ifthenelse{\cnttest{#1}{<=}{\value{tocdepth}}}% + \ifnumcomp{#1}{>}{\value{tocdepth}}% + {}% {% \LWR@startpars% \LWR@subhyperrefclass{% @@ -10250,7 +11097,6 @@ end -- not --version \LWR@maybetocdata% \LWR@stoppars% }% - {}% \LWR@traceinfo{hypertoc done}% } @@ -10265,7 +11111,6 @@ end -- not --version } \newcommand{\hypertocfloat}[5]{% - \LWR@startpars% \@ifundefined{c@#3depth}{% \newcounter{#3depth}% \setcounter{#3depth}{1}% @@ -10324,6 +11169,9 @@ end -- not --version \newcounter{LWR@autoglossary} \setcounter{LWR@autoglossary}{0} +\newcommand*{\IndexPageSeparator}{, } +\newcommand*{\IndexRangeSeparator}{--} + \@ifundefined{chapter} {\newcommand*{\LWR@indexsection}[1]{\section*{#1}}} {\newcommand*{\LWR@indexsection}[1]{\chapter*{#1}}} @@ -10354,11 +11202,50 @@ end -- not --version \InlineClass{indexsubsubitem}{\LWR@htmlcomment{}}% } +\NewDocumentCommand{\LWR@xindex@modifyentry}{>{\SplitArgument{1}{|}}m} + {\LWR@xindex@modifyentrysub#1} +\newcommand*{\LWR@xindex@modifyentrysub}[2]{% + \edef\LWR@tempone{#1}% + \edef\LWR@temptwo{#2}% + \IfValueTF{#2}{% + \ifx#2(% + \appto\LWR@tempone{|(}% + \else% + \ifx#2)% + \appto\LWR@tempone{|)}% + \else% + \appto\LWR@tempone{% + |hyperindexformat\LWRleftbrace% + \LWRbackslash#2% + \LWRrightbrace% + }% + \fi% + \fi% + }% + {}% +} + +\newbool{LWR@xindex@tricked} +\boolfalse{LWR@xindex@tricked} + \def\LWR@wrindex#1{% + \ifbool{LWR@xindex}{% + \ifbool{LWR@xindex@tricked}{}{% + \protected@write\@indexfile{}% + {% + \LWRpercent\space hyperpage\LWRrightbrace% + \LWRpercent\space trick xindex to assume hyperref% + }% + \global\booltrue{LWR@xindex@tricked}% + }% + \LWR@xindex@modifyentry{#1}% + }{% + \def\LWR@tempone{#1}% + }% \addtocounter{LWR@autoindex}{1}% - \LWR@new@label{LWRindex-\arabic{LWR@autoindex}}% + \label{LWRindex-\arabic{LWR@autoindex}}% \protected@write\@indexfile{}% - {\string\indexentry{#1}{\arabic{LWR@autoindex}}}% + {\string\indexentry{\LWR@tempone}{\arabic{LWR@autoindex}}}% \endgroup% \@esphack% } @@ -10376,12 +11263,117 @@ end -- not --version \@esphack% } -\newcommand*{\LWR@indexnameref}[1]{\nameref{LWRindex-#1}} +\newcommand*{\LWR@indexnameref@anonref}[1]{% + \LWR@startref{LWRindex-#1}% + (*)% + \LWR@htmltag{/a}% +} + +\newcommand*{\LWR@indexnameref@ref}[1]{% + \edef\LWR@thisref{\csuse{r@LWRindex-#1}}% + \ifdefvoid{\LWR@thisref}{}{% + \edef\LWR@thisref{\expandafter\@firstoftwo\LWR@thisref}% + \ifdefvoid{\LWR@thisref}% + {\LWR@indexnameref@anonref{#1}}% + {\ref{LWRindex-#1}}% + }% +} + +\newcommand*{\LWR@indexnameref@refnameref}[1]{% + \edef\LWR@thisref{\csuse{r@LWRindex-#1}}% + \ifdefvoid{\LWR@thisref}{}{% + \edef\LWR@thisref{\expandafter\@firstoftwo\LWR@thisref}% + \ifdefvoid{\LWR@thisref}{}{% + \ifdefstring{\LWR@thisref}{(*)}% + {}% + {\ref{LWRindex-#1} }% space + }% + }% + \nameref{LWRindex-#1}% +} + +\newcommand*{\LWR@indexnameref@cref}[1]{% + \edef\LWR@thisref{\csuse{r@LWRindex-#1}}% + \ifdefvoid{\LWR@thisref}{% + \nameref{LWRindex-#1}% + }{% + \edef\LWR@thisref{\expandafter\@firstoftwo\LWR@thisref}% + \ifdefvoid{\LWR@thisref}{% + \nameref{LWRindex-#1}% + }{% + \ifdefstring{\LWR@thisref}{(*)}{% + \LWR@indexnameref@anonref{#1}% + }{% + \cref{LWRindex-#1}% + }% + }% + }% +} + +\newcommand*{\LWR@indexnameref@crefnameref}[1]{% + \edef\LWR@thisref{\csuse{r@LWRindex-#1}}% + \ifdefvoid{\LWR@thisref}% + {}% + {% + \edef\LWR@thisref{\expandafter\@firstoftwo\LWR@thisref}% + \ifdefvoid{\LWR@thisref}% + {}% + {% + \ifdefstring{\LWR@thisref}{(*)}% + {}% + {\cref{LWRindex-#1}} % space + }% + }% + \nameref{LWRindex-#1}% +} + +\newcommand*{\LWR@indexnameref}[1]{% + {% group + \ifdef{\caption@xref}{% + \renewcommand*{\caption@xref}[2]{(*)}% + }{}% + \ifdefstring{\LWR@IndexRef}{ref}{% + \LWR@indexnameref@ref{#1}% + }{% + \ifdefstring{\LWR@IndexRef}{nameref}{% + \nameref{LWRindex-#1}% + }{% + \ifdefstring{\LWR@IndexRef}{refnameref}{% + \LWR@indexnameref@refnameref{#1}% + }{% + \ifdefstring{\LWR@IndexRef}{cref}{% + \LWR@indexnameref@cref{#1}% + }{% + \ifdefstring{\LWR@IndexRef}{crefnameref}{% + \LWR@indexnameref@crefnameref{#1}% + }{% + \ifdefstring{\LWR@IndexRef}{autoref}{% + \LWR@indexnameref@cref{#1}% + }{% text string + \LWR@startref{LWRindex-#1}% + \LWR@IndexRef% + \LWR@htmltag{/a}% + }}}}}}% + }% group +} -\newrobustcmd{\LWR@doindexentry}[1]{% +\newrobustcmd{\LWR@doindexentrysubsub}[2]{% \IfInteger{#1}% {\LWR@indexnameref{#1}}% {#1}% + \IfValueT{#2}{% + \IndexRangeSeparator% + \IfInteger{#2}% + {\LWR@indexnameref{#2}}% + {#2}% + }% +} +\NewDocumentCommand{\LWR@doindexentrysub}{m >{\SplitArgument{1}{#1}}m} + {\LWR@doindexentrysubsub#2} + +\newcommand*{\LWR@doindexentry}[1]{% + \relax% required + \expandafter\LWR@doindexentrysub\expandafter{\IndexRangeSeparator}{#1}% } \newcommand{\LWR@hyperindexrefnullified}{% @@ -10400,8 +11392,36 @@ end -- not --version \renewrobustcmd{\textsl}[1]{\LWR@HTML@textsl{\LWR@doindexentry{##1}}}% } -\newcommand{\hyperindexref}[1]{% - \def\LWR@tempone{#1}% +\newcommand*{\hyperindexref}[1]{% + \relax% required + \expandafter\LWR@hyperindexref@comma\expandafter{\IndexPageSeparator}{#1}% +} +\NewDocumentCommand{\LWR@hyperindexref@comma} + {m >{\SplitList{#1}} m} + {% + \def\LWR@hyperindexref@thiscomma{}% + \def\LWR@hyperindexref@nextcomma{#1}% + \ProcessList{#2}\LWR@hyperindexref@@comma% + } +\newcommand*{\LWR@hyperindexref@@comma}[1]{% + \LWR@hyperindexref@thiscomma% + \renewcommand{\LWR@hyperindexref@thiscomma}{\LWR@hyperindexref@nextcomma}% + \expandafter\LWR@hyperindexref@range\expandafter{\IndexRangeSeparator}{#1}% +} +\NewDocumentCommand{\LWR@hyperindexref@range} + {m >{\SplitArgument{1}{#1}} m} + {\LWR@hyperindexrefsub#2} + +\newcommand*{\LWR@hyperindexrefsub}[2]{% + \LWR@hyperindexrefsubtwo{#1}% + \IfValueT{#2}{% + \IndexRangeSeparator% + \LWR@hyperindexrefsubtwo{#2}% + }% +} + +\newcommand*{\LWR@hyperindexrefsubtwo}[1]{% + \edef\LWR@tempone{#1}% \IfBeginWith{\LWR@tempone}{ }{% \StrGobbleLeft{\LWR@tempone}{1}[\LWR@tempone]% }{}% @@ -10415,6 +11435,14 @@ end -- not --version }% } +\LetLtxMacro\hyperpage\hyperindexref + +\def\nohyperpage#1{} + +\def\hyperindexformat#1#2{% + #1{\hyperpage{#2}}% +}% + \end{warpHTML} \begin{warpprint} @@ -10425,14 +11453,6 @@ end -- not --version \providecommand{\glo@name}{} \end{warpall} \begin{warpHTML} -\def\bibliography#1{% - \if@filesw - \immediate\write\@auxout{\string\bibdata{#1}}% - \fi - \begingroup% - \@input@{\BaseJobname.bbl}% lwarp - \endgroup% -} \renewcommand{\@biblabel}[1]{[#1]\quad} \AtBeginDocument{ @@ -10459,8 +11479,8 @@ end -- not --version \end{warpHTML} - \begin{warpHTML} +\newcommand*{\LWR@restoreMathJaxformatting}{} \newcommand*{\LWR@restoreorigformatting}{% \LWR@traceinfo{LWR@restoreorigformatting}% @@ -10477,6 +11497,7 @@ end -- not --version \let\thinspace\LWR@origthinspace% disable HTML short unbreakable space \let\negthinspace\LWR@orignegthinspace% disable HTML negative short unbreakable space \let\textellipsis\LWR@origtextellipsis% + \let\vdots\LWR@origvdots% \let\textless\LWR@origtextless% \let\textgreater\LWR@origtextgreater% \let\&\LWR@origampersand% @@ -10484,10 +11505,6 @@ end -- not --version \LetLtxMacro\normalfont\LWR@orignormalfont% \let\sp\LWR@origsp% \let\sb\LWR@origsb% - \LetLtxMacro\textsuperscript\LWR@origtextsuperscript% - \LetLtxMacro\@textsuperscript\LWR@orig@textsuperscript% - \LetLtxMacro\textsubscript\LWR@origtextsubscript% - \LetLtxMacro\@textsubscript\LWR@orig@textsubscript% \LetLtxMacro\underline\LWR@origunderline% \let~\LWR@origtilde% \let\enskip\LWR@origenskip% @@ -10506,7 +11523,144 @@ 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}% + {}% +} +\end{warpHTML} +\begin{warpHTML} +\newcommand*{\LWR@dash}{-} +\catcode`\$=\active% redefining $ below +\catcode`\_=12% redefining \_ below +\newcommand*{\LWR@nullfonts}{% + \renewcommand*{\$}{-}% + \renewcommand*{\%}{-}% + \renewcommand*{\_}{-}% + \renewcommand*{\}}{-}% + \renewcommand*{\{}{-}% + \renewcommand*{\&}{-}% used to be 'and' + \renewcommand*{\#}{-}% + \renewcommand*{\,}{-}% + \renewcommand*{~}{-}% + \renewcommand*{\`}[1]{##1}% + \renewcommand*{\'}[1]{##1}% + \renewcommand*{\^}[1]{##1}% + \renewcommand*{\~}[1]{##1}% + \renewcommand*{\=}[1]{##1}% + \renewcommand*{\u}[1]{##1}% + \renewcommand*{\.}[1]{##1}% + \renewcommand*{\"}[1]{##1}% + \renewcommand*{\H}[1]{##1}% + \renewcommand*{\v}[1]{##1}% + \renewcommand*{\d}[1]{##1}% + \renewcommand*{\c}[1]{##1}% + \renewcommand*{\b}[1]{##1}% + \renewcommand*{\t}[1]{##1}% + \let\newline\LWR@dash% + \let\textasciicircum\LWR@dash% + \let\textasciitilde\LWR@dash% + \let\textasteriskcentered\LWR@dash% + \let\textbackslash\LWR@dash% + \let\textbar\LWR@dash% + \let\textbardbl\LWR@dash% + \let\textbigcircle\LWR@dash% + \let\textbraceleft\LWR@dash% + \let\textbraceright\LWR@dash% + \let\textbullet\LWR@dash% + \let\textcopyright\LWR@dash% + \let\textdagger\LWR@dash% + \let\textdaggerdbl\LWR@dash% + \let\textdollar\LWR@dash% + \let\textellipsis\LWR@dash% + \let\textemdash\LWR@dash% + \let\textendash\LWR@dash% + \let\textexclamdown\LWR@dash% + \let\textgreater\LWR@dash% + \let\textless\LWR@dash% + \let\textordfeminine\LWR@dash% + \let\textordmasculine\LWR@dash% + \let\textparagraph\LWR@dash% + \let\textperiodcentered\LWR@dash% + \let\textpertenthousand\LWR@dash% + \let\textperthousand\LWR@dash% + \let\textquestiondown\LWR@dash% + \let\textquotedblleft\LWR@dash% + \let\textquotedblright\LWR@dash% + \let\textquoteleft\LWR@dash% + \let\textquoteright\LWR@dash% + \let\textregistered\LWR@dash% + \let\textsection\LWR@dash% + \let\textsterling\LWR@dash% + \let\texttrademark\LWR@dash% + \let\textunderscore\LWR@dash% + \let\textvisiblespace\LWR@dash% + \let\copyright\LWR@dash% + \let\dag\LWR@dash% + \let\ddag\LWR@dash% + \let\dots\LWR@dash% + \let\P\LWR@dash% + \let\pounds\LWR@dash% + \let\S\LWR@dash% + \renewcommand*{\aa}{a}% + \renewcommand*{\AA}{A}% + \renewcommand*{\AE}{AE}% + \renewcommand*{\ae}{ae}% + \renewcommand*{\dh}{d}% + \renewcommand*{\DH}{D}% + \renewcommand*{\DJ}{D}% + \renewcommand*{\dj}{d}% + \renewcommand*{\IJ}{IJ}% + \renewcommand*{\ij}{ij}% + \renewcommand*{\L}{L}% + \renewcommand*{\l}{l}% + \renewcommand*{\NG}{NG}% + \renewcommand*{\ng}{ng}% + \renewcommand*{\O}{O}% + \renewcommand*{\o}{o}% + \renewcommand*{\oe}{oe}% + \renewcommand*{\OE}{OE}% + \renewcommand*{\ss}{ss}% + \renewcommand*{\SS}{SS}% + \renewcommand*{\th}{th}% + \renewcommand*{\TH}{TH}% + \let\guillemotleft\@empty% + \let\guilsinglleft\@empty% + \let\quotedblbase\@empty% + \let\textquotedbl\@empty% + \let\guillemotright\@empty% + \let\guilsinglright\@empty% + \let\quotesinglbase\@empty% + \renewcommand*{\HTMLunicode}[1]{}% + \renewcommand*{\HTMLentity}[1]{}% + \renewcommand{\textsuperscript}[1]{##1}% + \renewcommand{\textsubscript}[1]{##1}% + \renewcommand{\underline}[1]{##1}% + \RenewDocumentCommand{\hspace}{s m}{}% + \RenewDocumentCommand{\LWR@htmlspanclass}{o m +m}{##3}% + \DeclareExpandableDocumentCommand{\InlineClass}{D{(}{)}{} o m +m}{##4}% + \def\(##1\){}% + \def\[##1\]{}% + \RenewDocumentCommand{\LWR@subsingledollar}{s m m m}{}% + \renewcommand*{\TeX}{TeX}% + \renewcommand*{\LaTeX}{LaTeX}% + \renewcommand*{\LaTeXe}{LaTeX2e}% + \renewcommand*{\LuaTeX}{LuaTeX}% + \renewcommand*{\LuaLaTeX}{LuaLaTeX}% + \renewcommand*{\XeTeX}{XeTeX}% + \renewcommand*{\XeLaTeX}{XeLaTeX}% + \renewcommand*{\ConTeXt}{ConTeXt}% + \renewcommand*{\BibTeX}{BibTeX}% + \renewcommand*{\MakeIndex}{MakeIndex}% + \renewcommand*{\AmS}{AmS}% + \renewcommand*{\MiKTeX}{MiKTeX}% + \renewcommand*{\LyX}{LyX}% + \def\texorpdfstring{\expandafter\@secondoftwo}% +} +\catcode`\$=3% +\catcode`\_=8% +\newcommand*{\FilenameNullify}[1]{% + \appto{\LWR@nullfonts}{#1}% } \end{warpHTML} \begin{warpall} @@ -10534,6 +11688,9 @@ end -- not --version \newbool{LWR@indisplaymathimage} +\newbool{LWR@insidemathcomment} +\boolfalse{LWR@insidemathcomment} + \newbool{LWR@xfakebold} \boolfalse{LWR@xfakebold} @@ -10778,7 +11935,10 @@ end -- not --version \LWR@traceinfo{LWR@subsingledollar: Mathjax}% {% \textbackslash(% - \LWR@HTMLsanitize{#4}% + {% + \ifmmode\else\LWR@print@ttfamily\fi% + \LWR@HTMLsanitize{#4}% + }% \textbackslash)% }% }% mathjax @@ -10813,7 +11973,7 @@ end -- not --version { \textbackslash[% - \LWR@HTMLsanitize{#1}% + {\LWR@print@ttfamily\LWR@HTMLsanitize{#1}}% \textbackslash] }% mathjax @@ -10859,11 +12019,11 @@ end -- not --version } \AtBeginDocument{ -\protected\gdef\(#1\){$#1$} -\protected\gdef\[#1\]{$$#1$$} + \protected\gdef\(#1\){$#1$} + \protected\gdef\[#1\]{$$#1$$} } -\endgroup +\endgroup% active $ \AtBeginDocument{ \LetLtxMacro\LWR@openbracketnormal\[ \LetLtxMacro\LWR@closebracketnormal\] @@ -10911,8 +12071,6 @@ end -- not --version \NewEnviron{math}{\expandafter\(\BODY\)} \NewEnviron{LWR@displaymathnormal}{\expandafter\[\BODY\]\@ignoretrue} -\LetLtxMacro\[\LWR@openbracketnormal% -\LetLtxMacro\]\LWR@closebracketnormal% \LetLtxMacro\displaymath\LWR@displaymathnormal% \LetLtxMacro\enddisplaymath\endLWR@displaymathnormal% \newenvironment{LWR@displaymathother} @@ -10944,29 +12102,53 @@ end -- not --version } \newcounter{LWR@nextequation} -\newcommand*{\LWR@syncmathjax}{% - \ifcsdef{thechapter}{ - \LWR@stoppars% - \InlineClass{hidden}{ - \textbackslash( - \textbackslash{}seteqsection \{\thechapter\} - \textbackslash) +\newcommand\LWR@article@theequation{\@arabic\c@equation} + +\newcommand\LWR@book@theequation + {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation} + +\newcommand\LWR@chapter@theequation{\thechapter.\arabic{equation}} +\newcommand\LWR@section@thequation{\thesection.\arabic{equation}} +\newcommand\LWR@subsection@thequation{\thesubsection.\arabic{equation}} + +\AtBeginDocument{ + % default per article class: + \newcommand*{\theMathJaxsubequations}{0} + \newcommand*{\theMathJaxsection}{} + \newcommand*{\theMathJaxequation}{\arabic{equation}} + + \ifdefstrequal{\theequation}{\LWR@article@theequation} + {}{ + \ifdefstrequal{\theequation}{\LWR@book@theequation}{ + \renewcommand*{\theMathJaxsection}{\ifnum \c@chapter>\z@ \thechapter.\fi} + }{ + \ifdefstrequal{\theequation}{\LWR@subsection@thequation}{ + \renewcommand*{\theMathJaxsection}{\thesubsection{}.} + }{ + \ifdefstrequal{\theequation}{\LWR@section@thequation}{ + \renewcommand*{\theMathJaxsection}{\thesection{}.} + }{ + \ifdefstrequal{\theequation}{\LWR@chapter@theequation}{ + \renewcommand*{\theMathJaxsection}{\thechapter{}.} + }{% unknown format + \PackageWarningNoLine{lwarp} + {% + Unknown equation tag format for \protect\theequation.\MessageBreak + Article-style equation numbering will be used% } - \LWR@startpars% - } - {}% not using chapters - \ifthenelse{\cnttest{\value{equation}}>0} - { - \setcounter{LWR@nextequation}{\value{equation}} - \addtocounter{LWR@nextequation}{1} + }}}}} +} +\newcommand*{\LWR@syncmathjax}{% \LWR@stoppars% \InlineClass{hidden}{ - \textbackslash( - \textbackslash{}seteqnumber \{\arabic{LWR@nextequation}\} - \textbackslash) + \textbackslash(% + \textbackslash{}seteqnumber% + \{\theMathJaxsubequations\}% + \{\theMathJaxsection\}% + \{\theMathJaxequation\}% + \textbackslash)% } \LWR@startpars% - }{}% not eq > 0 } \NewDocumentCommand{\LWR@hidelatexequation}{m +m}{% \LWR@stoppars @@ -10975,27 +12157,34 @@ end -- not --version \begingroup \@nameuse{LWR@orig#1} \LWR@restoreorigformatting + \booltrue{LWR@insidemathcomment} #2 \@nameuse{LWR@origend#1} \endgroup \LWR@htmlclosecomment + \boolfalse{LWR@insidemathcomment} \LWR@startpars } \NewDocumentCommand{\LWR@addmathjax}{m +m}{% \LWR@origtilde\LWR@orignewline - \textbackslash{}begin\{#1\} - \LWR@HTMLsanitizeexpand{\detokenize\expandafter{#2}} - \textbackslash{}end\{#1\} + {% + \LWR@print@ttfamily% + \textbackslash{}begin\{#1\} + \LWR@orignewline% + \LWR@HTMLsanitizeexpand{\detokenize\expandafter{#2}}% + \LWR@orignewline% + \textbackslash{}end\{#1\} + }% \LWR@orignewline } \AtBeginDocument{ -\let\LWR@origequation\equation -\let\LWR@origendequation\endequation -\csletcs{LWR@origequation*}{equation*} -\csletcs{LWR@origendequation*}{endequation*} + \let\LWR@origequation\equation + \let\LWR@origendequation\endequation + \csletcs{LWR@origequation*}{equation*} + \csletcs{LWR@origendequation*}{endequation*} } \newcommand*{\LWR@doequation}[2]{% @@ -11067,39 +12256,35 @@ end -- not --version \newcommand*{\LWR@syncnotenames}{\LWR@synconenotename{LWRfootnote}{\footnotename}} \AtBeginDocument{ -\let\equation\relax -\let\endequation\relax -\csletcs{equation*}{relax} -\csletcs{endequation*}{relax} + \let\equation\relax + \let\endequation\relax + \csletcs{equation*}{relax} + \csletcs{endequation*}{relax} } \AtBeginDocument{ + \NewEnviron{equation}% + {\LWR@doequation{\BODY}{equation}}% + [\LWR@doendequation{equation}] -\NewEnviron{equation}% - {\LWR@doequation{\BODY}{equation}}% - [\LWR@doendequation{equation}] - -\LetLtxMacro\LWR@equationnormal\equation -\LetLtxMacro\endLWR@equationnormal\endequation - + \LetLtxMacro\LWR@equationnormal\equation + \LetLtxMacro\endLWR@equationnormal\endequation }% AtBeginDocument \AtBeginDocument{ + \NewEnviron{equation*}% + {\LWR@doequation{\BODY}{equation*}}% + [\LWR@doendequation{equation*}] -\NewEnviron{equation*}% - {\LWR@doequation{\BODY}{equation*}}% - [\LWR@doendequation{equation*}] - -\csletcs{LWR@equationnormalstar}{equation*} -\csletcs{LWR@endequationnormalstar}{endequation*} - + \csletcs{LWR@equationnormalstar}{equation*} + \csletcs{LWR@endequationnormalstar}{endequation*} }% AtBeginDocument \AtBeginDocument{ -\LetLtxMacro\LWR@equationless\equation -\LetLtxMacro\endLWR@equationless\endequation -\csletcs{LWR@equationlessstar}{equation*} -\csletcs{LWR@endequationlessstar}{endequation*} + \LetLtxMacro\LWR@equationless\equation + \LetLtxMacro\endLWR@equationless\endequation + \csletcs{LWR@equationlessstar}{equation*} + \csletcs{LWR@endequationlessstar}{endequation*} } \newcommand*{\displaymathnormal}{% @@ -11140,22 +12325,6 @@ end -- not --version \newbool{LWR@amsmultline} \boolfalse{LWR@amsmultline} -\newcommand*{\LWR@htmlmathlabel}[1]{% - \LWR@traceinfo{LWR@htmlmathlabelb #1}% - \ifboolexpr{bool{mathjax} or ( bool{FormatWP} and bool{WPMarkMath} ) }% - {% - \text{% - \ifbool{LWR@amsmultline}{}{\hspace*{\totwidth@}}% - \LWR@htmlclosecomment% - \LWR@origltx@label{#1}% - \LWR@htmlopencomment% - }% text - }% mathjax - {% - \LWR@origltx@label{#1}% - }% -} - \newcommand*{\LWR@beginhideamsmath}{ \LWR@stoppars \LWR@origtilde\LWR@orignewline @@ -11163,12 +12332,14 @@ end -- not --version \begingroup \LWR@restoreorigformatting + \booltrue{LWR@insidemathcomment} } \newcommand*{\LWR@endhideamsmath}{ \endgroup \LWR@htmlclosecomment + \boolfalse{LWR@insidemathcomment} \LWR@orignewline \LWR@startpars } @@ -11202,7 +12373,7 @@ end -- not --version \begin{BlockClass}{displaymathnumbered}% \LWR@newautoidanchor% \booltrue{LWR@indisplaymathimage}% - \begin{lateximage}[(\LWR@startingequationtag--\LWR@equationtag)% + \begin{lateximage}[(\LWR@startingequationtag\textendash\LWR@equationtag)% \LWR@addmathjax{eqnarray}{\BODY}]*% \LWR@applyxfakebold% \LWR@origeqnarray% @@ -11308,7 +12479,7 @@ end -- not --version {% \ifnumcomp{\value{LWR@startingequation}}{=}{\value{equation}}% {(\LWR@equationtag)}% - {(\LWR@startingequationtag--\LWR@equationtag)} % extra space + {(\LWR@startingequationtag\textendash\LWR@equationtag)} % extra space \LWR@amsmathbody{#1} % extra space } @@ -11367,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 @@ -11403,7 +12576,7 @@ end -- not --version \LWR@htmlopencomment% \addtocounter{LWR@lateximagedepth}{1}% \LWR@traceinfo{lateximage: about to create a new page}% - \LWR@orignewpage% + \LWR@maybe@orignewpage% \LWR@traceinfo{lateximage: about to create minipage}% \ifdimless{\linewidth}{6in}{% \LWR@print@minipage{\linewidth}% @@ -11450,7 +12623,7 @@ end -- not --version {% end of outer-most lateximage \LWR@traceinfo{lateximage: ending outer-most lateximage}% \endLWR@print@minipage% - \LWR@orignewpage% + \LWR@maybe@orignewpage% \LWR@print@vspace*{.5\baselineskip}% \LWR@htmlclosecomment% \LWR@traceinfo{lateximage: The page after the image is \arabic{page}}% @@ -11486,7 +12659,7 @@ end -- not --version \begin{warpHTML} -\renewenvironment*{center} +\newenvironment*{LWR@HTML@center} { \LWR@forcenewpage \ifbool{FormatWP} @@ -11495,7 +12668,9 @@ end -- not --version } {\endBlockClass} -\renewenvironment*{flushright} +\LWR@formattedenv{center} + +\newenvironment*{LWR@HTML@flushright} { \LWR@forcenewpage \ifbool{FormatWP} @@ -11504,7 +12679,9 @@ end -- not --version } {\endBlockClass} -\renewenvironment*{flushleft} +\LWR@formattedenv{flushright} + +\newenvironment*{LWR@HTML@flushleft} { \LWR@forcenewpage \ifbool{FormatWP} @@ -11513,6 +12690,8 @@ end -- not --version } {\endBlockClass} +\LWR@formattedenv{flushleft} + \newcommand*{\LWR@HTML@centering}{% \ifbool{HTMLDebugComments}{% @@ -11563,8 +12742,24 @@ end -- not --version \LWR@PreloadedPackage{graphics} \LWR@PreloadedPackage{graphicx} +\LWR@PreloadedPackage{scalefnt} + \LWR@PreloadedPackage{fontaxes} +\LWR@PreloadedPackage{cmbright} +\LWR@PreloadedPackage{fourier} +\LWR@PreloadedPackage{kpfonts} +\LWR@PreloadedPackage{kpfonts-otf} +\LWR@PreloadedPackage{libertinust1math} +\LWR@PreloadedPackage{pxfonts} +\LWR@PreloadedPackage{txfonts} +\LWR@PreloadedPackage{txgreeks} +\LWR@PreloadedPackage{newpxmath} +\LWR@PreloadedPackage{newtxmath} +\LWR@PreloadedPackage{newtxsf} +\LWR@PreloadedPackage{mathalpha} +\LWR@PreloadedPackage{unicode-math} + \LWR@PreloadedPackage{nfssext-cfr} \LWR@PreloadedPackage{ulem} @@ -11592,7 +12787,7 @@ end -- not --version \newrobustcmd{\LWR@siunitx@textdegree}{\HTMLentity{deg}} \newrobustcmd{\LWR@siunitx@textprime}{\HTMLunicode{2032}} \newrobustcmd{\LWR@siunitx@textdblprime}{\HTMLunicode{2033}} -\newrobustcmd{\LWR@siunitx@textplanckbar}{\text{\textit{\HTMLunicode{0127}}}} +\newrobustcmd{\LWR@siunitx@textplanckbar}{\text{\textit{\HTMLunicode{210F}}}} \appto\LWR@restoreorigformatting{% \renewrobustcmd{\LWR@siunitx@textcelsius}{\text{\ensuremath{^\circ}C}}% @@ -11733,117 +12928,21 @@ end -- not --version \end{warpprint} - - - \begin{warpHTML} + \AtEndPreamble{ \RequirePackage{cleveref} } -\AfterEndPreamble{ -\LWR@traceinfo{Patching cleveref.} - -\def\LWR@orig@@@setcref#1#2{\cref@getlabel{#2}{\@templabel}#1{\@templabel}{}{}}% - -\ifdefequal{\@@setcref}{\LWR@orig@@@setcref}{% before v0.21 - \renewcommand*{\@@setcref}[2]{#1{\ref{#2}}{}{}} -}{ - \ifdefequal{\@@@setcref}{\LWR@orig@@@setcref}{% as of v0.21 - \renewcommand*{\@@@setcref}[2]{#1{\ref{#2}}{}{}} - }{ - \PackageWarning{lwarp-cleveref}{ - Unknown version of cleveref. - \protect\cref\space will fail. - }% - } -} - -\def\LWR@orig@@@setcrefrange#1#2#3{% - \cref@getlabel{#2}{\@labela}% - \cref@getlabel{#3}{\@labelb}% - #1{\@labela}{\@labelb}{}{}{}{}}% - -\ifdefequal{\@@setcrefrange}{\LWR@orig@@@setcrefrange}{ - \renewcommand{\@@setcrefrange}[3]{% - #1{\ref{#2}}{\ref{#3}}{}{}{}{}% - } -}{ - \ifdefequal{\@@@setcrefrange}{\LWR@orig@@@setcrefrange}{ - \renewcommand{\@@@setcrefrange}[3]{% - #1{\ref{#2}}{\ref{#3}}{}{}{}{}% - } - }{ - \PackageWarning{lwarp-cleveref}{ - Unknown version of cleveref. - \protect\crefrange\space will fail. - } - } -} - - - -\newcommand*{\cpagerefFor}{for} - -\def\LWR@orig@@setcpageref#1#2{% before v0.21 - \cref@getpageref{#2}{\@temppage}#1{\@temppage}{}{}}% - -\def\LWR@orig@@@setcpageref#1#2{% as of v0.21 - \cpageref@getlabel{#2}{\@temppage}#1{\@temppage}{}{}}% - -\ifdefequal{\@@setcpageref}{\LWR@orig@@setcpageref}{ - \renewcommand*{\@@setcpageref}[2]{% - #1{\cpagerefFor\ \cref{#2}}{}{}% - } -}{ - \ifdefequal{\@@@setcpageref}{\LWR@orig@@@setcpageref}{ - \renewcommand*{\@@@setcpageref}[2]{% - #1{\cpagerefFor\ \cref{#2}}{}{}% - } - } - { - \PackageWarning{lwarp-cleveref}{ - Unknown version of cleveref. - \protect\cpageref\space will fail. - } - } -} +\end{warpHTML} +\begin{warpHTML} -\def\LWR@orig@@setcpagerefrange#1#2#3{% before v0.21 - \cref@getpageref{#2}{\@pagea}% - \cref@getpageref{#3}{\@pageb}% - #1{\@pagea}{\@pageb}{}{}{}{}}% - -\def\LWR@orig@@@setcpagerefrange#1#2#3{% as of v0.21 - \cpageref@getlabel{#2}{\@pagea}% - \cpageref@getlabel{#3}{\@pageb}% - #1{\@pagea}{\@pageb}{}{}{}{}}% - -\ifdefequal{\@@setcpagerefrange}{\LWR@orig@@setcpagerefrange}{ - \renewcommand*{\@@setcpagerefrange}[3]{% - #1{\cpagerefFor\ \cref{#2}}{\cref{#3}}{}{}{}{}% - } -}{ - \ifdefequal{\@@@setcpagerefrange}{\LWR@orig@@@setcpagerefrange}{ - \renewcommand*{\@@@setcpagerefrange}[3]{% - #1{\cpagerefFor\ \cref{#2}}{\cref{#3}}{}{}{}{}% - } - } - { - \PackageWarning{lwarp-cleveref}{ - Unknown version of cleveref. - \protect\cpagerefrange\space will fail. - } - } -} - -}% AfterEndPreamble - -\LetLtxMacro\LWR@orig@label\label -\RenewDocumentCommand{\label}{}{\LWR@new@label} +\LetLtxMacro\LWR@orig@label\label% includes memoir, before cleveref +\LetLtxMacro\label\LWR@new@label \LetLtxMacro\LWR@orig@pageref\pageref -\RenewDocumentCommand{\pageref}{}{\LWR@new@pageref} +\LetLtxMacro\pageref\LWR@new@pageref + \end{warpHTML} @@ -11864,7 +12963,7 @@ end -- not --version \setcounter{LWR@virtualpagedepth}{0} \NewDocumentEnvironment{LWR@setvirtualpage}{s O{1}}{% \ifnumequal{\value{LWR@virtualpagedepth}}{0}{% - \IfBooleanT{#1}{\LWR@orignewpage}% + \IfBooleanT{#1}{\LWR@maybe@orignewpage}% \setlength{\linewidth}{6in/#2}% \setlength{\textwidth}{6in}% \setlength{\textheight}{9in}% @@ -11905,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} ; }{}% @@ -11933,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 @@ -12173,6 +13275,13 @@ color:\LWR@origpound\LWR@tempcolor% \end{warpHTML} +\begin{warpall} + +\newbool{FixSmallCaps} +\boolfalse{FixSmallCaps} + +\end{warpall} + \begin{warpHTML} @@ -12185,8 +13294,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{emph} -\newcommand{\LWR@null@emph}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textmd}[1]{% {% \LWR@HTML@mdseries% @@ -12196,8 +13303,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textmd} -\newcommand{\LWR@null@textmd}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textbf}[1]{% {% \LWR@HTML@bfseries% @@ -12207,8 +13312,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textbf} -\newcommand{\LWR@null@textbf}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@texteb}[1]{% {% \LWR@HTML@ebweight% @@ -12218,8 +13321,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{texteb} -\newcommand{\LWR@null@texteb}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textlg}[1]{% {% \LWR@HTML@lgweight% @@ -12229,8 +13330,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textlg} -\newcommand{\LWR@null@textlg}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textrm}[1]{% {% \LWR@HTML@rmfamily% @@ -12240,8 +13339,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textrm} -\newcommand{\LWR@null@textrm}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textsf}[1]{% {% \LWR@HTML@sffamily% @@ -12251,8 +13348,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textsf} -\newcommand{\LWR@null@textsf}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@texttt}[1]{% {% \LWR@HTML@ttfamily% @@ -12262,8 +13357,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{texttt} -\newcommand{\LWR@null@texttt}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textup}[1]{% {% \LWR@HTML@upshape% @@ -12273,8 +13366,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textup} -\newcommand{\LWR@null@textup}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textit}[1]{% {% \LWR@HTML@itshape% @@ -12284,8 +13375,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textit} -\newcommand{\LWR@null@textit}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textsc}[1]{% {% \LWR@HTML@scshape% @@ -12295,8 +13384,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textsc} -\newcommand{\LWR@null@textsc}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textulc}[1]{% {% \LWR@HTML@ulcshape% @@ -12306,8 +13393,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textulc} -\newcommand{\LWR@null@textulc}[1]{#1} - \@ifundefined{textsi}{ \LetLtxMacro\LWR@print@textsi\LWR@print@textsc }{} @@ -12321,8 +13406,6 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textsi} -\newcommand{\LWR@null@textsi}[1]{#1} - \DeclareRobustCommand{\LWR@HTML@textsl}[1]{% {% \slshape% @@ -12332,174 +13415,30 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@formatted{textsl} -\newcommand{\LWR@null@textsl}[1]{#1} +\newrobustcmd{\LWR@HTML@textssc}[1]{\textsc{#1}} +\LWR@formatted{textssc} \DeclareRobustCommand{\LWR@HTML@textnormal}[1]{\textmd{\textrm{\textup{#1}}}} \LWR@formatted{textnormal} -\newcommand{\LWR@null@textnormal}[1]{#1} - -\newcommand{\LWR@null@rmfamily}{} -\newcommand{\LWR@null@sffamily}{} -\newcommand{\LWR@null@ttfamily}{} -\newcommand{\LWR@null@bfseries}{} -\newcommand{\LWR@null@ebweight}{} -\newcommand{\LWR@null@lgweight}{} -\newcommand{\LWR@null@mdseries}{} -\newcommand{\LWR@null@upshape}{} -\newcommand{\LWR@null@slshape}{} -\newcommand{\LWR@null@scshape}{} -\newcommand{\LWR@null@itshape}{} -\newcommand{\LWR@null@normalfont}{} -\newcommand{\LWR@null@em}{} - -\catcode`\$=\active% redefining $ below -\catcode`\_=12% redefining \_ below -\newcommand*{\LWR@nullfonts}{% -\LetLtxMacro\emph\LWR@null@emph% -\LetLtxMacro\textmd\LWR@null@textmd% -\LetLtxMacro\textbf\LWR@null@textbf% -\LetLtxMacro\textrm\LWR@null@textrm% -\LetLtxMacro\textsf\LWR@null@textsf% -\LetLtxMacro\texttt\LWR@null@texttt% -\LetLtxMacro\textup\LWR@null@textup% -\LetLtxMacro\textit\LWR@null@textit% -\LetLtxMacro\textsc\LWR@null@textsc% -\LetLtxMacro\textulc\LWR@null@textulc% -\LetLtxMacro\textsi\LWR@null@textsi% -\LetLtxMacro\textsl\LWR@null@textsl% -\LetLtxMacro\textnormal\LWR@null@textnormal% -\LetLtxMacro\rmfamily\LWR@null@rmfamily% -\LetLtxMacro\sffamily\LWR@null@sffamily% -\LetLtxMacro\ttfamily\LWR@null@ttfamily% -\LetLtxMacro\bfseries\LWR@null@bfseries% -\LetLtxMacro\mdseries\LWR@null@mdseries% -\LetLtxMacro\upshape\LWR@null@upshape% -\LetLtxMacro\slshape\LWR@null@slshape% -\LetLtxMacro\scshape\LWR@null@scshape% -\LetLtxMacro\ulcshape\LWR@null@ulcshape% -\LetLtxMacro\sishape\LWR@null@sishape% -\LetLtxMacro\itshape\LWR@null@itshape% -\LetLtxMacro\normalfont\LWR@null@normalfont% -\LetLtxMacro\em\LWR@null@em% -\renewcommand*{\$}{-}% -\renewcommand*{\%}{-}% -\renewcommand*{\_}{-}% -\renewcommand*{\}}{-}% -\renewcommand*{\{}{-}% -\renewcommand*{\&}{and}% -\renewcommand*{\#}{-}% -\renewcommand*{\,}{-}% -\renewcommand*{~}{-}% -\renewcommand*{\^}[1]{-}% -\renewcommand*{\~}[1]{-}% -\renewcommand*{\newline}{-}% -\renewcommand*{\textasciicircum}{-}% -\renewcommand*{\textasciitilde}{-}% -\renewcommand*{\textasteriskcentered}{-}% -\renewcommand*{\textbackslash}{-}% -\renewcommand*{\textbar}{-}% -\renewcommand*{\textbardbl}{-}% -\renewcommand*{\textbigcircle}{-}% -\renewcommand*{\textbraceleft}{-}% -\renewcommand*{\textbraceright}{-}% -\renewcommand*{\textbullet}{-}% -\renewcommand*{\textcopyright}{-}% -\renewcommand*{\textdagger}{-}% -\renewcommand*{\textdaggerdbl}{-}% -\renewcommand*{\textdollar}{-}% -\renewcommand*{\textellipsis}{-}% -\renewcommand*{\textemdash}{-}% -\renewcommand*{\textendash}{-}% -\renewcommand*{\textexclamdown}{-}% -\renewcommand*{\textgreater}{-}% -\renewcommand*{\textless}{-}% -\renewcommand*{\textordfeminine}{-}% -\renewcommand*{\textordmasculine}{-}% -\renewcommand*{\textparagraph}{-}% -\renewcommand*{\textperiodcentered}{-}% -\renewcommand*{\textpertenthousand}{-}% -\renewcommand*{\textperthousand}{-}% -\renewcommand*{\textquestiondown}{-}% -\renewcommand*{\textquotedblleft}{-}% -\renewcommand*{\textquotedblright}{-}% -\renewcommand*{\textquoteleft}{-}% -\renewcommand*{\textquoteright}{-}% -\renewcommand*{\textregistered}{-}% -\renewcommand*{\textsection}{-}% -\renewcommand*{\textsterling}{-}% -\renewcommand*{\texttrademark}{-}% -\renewcommand*{\textunderscore}{-}% -\renewcommand*{\textvisiblespace}{-}% -\renewcommand*{\copyright}{-}% -\renewcommand*{\dag}{-}% -\renewcommand*{\ddag}{-}% -\renewcommand*{\dots}{-}% -\renewcommand*{\P}{-}% -\renewcommand*{\pounds}{-}% -\renewcommand*{\S}{-}% -\renewcommand*{\aa}{a}% -\renewcommand*{\AA}{A}% -\renewcommand*{\AE}{AE}% -\renewcommand*{\ae}{ae}% -\renewcommand*{\dh}{d}% -\renewcommand*{\DH}{D}% -\renewcommand*{\DJ}{D}% -\renewcommand*{\dj}{d}% -\renewcommand*{\IJ}{IJ}% -\renewcommand*{\ij}{ij}% -\renewcommand*{\L}{L}% -\renewcommand*{\l}{l}% -\renewcommand*{\NG}{NG}% -\renewcommand*{\ng}{ng}% -\renewcommand*{\O}{O}% -\renewcommand*{\o}{o}% -\renewcommand*{\oe}{oe}% -\renewcommand*{\OE}{OE}% -\renewcommand*{\ss}{ss}% -\renewcommand*{\SS}{SS}% -\renewcommand*{\th}{th}% -\renewcommand*{\TH}{TH}% -\renewcommand*{\guillemotleft}{}% -\renewcommand*{\guilsinglleft}{}% -\renewcommand*{\quotedblbase}{}% -\renewcommand*{\textquotedbl}{}% -\renewcommand*{\guillemotright}{}% -\renewcommand*{\guilsinglright}{}% -\renewcommand*{\quotesinglbase}{}% -\renewcommand*{\HTMLunicode}[1]{}% -\renewcommand*{\HTMLentity}[1]{}% -\renewcommand{\textsuperscript}[1]{##1}% -\renewcommand{\textsubscript}[1]{##1}% -\renewcommand{\underline}[1]{##1}% -\RenewDocumentCommand{\hspace}{s m}{}% -\RenewDocumentCommand{\LWR@htmlspanclass}{o m +m}{##3}% -\DeclareExpandableDocumentCommand{\InlineClass}{D{(}{)}{} o m +m}{##4}% -\def\(##1\){}% -\def\[##1\]{}% -\RenewDocumentCommand{\LWR@subsingledollar}{s m m m}{}% -\protected\def$##1${}% -\renewcommand*{\TeX}{TeX}% -\renewcommand*{\LaTeX}{LaTeX}% -\renewcommand*{\LaTeXe}{LaTeX2e}% -\renewcommand*{\LuaTeX}{LuaTeX}% -\renewcommand*{\LuaLaTeX}{LuaLaTeX}% -\renewcommand*{\XeTeX}{XeTeX}% -\renewcommand*{\XeLaTeX}{XeLaTeX}% -\renewcommand*{\ConTeXt}{ConTeXt}% -\renewcommand*{\BibTeX}{BibTeX}% -\renewcommand*{\MakeIndex}{MakeIndex}% -\renewcommand*{\AmS}{AmS}% -\renewcommand*{\MiKTeX}{MiKTeX}% -\renewcommand*{\LyX}{LyX}% -\let\texorpdfstring\relax% -\newcommand{\texorpdfstring}[2]{##2}% -} -\catcode`\$=3% -\catcode`\_=8% -\newcommand*{\FilenameNullify}[1]{% - \appto{\LWR@nullfonts}{#1}% +\FilenameNullify{% + \LetLtxMacro\emph\@firstofone% + \LetLtxMacro\textmd\@firstofone% + \LetLtxMacro\textbf\@firstofone% + \LetLtxMacro\texteb\@firstofone% + \LetLtxMacro\textlg\@firstofone% + \LetLtxMacro\textrm\@firstofone% + \LetLtxMacro\textsf\@firstofone% + \LetLtxMacro\texttt\@firstofone% + \LetLtxMacro\textup\@firstofone% + \LetLtxMacro\textit\@firstofone% + \LetLtxMacro\textsc\@firstofone% + \LetLtxMacro\textulc\@firstofone% + \LetLtxMacro\textsi\@firstofone% + \LetLtxMacro\textsl\@firstofone% + \LetLtxMacro\textssc\@firstofone% + \LetLtxMacro\textnormal\@firstofone% } \newcommand*{\LWR@f@family}{rm} @@ -12540,74 +13479,135 @@ color:\LWR@origpound\LWR@tempcolor% }% }{\endBlockClass\LWR@startpars} -\newrobustcmd*{\LWR@HTML@mdseries}{\renewcommand*{\LWR@f@series}{md}} +\newrobustcmd*{\LWR@HTML@mdseries}{% + \LWR@print@mdseries% + \renewcommand*{\LWR@f@series}{md}% +} \LWR@formatted{mdseries} -\newrobustcmd*{\LWR@HTML@bfseries}{\renewcommand*{\LWR@f@series}{bf}} +\newrobustcmd*{\LWR@HTML@bfseries}{% + \LWR@print@bfseries% + \renewcommand*{\LWR@f@series}{bf}% +} \LWR@formatted{bfseries} -\newrobustcmd*{\LWR@HTML@ebweight}{\renewcommand*{\LWR@f@series}{eb}} +\newrobustcmd*{\LWR@HTML@ebweight}{% + \LWR@print@ebweight% + \renewcommand*{\LWR@f@series}{eb}% +} \LWR@formatted{ebweight} -\newrobustcmd*{\LWR@HTML@lgweight}{\renewcommand*{\LWR@f@series}{lg}} +\newrobustcmd*{\LWR@HTML@lgweight}{% + \LWR@print@lgweight% + \renewcommand*{\LWR@f@series}{lg}% +} \LWR@formatted{lgweight} -\newrobustcmd*{\LWR@HTML@rmfamily}{\renewcommand*{\LWR@f@family}{rm}} +\newrobustcmd*{\LWR@HTML@rmfamily}{% + \LWR@print@rmfamily% + \renewcommand*{\LWR@f@family}{rm}% +} \LWR@formatted{rmfamily} -\newrobustcmd*{\LWR@HTML@sffamily}{\renewcommand*{\LWR@f@family}{sf}} +\newrobustcmd*{\LWR@HTML@sffamily}{% + \LWR@print@sffamily% + \renewcommand*{\LWR@f@family}{sf}% +} \LWR@formatted{sffamily} -\newrobustcmd*{\LWR@HTML@ttfamily}{\renewcommand*{\LWR@f@family}{tt}} +\newrobustcmd*{\LWR@HTML@ttfamily}{% + \LWR@print@ttfamily% + \renewcommand*{\LWR@f@family}{tt}% +} \LWR@formatted{ttfamily} +\newrobustcmd*{\LWR@HTML@upshape}{% + \LWR@print@upshape% + \renewcommand*{\LWR@f@shape}{up}% +} +\AtBeginDocument{\LWR@formatted{upshape}} -\newrobustcmd*{\LWR@HTML@upshape}{\renewcommand*{\LWR@f@shape}{up}} -\LWR@formatted{upshape} - -\newrobustcmd*{\LWR@HTML@itshape}{\renewcommand*{\LWR@f@shape}{it}} -\LWR@formatted{itshape} +\newrobustcmd*{\LWR@HTML@itshape}{% + \LWR@print@itshape% + \renewcommand*{\LWR@f@shape}{it}% +} +\AtBeginDocument{\LWR@formatted{itshape}} -\newrobustcmd*{\LWR@HTML@scshape}{\renewcommand*{\LWR@f@shapecaps}{sc}} -\LWR@formatted{scshape} +\newrobustcmd*{\LWR@HTML@scshape}{% + \ifbool{FixSmallCaps}{}{% + \LWR@print@scshape% + }% + \renewcommand*{\LWR@f@shapecaps}{sc}% +} +\AtBeginDocument{\LWR@formatted{scshape}} \@ifundefined{ulcshape}{ \LetLtxMacro\ulcshape\upshape }{} -\newrobustcmd*{\LWR@HTML@ulcshape}{\renewcommand*{\LWR@f@shapecaps}{ulc}} -\LWR@formatted{ulcshape} +\newrobustcmd*{\LWR@HTML@ulcshape}{% + \LWR@print@ulcshape% + \renewcommand*{\LWR@f@shapecaps}{ulc}% +} +\AtBeginDocument{\LWR@formatted{ulcshape}} \@ifundefined{sishape}{ \LetLtxMacro\sishape\scshape }{} \newrobustcmd*{\LWR@HTML@sishape}{% + \ifbool{FixSmallCaps}{}{% + \LWR@print@sishape% + }% \renewcommand*{\LWR@f@shape}{it} \renewcommand*{\LWR@f@shapecaps}{sc}% } -\LWR@formatted{sishape} +\AtBeginDocument{\LWR@formatted{sishape}} -\newrobustcmd*{\LWR@HTML@slshape}{\renewcommand*{\LWR@f@shape}{sl}} -\LWR@formatted{slshape} +\newrobustcmd*{\LWR@HTML@slshape}{% + \LWR@print@slshape% + \renewcommand*{\LWR@f@shape}{sl}% +} +\AtBeginDocument{\LWR@formatted{slshape}} + +\newrobustcmd{\LWR@HTML@sscshape}{\LWR@HTML@scshape} +\AtBeginDocument{\LWR@formatted{sscshape}} \newrobustcmd*{\LWR@HTML@normalfont}{\rmfamily\mdseries\upshape\ulcshape} \LWR@formatted{normalfont} +\FilenameNullify{% + \LetLtxMacro\rmfamily\@empty% + \LetLtxMacro\sffamily\@empty% + \LetLtxMacro\ttfamily\@empty% + \LetLtxMacro\bfseries\@empty% + \LetLtxMacro\ebweight\@empty% + \LetLtxMacro\lgweight\@empty% + \LetLtxMacro\mdseries\@empty% + \LetLtxMacro\upshape\@empty% + \LetLtxMacro\slshape\@empty% + \LetLtxMacro\sishape\@empty% + \LetLtxMacro\scshape\@empty% + \LetLtxMacro\itshape\@empty% + \LetLtxMacro\ulcshape\@empty% + \LetLtxMacro\sscshape\@empty% + \LetLtxMacro\normalfont\@empty% +} + \renewcommand{\sp}[1]{\text{<sup>#1</sup>}{}} \renewcommand{\sb}[1]{\text{<sub>#1</sub>}{}} -\renewrobustcmd{\textsuperscript}[1]{\LWR@htmlspan{sup}{#1}} +\newrobustcmd{\LWR@HTML@textsuperscript}[1]{\LWR@htmlspan{sup}{#1}} +\LWR@formatted{textsuperscript} -\renewcommand{\@textsuperscript}[1]{\LWR@htmlspan{sup}{#1}} +\newcommand{\LWR@HTML@@textsuperscript}[1]{\LWR@htmlspan{sup}{#1}} +\LWR@formatted{@textsuperscript} -\AtBeginDocument{ -\renewrobustcmd{\textsubscript}[1]{\LWR@htmlspan{sub}{#1}} -} + \newrobustcmd{\LWR@HTML@textsubscript}[1]{\LWR@htmlspan{sub}{#1}} + \LWR@formatted{textsubscript} -\AtBeginDocument{ -\renewcommand{\@textsubscript}[1]{\LWR@htmlspan{sub}{#1}} -} + \newcommand{\LWR@HTML@@textsubscript}[1]{\LWR@htmlspan{sub}{#1}} + \LWR@formatted{@textsubscript} \AtBeginDocument{\let\up\textsuperscript} @@ -12656,6 +13656,7 @@ color:\LWR@origpound\LWR@tempcolor% \renewrobustcmd*{\negthinspace}{\HTMLunicode{202f}} % HTML thin non-breakable space \renewrobustcmd*{~}{\HTMLentity{nbsp}} \renewrobustcmd*{\textellipsis}{\HTMLunicode{2026}} +\renewrobustcmd*{\vdots}{\HTMLunicode{22EE}} } \newcommand*{\LWR@font@size}{normalsize} @@ -12699,7 +13700,24 @@ color:\LWR@origpound\LWR@tempcolor% \newcommand*{\LWR@HTML@hfill}{\qquad} \LWR@formatted{hfill} -\newcommand*{\LWR@HTML@hrulefill}{\rule{1in}{1pt}} +\newcommand*{\LWR@HTML@hrulefill}{% + \ifbool{LWR@doingapar}% + {\rule{1in}{1pt}}% + {% + \LWR@findcurrenttextcolor% + \ifdefstring{\LWR@tempcolor}{000000}% + {% + \begin{BlockClass}{hrule}% + \end{BlockClass}% + }% + {% + \begin{BlockClass}[% + border-top: 1px solid \LWR@origpound\LWR@tempcolor % space + ]{hrule}% + \end{BlockClass}% + }% + }% +}% \LWR@formatted{hrulefill} \newcommand*{\LWR@HTML@dotfill}{\dots} @@ -12721,25 +13739,25 @@ color:\LWR@origpound\LWR@tempcolor% } \newcommand*{\LWR@minipagestartpars}{% -\ifbool{LWR@minipagethispar}{\LWR@startpars}{}% + \ifbool{LWR@minipagethispar}{\LWR@startpars}{}% } \newcommand*{\LWR@minipagestoppars}{% -\ifbool{LWR@minipagethispar}{\LWR@stoppars}{}% + \ifbool{LWR@minipagethispar}{\LWR@stoppars}{}% } \renewrobustcmd*{\quad}{% -\LWR@minipagestoppars% -\HTMLunicode{2003}% -\LWR@minipagestartpars% + \LWR@minipagestoppars% + \HTMLunicode{2003}% + \LWR@minipagestartpars% } \renewrobustcmd*{\qquad}{\quad\quad} \renewrobustcmd*{\enskip}{% -\LWR@minipagestoppars% -\HTMLunicode{2002}% -\LWR@minipagestartpars% + \LWR@minipagestoppars% + \HTMLunicode{2002}% + \LWR@minipagestartpars% } \newlength{\LWR@tempwidth} @@ -12760,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}% @@ -12826,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} ; % @@ -12843,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}% @@ -12864,30 +13882,40 @@ color:\LWR@origpound\LWR@tempcolor% \begin{warpHTML} -\DeclareDocumentCommand{\phantomsection}{}{% -\begingroup% -\boolfalse{LWR@forcinghtmltoc}% -\section*{}% -\endgroup% +\newrobustcmd*{\LWR@phantomsection}{% + \begingroup% + \boolfalse{LWR@forcinghtmltoc}% + \section*{}% + \endgroup% } \end{warpHTML} \begin{warpall} +\newbool{LWR@warnXe} +\boolfalse{LWR@warnXe} + \newrobustcmd*{\Xe} - {X\hspace{-.1667em}\raisebox{-.5ex}{E}} + {% + X\hspace{-.1667em}\raisebox{-.5ex}{E}% + \global\booltrue{LWR@warnXe}% + } \AtBeginDocument{ -\@ifpackageloaded{graphics}{ - \@ifpackageloaded{metalogo}{}{ - \renewrobustcmd*{\Xe} - {X\hspace{-.1667em}\raisebox{-.5ex}{\reflectbox{E}}} - } -}{ - \PackageWarningNoLine{lwarp}{Load graphicx or graphics - for improved XeTeX logo} + \@ifpackageloaded{graphics}{ + \@ifpackageloaded{metalogo}{}{ + \renewrobustcmd*{\Xe} + {X\hspace{-.1667em}\raisebox{-.5ex}{\reflectbox{E}}} + } + }{} } + +\AtEndDocument{ + \ifbool{LWR@warnXe}{ + \PackageWarningNoLine{lwarp}{Load graphicx or graphics + for improved XeTeX logo} + }{} } \providerobustcmd*{\XeTeX}{\mbox{\Xe\hspace{-.125em}\TeX}} @@ -13003,11 +14031,39 @@ color:\LWR@origpound\LWR@tempcolor% \end{warpHTML} \begin{warpHTML} +\AtBeginDocument{ + \@ifpackageloaded{everyshi}{ + \RequirePackage{lwarp-everyshi} + }{} +} +\end{warpHTML} + +\begin{warpHTML} +\RequirePackage{lwarp-textcomp} +\end{warpHTML} + +\begin{warpHTML} +\@ifpackageloaded{amsthm}{ + \RequirePackage{lwarp-amsthm} +}{} +\@ifpackageloaded{amsmath}{ + \RequirePackage{lwarp-amsmath} +}{} +\@ifpackageloaded{centernot}{ + \RequirePackage{lwarp-centernot} +}{} +\end{warpHTML} + +\begin{warpHTML} \@ifclassloaded{scrbook}{\RequirePackage{lwarp-patch-komascript}}{} \@ifclassloaded{scrartcl}{\RequirePackage{lwarp-patch-komascript}}{} \@ifclassloaded{scrreprt}{\RequirePackage{lwarp-patch-komascript}}{} \end{warpHTML} +\begin{warpprint} +\@ifclassloaded{memoir}{\LWR@origRequirePackage{xcolor}}{} +\end{warpprint} + \begin{warpHTML} \@ifclassloaded{memoir}{\RequirePackage{lwarp-patch-memoir}}{} \end{warpHTML} @@ -13029,6 +14085,7 @@ color:\LWR@origpound\LWR@tempcolor% \quad% } } + \renewcommand*{\LWR@printchaptername}{} \renewcommand{\thepart}{\@Roman\c@part} \@ifundefined{chapter}{ \renewcommand{\thesection}{\@arabic\c@section} @@ -13087,6 +14144,8 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@isolate{\CTEX@chaptername}~% \CTEX@chapter@aftername% }% + + \renewcommand*{\LWR@printchaptername}{} }{} } \end{warpHTML} @@ -13124,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{---} @@ -13160,60 +14219,117 @@ color:\LWR@origpound\LWR@tempcolor% }{}% } +\newcommand*{\LWR@nomathjaxwarn}[2]{% + \@ifpackageloaded{lwarp-#1}{% + \ifblank{#2}{% + \PackageWarningNoLine{lwarp} + {% + Lwarp does not provide MathJax support for #1.\MessageBreak + Use SVG math by removing the Lwarp mathjax option% + } + }{% + \PackageWarningNoLine{lwarp} + {% + Lwarp does not provide MathJax support for #1.\MessageBreak + #2% + } + }% + }{}% +} +\newcommand*{\LWR@forceSVGmessage}[1]{% + SVG math output may be enabled for select math\MessageBreak + expressions to preserve #1 visual\MessageBreak + features for those particular expressions.\MessageBreak + Before the chosen inline math, use \protect\inlinemathother\MessageBreak + to begin using SVG math, and \protect\inlinemathnormal\MessageBreak + 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.\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 environments to isolate the package load\MessageBreak and the equation+ environments} - \LWR@mathjaxwarn{backnaur} - {You may enclose its uses inside\MessageBreak - lateximage environments to force SVG output,\MessageBreak - but this also changes the print output} \LWR@mathjaxwarn{bigdelim} {Delimiters appear only of the first line} + \LWR@nomathjaxwarn{boldtensors}{} \LWR@mathjaxwarn{booktabs} - {In a math array, do not use (trim) for \protect\cmidrule} + {\protect\cmidrule\space is not displayed} \LWR@mathjaxwarn{breqn} {Each environment becomes an SVG image} + \LWR@mathjaxwarn{colortbl} + {Colors are ignored in MathJax.\MessageBreak + (Text mode tabular does support colortbl.)\MessageBreak + \LWR@forceSVGmessage{colortbl}} \LWR@mathjaxwarn{delarray} - {Enclose its uses inside lateximage\MessageBreak - environments to force SVG output} - \LWR@mathjaxwarn{jkmath}{} - \LWR@mathjaxwarn{mathspec}{} + {\LWR@forceSVGmessage{delarray}} + \LWR@nomathjaxwarn{gauss} + {\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} - {Avoid starred macros.\MessageBreak - See the Lwarp manual for other limitations} + {See the Lwarp manual regarding the disallowspaces\MessageBreak + and showonlyrefs options, the alignat environment,\MessageBreak + and \protect\DeclarePairedDelimiter\space and related% + } + \LWR@mathjaxwarn{mathspec} + {Double quotes are removed, even inside \protect\text} \LWR@mathjaxwarn{multirow} {Multirow works as expected in text mode, but\MessageBreak limited emulation is provided for MathJax math.\MessageBreak \protect\multirow\space ignores all arguments except\MessageBreak the text} - \LWR@mathjaxwarn{pb-diagram} - {Enclose its uses inside lateximage environments\MessageBreak - to force SVG output} - \LWR@mathjaxwarn{physics} - {The third-party extension is not yet used.\MessageBreak - Avoid starred macros and automatic delimiters.\MessageBreak - Use all mandatory arguments, adding empty as needed.\MessageBreak - See the Lwarp manual for details} + \LWR@mathjaxwarn{nicematrix} + {Keys/values are ignored in MathJax.\MessageBreak + \protect\Cdots, etc. do not span multiple cells.\MessageBreak + AutoNiceMatrix, etc. are not supported for MathJax.\MessageBreak + \LWR@forceSVGmessage{nicematrix}% + } + \LWR@nomathjaxwarn{pb-diagram} + {\LWR@forceSVGmessage{pb-diagram}} + \LWR@nomathjaxwarn{tensind}{} \LWR@mathjaxwarn{unicode-math} - {Not all characters are encoded correctly.\MessageBreak + {Do not use embedded Unicode characters.\MessageBreak + (Not all characters are encoded correctly.)\MessageBreak Some symbol fonts are not supported by MathJax,\MessageBreak - and are only approximated} + and are only approximated.\MessageBreak + 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 Text is only placed on a single line} - \LWR@mathjaxwarn{xy} - {xy works in text, but in math you must\MessageBreak - enclose its uses inside lateximage\MessageBreak - environments to force SVG output} + \LWR@nomathjaxwarn{xy} + {In text, xy works as-is. SVG images will be generated.\MessageBreak + \LWR@forceSVGmessage{xy}} }{} } \endinput |