summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-06-03 21:24:42 +0000
committerKarl Berry <karl@freefriends.org>2020-06-03 21:24:42 +0000
commit27b8d6a6263cb4e808d7f6ad452462f9f455e97c (patch)
treeed8ce72064ce8bd42d55387140be716ba3782d3d /Master/texmf-dist/tex/latex/lwarp
parenta739904a392a0337ec9e477111454389a0752058 (diff)
lwarp (3jun20)
git-svn-id: svn://tug.org/texlive/trunk@55405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty5
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-citeref.sty35
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-drftcite.sty28
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-embrac.sty3
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fnpara.sty21
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-jurabib.sty76
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty29
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty4
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-multibib.sty26
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-nccmath.sty4
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty433
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-splitbib.sty54
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-statex2.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp.sty260
15 files changed, 355 insertions, 627 deletions
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-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-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-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-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-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-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-mathtools.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty
index 520b2d5329f..630f4ebe68c 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty
@@ -68,10 +68,10 @@
\CustomizeMathJax{\Newextarrow\xleftharpoonup{10,10}{0x21bc}}
\CustomizeMathJax{\Newextarrow\xleftrightharpoons{10,10}{0x21cb}}
-\CustomizeMathJax{\newcommand{\LWRdounderbracket}[1]{\underline{#1}}}
+\CustomizeMathJax{\newcommand{\LWRdounderbracket}[3]{\underset{#3}{\underline{#1}}}}
\CustomizeMathJax{\newcommand{\LWRunderbracket}[2][]{\LWRdounderbracket{#2}}}
\CustomizeMathJax{\newcommand{\underbracket}[1][]{\LWRunderbracket}}
-\CustomizeMathJax{\newcommand{\LWRdooverbracket}[1]{\overline{#1}}}
+\CustomizeMathJax{\newcommand{\LWRdooverbracket}[3]{\overset{#3}{\overline{#1}}}}
\CustomizeMathJax{\newcommand{\LWRoverbracket}[2][]{\LWRdooverbracket{#2}}}
\CustomizeMathJax{\newcommand{\overbracket}[1][]{\LWRoverbracket}}
@@ -120,7 +120,7 @@
}
\CustomizeMathJax{
\newcommand{\LWRABLines}[1][\Updownarrow]{#1 \notag \\}% star/nostar the same
- \DeclareIfstar{\ArrowBetweenLines}{\LWRABLines}{\LWRABLines}
+ \newcommand{\ArrowBetweenLines}{\ifstar\LWRABLines\LWRABLines}
}
\CustomizeMathJax{\newcommand{\shortintertext}[1]{\text{#1}\notag \\}}
@@ -128,9 +128,8 @@
\CustomizeMathJax{\newcommand{\LWRshortvdotswithinstar}[1]{\vdots \hspace{.5em} & \\}}
\CustomizeMathJax{\newcommand{\LWRshortvdotswithinnostar}[1]{& \hspace{.5em}\vdots \\}}
\CustomizeMathJax{%
- \DeclareIfstar{\shortvdotswithin}%
- {\LWRshortvdotswithinstar}%
- {\LWRshortvdotswithinnostar}%
+ \newcommand{\shortvdotswithin}%
+ {\ifstar\LWRshortvdotswithinstar\LWRshortvdotswithinnostar}%
}
\CustomizeMathJax{\newcommand{\MTFlushSpaceAbove}{}}
@@ -159,9 +158,11 @@
\appto\LWR@customizedMathJax{\LWRbackslash)\par}%
\appto\LWR@customizedMathJax{\LWRbackslash(}
\appto\LWR@customizedMathJax{%
- \LWRbackslash{}DeclareIfstar\{\LWRbackslash{}\macrotocsname{#1}\}%
- \{\LWRbackslash{}\macrotocsname{#1}LWRsubstar\}%
- \{\LWRbackslash{}\macrotocsname{#1}LWRsubnostar\}%
+ \LWRbackslash{}newcommand\{\LWRbackslash{}\macrotocsname{#1}\}%
+ \{\LWRbackslash{}ifstar%
+ \LWRbackslash{}\macrotocsname{#1}LWRsubstar%
+ \LWRbackslash{}\macrotocsname{#1}LWRsubnostar%
+ \}%
}%
\appto\LWR@customizedMathJax{\LWRbackslash)\par}%
}
@@ -217,9 +218,13 @@
\appto\LWR@customizedMathJax{\LWRbackslash)\par}%
\appto\LWR@customizedMathJax{\LWRbackslash(}
\appto\LWR@customizedMathJax{%
- \LWRbackslash{}DeclareIfstar\{\LWRbackslash{}\macrotocsname{#1}\}%
- \{\LWRbackslash{}\macrotocsname{#1}LWRsubstar\}%
- \{\LWRbackslash{}\macrotocsname{#1}LWRsubnostar\}%
+ \LWRbackslash{}newcommand\{%
+ \LWRbackslash{}\macrotocsname{#1}%
+ \}%
+ \{\LWRbackslash{}ifstar%
+ \LWRbackslash{}\macrotocsname{#1}LWRsubstar%
+ \LWRbackslash{}\macrotocsname{#1}LWRsubnostar%
+ \}%
}%
\appto\LWR@customizedMathJax{\LWRbackslash)\par}%
}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty
index 10dd87baaf1..4719e042b79 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{warpHTML}
+\CustomizeMathJax{\require{mhchem}}
+\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-mhchem.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-nccmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nccmath.sty
index 02769b3ecbb..cec50a7db3b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nccmath.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nccmath.sty
@@ -54,10 +54,10 @@
\CustomizeMathJax{\newenvironment{darray}[2][c]{\begin{array}[#1]{#2}}{\end{array}}}
\CustomizeMathJax{\newcommand{\dmulticolumn}[3]{#3}}
\CustomizeMathJax{\newcommand{\LWRnrnostar}[1][0.5ex]{\\[#1]}}
-\CustomizeMathJax{\DeclareIfstar{\nr}{\LWRnrnostar}{\LWRnrnostar}}
+\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}}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty
index b86ac7f589c..4ec05659310 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-physics.sty
@@ -17,437 +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{\LWRabsolutevaluenostar}[1]{\left\lvert#1\right\rvert}}
-\CustomizeMathJax{\newcommand{\LWRabsolutevaluestar}[1]{\lvert#1\rvert}}
-\CustomizeMathJax{%
- \DeclareIfstar{\absolutevalue}{\LWRabsolutevaluestar}{\LWRabsolutevaluenostar}%
-}
-
-\CustomizeMathJax{\let\abs\absolutevalue}
-
-\CustomizeMathJax{%
- \newcommand{\LWRnormnostar}[1]{\left\lvert\left\lvert#1\right\rvert\right\rvert}%
-}
-\CustomizeMathJax{\newcommand{\LWRnormstar}[1]{\lvert\lvert#1\rvert\rvert}}
-\CustomizeMathJax{%
- \DeclareIfstar{\norm}{\LWRnormstar}{\LWRnormnostar}%
-}
-
-\CustomizeMathJax{\newcommand{\LWRevaluatednostar}[1]{\left . #1\right\vert}}
-\CustomizeMathJax{\newcommand{\LWRevaluatedstar}[1]{#1\vert}}
-\CustomizeMathJax{%
- \DeclareIfstar{\evaluated}{\LWRevaluatedstar}{\LWRevaluatednostar}%
-}
-
-\CustomizeMathJax{\let\eval\evaluated}
-
-\CustomizeMathJax{\newcommand{\LWRordernostar}[1]{\mathcal{O}\left(#1\right)}}
-\CustomizeMathJax{\newcommand{\LWRorderstar}[1]{\mathcal{O}(#1)}}
-\CustomizeMathJax{%
- \DeclareIfstar{\order}{\LWRorderstar}{\LWRordernostar}%
-}
-
-\CustomizeMathJax{\newcommand{\LWRcommutatornostar}[2]{\left\lbrack#1,#2\right\rbrack}}
-\CustomizeMathJax{\newcommand{\LWRcommutatorstar}[2]{\lbrack#1,#2\rbrack}}
-\CustomizeMathJax{%
- \DeclareIfstar{\commutator}{\LWRcommutatorstar}{\LWRcommutatornostar}%
-}
-
-\CustomizeMathJax{\let\comm\commutator}
-
-\CustomizeMathJax{\newcommand{\LWRanticommutatornostar}[2]{%
- \left\lbrace#1,#2\right\rbrace}%
-}
-\CustomizeMathJax{\newcommand{\LWRanticommutatorstar}[2]{%
- \lbrace#1,#2\rbrace}%
-}
-\CustomizeMathJax{%
- \DeclareIfstar{\anticommutator}{\LWRanticommutatorstar}{\LWRanticommutatornostar}%
-}
-
-\CustomizeMathJax{\let\acomm\anticommutator}
-
-\CustomizeMathJax{\let\poissonbracket\anticommutator}
-\CustomizeMathJax{\let\pb\anticommutator}
-
-\CustomizeMathJax{\newcommand{\LWRvectorboldnostar}[1]{\mathbf{#1}}}
-\CustomizeMathJax{\newcommand{\LWRvectorboldstar}[1]{\pmb{#1}}}
-\CustomizeMathJax{%
- \DeclareIfstar{\vectorbold}{\LWRvectorboldstar}{\LWRvectorboldnostar}%
-}
-\CustomizeMathJax{\let\vb\vectorbold}
-
-\CustomizeMathJax{\newcommand{\LWRvectorarrownostar}[1]{\vec{\mathbf{#1}}}}
-\CustomizeMathJax{\newcommand{\LWRvectorarrowstar}[1]{\vec{\pmb{#1}}}}
-\CustomizeMathJax{%
- \DeclareIfstar{\vectorarrow}{\LWRvectorarrowstar}{\LWRvectorarrownostar}%
-}
-\CustomizeMathJax{\let\va\vectorarrow}
-
-\CustomizeMathJax{\newcommand{\LWRvectorunitnostar}[1]{\mathbf{\hat{#1}}}}
-\CustomizeMathJax{\newcommand{\LWRvectorunitstar}[1]{\pmb{\hat{#1}}}}
-\CustomizeMathJax{%
- \DeclareIfstar{\vectorunit}{\LWRvectorunitstar}{\LWRvectorunitnostar}%
-}
-\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{\LWRqqtextnostar}[1]{\quad\mathrm{#1}\quad}}
-\CustomizeMathJax{\newcommand{\LWRqqtextstar}[1]{\mathrm{#1}\quad}}
-\CustomizeMathJax{\DeclareIfstar{\qqtext}{\LWRqqtextstar}{\LWRqqtextnostar}}
-\CustomizeMathJax{\let\qq\qqtext}
-
-\CustomizeMathJax{\newcommand{\qqcomma}{\text{,}\quad}}
-\CustomizeMathJax{\let\qc\qqcomma}
-
-\newcommand*{\LWR@physics@qtext}[2]{%
- \appto\LWR@customizedMathJax{\LWRbackslash(}
- \appto\LWR@customizedMathJax{%
- \LWRbackslash{}newcommand\{\LWRbackslash{}LWR\macrotocsname{#1}subnostar\}%
- }%
- \appto\LWR@customizedMathJax{\{}%
- \appto\LWR@customizedMathJax{%
- \LWRbackslash{}quad\LWRbackslash{}text\{#2\}\LWRbackslash{}quad%
- }%
- \appto\LWR@customizedMathJax{\}}%
- \appto\LWR@customizedMathJax{\LWRbackslash)\par}%
- \appto\LWR@customizedMathJax{\LWRbackslash(}
- \appto\LWR@customizedMathJax{%
- \LWRbackslash{}newcommand\{\LWRbackslash{}LWR\macrotocsname{#1}substar\}%
- }%
- \appto\LWR@customizedMathJax{\{}%
- \appto\LWR@customizedMathJax{\LWRbackslash{}text\{#2\}\LWRbackslash{}quad}%
- \appto\LWR@customizedMathJax{\}}%
- \appto\LWR@customizedMathJax{\LWRbackslash)\par}%
- \appto\LWR@customizedMathJax{\LWRbackslash(}
- \appto\LWR@customizedMathJax{%
- \LWRbackslash{}DeclareIfstar\{\LWRbackslash\macrotocsname{#1}\}%
- }%
- \appto\LWR@customizedMathJax{\{}%
- \appto\LWR@customizedMathJax{\LWRbackslash{}LWR\macrotocsname{#1}substar\}}%
- \appto\LWR@customizedMathJax{\LWRbackslash{}LWR\macrotocsname{#1}subnostar\}}%
- \appto\LWR@customizedMathJax{\LWRbackslash)\par}%
-}
-
-\LWR@physics@qtext{\qcc}{c.c.}
-\LWR@physics@qtext{\qif}{if}
-\LWR@physics@qtext{\qthen}{then}
-\LWR@physics@qtext{\qelse}{else}
-\LWR@physics@qtext{\qotherwise}{otherwise}
-\LWR@physics@qtext{\qunless}{unless}
-\LWR@physics@qtext{\qgiven}{given}
-\LWR@physics@qtext{\qusing}{using}
-\LWR@physics@qtext{\qassume}{assume}
-\LWR@physics@qtext{\qsince}{since}
-\LWR@physics@qtext{\qlet}{let}
-\LWR@physics@qtext{\qfor}{for}
-\LWR@physics@qtext{\qall}{all}
-\LWR@physics@qtext{\qeven}{even}
-\LWR@physics@qtext{\qodd}{odd}
-\LWR@physics@qtext{\qinteger}{integer}
-\LWR@physics@qtext{\qand}{and}
-\LWR@physics@qtext{\qor}{or}
-\LWR@physics@qtext{\qas}{as}
-\LWR@physics@qtext{\qin}{in}
-
-\CustomizeMathJax{\newcommand{\differential}[1][]{\text{d}^{#1}}}
-\CustomizeMathJax{\let\dd\differential}
-
-\CustomizeMathJax{\newcommand{\LWRderivativenostar}[3][]{%
- \frac{\text{d}^{#1}#2}{\text{d}#3^{#1}}}%
-}
-\CustomizeMathJax{\newcommand{\LWRderivativestar}[3][]{%
- {\text{d}^{#1}#2}/{\text{d}#3^{#1}}}%
-}
-\CustomizeMathJax{%
- \DeclareIfstar{\derivative}{\LWRderivativestar}{\LWRderivativenostar}%
-}
-
-\CustomizeMathJax{\let\dv\derivative}
-
-\CustomizeMathJax{\newcommand{\LWRpartialderivativenostar}[3][]{%
- \frac{\partial^{#1}#2}{\partial#3^{#1}}}%
-}
-\CustomizeMathJax{\newcommand{\LWRpartialderivativestar}[3][]{%
- {\partial^{#1}#2}/{\partial#3^{#1}}}%
-}
-\CustomizeMathJax{%
- \DeclareIfstar{\partialderivative}%
- {\LWRpartialderivativestar}{\LWRpartialderivativenostar}
-}
-
-\CustomizeMathJax{\let\pderivative\partialderivative}
-\CustomizeMathJax{\let\pdv\partialderivative}
-
-\CustomizeMathJax{\newcommand{\variation}{\delta}}
-\CustomizeMathJax{\let\var\variation}
-
-\CustomizeMathJax{\newcommand{\LWRfunctionalderivativenostar}[3][]{%
- \frac{\delta^{#1}#2}{\delta#3^{#1}}}%
-}
-\CustomizeMathJax{\newcommand{\LWRfunctionalderivativestar}[3][]{%
- {\delta^{#1}#2}/{\delta#3^{#1}}}%
-}
-\CustomizeMathJax{%
- \DeclareIfstar{\functionalderivative}
- {\LWRfunctionalderivativestar}{\LWRfunctionalderivativenostar}
-}
-\CustomizeMathJax{\let\fdv\functionalderivative}
-
-\CustomizeMathJax{\newcommand{\LWRbranostar}[1]{\left\langle{#1}\right\rvert}}
-\CustomizeMathJax{\newcommand{\LWRbrastar}[1]{\langle{#1}\rvert}}
-\CustomizeMathJax{\DeclareIfstar{\bra}{\LWRbrastar}{\LWRbranostar}}
-
-\CustomizeMathJax{\newcommand{\LWRketnostar}[1]{\left\lvert{#1}\right\rangle}}
-\CustomizeMathJax{\newcommand{\LWRketstar}[1]{\lvert{#1}\rangle}}
-\CustomizeMathJax{\DeclareIfstar{\ket}{\LWRketstar}{\LWRketnostar}}
-
-\CustomizeMathJax{\newcommand{\LWRinnerproductnostar}[2]{%
- \left\langle{#1}\middle\vert{#2}\right\rangle}%
-}
-\CustomizeMathJax{\newcommand{\LWRinnerproductstar}[2]{%
- \langle{#1}\vert{#2}\rangle}%
-}
-\CustomizeMathJax{%
- \DeclareIfstar{\innerproduct}
- {\LWRinnerproductstar}{\LWRinnerproductnostar}
-}
-
-\CustomizeMathJax{\let\braket\innerproduct}
-\CustomizeMathJax{\let\ip\innerproduct}
-
-\CustomizeMathJax{\newcommand{\LWRouterproductnostar}[2]{%
- \left\lvert{#1}\middle\rangle\!\middle\langle#2\right\rvert}%
-}
-\CustomizeMathJax{\newcommand{\LWRouterproductstar}[2]{%
- \lvert{#1}\rangle\!\langle#2\rvert}%
-}
-\CustomizeMathJax{%
- \DeclareIfstar{\outerproduct}
- {\LWRouterproductstar}{\LWRouterproductnostar}
-}
-
-\CustomizeMathJax{\let\dyad\outerproduct}
-\CustomizeMathJax{\let\op\outerproduct}
-
-\CustomizeMathJax{%
- \newcommand{\LWRexpectationvaluenostar}[2]{%
- \vphantom{#1}%
- \left\langle{#2}\middle\vert\smash{#1}\middle\vert{#2}%
- \right\rangle%
- }%
-}
-\CustomizeMathJax{%
- \newcommand{\LWRexpectationvaluestar}[2]{%
- \vphantom{#1#2}%
- \left\langle\smash{#2}%
- \middle\vert\smash{#1}\middle\vert\smash{#2}%
- \right\rangle%
- }%
-}
-\CustomizeMathJax{%
- \newcommand{\LWRexpectationvaluedoublestar}[2]{%
- \left\langle{#2}\middle\vert{#1}\middle\vert{#2}\right\rangle%
- }%
-}
-\CustomizeMathJax{% second star
- \DeclareIfstar{\LWRsubexpectationvalue}
- {\LWRexpectationvaluedoublestar}{\LWRexpectationvaluestar}
-}
-\CustomizeMathJax{% first star
- \DeclareIfstar{\expectationvalue}
- {\LWRsubexpectationvalue}{\LWRexpectationvaluenostar}
-}
-
-\CustomizeMathJax{\let\expval\expectationvalue}
-\CustomizeMathJax{\let\ev\expectationvalue}
-
-\CustomizeMathJax{%
- \newcommand{\LWRmatrixelementnostar}[3]{%
- \vphantom{#2}\left\langle{#1}\middle\vert\smash{#2}\middle\vert{#3}\right\rangle%
- }%
-}
-\CustomizeMathJax{%
- \newcommand{\LWRmatrixelementstar}[3]{%
- \vphantom{#1#2#3}%
- \left\langle\smash{#1}%
- \middle\vert\smash{#2}\middle\vert\smash{#3}%
- \right\rangle%
- }%
-}
-\CustomizeMathJax{%
- \newcommand{\LWRmatrixelementdoublestar}[3]{%
- \left\langle{#1}\middle\vert{#2}\middle\vert{#3}\right\rangle%
- }%
-}
-\CustomizeMathJax{% second star
- \DeclareIfstar{\LWRsubmatrixelement}
- {\LWRmatrixelementdoublestar}{\LWRmatrixelementstar}
-}
-
-\CustomizeMathJax{% first star
- \DeclareIfstar{\matrixelement}
- {\LWRsubmatrixelement}{\LWRmatrixelementnostar}
-}
-
-\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{\LWRxmatrix}[3]{(\text{xmat}\{\}\{#2\}\{#3\})}}
-\CustomizeMathJax{\DeclareIfstar{\xmatrix}{\LWRxmatrix}{\LWRxmatrix}}
-\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-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-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.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index a204cb86a25..bfb4dcebee8 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{lwarp}
- [2020/05/12 v0.86 Allows LaTeX to directly produce HTML5 output.]
+ [2020/06/03 v0.87 Allows LaTeX to directly produce HTML5 output.]
@@ -26,6 +26,8 @@
\RequirePackage{iftex}[2019/11/07]
+\RequirePackage{ifpdf}
+\RequirePackage{ifptex}
\newif\ifxetexorluatex
@@ -152,6 +154,7 @@
\LWR@earlyloadnever{bitfield}{bytefield}
\LWR@earlyloadnever{caption2}{caption}
\LWR@earlyloadnever{colortab}{colortbl}
+\LWR@earlyloadnever{csvtools}{datatool}
\LWR@earlyloadnever{doublespace}{setspace}
\LWR@earlyloadnever{epsf}{graphicx}
\LWR@earlyloadnever{fancyheadings}{fancyhdr}
@@ -256,6 +259,7 @@
\LWR@loadafter{chkfloat}
\LWR@notmemoirloadafter{chngpage}
\LWR@loadafter{cite}
+\LWR@loadafter{citeref}
\LWR@loadafter{cmdtrack}
\LWR@loadafter{colonequals}
\LWR@loadafter{color}
@@ -278,6 +282,7 @@
\LWR@loadafter{draftcopy}
\LWR@loadafter{draftfigure}
\LWR@loadafter{draftwatermark}
+\LWR@loadafter{drftcite}
\LWR@loadafter{easy-todo}
\LWR@loadafter{ebook}
\LWR@loadafter{econometrics}
@@ -374,6 +379,7 @@
\LWR@loadafter{imakeidx}
\LWR@notmemoirloadafter{index}
\LWR@loadafter{intopdf}
+\LWR@loadafter{jurabib}
\LWR@loadafter{karnaugh-map}
\LWR@loadafter{keyfloat}
\LWR@loadafter{layaureo}
@@ -426,6 +432,7 @@
\LWR@notmemoirloadafter{moreverb}
\LWR@notmemoirloadafter{movie15}
\LWR@notmemoirloadafter{mparhack}
+\LWR@loadafter{multibib}
\LWR@loadafter{multicap}
\LWR@loadafter{multicolrule}
\LWR@loadafter{multimedia}
@@ -548,6 +555,7 @@
\LWR@loadafter{soul}
\LWR@loadafter{soulpos}
\LWR@loadafter{soulutf8}
+\LWR@loadafter{splitbib}
\LWR@loadafter{splitidx}
\LWR@loadafter{srcltx}
\LWR@loadafter{srctex}
@@ -1271,6 +1279,7 @@
\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}
@@ -4187,12 +4196,12 @@ page_compositor "."
\begin{filecontents*}[overwrite]{lwarp_mathjax.txt}
<script>
// Lwarp MathJax emulation code
+//
// Based on code by Davide P. Cervone.
-// Original code: https://github.com/mathjax/MathJax/issues/2313
-// Modified by Brian Dunn to adjust equation numbering, add subequations,
-// and add starred macros.
// Equation numbering: https://github.com/mathjax/MathJax/issues/2427
-// Starred macros: https://github.com/mathjax/MathJax/issues/2428
+// Starred and ifnextchar macros: https://github.com/mathjax/MathJax/issues/2428
+//
+// 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.
@@ -4207,10 +4216,8 @@ MathJax = {
},
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;
@@ -4218,170 +4225,65 @@ MathJax = {
const ParseUtil = MathJax._.input.tex.ParseUtil.default;
const expandable = MathJax._.util.Options.expandable;
- //
- // These are the names of the command maps:
- //
- const SETEQNUMBERMAP = 'seteqnumberCoreMap' ;
-
- //
- // These functions implement the macros:
- //
- const 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 ;
- };
-
- //
- // This is the configuration for the seteqnumberFunctionConfig TeX extension.
- //
- const seteqnumberFunctionConfig = Configuration.create('seteqnumberCore', {
- //
- // Initialize the extension by creating the command map,
- // then append the command map to the given configuration as a macro handler.
- //
- init(config) {
- const map = new CommandMap(SETEQNUMBERMAP,{},{});
- config.append(
- Configuration.create(
- 'seteqnumberDefs',
- {handler: {macro: [SETEQNUMBERMAP]}}
- )
- );
- },
-
- //
- // Add options (from the
- // seteqnumberCore configuration object in the document's
- // option list, if any).
- //
- config(config, jax) {
- const map = jax.parseOptions.handlers.retrieve(SETEQNUMBERMAP);
- const options = jax.parseOptions.options.seteqnumberCore;
- for (const cs of Object.keys(options)) {
- map.add(cs, new Macro(cs, seteqnumberFunction, options[cs]));
- }
- },
-
- options: {
- seteqnumberCore: expandable({})
- }
- }
- );
-
- const IFSTARMAP = 'ifstarMap';
-
- //
- // This function implements an ifstar macro.
- //
- const IfstarFunction = (parser, name, resultstar, resultnostar) => {
- //
- // Get the macro parameters
- //
- const star = parser.GetStar(); // true if there is a *
- //
- // Construct the replacement string for the macro
- //
- const macro = [(star ? resultstar : resultnostar)].join('');
- //
- // Insert the replacement string into the TeX string, and check
- // that there haven't been too many maxro substitutions (prevents
- // infinite loops).
- //
- parser.string = ParseUtil.addArgs(parser, macro, parser.string.slice(parser.i));
+ // 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?');
+ 'MathJax maximum macro substitution count exceeded; ' +
+ 'is there a recursive macro call?');
}
- };
-
- //
- // This is the configuration for the IfstarConfiguration TeX extension.
- //
- const IfstarConfiguration = Configuration.create('Ifstar', {
- //
- // Initialize the extension by creating the command map for the
- // macros defined by \DeclareIfstar, and add the
- // \DeclareIfstar macro itself. Then append the
- // command map to the given configuration as a macro handler
- //
- init(config) {
- const map = new CommandMap(IFSTARMAP, {
- DeclareIfstar: ['Declare_Ifstar']
- }, {
- //
- // Implements \DeclareIfstar control sequence.
- //
- Declare_Ifstar(parser, name) {
- //
- // Get the control sequence to define and the starred and
- // non-starred macros to use.
- //
- let cs = ParseUtil.trimSpaces(parser.GetArgument(name));
- const resultstar = parser.GetArgument(name);
- const resultnostar = parser.GetArgument(name);
- //
- // Check that the control sequence name is valid
- //
- if (cs.charAt(0) === '\\') cs = cs.substr(1);
- if (!cs.match(/^(.|[a-z]+)$/i)) { //$ syntax highlighting
- throw new TexError(
- 'IllegalControlSequenceName',
- 'Illegal control sequence name for %1',
- name
- );
- }
- //
- // Look up the command map and add the new macro to it using
- // IfstarFunction as the function and passing it the
- // given starred and non-starred macros.
- //
- const map = parser.configuration.handlers.retrieve(IFSTARMAP);
- map.add(cs, new Macro(cs, IfstarFunction, [resultstar, resultnostar]));
- }
- });
- config.append(
- Configuration.create('IfstarDefs', {handler: {macro: [IFSTARMAP]}})
- );
+ }
+
+ // Create the command map for \ifstar, \ifnextchar, \seteqnumber
+ new CommandMap('ifstar-ifnextchar-setequnumber', {
+ ifstar: 'IfstarFunction',
+ ifnextchar: 'IfnextcharFunction',
+ 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);
},
- //
- // Add any user-defined starred/non-starred macros (from the
- // Ifstar configuration object in the document's
- // option list), if any.
- //
- config(config, jax) {
- const map = jax.parseOptions.handlers.retrieve(IFSTARMAP);
- const starmacros = jax.parseOptions.options.Ifstar;
- for (const cs of Object.keys(starmacros)) {
- map.add(cs, new Macro(cs, IfstarFunction, starmacros[cs]));
+ // 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);
},
- //
- // Indicate that Ifstar is a valid option, and can have
- // any number of definitions. The format is
- //
- // name: [starred, non-starred]
- //
- // where 'name' is the macro name, and starred and non-starred are the
- // macros to use for the \name macro. You can include
- // pre-defined macros here, which will be available without
- // further configuration.
- //
- options: {
- Ifstar: expandable({})
+ // 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 ;
}
});
+ // Create the ifstar-ifnextchar-setequnumber package
+ Configuration.create('ifstar-ifnextchar-setequnumber', {
+ handler: {macro: ['ifstar-ifnextchar-setequnumber']}
+ });
+
MathJax.startup.defaultReady();
// For forward references:
@@ -4401,10 +4303,7 @@ MathJax = {
}, // startup
tex: {
- packages: {'[+]': ['seteqnumberCore', 'tagFormat', 'Ifstar']},
- seteqnumberCore: {
- seteqnumber: [] // a user-defined macro
- },
+ packages: {'[+]': ['tagFormat', 'ifstar-ifnextchar-setequnumber']},
tags: "ams",
tagFormat: {
number: function (n) {
@@ -4434,7 +4333,7 @@ MathJax = {
-- Copyright 2016-2020 Brian Dunn
-printversion = "v0.86"
+printversion = "v0.87"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -10915,14 +10814,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{
@@ -12810,6 +12701,13 @@ color:\LWR@origpound\LWR@tempcolor%
\end{warpHTML}
+\begin{warpall}
+
+\newbool{FixSmallCaps}
+\boolfalse{FixSmallCaps}
+
+\end{warpall}
+
\begin{warpHTML}
@@ -13061,7 +12959,9 @@ color:\LWR@origpound\LWR@tempcolor%
\AtBeginDocument{\LWR@formatted{itshape}}
\newrobustcmd*{\LWR@HTML@scshape}{%
- \LWR@print@scshape%
+ \ifbool{FixSmallCaps}{}{%
+ \LWR@print@scshape%
+ }%
\renewcommand*{\LWR@f@shapecaps}{sc}%
}
\AtBeginDocument{\LWR@formatted{scshape}}
@@ -13079,7 +12979,9 @@ color:\LWR@origpound\LWR@tempcolor%
\LetLtxMacro\sishape\scshape
}{}
\newrobustcmd*{\LWR@HTML@sishape}{%
- \LWR@print@sishape%
+ \ifbool{FixSmallCaps}{}{%
+ \LWR@print@sishape%
+ }%
\renewcommand*{\LWR@f@shape}{it}
\renewcommand*{\LWR@f@shapecaps}{sc}%
}
@@ -13728,6 +13630,11 @@ color:\LWR@origpound\LWR@tempcolor%
{Enclose its uses inside lateximage\MessageBreak
environments to force SVG output}
\LWR@mathjaxwarn{jkmath}{}
+ \LWR@mathjaxwarn{mathtools}
+ {See the Lwarp manual regarding the disallowspaces\MessageBreak
+ and showonlyrefs options, the alignat environment,\MessageBreak
+ and \protect\DeclarePairedDelimiter\space and related%
+ }
\LWR@mathjaxwarn{mathspec}{}
\LWR@mathjaxwarn{multirow}
{Multirow works as expected in text mode, but\MessageBreak
@@ -13737,11 +13644,6 @@ color:\LWR@origpound\LWR@tempcolor%
\LWR@mathjaxwarn{pb-diagram}
{Enclose its uses inside lateximage environments\MessageBreak
to force SVG output}
- \LWR@mathjaxwarn{physics}
- {The third-party extension is not used.\MessageBreak
- Avoid automatic delimiters.\MessageBreak
- Use all mandatory arguments, adding empty as needed.\MessageBreak
- See the Lwarp manual for details}
\LWR@mathjaxwarn{unicode-math}
{Not all characters are encoded correctly.\MessageBreak
Some symbol fonts are not supported by MathJax,\MessageBreak