summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-07 20:54:02 +0000
committerKarl Berry <karl@freefriends.org>2020-10-07 20:54:02 +0000
commitc22509495342cccf3b2c3313eafde5d346801c2c (patch)
treeb037bf5cd1bccf92456e84a5f5e5714fead2a220 /Master/texmf-dist/tex/latex/lwarp
parentfb163bd8a33be83ffc24acb554c31fc4b7170e39 (diff)
lwarp (6oct20)
git-svn-id: svn://tug.org/texlive/trunk@56584 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-newpxtxmath.sty8
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-nonunicode.sty8
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty11
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fourier.sty10
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fvextra.sty166
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty9
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-lineno.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-minted.sty62
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty4
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty58
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty6
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp.sty65
13 files changed, 318 insertions, 92 deletions
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
index 4fce57ce650..245f4efea93 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-newpxtxmath.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-newpxtxmath.sty
@@ -25,11 +25,9 @@
\CustomizeMathJax{\newcommand{\imathscr}{\mathord{\mathscr{i}}}}
\CustomizeMathJax{\newcommand{\jmathscr}{\mathord{\mathscr{j}}}}
+\CustomizeMathJax{\let\llbracket\lBrack}
+\CustomizeMathJax{\let\rrbracket\rBrack}
-\CustomizeMathJax{\let\llbracket[}% single only
-\CustomizeMathJax{\let\rrbracket]}% single only
-\CustomizeMathJax{\let\lBrack=\llbracket}% single only
-\CustomizeMathJax{\let\rBrack=\rrbracket}% single only
\CustomizeMathJax{\let\smlbrace\{}
\CustomizeMathJax{\let\smrbrace\}}
\CustomizeMathJax{\newcommand{\Perp}{\mathrel{\unicode{x02AEB}}}}
@@ -205,8 +203,6 @@
\CustomizeMathJax{\newcommand{\primeS}{\prime}}
\CustomizeMathJax{\newcommand{\invamp}{\mathbin{\unicode{x0214B}}}}
-\CustomizeMathJax{\newcommand{\lbag}{\mathopen{\unicode{x027C5}}}}
-\CustomizeMathJax{\newcommand{\rbag}{\mathclose{\unicode{x027C6}}}}
\CustomizeMathJax{\newcommand{\Lbag}{\mathopen{\large\unicode{x027C5}}}}
\CustomizeMathJax{\newcommand{\Rbag}{\mathclose{\large\unicode{x027C6}}}}
\CustomizeMathJax{\newcommand{\circledless}{\mathrel{\unicode{x029C0}}}}
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
index 4482af7e02e..299b3e86a53 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-nonunicode.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-common-mathjax-nonunicode.sty
@@ -102,7 +102,9 @@
\CustomizeMathJax{\let\sqcupplus\bigsqcupplus}% from kpfonts-otf
\CustomizeMathJax{\newcommand{\parallelslant}{\mathrel{\unicode{x02AFD}}}}
-\CustomizeMathJax{\newcommand{\parallelbackslant}{\mathrel{\unicode{x0005C}\!\!\unicode{x0005C}}}}
+\CustomizeMathJax{\newcommand{\parallelbackslant}{%
+ \mathrel{\unicode{x0005C}\!\!\unicode{x0005C}}%
+}}
\CustomizeMathJax{\newcommand{\Eqqcolon}{\mathrel{=\!\unicode{x2237}}}}
\CustomizeMathJax{\let\eqqColon\Eqqcolon}% for kpfonts-otf
@@ -141,7 +143,9 @@
\CustomizeMathJax{\newcommand{\Wr}{\mathbin{\unicode{x02240}\!\unicode{x02240}}}}
-\CustomizeMathJax{\newcommand{\dashleftrightarrow}{\mathrel{\unicode{x021E0}\!\unicode{x021E2}}}}
+\CustomizeMathJax{\newcommand{\dashleftrightarrow}{%
+ \mathrel{\unicode{x021E0}\!\unicode{x021E2}}%
+}}
\CustomizeMathJax{\let\leftrightdasharrow\dashleftrightarrow}% for kpfonts-otf
\end{warpMathJax}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
index ebec568d503..a777646f4c5 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
@@ -191,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%
@@ -242,6 +242,15 @@ solid {\FancyVerbRuleColor{\LWR@origpound\LWR@tempcolor}} ; % space
}
}
+\def\FV@ListProcessLine@i#1{%
+ \ifvoid\@labels\else
+ \hbox to \z@{\kern\@totalleftmargin\box\@labels\hss}%
+ \fi
+ \FV@ListProcessLine{#1}%
+}
+
+\def\FV@ListProcessLastLine{}
+
\xpretocmd{\FV@BeginVBox}
{%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fourier.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fourier.sty
index 01795b3f299..6d0ff9446a5 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fourier.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fourier.sty
@@ -49,12 +49,12 @@
\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\llbracket[}% single only
-\CustomizeMathJax{\let\rrbracket]}% single only
-\CustomizeMathJax{\let\dblbrackleft[}% single only
-\CustomizeMathJax{\let\dblbrackright]}% single only
-\CustomizeMathJax{\let\VERT|}% single only
+\CustomizeMathJax{\let\VERT|}
\CustomizeMathJax{\newcommand{\parallelslant}{\mathrel{\unicode{x02AFD}}}}
\CustomizeMathJax{\newcommand{\thething}{\mathord{\unicode{x1F60E}}}}
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-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
index 9e00d5aba91..49f6dac7470 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
@@ -335,6 +335,7 @@
\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}%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty
index 8025b479086..c0e1f524ba9 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-libertinust1math.sty
@@ -59,13 +59,8 @@
\CustomizeMathJax{\let\tensorsym\mathsfbfit}
\CustomizeMathJax{\let\mathboldsans\mathsfbfit}
\CustomizeMathJax{\let\mathbold\mathbfit}
-
-\CustomizeMathJax{\let\lBrack\lbrack}% not double
-\CustomizeMathJax{\let\dlb\lBrack}% not double
-\CustomizeMathJax{\let\rBrack\rbrack}% not double
-\CustomizeMathJax{\let\drb\rBrack}% not double
-
-\CustomizeMathJax{\let\Vvert\Vert}
+\CustomizeMathJax{\let\dlb\lBrack}
+\CustomizeMathJax{\let\drb\rBrack}
\CustomizeMathJax{\let\sqrtsign\sqrt}
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-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-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-unicode-math.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty
index 79e846ece7a..dc777a2888b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty
@@ -92,66 +92,8 @@
\CustomizeMathJax{\let\rparen)}
\CustomizeMathJax{\newcommand{\cuberoot}[1]{\,{}^3\!\!\sqrt{#1}}\,}
\CustomizeMathJax{\newcommand{\fourthroot}[1]{\,{}^4\!\!\sqrt{#1}}\,}
-
-\CustomizeMathJax{\let\lbrbrak[}
-\CustomizeMathJax{\let\rbrbrak]}
-
-\CustomizeMathJax{\newcommand{\lbag}{\mathopen{\unicode{x027C5}}}}% not \left
-\CustomizeMathJax{\newcommand{\rbag}{\mathclose{\unicode{x027C6}}}}% not \right
-
\CustomizeMathJax{\newcommand{\longdivision}[1]{\mathord{\unicode{x027CC}#1}}}
-\CustomizeMathJax{\let\lBrack[}
-\CustomizeMathJax{\let\rBrack]}
-\CustomizeMathJax{\let\lAngle\langle}
-\CustomizeMathJax{\let\rAngle\rangle}
-
-\CustomizeMathJax{\let\Lbrbrak[}
-\CustomizeMathJax{\let\Rbrbrak]}
-
-\CustomizeMathJax{\let\lBrace\{}
-\CustomizeMathJax{\let\rBrace\}}
-
-\CustomizeMathJax{\let\lParen(}
-\CustomizeMathJax{\let\rParen)}
-
-\CustomizeMathJax{\newcommand{\llparenthesis}{\mathopen{\unicode{x02987}}}}% not \left
-\CustomizeMathJax{\newcommand{\rrparenthesis}{\mathopen{\unicode{x02988}}}}% not \right
-\CustomizeMathJax{\newcommand{\llangle}{\mathopen{\unicode{x02989}}}}% not \left
-\CustomizeMathJax{\newcommand{\rrangle}{\mathopen{\unicode{x0298A}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\lbrackubar}{\mathopen{\unicode{x0298B}}}}% not \left
-\CustomizeMathJax{\newcommand{\rbrackubar}{\mathopen{\unicode{x0298C}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\lbrackultick}{\mathopen{\unicode{x0298D}}}}% not \left
-\CustomizeMathJax{\newcommand{\rbracklrtick}{\mathopen{\unicode{x0298E}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\lbracklltick}{\mathopen{\unicode{x0298F}}}}% not \left
-\CustomizeMathJax{\newcommand{\rbrackurtick}{\mathopen{\unicode{x02990}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\langledot}{\mathopen{\unicode{x02991}}}}% not \left
-\CustomizeMathJax{\newcommand{\rangledot}{\mathopen{\unicode{x02992}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\lparenless}{\mathopen{\unicode{x02993}}}}% not \left
-\CustomizeMathJax{\newcommand{\rparengtr}{\mathopen{\unicode{x02994}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\Lparengtr}{\mathopen{\unicode{x02995}}}}% not \left
-\CustomizeMathJax{\newcommand{\Rparenless}{\mathopen{\unicode{x02996}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\lblkbrbrak}{\mathopen{\unicode{x02997}}}}% not \left
-\CustomizeMathJax{\newcommand{\rblkbrbrak}{\mathopen{\unicode{x02998}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\lvzigzag}{\mathopen{\unicode{x029D8}}}}% not \left
-\CustomizeMathJax{\newcommand{\rvzigzag}{\mathopen{\unicode{x029D9}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\Lvzigzag}{\mathopen{\unicode{x029DA}}}}% not \left
-\CustomizeMathJax{\newcommand{\Rvzigzag}{\mathopen{\unicode{x029DB}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\lcurvyangle}{\mathopen{\unicode{x029FC}}}}% not \left
-\CustomizeMathJax{\newcommand{\rcurvyangle}{\mathopen{\unicode{x029FD}}}}% not \right
-
-\CustomizeMathJax{\newcommand{\Vvert}{\mathord{\unicode{x02980}}}}% not \left, etc.
-
\CustomizeMathJax{\newcommand{\mathcomma}{,}}
\CustomizeMathJax{\newcommand{\mathcolon}{:}}
\CustomizeMathJax{\newcommand{\mathsemicolon}{;}}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
index fd58bcb2be5..b492c8d35a9 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
@@ -130,7 +130,7 @@ padding:\LWR@printlength{\fboxsep}%
\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%
@@ -154,7 +154,7 @@ padding:\LWR@printlength{\fboxsep}%
\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%
@@ -195,7 +195,7 @@ 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%
\setlength{\LWR@tempwidth}{#8}%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index ac52479f9c9..db987d7a549 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/09/22 v0.891 Allows LaTeX to directly produce HTML5 output.]
+ [2020/10/07 v0.892 Allows LaTeX to directly produce HTML5 output.]
@@ -357,6 +357,7 @@
\LWR@loadafter{fullminipage}
\LWR@loadafter{fullpage}
\LWR@loadafter{fullwidth}
+\LWR@loadafter{fvextra}
\LWR@loadafter{fwlw}
\LWR@loadafter{gensymb}
\LWR@loadafter{gentombow}
@@ -439,6 +440,7 @@
\LWR@loadafter{midpage}
\LWR@loadafter{minibox}
\LWR@loadafter{minitoc}
+\LWR@loadafter{minted}
\LWR@loadafter{mismath}
\LWR@loadafter{mleftright}
\LWR@notmemoirloadafter{moreverb}
@@ -4364,6 +4366,7 @@ page_compositor "."
// 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.
//
@@ -4441,6 +4444,7 @@ MathJax = {
MathJax.config.section=neweqsection ; // a string with numeric meaning
parser.tags.counter = parser.tags.allCounter = neweqnumber ;
}
+
});
// Create the ifstar-ifnextchar-setequnumber package
@@ -4463,6 +4467,51 @@ MathJax = {
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
@@ -4497,7 +4546,7 @@ MathJax = {
-- Copyright 2016-2020 Brian Dunn
-printversion = "v0.891"
+printversion = "v0.892"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -6080,16 +6129,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%
}%
}%
@@ -8122,7 +8171,7 @@ end -- not --version
\begingroup%
\LWR@print@normalfont%
\LWR@origttfamily%
-\LWR@print@small%
+\LWR@print@scriptsize%
\LWR@restoreoriglists%
\LWR@FBcancel%
\LWR@select@print@hspace%