texlive[73623] trunk: lwarp (27jan25)
commits+karl at tug.org
commits+karl at tug.org
Tue Jan 28 22:07:32 CET 2025
Revision: 73623
https://tug.org/svn/texlive?view=revision&revision=73623
Author: karl
Date: 2025-01-28 22:07:31 +0100 (Tue, 28 Jan 2025)
Log Message:
-----------
lwarp (27jan25)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
trunk/Master/texmf-dist/doc/latex/lwarp/README.txt
trunk/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf
trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-mismath.sty
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty
trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
Modified: trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua 2025-01-28 21:07:01 UTC (rev 73622)
+++ trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua 2025-01-28 21:07:31 UTC (rev 73623)
@@ -2,7 +2,7 @@
-- Copyright 2016-2025 Brian Dunn
-printversion = "v0.917"
+printversion = "v0.918"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
Modified: trunk/Master/texmf-dist/doc/latex/lwarp/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lwarp/README.txt 2025-01-28 21:07:01 UTC (rev 73622)
+++ trunk/Master/texmf-dist/doc/latex/lwarp/README.txt 2025-01-28 21:07:31 UTC (rev 73623)
@@ -1,5 +1,5 @@
-LaTeX lwarp package v0.917 README.txt
+LaTeX lwarp package v0.918 README.txt
Files included are:
Modified: trunk/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua 2025-01-28 21:07:01 UTC (rev 73622)
+++ trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua 2025-01-28 21:07:31 UTC (rev 73623)
@@ -2,7 +2,7 @@
-- Copyright 2016-2025 Brian Dunn
-printversion = "v0.917"
+printversion = "v0.918"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
Modified: trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx 2025-01-28 21:07:01 UTC (rev 73622)
+++ trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx 2025-01-28 21:07:31 UTC (rev 73623)
@@ -16,7 +16,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lwarp}
-%<package> [2025/01/12 v0.917 Allows LaTeX to directly produce HTML5 output.]
+%<package> [2025/01/28 v0.918 Allows LaTeX to directly produce HTML5 output.]
%%
%<*driver>
\documentclass{ltxdoc}
@@ -1681,6 +1681,7 @@
\env{warpprint} to isolate a version for each mode.
\item \cs{DeclarePairedDelimiter} and related must be in the preamble
before \linebreak \texttt{\cs{begin}\{document\}}.
+ \item \cs{MakeAboxedCommand} uses \cs{Aboxed} for all commands made.
\end{itemize}
}
@@ -3444,6 +3445,7 @@
% \changes{v0.915}{2024/02/05}{\ 2024/02/05}
% \changes{v0.916}{2024/02/22}{\ 2024/02/22}
% \changes{v0.917}{2025/01/12}{\ 2025/01/12}
+% \changes{v0.918}{2025/01/28}{\ 2025/01/28}
% \GetFileInfo{lwarp.sty}
@@ -3680,6 +3682,12 @@
% see the end of the Change History on page \pageref{sec:changesend}.
%
% \begin{description}
+% \item[v0.918:] Package updates.
+% \begin{itemize}
+% \item Added an automatic vertical scroll bar to the sidetoc.
+% \item Updated \pkg{mathtools}, \pkg{mismath}, \pkg{siunitx}.
+% \end{itemize}
+% \needspace{2\baselineskip}
% \item[v0.917:] Improved \attribute{alt} tags.
% \begin{itemize}
% \item \newlabelsystem
@@ -18529,6 +18537,7 @@
% \changes{v0.903}{2022/01/02}{\filenm{lwarp.css}: Improved pars in lists.}
% \changes{v0.913}{2023/09/27}{\filenm{lwarp.css}: Improved \pkg{fancyvrb}.}
% \changes{v0.913}{2023/09/27}{\filenm{lwarp.css}: Added complex number i,j format.}
+% \changes{v0.918}{2025/01/27}{\filenm{lwarp.css}: Added vert scroll bar for sidetoc.}
%
% ^^A *lwarp.css
%
@@ -18542,6 +18551,86 @@
*/
+
+
+/* Page layout */
+
+div.sidetoccontainer {
+ font-family: "DejaVu Serif", "Bitstream Vera Serif",
+ "Lucida Bright", Georgia, serif;
+ float: left ;
+ width: 19%; /* room for border-right next to 80% main */
+ margin: 0pt 0em 3ex 0pt ;
+ border-right: 1px solid silver;
+ border-bottom: 1px solid silver;
+ background: #FAF7F4 ;
+ font-size:.9em ;
+ border-radius: 0px 0px 20px 0px ;
+ max-height: 100vh ;
+ overflow-y: auto ;
+}
+
+div.sidetoccontents {
+ overflow-y: auto ;
+ width: 100% ;
+ text-align: left ;
+}
+
+
+nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ;
+ text-indent: 0 ; }
+
+nav.sidetoc p a {color:black ; font-size: .7em ;}
+
+div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center;
+ border-bottom: 1px solid silver ; }
+
+nav.sidetoc a:hover {text-decoration: underline ; }
+
+
+nav.topnavigation{
+ text-align: left ;
+ padding: 0.5ex 1em 0.5ex 1em ;
+/* margin: 2ex 0em 3ex 0em ; */
+ margin: 0 ;
+ border-bottom: 1px solid silver ;
+ border-top: 1px solid silver ;
+ clear:both ;
+}
+
+nav.botnavigation{
+ text-align: left ;
+ padding: 0.5ex 1em 0.5ex 1em ;
+/* margin: 3ex 0em 2ex 0em ; */
+ margin: 0 ;
+ border-top: 1px solid silver ;
+ border-bottom: 1px solid silver ;
+ clear:both ;
+}
+
+
+header {
+ line-height: 1.2 ;
+ font-size: 1em ;
+ border-bottom: 1px solid silver ;
+ margin: 0px ;
+ padding: 2ex 1em 2ex 1em ;
+ text-align:left ;
+}
+
+
+footer {
+ font-size: .85em ;
+ line-height: 1.2 ;
+ margin-top: 1ex ;
+ border-top: 1px solid silver ;
+ padding: 2ex 1em 2ex 1em ;
+ clear:both ;
+ text-align:left ;
+}
+
+
+
/* a fix for older browsers: */
header, section, footer, aside, nav, main,
article, figure { display: block; }
@@ -18586,6 +18675,7 @@
line-height: 1.2 ;
}
+
p {margin: 1.5ex 0em 1.5ex 0em ;}
table p {margin: .5ex 0em .5ex 0em ;}
@@ -19863,48 +19953,7 @@
}
-nav.topnavigation{
- text-align: left ;
- padding: 0.5ex 1em 0.5ex 1em ;
-/* margin: 2ex 0em 3ex 0em ; */
- margin: 0 ;
- border-bottom: 1px solid silver ;
- border-top: 1px solid silver ;
- clear:both ;
-}
-nav.botnavigation{
- text-align: left ;
- padding: 0.5ex 1em 0.5ex 1em ;
-/* margin: 3ex 0em 2ex 0em ; */
- margin: 0 ;
- border-top: 1px solid silver ;
- border-bottom: 1px solid silver ;
- clear:both ;
-}
-
-
-header {
- line-height: 1.2 ;
- font-size: 1em ;
- border-bottom: 1px solid silver ;
- margin: 0px ;
- padding: 2ex 1em 2ex 1em ;
- text-align:left ;
-}
-
-
-footer {
- font-size: .85em ;
- line-height: 1.2 ;
- margin-top: 1ex ;
- border-top: 1px solid silver ;
- padding: 2ex 1em 2ex 1em ;
- clear:both ;
- text-align:left ;
-}
-
-
/* for \LinkHome, \LinkPrevious, and \LinkNext: */
a.linkhome { font-weight:bold ; font-size: 1em ;}
@@ -19923,38 +19972,8 @@
}
-div.sidetoccontainer {
- font-family: "DejaVu Serif", "Bitstream Vera Serif",
- "Lucida Bright", Georgia, serif;
- float: left ;
- width: 19%; /* room for border-right next to 80% main */
- margin: 0pt 0em 3ex 0pt ;
- border-right: 1px solid silver;
- border-bottom: 1px solid silver;
- background: #FAF7F4 ;
- font-size:.9em ;
- border-radius: 0px 0px 20px 0px ;
-}
-div.sidetoccontents {
- overflow-y: auto ;
- width: 100% ;
- text-align: left ;
-}
-
-nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ;
- text-indent: 0 ; }
-
-nav.sidetoc p a {color:black ; font-size: .7em ;}
-
-div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center;
- border-bottom: 1px solid silver ; }
-
-nav.sidetoc a:hover {text-decoration: underline ; }
-
-
-
section.textbody { margin: 0ex 1em 0ex 1em ;}
@@ -21414,7 +21433,7 @@
-- Copyright 2016-2025 Brian Dunn
-printversion = "v0.917"
+printversion = "v0.918"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -44997,7 +45016,8 @@
\LWR at mathjaxwarn{mathtools}
{See the Lwarp manual regarding the disallowspaces\MessageBreak
and showonlyrefs options, the alignat environment,\MessageBreak
- and \protect\DeclarePairedDelimiter\space and related%
+ \protect\DeclarePairedDelimiter\space and related,\MessageBreak
+ and \cs{MakeAboxedCommand}%
}
\LWR at mathjaxwarn{mathspec}
{Double quotes are removed, even inside \protect\text}
@@ -71084,7 +71104,7 @@
% \section{mathtools}
% \label{sec:mathtools}
%
-% \credits{Morten Høgholm, Lars Madsen}
+% \credits{Morten Høgholm, Lars Madsen, \LaTeX3 project}
%
% \DescribePackage{mathtools}
% \pkg{mathtools} is patched for use by \pkg{lwarp}.
@@ -71097,7 +71117,7 @@
% \codehtml
%
% \begin{macrocode}
-\LWR at ProvidesPackagePass{mathtools}[2018/01/08]
+\LWR at ProvidesPackagePass{mathtools}[2024/10/04]
% \end{macrocode}
%
% \begin{macrocode}
@@ -71146,6 +71166,7 @@
% \changes{v0.891}{2020/09/19}{\pkg{mathtools}: Improved \cs{underbraket}, \cs{overbracket}.}
% \changes{v0.901}{2021/08/26}{\pkg{mathtools}: Uses \MathJax\ 3.2 package.}
% \changes{v0.915}{2024/02/05}{\pkg{mathtools}: Added newline to \cs{newgathered} \MathJax\ customization.}
+% \changes{v0.918}{2025/01/27}{\pkg{mathtools}: Added long arrows, \cs{MakeAboxedCommand}, colons.}
% \begin{macrocode}
\begin{warpMathJax}
\CustomizeMathJax{\require{mathtools}}
@@ -71152,6 +71173,20 @@
\LWR at infoprocessingmathjax{mathtools}
+\CustomizeMathJax{\newcommand{\vcentcolon}{\mathrel{\unicode{x2236}}}}
+
+\CustomizeMathJax{\newcommand{\approxcolon}{\approx\vcentcolon}}
+\CustomizeMathJax{\newcommand{\Approxcolon}{\approx\dblcolon}}
+
+\CustomizeMathJax{\newcommand{\simcolon}{\sim\vcentcolon}}
+\CustomizeMathJax{\newcommand{\Simcolon}{\sim\dblcolon}}
+
+\CustomizeMathJax{\newcommand{\dashcolon}{\mathrel{-}\vcentcolon}}
+\CustomizeMathJax{\newcommand{\Dashcolon}{\mathrel{-}\dblcolon}}
+
+\CustomizeMathJax{\newcommand{\colondash}{\vcentcolon\mathrel{-}}}
+\CustomizeMathJax{\newcommand{\Colondash}{\dblcolon\mathrel{-}}}
+
\CustomizeMathJax{\newenvironment{crampedsubarray}[1]{}{}}
\CustomizeMathJax{\newcommand{\smashoperator}[2][]{#2\limits}}
@@ -71161,6 +71196,10 @@
\CustomizeMathJax{\newcommand{\LaTeXunderbrace}[1]{\underbrace{#1}}}
\CustomizeMathJax{\newcommand{\LaTeXoverbrace}[1]{\overbrace{#1}}}
+\CustomizeMathJax{\Newextarrow\xLongleftarrow{10,10}{0x21D0}}
+\CustomizeMathJax{\Newextarrow\xLongrightarrow{10,10}{0x21D2}}
+\CustomizeMathJax{\let\xlongleftarrow\xleftarrow}
+\CustomizeMathJax{\let\xlongrightarrow\xrightarrow}
\CustomizeMathJax{\newcommand{\LWRmultlined}[1][]{\begin{multline*}}}
\CustomizeMathJax{\newenvironment{multlined}[1][]{\LWRmultlined}{\end{multline*}}}
@@ -71277,8 +71316,6 @@
\@onlypreamble\DeclareParedDelimiterXPP
\@onlypreamble\DeclareParedDelimiterX
-\CustomizeMathJax{\newcommand{\vcentcolon}{\mathrel{\unicode{x2236}}}}
-
\LetLtxMacro\LWR at mathtools@orig at newgathered\newgathered
\renewcommand{\newgathered}[4]{%
\LWR at mathtools@orig at newgathered{#1}{#2}{#3}{#4}%
@@ -71290,6 +71327,19 @@
}
\@onlypreamble\newgathered
+
+\LetLtxMacro\LWR at mathtools@MakeAboxedCommand\MakeAboxedCommand
+\renewcommand{\MakeAboxedCommand}[2]{%
+ \LWR at mathtools@MakeAboxedCommand{#1}{#2}%
+ \appto\LWR at customizedMathJax{\LWRbackslash(}
+ \appto\LWR at customizedMathJax{%
+ \LWRbackslash{}let%
+ \LWRbackslash\macrotocsname{#1}%
+ \LWRbackslash{}Aboxed%
+ }%
+ \appto\LWR at customizedMathJax{\LWRbackslash)\par}%
+}
+
\end{warpMathJax}
% \end{macrocode}
%
@@ -73156,11 +73206,12 @@
% \changes{v0.89}{2020/09/02}{\pkg{mismath}: Improved math operators.}
% \changes{v0.909}{2022/11/21}{\pkg{mismath}: Updated to v2.0.}
% \changes{v0.911}{2023/01/03}{\pkg{mismath}: Updated to v2.5.}
+% \changes{v0.918}{2025/01/27}{\pkg{mismath}: Updated to v3.1.}
%
% \codehtml
%
% \begin{macrocode}
-\LWR at ProvidesPackagePass{mismath}[2023/02/24]
+\LWR at ProvidesPackagePass{mismath}[2024/06/16]
% \end{macrocode}
%
% For \MathJax, used in the \HTML\ comment before the environment.
@@ -73195,6 +73246,8 @@
}
\begin{warpMathJax}
+\CustomizeMathJax{\require{upgreek}}% for \Updelta
+
\CustomizeMathJax{\newcommand{\mathup}[1]{\mathrm{#1}}}
\CustomizeMathJax{\newcommand{\e}{\mathrm{e}}}
\CustomizeMathJax{\newcommand{\i}{\mathrm{i}}}
@@ -73213,6 +73266,10 @@
}
\CustomizeMathJax{\newcommand{\di}{\mathop{}\!\mathrm{d}}}
+\CustomizeMathJax{\newcommand{\upDelta}{\Updelta}}
+\CustomizeMathJax{\newcommand{\opDelta}{\Updelta}}
+\CustomizeMathJax{\newcommand{\opdelta}{\updelta}}
+
\CustomizeMathJax{\newcommand{\P}{\operatorname{\probastyle{P}}}}
\CustomizeMathJax{\newcommand{\E}{\operatorname{\probastyle{E}}}}
\CustomizeMathJax{\newcommand{\V}{\operatorname{\probastyle{V}}}}
@@ -82979,6 +83036,7 @@
% \changes{v0.904}{2022/02/19}{\pkg{siunitx}: Added v3.}
% \changes{v0.913}{2023/11/24}{\pkg{siunitx}: Updated to v3.3.9.}
% \changes{v0.917}{2024/08/24}{\pkg{siunitx}: Updated to v3.4.0.}%
+% \changes{v0.918}{2025/01/26}{\pkg{siunitx}: Updated to v3.4.4.}%
% \codehtml
%
% \begin{macrocode}
@@ -82991,7 +83049,7 @@
\RequirePackage{xcolor}% for \convertcolorspec
-\LWR at ProvidesPackagePass{siunitx}[2024-12-06]
+\LWR at ProvidesPackagePass{siunitx}[2025-01-21]
\ExplSyntaxOn
% \end{macrocode}
@@ -83235,100 +83293,126 @@
% \end{macrocode}
%
%
-% \marg{1: deg/min/sec character}
+%
+% \marg{1: decimal part of angle}
% \marg{2: ?}
-% \marg{3: ?}
-% \marg{4: integer part of angle}
-% \marg{5: decimal point character}
-% \marg{6: decimal part of angle}
-% \marg{7: ?}
-% \marg{8: ?}
+% \marg{3: integer part of angle}
+% \marg{4: decimal point char}
+% \marg{5: deg/min/sec char}
%
-% If not in a \env{lateximage}, print a simplified verison
-% without the box measurement things which conflict with \pkg{lwarp}:
% \begin{macrocode}
-\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxii:nw}
- {7CEE155CD4C7A9CDFEAE3AF8DD154B03}
-
-\cs_set_protected:Npn \__siunitx_angle_arc_print_auxii:nw
- #1#2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_nil #7 \q_nil #8 \q_stop
+\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxiv:nnnnn}%
+ {BA9FCDF6D4868323669F0F8C61412508}
+\cs_set_protected:Npn \__siunitx_angle_arc_print_auxiv:nnnnn #1#2#3#4#5
{
\mode_if_math:TF
{ \bool_set_true:N \l__siunitx_angle_tmp_bool }
{ \bool_set_false:N \l__siunitx_angle_tmp_bool }
- \siunitx_print_number:n {#2#3#4}
+ \siunitx_print_number:n {#3}
\ifnumcomp{\value{LWR at lateximagedepth}}{>}{0}% lwarp
- {% lwarp
- \tl_if_blank:nTF {#6}
- { \__siunitx_angle_arc_print_auxvi:n {#1} }
- {
- \hbox_set:Nn \l__siunitx_angle_marker_box
- {
- \__siunitx_angle_arc_print_auxiii:n
- { \siunitx_print_number:n {#5} }
- }
- \hbox_set:Nn \l__siunitx_angle_unit_box
- {
- \__siunitx_angle_arc_print_auxiii:n
- {
- \siunitx_unit_format:nN {#1} \l__siunitx_angle_tmp_tl
- \siunitx_print_unit:V \l__siunitx_angle_tmp_tl
- \skip_horizontal:n { -\scriptspace }
- }
- }
- \dim_compare:nNnTF { \box_wd:N \l__siunitx_angle_marker_box } >
- { \box_wd:N \l__siunitx_angle_unit_box }
- {
- \__siunitx_angle_arc_print_auxiv:NN
- \l__siunitx_angle_marker_box
- \l__siunitx_angle_unit_box
- }
- {
- \__siunitx_angle_arc_print_auxiv:NN
- \l__siunitx_angle_unit_box
- \l__siunitx_angle_marker_box
- }
- \hbox_set_to_wd:Nnn \l__siunitx_angle_marker_box
- \l__siunitx_angle_tmp_dim
- {
- \hbox_overlap_right:n
- { \box_use_drop:N \l__siunitx_angle_marker_box }
- \hbox_overlap_right:n
- { \box_use_drop:N \l__siunitx_angle_unit_box }
- \tex_hfil:D
- }
- \box_use:N \l__siunitx_angle_marker_box
- \skip_horizontal:N \scriptspace
- \siunitx_print_number:n {#6}
- }
- }%
+ {% lwarp: lateximage
+ \tl_if_blank:nTF {#1}% decimal part of angle
+ {
+ \siunitx_print_number:n {#2}%
+ \__siunitx_angle_arc_print_auxix:n {#5}% deg/min/sec char
+ }
+ {
+ \hbox_set:Nn \l__siunitx_angle_marker_box
+ {
+ \__siunitx_angle_arc_print_auxv:n
+ { \siunitx_print_number:n {#4} }% decimal point char
+ }
+ \hbox_set:Nn \l__siunitx_angle_unit_box
+ {
+ \__siunitx_angle_arc_print_auxv:n
+ {
+ \siunitx_unit_format:nN {#5} \l__siunitx_angle_tmp_tl% deg/min/sec char
+ \siunitx_print_unit:V \l__siunitx_angle_tmp_tl
+ \skip_horizontal:n { -\scriptspace }
+ }
+ }
+ \dim_compare:nNnTF { \box_wd:N \l__siunitx_angle_marker_box } >
+ { \box_wd:N \l__siunitx_angle_unit_box }
+ {
+ \__siunitx_angle_arc_print_auxvi:NN
+ \l__siunitx_angle_marker_box
+ \l__siunitx_angle_unit_box
+ }
+ {
+ \__siunitx_angle_arc_print_auxvi:NN
+ \l__siunitx_angle_unit_box
+ \l__siunitx_angle_marker_box
+ }
+ \hbox_set_to_wd:Nnn \l__siunitx_angle_marker_box
+ \l__siunitx_angle_tmp_dim
+ {
+ \hbox_overlap_right:n
+ { \box_use_drop:N \l__siunitx_angle_marker_box }
+ \hbox_overlap_right:n
+ { \box_use_drop:N \l__siunitx_angle_unit_box }
+ \tex_hfil:D
+ }
+ \box_use:N \l__siunitx_angle_marker_box
+ \skip_horizontal:N \scriptspace
+ \siunitx_print_number:n {#1#2}% decimal part of angle
+ }
+ }% lwarp: latex image
% \end{macrocode}
%
-% \marg{1: deg/min/sec character}
+% \marg{1: decimal part of angle}
% \marg{2: ?}
-% \marg{3: ?}
-% \marg{4: integer part of angle}
-% \marg{5: decimal point character}
-% \marg{6: decimal part of angle}
-% \marg{7: ?}
-% \marg{8: ?}
+% \marg{3: integer part of angle}
+% \marg{4: decimal point char}
+% \marg{5: deg/min/sec char}
+%
% \begin{macrocode}
- {% lwarp: not in a lateximage, simplify for HTML
- \tl_if_blank:nTF {#6}
- { \__siunitx_angle_arc_print_auxvi:n {#1} }
- {
- \__siunitx_angle_arc_print_auxiii:n
- {
- \siunitx_print_number:n {#5}
- }
- \__siunitx_angle_arc_print_auxiii:n
- {
- \siunitx_unit_format:nN {#1} \l__siunitx_angle_tmp_tl
+ {% lwarp: not latex iamge
+ \tl_if_blank:nTF {#1}% decimal part of angle
+ {
+ \siunitx_print_number:n {#2}%
+ \__siunitx_angle_arc_print_auxix:n {#5}% deg/min/sec char
+ }
+ {
+% \hbox_set:Nn \l__siunitx_angle_marker_box
+% {
+ \__siunitx_angle_arc_print_auxv:n
+ { \siunitx_print_number:n {#4} }% decimal point char
+% }
+% \hbox_set:Nn \l__siunitx_angle_unit_box
+% {
+ \__siunitx_angle_arc_print_auxv:n
+ {
+ \siunitx_unit_format:nN {#5} \l__siunitx_angle_tmp_tl% deg/min/sec char
\siunitx_print_unit:V \l__siunitx_angle_tmp_tl
- }
- \siunitx_print_number:n {#6}
- }
- }% lwarp
+% \skip_horizontal:n { -\scriptspace }
+ }
+% }
+% \dim_compare:nNnTF { \box_wd:N \l__siunitx_angle_marker_box } >
+% { \box_wd:N \l__siunitx_angle_unit_box }
+% {
+% \__siunitx_angle_arc_print_auxvi:NN
+% \l__siunitx_angle_marker_box
+% \l__siunitx_angle_unit_box
+% }
+% {
+% \__siunitx_angle_arc_print_auxvi:NN
+% \l__siunitx_angle_unit_box
+% \l__siunitx_angle_marker_box
+% }
+% \hbox_set_to_wd:Nnn \l__siunitx_angle_marker_box
+% \l__siunitx_angle_tmp_dim
+% {
+% \hbox_overlap_right:n
+% { \box_use_drop:N \l__siunitx_angle_marker_box }
+% \hbox_overlap_right:n
+% { \box_use_drop:N \l__siunitx_angle_unit_box }
+% \tex_hfil:D
+% }
+% \box_use:N \l__siunitx_angle_marker_box
+% \skip_horizontal:N \scriptspace
+ \siunitx_print_number:n {#1#2}% decimal part of angle
+ }
+ }% lwarp: not latex image
}
% \end{macrocode}
%
@@ -83335,10 +83419,10 @@
%
% \changes{v0.917}{2024/12/31}{\pkg{siunitx}: Angle unit spacing.}
% \begin{macrocode}
-\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxvi:n}
+\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxix:n}
{603807F80B4E40084CC07396DBC89FC1}
-\cs_set_protected:Npn \__siunitx_angle_arc_print_auxvi:n #1
+\cs_set_protected:Npn \__siunitx_angle_arc_print_auxix:n #1
{
\group_begin:
\siunitx_unit_options_apply:n {#1}
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty 2025-01-28 21:07:01 UTC (rev 73622)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-mathtools.sty 2025-01-28 21:07:31 UTC (rev 73623)
@@ -16,7 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
-\LWR at ProvidesPackagePass{mathtools}[2018/01/08]
+\LWR at ProvidesPackagePass{mathtools}[2024/10/04]
\RequirePackage{graphicx}
\MHInternalSyntaxOn
\renewcommand*\MT_showonlyrefs_true:{%
@@ -40,6 +40,20 @@
\LWR at infoprocessingmathjax{mathtools}
+\CustomizeMathJax{\newcommand{\vcentcolon}{\mathrel{\unicode{x2236}}}}
+
+\CustomizeMathJax{\newcommand{\approxcolon}{\approx\vcentcolon}}
+\CustomizeMathJax{\newcommand{\Approxcolon}{\approx\dblcolon}}
+
+\CustomizeMathJax{\newcommand{\simcolon}{\sim\vcentcolon}}
+\CustomizeMathJax{\newcommand{\Simcolon}{\sim\dblcolon}}
+
+\CustomizeMathJax{\newcommand{\dashcolon}{\mathrel{-}\vcentcolon}}
+\CustomizeMathJax{\newcommand{\Dashcolon}{\mathrel{-}\dblcolon}}
+
+\CustomizeMathJax{\newcommand{\colondash}{\vcentcolon\mathrel{-}}}
+\CustomizeMathJax{\newcommand{\Colondash}{\dblcolon\mathrel{-}}}
+
\CustomizeMathJax{\newenvironment{crampedsubarray}[1]{}{}}
\CustomizeMathJax{\newcommand{\smashoperator}[2][]{#2\limits}}
@@ -49,6 +63,11 @@
\CustomizeMathJax{\newcommand{\LaTeXunderbrace}[1]{\underbrace{#1}}}
\CustomizeMathJax{\newcommand{\LaTeXoverbrace}[1]{\overbrace{#1}}}
+\CustomizeMathJax{\Newextarrow\xLongleftarrow{10,10}{0x21D0}}
+\CustomizeMathJax{\Newextarrow\xLongrightarrow{10,10}{0x21D2}}
+\CustomizeMathJax{\let\xlongleftarrow\xleftarrow}
+\CustomizeMathJax{\let\xlongrightarrow\xrightarrow}
+
\CustomizeMathJax{\newcommand{\LWRmultlined}[1][]{\begin{multline*}}}
\CustomizeMathJax{\newenvironment{multlined}[1][]{\LWRmultlined}{\end{multline*}}}
@@ -155,8 +174,6 @@
\@onlypreamble\DeclareParedDelimiterXPP
\@onlypreamble\DeclareParedDelimiterX
-\CustomizeMathJax{\newcommand{\vcentcolon}{\mathrel{\unicode{x2236}}}}
-
\LetLtxMacro\LWR at mathtools@orig at newgathered\newgathered
\renewcommand{\newgathered}[4]{%
\LWR at mathtools@orig at newgathered{#1}{#2}{#3}{#4}%
@@ -168,6 +185,18 @@
}
\@onlypreamble\newgathered
+\LetLtxMacro\LWR at mathtools@MakeAboxedCommand\MakeAboxedCommand
+\renewcommand{\MakeAboxedCommand}[2]{%
+ \LWR at mathtools@MakeAboxedCommand{#1}{#2}%
+ \appto\LWR at customizedMathJax{\LWRbackslash(}
+ \appto\LWR at customizedMathJax{%
+ \LWRbackslash{}let%
+ \LWRbackslash\macrotocsname{#1}%
+ \LWRbackslash{}Aboxed%
+ }%
+ \appto\LWR at customizedMathJax{\LWRbackslash)\par}%
+}
+
\end{warpMathJax}
\endinput
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-mismath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-mismath.sty 2025-01-28 21:07:01 UTC (rev 73622)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-mismath.sty 2025-01-28 21:07:31 UTC (rev 73623)
@@ -16,7 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
-\LWR at ProvidesPackagePass{mismath}[2023/02/24]
+\LWR at ProvidesPackagePass{mismath}[2024/06/16]
\ifbool{mathjax}{
\RenewEnviron{mathcols}{%
\preto\BODY{\begin{aligned}\displaystyle}
@@ -42,6 +42,8 @@
}
\begin{warpMathJax}
+\CustomizeMathJax{\require{upgreek}}% for \Updelta
+
\CustomizeMathJax{\newcommand{\mathup}[1]{\mathrm{#1}}}
\CustomizeMathJax{\newcommand{\e}{\mathrm{e}}}
\CustomizeMathJax{\newcommand{\i}{\mathrm{i}}}
@@ -60,6 +62,10 @@
}
\CustomizeMathJax{\newcommand{\di}{\mathop{}\!\mathrm{d}}}
+\CustomizeMathJax{\newcommand{\upDelta}{\Updelta}}
+\CustomizeMathJax{\newcommand{\opDelta}{\Updelta}}
+\CustomizeMathJax{\newcommand{\opdelta}{\updelta}}
+
\CustomizeMathJax{\newcommand{\P}{\operatorname{\probastyle{P}}}}
\CustomizeMathJax{\newcommand{\E}{\operatorname{\probastyle{E}}}}
\CustomizeMathJax{\newcommand{\V}{\operatorname{\probastyle{V}}}}
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty 2025-01-28 21:07:01 UTC (rev 73622)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty 2025-01-28 21:07:31 UTC (rev 73623)
@@ -26,7 +26,7 @@
\RequirePackage{xcolor}% for \convertcolorspec
-\LWR at ProvidesPackagePass{siunitx}[2024-12-06]
+\LWR at ProvidesPackagePass{siunitx}[2025-01-21]
\ExplSyntaxOn
@@ -204,82 +204,84 @@
\exp_not:V \l__siunitx_complex_exp_tl
}
}
-\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxii:nw}
- {7CEE155CD4C7A9CDFEAE3AF8DD154B03}
-
-\cs_set_protected:Npn \__siunitx_angle_arc_print_auxii:nw
- #1#2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_nil #7 \q_nil #8 \q_stop
+\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxiv:nnnnn}%
+ {BA9FCDF6D4868323669F0F8C61412508}
+\cs_set_protected:Npn \__siunitx_angle_arc_print_auxiv:nnnnn #1#2#3#4#5
{
\mode_if_math:TF
{ \bool_set_true:N \l__siunitx_angle_tmp_bool }
{ \bool_set_false:N \l__siunitx_angle_tmp_bool }
- \siunitx_print_number:n {#2#3#4}
+ \siunitx_print_number:n {#3}
\ifnumcomp{\value{LWR at lateximagedepth}}{>}{0}% lwarp
- {% lwarp
- \tl_if_blank:nTF {#6}
- { \__siunitx_angle_arc_print_auxvi:n {#1} }
- {
- \hbox_set:Nn \l__siunitx_angle_marker_box
- {
- \__siunitx_angle_arc_print_auxiii:n
- { \siunitx_print_number:n {#5} }
- }
- \hbox_set:Nn \l__siunitx_angle_unit_box
- {
- \__siunitx_angle_arc_print_auxiii:n
- {
- \siunitx_unit_format:nN {#1} \l__siunitx_angle_tmp_tl
- \siunitx_print_unit:V \l__siunitx_angle_tmp_tl
- \skip_horizontal:n { -\scriptspace }
- }
- }
- \dim_compare:nNnTF { \box_wd:N \l__siunitx_angle_marker_box } >
- { \box_wd:N \l__siunitx_angle_unit_box }
- {
- \__siunitx_angle_arc_print_auxiv:NN
- \l__siunitx_angle_marker_box
- \l__siunitx_angle_unit_box
- }
- {
- \__siunitx_angle_arc_print_auxiv:NN
- \l__siunitx_angle_unit_box
- \l__siunitx_angle_marker_box
- }
- \hbox_set_to_wd:Nnn \l__siunitx_angle_marker_box
- \l__siunitx_angle_tmp_dim
- {
- \hbox_overlap_right:n
- { \box_use_drop:N \l__siunitx_angle_marker_box }
- \hbox_overlap_right:n
- { \box_use_drop:N \l__siunitx_angle_unit_box }
- \tex_hfil:D
- }
- \box_use:N \l__siunitx_angle_marker_box
- \skip_horizontal:N \scriptspace
- \siunitx_print_number:n {#6}
- }
- }%
- {% lwarp: not in a lateximage, simplify for HTML
- \tl_if_blank:nTF {#6}
- { \__siunitx_angle_arc_print_auxvi:n {#1} }
- {
- \__siunitx_angle_arc_print_auxiii:n
- {
- \siunitx_print_number:n {#5}
- }
- \__siunitx_angle_arc_print_auxiii:n
- {
- \siunitx_unit_format:nN {#1} \l__siunitx_angle_tmp_tl
+ {% lwarp: lateximage
+ \tl_if_blank:nTF {#1}% decimal part of angle
+ {
+ \siunitx_print_number:n {#2}%
+ \__siunitx_angle_arc_print_auxix:n {#5}% deg/min/sec char
+ }
+ {
+ \hbox_set:Nn \l__siunitx_angle_marker_box
+ {
+ \__siunitx_angle_arc_print_auxv:n
+ { \siunitx_print_number:n {#4} }% decimal point char
+ }
+ \hbox_set:Nn \l__siunitx_angle_unit_box
+ {
+ \__siunitx_angle_arc_print_auxv:n
+ {
+ \siunitx_unit_format:nN {#5} \l__siunitx_angle_tmp_tl% deg/min/sec char
\siunitx_print_unit:V \l__siunitx_angle_tmp_tl
- }
- \siunitx_print_number:n {#6}
- }
- }% lwarp
+ \skip_horizontal:n { -\scriptspace }
+ }
+ }
+ \dim_compare:nNnTF { \box_wd:N \l__siunitx_angle_marker_box } >
+ { \box_wd:N \l__siunitx_angle_unit_box }
+ {
+ \__siunitx_angle_arc_print_auxvi:NN
+ \l__siunitx_angle_marker_box
+ \l__siunitx_angle_unit_box
+ }
+ {
+ \__siunitx_angle_arc_print_auxvi:NN
+ \l__siunitx_angle_unit_box
+ \l__siunitx_angle_marker_box
+ }
+ \hbox_set_to_wd:Nnn \l__siunitx_angle_marker_box
+ \l__siunitx_angle_tmp_dim
+ {
+ \hbox_overlap_right:n
+ { \box_use_drop:N \l__siunitx_angle_marker_box }
+ \hbox_overlap_right:n
+ { \box_use_drop:N \l__siunitx_angle_unit_box }
+ \tex_hfil:D
+ }
+ \box_use:N \l__siunitx_angle_marker_box
+ \skip_horizontal:N \scriptspace
+ \siunitx_print_number:n {#1#2}% decimal part of angle
+ }
+ }% lwarp: latex image
+ {% lwarp: not latex iamge
+ \tl_if_blank:nTF {#1}% decimal part of angle
+ {
+ \siunitx_print_number:n {#2}%
+ \__siunitx_angle_arc_print_auxix:n {#5}% deg/min/sec char
+ }
+ {
+ \__siunitx_angle_arc_print_auxv:n
+ { \siunitx_print_number:n {#4} }% decimal point char
+ \__siunitx_angle_arc_print_auxv:n
+ {
+ \siunitx_unit_format:nN {#5} \l__siunitx_angle_tmp_tl% deg/min/sec char
+ \siunitx_print_unit:V \l__siunitx_angle_tmp_tl
+ }
+ \siunitx_print_number:n {#1#2}% decimal part of angle
+ }
+ }% lwarp: not latex image
}
-\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxvi:n}
+\VerifyCommand[lwarp][siunitx]{\__siunitx_angle_arc_print_auxix:n}
{603807F80B4E40084CC07396DBC89FC1}
-\cs_set_protected:Npn \__siunitx_angle_arc_print_auxvi:n #1
+\cs_set_protected:Npn \__siunitx_angle_arc_print_auxix:n #1
{
\group_begin:
\siunitx_unit_options_apply:n {#1}
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty 2025-01-28 21:07:01 UTC (rev 73622)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty 2025-01-28 21:07:31 UTC (rev 73623)
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{lwarp}
- [2025/01/12 v0.917 Allows LaTeX to directly produce HTML5 output.]
+ [2025/01/28 v0.918 Allows LaTeX to directly produce HTML5 output.]
%%
@@ -2453,6 +2453,78 @@
Copyright 2016-2025 Brian Dunn — BD Tech Concepts LLC
*/
+/* Page layout */
+
+div.sidetoccontainer {
+ font-family: "DejaVu Serif", "Bitstream Vera Serif",
+ "Lucida Bright", Georgia, serif;
+ float: left ;
+ width: 19%; /* room for border-right next to 80% main */
+ margin: 0pt 0em 3ex 0pt ;
+ border-right: 1px solid silver;
+ border-bottom: 1px solid silver;
+ background: #FAF7F4 ;
+ font-size:.9em ;
+ border-radius: 0px 0px 20px 0px ;
+ max-height: 100vh ;
+ overflow-y: auto ;
+}
+
+div.sidetoccontents {
+ overflow-y: auto ;
+ width: 100% ;
+ text-align: left ;
+}
+
+nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ;
+ text-indent: 0 ; }
+
+nav.sidetoc p a {color:black ; font-size: .7em ;}
+
+div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center;
+ border-bottom: 1px solid silver ; }
+
+nav.sidetoc a:hover {text-decoration: underline ; }
+
+nav.topnavigation{
+ text-align: left ;
+ padding: 0.5ex 1em 0.5ex 1em ;
+/* margin: 2ex 0em 3ex 0em ; */
+ margin: 0 ;
+ border-bottom: 1px solid silver ;
+ border-top: 1px solid silver ;
+ clear:both ;
+}
+
+nav.botnavigation{
+ text-align: left ;
+ padding: 0.5ex 1em 0.5ex 1em ;
+/* margin: 3ex 0em 2ex 0em ; */
+ margin: 0 ;
+ border-top: 1px solid silver ;
+ border-bottom: 1px solid silver ;
+ clear:both ;
+}
+
+header {
+ line-height: 1.2 ;
+ font-size: 1em ;
+ border-bottom: 1px solid silver ;
+ margin: 0px ;
+ padding: 2ex 1em 2ex 1em ;
+ text-align:left ;
+}
+
+footer {
+ font-size: .85em ;
+ line-height: 1.2 ;
+ margin-top: 1ex ;
+ border-top: 1px solid silver ;
+ padding: 2ex 1em 2ex 1em ;
+ clear:both ;
+ text-align:left ;
+}
+
/* a fix for older browsers: */
header, section, footer, aside, nav, main,
article, figure { display: block; }
@@ -3721,45 +3793,6 @@
margin: 1ex 0em 1ex 0em ;
}
-nav.topnavigation{
- text-align: left ;
- padding: 0.5ex 1em 0.5ex 1em ;
-/* margin: 2ex 0em 3ex 0em ; */
- margin: 0 ;
- border-bottom: 1px solid silver ;
- border-top: 1px solid silver ;
- clear:both ;
-}
-
-nav.botnavigation{
- text-align: left ;
- padding: 0.5ex 1em 0.5ex 1em ;
-/* margin: 3ex 0em 2ex 0em ; */
- margin: 0 ;
- border-top: 1px solid silver ;
- border-bottom: 1px solid silver ;
- clear:both ;
-}
-
-header {
- line-height: 1.2 ;
- font-size: 1em ;
- border-bottom: 1px solid silver ;
- margin: 0px ;
- padding: 2ex 1em 2ex 1em ;
- text-align:left ;
-}
-
-footer {
- font-size: .85em ;
- line-height: 1.2 ;
- margin-top: 1ex ;
- border-top: 1px solid silver ;
- padding: 2ex 1em 2ex 1em ;
- clear:both ;
- text-align:left ;
-}
-
/* for \LinkHome, \LinkPrevious, and \LinkNext: */
a.linkhome { font-weight:bold ; font-size: 1em ;}
@@ -3776,35 +3809,6 @@
border: none ;
}
-div.sidetoccontainer {
- font-family: "DejaVu Serif", "Bitstream Vera Serif",
- "Lucida Bright", Georgia, serif;
- float: left ;
- width: 19%; /* room for border-right next to 80% main */
- margin: 0pt 0em 3ex 0pt ;
- border-right: 1px solid silver;
- border-bottom: 1px solid silver;
- background: #FAF7F4 ;
- font-size:.9em ;
- border-radius: 0px 0px 20px 0px ;
-}
-
-div.sidetoccontents {
- overflow-y: auto ;
- width: 100% ;
- text-align: left ;
-}
-
-nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ;
- text-indent: 0 ; }
-
-nav.sidetoc p a {color:black ; font-size: .7em ;}
-
-div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center;
- border-bottom: 1px solid silver ; }
-
-nav.sidetoc a:hover {text-decoration: underline ; }
-
section.textbody { margin: 0ex 1em 0ex 1em ;}
div.multicolsheading { -webkit-column-span: all;
@@ -4908,7 +4912,7 @@
-- Copyright 2016-2025 Brian Dunn
-printversion = "v0.917"
+printversion = "v0.918"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -15315,7 +15319,8 @@
\LWR at mathjaxwarn{mathtools}
{See the Lwarp manual regarding the disallowspaces\MessageBreak
and showonlyrefs options, the alignat environment,\MessageBreak
- and \protect\DeclarePairedDelimiter\space and related%
+ \protect\DeclarePairedDelimiter\space and related,\MessageBreak
+ and \cs{MakeAboxedCommand}%
}
\LWR at mathjaxwarn{mathspec}
{Double quotes are removed, even inside \protect\text}
More information about the tex-live-commits
mailing list.