diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-21 23:44:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-21 23:44:01 +0000 |
commit | 91c9b5dc1e480401f79c7ea64bd98754e1eab170 (patch) | |
tree | 0490daeb741da832d4791aef4d848c3adf39621b /Master/texmf-dist/tex/latex | |
parent | 28867ba53359e0e24d60b4189f4625553a5e76a0 (diff) |
lwarp (10feb17)
git-svn-id: svn://tug.org/texlive/trunk@43292 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
46 files changed, 12818 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty new file mode 100644 index 00000000000..4014ed3775f --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty @@ -0,0 +1,104 @@ +%% +%% This is file `lwarp-afterpage.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `afterpage') +%% This is a generated file. +%% Copyright 2016 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{afterpage} + +\newcommand{\afterpage}[1]{#1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-afterpage.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty new file mode 100644 index 00000000000..290d296caa1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty @@ -0,0 +1,120 @@ +%% +%% This is file `lwarp-algorithmicx.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `algorithmicx') +%% This is a generated file. +%% Copyright 2016 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{algorithmicx} + +\begin{warpHTML} + +\AtBeginEnvironment{algorithmic}{% +\let\origALG@doentity\ALG@doentity% +\renewcommand*{\ALG@doentity}{% +\origALG@doentity% +\uselengthunit{PT}% +\LWR@htmltagc{% +span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% +}% +\LWR@htmltagc{/span}% +}% +\let\origComment\Comment% +\renewcommand{\Comment}[1]{\InlineClass{floatright}{\origComment{#1}}}% +} + +\end{warpHTML} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-algorithmicx.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty new file mode 100644 index 00000000000..ca7f13f1382 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty @@ -0,0 +1,107 @@ +%% +%% This is file `lwarp-alltt.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `alltt') +%% This is a generated file. +%% Copyright 2016 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{alltt} + +\AfterEndPreamble{ +\AtBeginEnvironment{alltt}{\LWR@atbeginverbatim{alltt}\unskip\vspace*{-\baselineskip}} +\AfterEndEnvironment{alltt}{\unskip\vspace*{-\baselineskip}\LWR@afterendverbatim} +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-alltt.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty new file mode 100644 index 00000000000..604ce673228 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty @@ -0,0 +1,110 @@ +%% +%% This is file `lwarp-bookmark.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `bookmark') +%% This is a generated file. +%% Copyright 2016 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{bookmark} + +\newcommand*{\bookmarksetup}[1]{} +\newcommand*{\bookmarksetupnext}[1]{} +\newcommand*{\bookmark}[2][]{} +\newcommand*{\bookmarkdefinestyle}[2]{} +\newcommand*{\bookmarkget}[1]{} +\newcommand{\BookmarkAtEnd}[1]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-bookmark.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty new file mode 100644 index 00000000000..caa289826c9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty @@ -0,0 +1,106 @@ +%% +%% This is file `lwarp-booktabs.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `booktabs') +%% This is a generated file. +%% Copyright 2016 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{booktabs} +\newcommand*{\addlinespace}[1]{} +\newcommand*{\morecmidrules}{} +\newcommand*{\specialrule}[3]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-booktabs.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty new file mode 100644 index 00000000000..1e154e3b10f --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty @@ -0,0 +1,113 @@ +%% +%% This is file `lwarp-draftwatermark.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `draftwatermark') +%% This is a generated file. +%% Copyright 2016 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{draftwatermark} + + +\newcommand{\SetWatermarkAngle}[1]{} +\newcommand{\SetWatermarkColor}[1]{} +\newcommand{\SetWatermarkLightness}[1]{} +\newcommand{\SetWatermarkFontSize}[1]{} +\newcommand{\SetWatermarkScale}[1]{} +\newcommand{\SetWatermarkHorCenter}[1]{} +\newcommand{\SetWatermarkVertCenter}[1]{} +\newcommand{\SetWatermarkText}[1]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-draftwatermark.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty new file mode 100644 index 00000000000..e13b88a774d --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty @@ -0,0 +1,139 @@ +%% +%% This is file `lwarp-epigraph.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `epigraph') +%% This is a generated file. +%% Copyright 2016 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{epigraph} + + +\newcommand{\qitem}[2] +{ +\begin{BlockClass}{qitem} +#1 +\begin{BlockClass}{epigraphsource} +#2 +\end{BlockClass} +\end{BlockClass} +} + +\newcommand{\epigraph}[2] +{ +\begin{BlockClass}{epigraph} +\qitem{#1}{#2} +\end{BlockClass} +} + +\newenvironment*{epigraphs} +{\BlockClass{epigraph}} +{\endBlockClass} +\newlength{\epigraphwidth} +\setlength{\epigraphwidth}{.5\linewidth} +\newenvironment*{flushepinormal}{}{} +\newcommand{\textflush}[1]{flushepinormal} +\newcommand{\epigraphflush}[1]{flushright} +\newcommand{\sourceflush}[1]{flushright} +\newcommand*{\epigraphsize}{\small} +\newlength{\epigraphrule} +\newlength{\beforeepigraphskip} +\newlength{\afterepigraphskip} +\newcommand{\epigraphhead}[2][0]{#2} +\newcommand{\dropchapter}[1]{} +\newcommand*{\undodrop}{} +\newcommand{\cleartoevenpage}[1][]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-epigraph.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty new file mode 100644 index 00000000000..0d83b1998f9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty @@ -0,0 +1,121 @@ +%% +%% This is file `lwarp-eso-pic.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `eso-pic') +%% This is a generated file. +%% Copyright 2016 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{eso-pic} + +\newcommand*{\LenToUnit}{} +\newcommand{\AtPageUpperLeft}[1]{} +\newcommand{\AtPageLowerLeft}[1]{} +\newcommand{\AtPageCenter}[1]{} +\newcommand{\AtStockLowerLeft}[1]{} +\newcommand{\AtStockUpperLeft}[1]{} +\newcommand{\AtStockCenter}[1]{} +\newcommand{\AtTextUpperLeft}[1]{} +\newcommand{\AtTextLowerLeft}[1]{} +\newcommand{\AtTextCenter}[1]{} +\NewDocumentCommand{\AddToShipoutPictureBG}{s +m}{} +\let\AddToShipoutPicture\AddToShipoutPictureBG +\NewDocumentCommand{\AddToShipoutPictureFG}{s +m}{} +\newcommand*{\ClearShipoutPictureBG}{} +\newcommand*{\ClearShipoutPicture}{} +\newcommand*{\ClearShipoutPictureFG}{} +\newcommand{\gridSetup}[6][]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-eso-pic.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty new file mode 100644 index 00000000000..6310c438993 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty @@ -0,0 +1,106 @@ +%% +%% This is file `lwarp-everypage.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `everypage') +%% This is a generated file. +%% Copyright 2016 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{everypage} + +\newcommand*{\AddEverypageHook}[1]{} +\newcommand*{\AddThispageHook}[1]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-everypage.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty new file mode 100644 index 00000000000..8c19de24e19 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty @@ -0,0 +1,114 @@ +%% +%% This is file `lwarp-extramarks.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `extramarks') +%% This is a generated file. +%% Copyright 2016 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{extramarks} + +\newcommand*{\extramarks}[2]{} +\newcommand*{\firstleftxmark}{} +\newcommand*{\lastleftxmark}{} +\newcommand*{\firstrightxmark}{} +\newcommand*{\lastrightxmark}{} +\newcommand*{\firstxmark}{} +\newcommand*{\lastxmark}{} +\newcommand*{\topxmark}{} +\newcommand*{\topleftxmark}{} +\newcommand*{\firstleftmark}{} +\newcommand*{\lastrightmark}{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-extramarks.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty new file mode 100644 index 00000000000..cef3ba8d33b --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty @@ -0,0 +1,121 @@ +%% +%% This is file `lwarp-fancyhdr.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `fancyhdr') +%% This is a generated file. +%% Copyright 2016 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{fancyhdr} + +\newcommand*{\fancyhead}[2][]{} +\newcommand*{\fancyfoot}[2][]{} +\newcommand*{\fancyhf}[2][]{} +\newcommand*{\fancypagestyle}[2]{} +\newcommand*{\lhead}[1]{} +\newcommand*{\chead}[1]{} +\newcommand*{\rhead}[1]{} +\newcommand*{\lfoot}[1]{} +\newcommand*{\cfoot}[1]{} +\newcommand*{\rfoot}[1]{} +\newcommand*{\headrulewidth}{} +\newcommand*{\footrulewidth}{} +\newcommand*{\fancyheadoffset}[2][]{} +\newcommand*{\fancyfootoffset}[2][]{} +\newcommand*{\fancyhfoffset}[2][]{} +\newcommand*{\iffloatpage}[2]{#2} +\newcommand*{\ifftopfloat}[2]{#2} +\newcommand*{\iffbotfloat}[2]{#2} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-fancyhdr.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty new file mode 100644 index 00000000000..fd4886fe03c --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty @@ -0,0 +1,127 @@ +%% +%% This is file `lwarp-float.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `float') +%% This is a generated file. +%% Copyright 2016 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{float}[2016/03/04] + + +\NewDocumentCommand{\newfloat}{m m m o}{% +\IfValueTF{#4} +{ +\DeclareFloatingEnvironment[fileext=#3,within=#4]{#1} +} +{\DeclareFloatingEnvironment[fileext=#3]{#1}} +\cslet{listof#1s}\relax +\cslet{listof#1es}\relax +} + +\NewDocumentCommand{\floatname}{m +m}{% +\SetupFloatingEnvironment{#1}{name=#2}% +} + +\newcommand*{\floatplacement}[2]{% +\SetupFloatingEnvironment{#1}{placement=#2}% +} + +\newcommand{\floatstyle}[1]{% +} + +\NewDocumentCommand{\restylefloat}{s m}{% +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-float.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty new file mode 100644 index 00000000000..f26dc6dd0bf --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty @@ -0,0 +1,232 @@ +%% +%% This is file `lwarp-floatrow.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `floatrow') +%% This is a generated file. +%% Copyright 2016 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{floatrow} + + + +\NewDocumentCommand{\floatbox}{o m o o o +m +m}{% +\ifbool{LWR@insubfloatrow} +{ +\IfValueTF{#3} +{\@nameuse{sub#2}{#3}} +{\@nameuse{sub#2}{\linewidth}} +} +{ +\@nameuse{#2} +} +#6 + +#7 +\ifbool{LWR@insubfloatrow} +{\@nameuse{endsub#2}} +{\@nameuse{end#2}} +} + +\newcommand*{\nocapbeside}{} +\newcommand*{\capbeside}{} +\newcommand*{\captop}{} +\newlength{\FBwidth} +\setlength{\FBwidth}{.3\linewidth} +\newlength{\FBheight} +\setlength{\FBheight}{2in} +\newcommand*{\useFCwidth}{} +\newcommand{\floatsetup}[2][]{} +\newcommand{\thisfloatsetup}[1]{} +\newcommand{\clearfloatsetup}[1]{} +\newcommand*{\killfloatstyle}{} + +\NewDocumentCommand{\newfloatcommand}{m m o o}{% +\@namedef{#1}{ +\floatbox{#2} +} +} + +\NewDocumentCommand{\renewfloatcommand}{m m o o}{% +\@namedef{#1}{% +\floatbox{#2} +} +} + +\newfloatcommand{ffigbox}{figure}[\nocapbeside][] +\newfloatcommand{ttabbox}{table}[\captop][\FBwidth] +\newfloatcommand{fcapside}{figure}[\capbeside][] + +\newenvironment*{floatrow}[1][2] +{ +\BlockClass{floatrow} +\booltrue{LWR@infloatrow} +\setlength{\linewidth}{6in/#1} +} +{ +\boolfalse{LWR@infloatrow} +\endBlockClass +} +\newcommand*{\LWR@frowkeyplacement}{} +\newcommand*{\LWR@frowkeyname}{} +\newcommand*{\LWR@frowkeyfileext}{} +\newcommand*{\LWR@frowkeywithin}{} +\newcommand*{\LWR@frowkeycapstyle}{} + +\define@key{frowkeys}{placement}{}% +\define@key{frowkeys}{name}{\renewcommand{\LWR@frowkeyname}{#1}}% +\define@key{frowkeys}{fileext}{\renewcommand{\LWR@frowkeyfileext}{#1}}% +\define@key{frowkeys}{within}{\renewcommand{\LWR@frowkeywithin}{#1}}% +\define@key{frowkeys}{relatedcapstyle}{}% + +\newcommand*{\DeclareNewFloatType}[2]{% +\renewcommand*{\LWR@frowkeyplacement}{} +\renewcommand*{\LWR@frowkeyname}{} +\renewcommand*{\LWR@frowkeyfileext}{} +\renewcommand*{\LWR@frowkeywithin}{} +\renewcommand*{\LWR@frowkeycapstyle}{} +\LWR@traceinfo{about to setkeys frowkeys}% +\setkeys{frowkeys}{#2}% +\LWR@traceinfo{finished setkeys frowkeys}% +\ifthenelse{\equal{\LWR@frowkeywithin}{}} +{ +\LWR@traceinfo{about to newfloat #1 \LWR@frowkeyplacement\ \LWR@frowkeyfileext}% +\newfloat{#1}{\LWR@frowkeyplacement}{\LWR@frowkeyfileext} +}% +{% +\LWR@traceinfo{about to newfloat #1\ \LWR@frowkeyplacement\ \LWR@frowkeyfileext\ \LWR@frowkeywithin}% +\newfloat{#1}{\LWR@frowkeyplacement}% +{\LWR@frowkeyfileext}[\LWR@frowkeywithin]% +\typeout{*** finished newfloat #1} +}% +\ifthenelse{\equal{\LWR@frowkeyname}{}} +{} +{\floatname{#1}{\LWR@frowkeyname}}% +} + +\newcommand{\buildFBBOX}[2]{} +\newcommand*{\CenterFloatBoxes}{} +\newcommand*{\TopFloatBoxes}{} +\newcommand*{\BottomFloatBoxes}{} +\newcommand*{\PlainFloatBoxes}{} + +\newcommand{\capsubrowsettings}{} + +\NewDocumentCommand{\RawFloats}{o o}{} + +\newcommand{\RawCaption}[1]{#1} + +\NewDocumentCommand{\floatfoot}{s +m}{% +\begin{BlockClass}{floatfoot} +#2 +\end{BlockClass} +} + +\newbool{LWR@insubfloatrow} +\boolfalse{LWR@insubfloatrow} + +\newenvironment*{subfloatrow}[1][2] +{ +\BlockClass{floatrow} +\begingroup +\booltrue{LWR@insubfloatrow} +} +{ +\endgroup +\endBlockClass +\boolfalse{LWR@insubfloatrow} +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-floatrow.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty new file mode 100644 index 00000000000..eba2c33f23b --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty @@ -0,0 +1,103 @@ +%% +%% This is file `lwarp-geometry.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `geometry') +%% This is a generated file. +%% Copyright 2016 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{geometry} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-geometry.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty new file mode 100644 index 00000000000..9c6ef123cd0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty @@ -0,0 +1,108 @@ +%% +%% This is file `lwarp-graphics.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `graphics') +%% This is a generated file. +%% Copyright 2016 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\PackageError{lwarp-graphics} +{The graphics package is not supported by +the lwarp package's HTML conversion. +Please use graphicx instead. \protect\usepackage{graphicx}} +{Graphicx requires a different syntax but is more flexible, +and it is emulated by lwarp.} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-graphics.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty new file mode 100644 index 00000000000..2765a9d361b --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty @@ -0,0 +1,103 @@ +%% +%% This is file `lwarp-graphicx.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `graphicx') +%% This is a generated file. +%% Copyright 2016 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{graphicx} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-graphicx.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty new file mode 100644 index 00000000000..5dbed0fb43d --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty @@ -0,0 +1,208 @@ +%% +%% This is file `lwarp-hyperref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `hyperref') +%% This is a generated file. +%% Copyright 2016 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\typeout{Using the lwarp html version of package `hyperref' — discarding options.} +\typeout{ Are not using ProvidesPackage, so that other packages} +\typeout{ do not attempt to patch lwarp's version of `hyperref'.} +\DeclareOption*{} +\ProcessOptions\relax + +\newcommand*{\hypersetup}[1]{} +\newcommand*{\hyperbaseurl}[1]{} + +\NewDocumentCommand{\LWR@hyperimageb}{m +m}{% +\LWR@htmltag{img src="#1" alt="#2" class="hyperimage"{}}% +\endgroup% +\LWR@ensuredoingapar% +} + +\newcommand{\hyperimage}{% +\LWR@ensuredoingapar% +\begingroup\catcode`\_=12 +\LWR@hyperimageb% +} +\NewDocumentCommand{\hyperdef}{m m +m}{% +\LWR@ensuredoingapar% +\LWR@subsublabel{#1.#2}% +#3% +} +\NewDocumentCommand{\LWR@hyperrefb}{m m m +m}{% +\LWR@htmltag{a href="#1\LWR@hashmark#2.#3"}% +#4% +\LWR@htmltag{/a}% +\endgroup% +} + +\NewDocumentCommand{\LWR@hyperrefc}{O{label} +m}{ +\LWR@startref{#1}% +#2% +\LWR@htmltag{/a}% +\endgroup% +} + +\newcommand{\hyperref}{% +\LWR@ensuredoingapar% +\begingroup\catcode`\_=12 +\@ifnextchar[\LWR@hyperrefc\LWR@hyperrefb% +} + +\NewDocumentCommand{\hypertarget}{m +m}{% +\label{#1}% +#2% +} + +\NewDocumentCommand{\hyperlink}{m +m}{% +\hyperref[#1]{#2}% +} + +\NewDocumentCommand{\autoref}{s m}{% +\IfBooleanTF{#1}{\ref{#2}}{\cref{#2}}% +} +\NewDocumentCommand{\autopageref}{s m}{% +\IfBooleanTF{#1}{\cpageref{#2}}{\cref{#2}}% +} + +\newcommand{\pdfstringdef}[2]{} + +\newcommand{\pdfbookmark}[3][]{} + +\newcommand{\currentpdfbookmark}[2]{} + +\newcommand{\subpdfbookmark}[2]{} + +\newcommand{\belowpdfbookmark}[2]{} + +\newcommand{\texorpdfstring}[2]{#2} + +\def\hypercalcbp#1{% +\strip@pt\dimexpr 0.99626401\dimexpr(#1)\relax\relax +}% + +\newcommand{\Acrobatmenu}[2]{} + +\newcommand*{\TextField}[2][]{} + +\newcommand*{\CheckBox}[2][]{} + +\newcommand{\ChoiceMenu}[3][]{} + +\newcommand*{\PushButton}[2][]{} + +\newcommand*{\Submit}[2][]{} + +\newcommand*{\Reset}[2][]{} + +\newcommand*{\LayoutTextField}[2]{} + +\newcommand*{\LayoutChoiceField}[2]{} + +\newcommand*{\LayoutCheckField}[2]{} + +\newcommand*{\MakeRadioField}[2]{} + +\newcommand*{\MakeCheckField}[2]{} + +\newcommand*{\MakeTextField}[2]{} + +\newcommand*{\MakeChoiceField}[2]{} + +\newcommand{\MakeFieldButton}[1]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-hyperref.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty new file mode 100644 index 00000000000..6cbb7fa1500 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty @@ -0,0 +1,131 @@ +%% +%% This is file `lwarp-keyfloat.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `keyfloat') +%% This is a generated file. +%% Copyright 2016 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{keyfloat} + +\AtBeginDocument{ + + +\let\KFLT@boxinner\relax +\let\endKFLT@boxinner\relax + +\NewEnviron{KFLT@boxinner} +{% +\LWR@traceinfo{kflt@boxinner}% +\LWR@stoppars% +\KFLT@frame{\BODY}% +\LWR@startpars% +\LWR@traceinfo{ended kflt@boxinner}% +} + +\RenewDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} +{% start +\LWR@maybeincthisfloat% +\LWR@stoppars% +\LWR@htmltag{div class="marginblock" id="autofloat-\arabic{LWR@thisfloat}"} +\LWR@startpars% +\captionsetup{type=#2}% +} +{ +\LWR@htmldivclassend{div} +} + +}% AtBeginDocument + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-keyfloat.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty new file mode 100644 index 00000000000..c729eee30c7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty @@ -0,0 +1,108 @@ +%% +%% This is file `lwarp-letterspace.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `letterspace') +%% This is a generated file. +%% Copyright 2016 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{letterspace} + +\newcommand*\lsstyle{} +\newcommand\textls[2][]{} +\def\textls#1#{} +\newcommand*\lslig[1]{#1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-letterspace.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty new file mode 100644 index 00000000000..e75a56e1671 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty @@ -0,0 +1,207 @@ +%% +%% This is file `lwarp-listings.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `listings') +%% This is a generated file. +%% Copyright 2016 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\begin{warpHTML} +\LWR@ProvidesPackagePass{listings} + +\let\LWR@origlst@Init\lst@Init +\let\LWR@origlst@DeInit\lst@DeInit + +\let\LWR@origlsthkEveryPar\lsthk@EveryPar + +\renewcommand{\l@lstlisting}[2]{\hypertocfloat{1}{toclstlisting}{#1}{#2}} +\renewcommand{\lst@Init}[1]{% +\LWR@traceinfo{lst@Init}% +\renewcommand*{\@captype}{lstlisting}% +\LWR@origlst@Init{#1}% +\LWR@traceinfo{finished origlst@Init}% +\lst@ifdisplaystyle% +\LWR@traceinfo{About to create verbatim.}% +\let\lsthk@EveryPar\relax% +\LWR@atbeginverbatim{programlisting}% + +\let\lsthk@EveryPar\LWR@origlsthkEveryPar% +\else% +\ifbool{LWR@verbtags}{\LWR@htmltag{span class="inlineprogramlisting"}}{}% +\fi% +} +\renewcommand*{\lst@DeInit}{% +\lst@ifdisplaystyle% +\let\lsthk@EveryPar\relax% + +\LWR@afterendverbatim% +\let\lsthk@EveryPar\LWR@origlsthkEveryPar% +\else% +\ifbool{LWR@verbtags}{\noindent\LWR@htmltag{/span}}{}% +\fi% +\LWR@origlst@DeInit% +} +\def\lst@MakeCaption#1{% +\LWR@traceinfo{MAKING CAPTION at #1}% + \lst@ifdisplaystyle +\LWR@traceinfo{making a listings display caption}% + \ifx #1t% + \ifx\lst@@caption\@empty\expandafter\lst@HRefStepCounter \else + \expandafter\refstepcounter + \fi {lstlisting}% +\LWR@traceinfo{About to assign label: !\lst@label!}% +\LWR@traceinfo{Finished assigning the label.}% + \let\lst@arg\lst@intname \lst@ReplaceIn\lst@arg\lst@filenamerpl + \global\let\lst@name\lst@arg \global\let\lstname\lst@name + \lst@ifnolol\else + \ifx\lst@@caption\@empty + \ifx\lst@caption\@empty + \ifx\lst@intname\@empty \else \def\lst@temp{ }% + \ifx\lst@intname\lst@temp \else +\LWR@traceinfo{addcontents lst@name: -\lst@name-}% + \fi\fi + \fi + \else +\LWR@traceinfo{addcontents lst@@caption: -\lst@@caption-}% + \addcontentsline{lol}{lstlisting}% + {\protect\numberline{\thelstlisting}{\protect\ignorespaces \lst@@caption \protect\relax}}% + \fi + \fi + \fi + \ifx\lst@caption\@empty\else +\LWR@traceinfo{lst@caption not empty-}% + \lst@IfSubstring #1\lst@captionpos + {\begingroup +\LWR@traceinfo{at the selected position}% + \ifx\lst@title\@empty + \lst@makecaption\fnum@lstlisting{\ignorespaces \lst@caption} + \else +\LWR@traceinfo{Making title: \lst@title}% +\begin{BlockClass}{lstlistingtitle}% lwarp +\lst@maketitle\lst@title% lwarp +\end{BlockClass}% lwarp + \fi +\LWR@traceinfo{About to assign label: !\lst@label!}% + \ifx\lst@label\@empty\else +\leavevmode% gets rid of bad space factor error +\GetTitleStringExpand{\lst@caption}% +\edef\LWR@lntemp{\GetTitleStringResult}% +\edef\@currentlabelname{\detokenize\expandafter{\LWR@lntemp}}% +\label{\lst@label}\fi +\LWR@traceinfo{Finished assigning the label.}% + \endgroup}{}% + \fi +\LWR@traceinfo{end of making a listings display caption}% + \else +\LWR@traceinfo{INLINE}% + \fi +\LWR@traceinfo{DONE WITH CAPTION at #1}% +} +\lst@Key{numbers}{none}{% + \let\lst@PlaceNumber\@empty + \lstKV@SwitchCases{#1}% + {none&\\% + left&\def\lst@PlaceNumber{% +\LWR@orignormalfont% +\lst@numberstyle{\thelstnumber}\kern\lst@numbersep% +} +\\% + right&\def\lst@PlaceNumber{\rlap{\LWR@orignormalfont + \kern\VerbatimHTMLWidth \kern\lst@numbersep + \lst@numberstyle{\thelstnumber}}}% + }{\PackageError{Listings}{Numbers #1 unknown}\@ehc}} + +\end{warpHTML} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-listings.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty new file mode 100644 index 00000000000..b24ccc8f7c1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty @@ -0,0 +1,144 @@ +%% +%% This is file `lwarp-longtable.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `longtable') +%% This is a generated file. +%% Copyright 2016 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{longtable} + + + +\newenvironment{longtable*}[2][]{% +\LWR@floatbegin{table}% +\setcaptiontype{\LTcaptype}% +\caption@setoptions{longtable}% +\caption@setoptions{@longtable}% +\caption@LT@setup% +\booltrue{LWR@starredlongtable}% +\let\captionlistentry\LWR@LTcaptionlistentry% +\LWR@tabular{#2} +} +{\endLWR@tabular\LWR@floatend} + +\newenvironment{longtable}[2][]{% +\LWR@floatbegin{table}% +\setcaptiontype{\LTcaptype}% +\caption@setoptions{longtable}% +\caption@setoptions{@longtable}% +\caption@LT@setup% +\refstepcounter{\LTcaptype}% +\let\captionlistentry\LWR@LTcaptionlistentry% +\LWR@tabular{#2} +} +{\endLWR@tabular\LWR@floatend} + + +\newcounter{LTchunksize} +\def\endhead{\LWR@tabularendofline}% throws away options //[dim] and //* +\def\endfirsthead{\LWR@tabularendofline} +\def\endfoot{\LWR@tabularendofline} +\def\endlastfoot{\LWR@tabularendofline} +\newcommand\tabularnewline{\LWR@tabularendofline} +\newcommand{\setlongtables}{}% Obsolete command, does nothing. +\newlength{\LTleft} +\newlength{\LTright} +\newlength{\LTpre} +\newlength{\LTpost} +\newlength{\LTcapwidth} +\renewcommand*{\kill}{\LWR@tabularendofline} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-longtable.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty new file mode 100644 index 00000000000..ff80881f3a3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty @@ -0,0 +1,109 @@ +%% +%% This is file `lwarp-ltcaption.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `ltcaption') +%% This is a generated file. +%% Copyright 2016 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{ltcaption} + +\newlength{\LTcapskip} +\newlength{\LTcapleft} +\newlength{\LTcapright} +\newcommand*{\LTcapmarginsfalse}{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-ltcaption.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty new file mode 100644 index 00000000000..b8bb93dcbbe --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty @@ -0,0 +1,261 @@ +%% +%% This is file `lwarp-mdframed.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mdframed') +%% This is a generated file. +%% Copyright 2016 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{mdframed} + +\LWR@origRequirePackage{amsthm} +\LWR@origRequirePackage[framemethod=none]{mdframed} +\mdfsetup{ +startcode={\LWR@mdframedstart}, +endcode={\LWR@mdframedend}, +startinnercode={\LWR@startpars}, +endinnercode={\LWR@stoppars}, +} +\newcommand*{\LWR@mdfprintcolor}[1]{% +\convertcolorspec{named}{\csuse{mdf@#1}}{HTML}\LWR@tempcolor% +\#\LWR@tempcolor +} + +\newcommand*{\LWR@mdfprintlength}[1]{% +\rndprintlength{\csuse{mdf@#1@length}} +} + +\newcommand*{\LWR@mdframedstart}{% +\LWR@stoppars% +\uselengthunit{PT}% +\LWR@htmltagc{div class="\LWR@mdthisenv" \LWR@orignewline +style=" \LWR@orignewline +background: \LWR@mdfprintcolor{backgroundcolor} ; \LWR@orignewline +border: \LWR@mdfprintlength{linewidth} solid +\LWR@mdfprintcolor{linecolor} ; \LWR@orignewline +border-radius: \LWR@mdfprintlength{roundcorner} ; \LWR@orignewline +\ifbool{mdf@shadow}{% +box-shadow: +\LWR@mdfprintlength{shadowsize} +\LWR@mdfprintlength{shadowsize} +\LWR@mdfprintlength{shadowsize} +\LWR@mdfprintcolor{shadowcolor} ; +} +{box-shadow: none ;} +\LWR@orignewline +"} +\let\hspace\LWR@orighspace% +\let\rule\LWR@origrule% +} +\newcommand*{\LWR@mdframedend}{ +\LWR@htmldivclassend{\LWR@mdthisenv} +\gdef\LWR@mdthisenv{mdframed} +\LWR@startpars% +} +\let\LWR@origmdfframedtitleenv\mdfframedtitleenv + +\newlength{\LWR@titleroundcorner} + +\renewrobustcmd\mdfframedtitleenv[1]{% +\LWR@origmdfframedtitleenv{% +\uselengthunit{PT}% +\LWR@htmltagc{span class="mdframedtitle" \LWR@orignewline +style=" \LWR@orignewline +background: +\LWR@mdfprintcolor{frametitlebackgroundcolor} +; \LWR@orignewline +\ifbool{mdf@frametitlerule}{% +border-bottom: +\LWR@mdfprintlength{frametitlerulewidth} +solid +\LWR@mdfprintcolor{frametitlerulecolor} +; \LWR@orignewline +}{}% +border-radius: +\setlength{\LWR@titleroundcorner} +{\maxof{\mdf@roundcorner@length-\mdf@linewidth@length}{0pt}} +\rndprintlength{\LWR@titleroundcorner} +\rndprintlength{\LWR@titleroundcorner} +0pt 0pt +\LWR@orignewline +" \LWR@orignewline +}% span +\begin{LWR@nestspan}% +#1% +\LWR@htmltagc{/span}% +\end{LWR@nestspan}% +} +} +\NewDocumentCommand{\LWR@mdfsubtitlecommon}{m o m} +{% the following empty line is required + +\let\par\LWR@origpar% +\LWR@htmltagc{span class="mdframed#1title" +style=" \LWR@orignewline +background: +\LWR@mdfprintcolor{#1titlebackgroundcolor} +; \LWR@orignewline +\ifbool{mdf@#1titleaboveline}{% +border-top: +\LWR@mdfprintlength{#1titleabovelinewidth} +solid +\LWR@mdfprintcolor{#1titleabovelinecolor} +; \LWR@orignewline +}{}% +\ifbool{mdf@#1titlebelowline}{% +border-bottom: +\LWR@mdfprintlength{#1titlebelowlinewidth} +solid +\LWR@mdfprintcolor{#1titlebelowlinecolor} +; \LWR@orignewline +}{}% +"}% span +\begin{LWR@nestspan}% +\IfNoValueTF{#2} +{\csuse{LWR@origmdf#1title}{#3}}% +{\csuse{LWR@origmdf#1title}[#2]{#3}}% +\LWR@htmltagc{/span}% the following empty line is required +\end{LWR@nestspan}% must follow the /span or an extra <p> appears + +} +\let\LWR@origmdfsubtitle\mdfsubtitle + +\newcommand*{\LWR@mdfsubtitle}{% +\LWR@mdfsubtitlecommon{sub}% +} +\let\mdfsubtitle\LWR@mdfsubtitle +\let\LWR@origmdfsubsubtitle\mdfsubsubtitle + +\newcommand*{\LWR@mdfsubsubtitle}{% +\LWR@mdfsubtitlecommon{subsub}% +} +\let\mdfsubsubtitle\LWR@mdfsubsubtitle +\newcommand*{\LWR@mdthisenv}{mdframed} +\renewrobustcmd*\newmdenv[2][]{% +\newenvironment{#2}% +{% +\mdfsetup{#1}% +\renewcommand*{\LWR@mdthisenv}{md#2}% +\begin{mdframed}% +} +{\end{mdframed}}% +} +\renewrobustcmd*{\surroundwithmdframed}[2][]{% +\BeforeBeginEnvironment{#2}{% +\renewcommand*{\LWR@mdthisenv}{md#2}% +\begin{mdframed}[#1]}% +\AfterEndEnvironment{#2}{\end{mdframed}}% +} +\let\LWR@origmdtheorem\mdtheorem + +\DeclareDocumentCommand{\LWR@mdtheorem}{O{} m o m o}{% +\LWR@origmdtheorem[#1]{#2}[#3]{#4}[#5]% +\BeforeBeginEnvironment{#2}{\renewcommand*{\LWR@mdthisenv}{md#2}}% +} + +\let\mdtheorem\LWR@mdtheorem +\DeclareDocumentCommand\newmdtheoremenv{O{} m o m o }{% + \ifboolexpr{ test {\IfNoValueTF {#3}} and test {\IfNoValueTF {#5}} }% + {\newtheorem{#2}{#4}}{% + \IfValueTF{#3}{\newtheorem{#2}[#3]{#4}}{}% + \IfValueTF{#5}{\newtheorem{#2}{#4}[#5]}{}% + }% +\BeforeBeginEnvironment{#2}{% +\renewcommand*{\LWR@mdthisenv}{md#2}% +\begin{mdframed}[#1]}% +\AfterEndEnvironment{#2}{% +\end{mdframed}}% +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-mdframed.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty new file mode 100644 index 00000000000..b1f32371174 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty @@ -0,0 +1,135 @@ +%% +%% This is file `lwarp-microtype.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `microtype') +%% This is a generated file. +%% Copyright 2016 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{microtype} + +\newcommand*\DeclareMicrotypeSet[3][]{} +\newcommand*\UseMicrotypeSet[2][]{} +\newcommand*\DeclareMicrotypeSetDefault[2][]{} +\newcommand*\SetProtrusion[3][]{} +\newcommand*\SetExpansion[3][]{} +\newcommand*\SetTracking[3][]{} +\newcommand*\SetExtraKerning[3][]{} +\newcommand*\SetExtraSpacing[3][]{} +\newcommand*\DisableLigatures[2][]{} +\newcommand*\DeclareCharacterInheritance[3][]{} +\newcommand*\DeclareMicrotypeVariants[1]{} +\newcommand*\DeclareMicrotypeAlias[2]{} +\newcommand*\LoadMicrotypeFile[1]{} +\newcommand*\DeclareMicrotypeBabelHook[2]{} +\newcommand*\microtypesetup[1]{} +\newcommand*\microtypecontext[1]{} +\newcommand*\textmicrotypecontext[2]{#2} +\@ifpackageloaded{letterspace}{\let\MT@textls\relax}{% +\newcommand*\lsstyle{} +\newcommand\textls[2][]{} +\def\textls#1#{} +\newcommand*\lslig[1]{#1} +} +\def\DeclareMicrotypeSet#1#{\@gobbletwo} +\def\DeclareMicrotypeVariants#1#{\@gobble} +\@onlypreamble\DeclareMicrotypeSet +\@onlypreamble\UseMicrotypeSet +\@onlypreamble\DeclareMicrotypeSetDefault +\@onlypreamble\DisableLigatures +\@onlypreamble\DeclareMicrotypeVariants +\@onlypreamble\DeclareMicrotypeBabelHook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-microtype.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty new file mode 100644 index 00000000000..8ec6b151855 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty @@ -0,0 +1,133 @@ +%% +%% This is file `lwarp-multicol.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `multicol') +%% This is a generated file. +%% Copyright 2016 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{multicol}[2015/09/13] + + + + +\begin{warpHTML} + +\NewDocumentEnvironment{multicols}{s m o} +{\BlockClass{multicols} +\IfValueTF{#3}{\begin{BlockClass}{multicolsheading}#3\end{BlockClass}}{}} +{\endBlockClass} + +\newcommand*{\columnbreak}{} +\newcommand*{\RLmulticolcolumns}{} +\newcommand*{\LRmulticolcolumns}{} + +\newlength{\premulticols} +\newlength{\postmulticols} +\newlength{\multicolsep} +\newlength{\multicolbaselineskip} +\newlength{\multicoltolerance} +\newlength{\multicolpretolerance} +\newcommand*{\columnseprulecolor}{\normalcolor} +\newcounter{columnbadness} +\newcounter{finalcolumnbadness} +\newcounter{collectmore} +\newcounter{unbalance} +\newlength{\multicolovershoot} +\newlength{\multicolundershoot} + +\end{warpHTML} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-multicol.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty new file mode 100644 index 00000000000..f6061f41e46 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty @@ -0,0 +1,103 @@ +%% +%% This is file `lwarp-multirow.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `multirow') +%% This is a generated file. +%% Copyright 2016 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{multirow} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-multirow.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty new file mode 100644 index 00000000000..e9a722af897 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty @@ -0,0 +1,105 @@ +%% +%% This is file `lwarp-needspace.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `needspace') +%% This is a generated file. +%% Copyright 2016 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{needspace} + +\newcommand*{\needspace}[1]{} +\DeclareDocumentCommand{\Needspace}{s m}{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-needspace.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty new file mode 100644 index 00000000000..11d098314f9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty @@ -0,0 +1,2014 @@ +%% +%% This is file `lwarp-newproject.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `lwarp-newproject') +%% This is a generated file. +%% Copyright 2016 Brian Dunn +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. + + + + + + +\ProvidesPackage{lwarp-newproject} + +\RequirePackage{etoolbox} +\RequirePackage{comment} +\RequirePackage{fancyvrb} +\RequirePackage{ifplatform}% sense op-system platform +\RequirePackage{iftex}% sense pdflatex/lualatex/xelatex +\RequirePackage{kvoptions} +\SetupKeyvalOptions{family=LWRNP,prefix=LWRNP@} + +\newbool{LWRNP@genconf} +\boolfalse{LWRNP@genconf} + +\excludecomment{LWR@createlwarpmk} + +\DeclareVoidOption{warpprint}{\booltrue{LWRNP@genconf}} +\DeclareVoidOption{warpHTML}{\boolfalse{LWRNP@genconf}} +\DeclareVoidOption{lwarpmk}{\includecomment{LWR@createlwarpmk}} +\DeclareStringOption[\jobname]{BaseJobname} + +\booltrue{LWRNP@genconf}% warpprint + +\ProcessKeyvalOptions*\relax + +\providecommand*{\BaseJobname}{\LWRNP@BaseJobname} + +\providecommand*{\HomeHTMLFileName}{\BaseJobname} +\providecommand*{\HTMLFileName}{} +\providecommand*{\UseLatexmk}{false} + +\ifbool{LWRNP@genconf}{\typeout{lwarp-newproject: generating configuration files}}{} + +\ifbool{LWRNP@genconf}{ +\ifcsdef{LWR@file}{}{\newwrite{\LWR@file}} +\immediate\openout\LWR@file=\jobname_html.tex +\immediate\write\LWR@file{% +\detokenize{\PassOptionsToPackage}% +{warpHTML,BaseJobname=\jobname}{lwarp}% +} +\immediate\write\LWR@file{% +\detokenize{\PassOptionsToPackage}% +{warpHTML,BaseJobname=\jobname}{lwarp-newproject}% +} +\immediate\write\LWR@file{% +\detokenize{\input}\string{\jobname.tex\string }% +} +\immediate\closeout\LWR@file +}{} + +\ifbool{LWRNP@genconf}{ +\ifcsdef{LWR@file}{}{\newwrite{\LWR@file}} +\immediate\openout\LWR@file=\jobname.lwarpmkconf +\ifwindows +\immediate\write\LWR@file{opsystem = "Windows"} +\else +\immediate\write\LWR@file{opsystem = "Unix"} +\fi +\ifPDFTeX +\immediate\write\LWR@file{latexname = "pdflatex"} +\fi +\ifXeTeX +\immediate\write\LWR@file{latexname = "xelatex"} +\fi +\ifLuaTeX +\immediate\write\LWR@file{latexname = "lualatex"} +\fi +\immediate\write\LWR@file{sourcename = "\jobname"} +\immediate\write\LWR@file{% +homehtmlfilename = "\HomeHTMLFileName"% +} +\immediate\write\LWR@file{htmlfilename = "\HTMLFileName"} +\immediate\write\LWR@file{uselatexmk = "\UseLatexmk"} +\immediate\closeout\LWR@file +}{} + + +\begin{VerbatimOut}{lwarp.css} +/* + CSS stylesheet for the LaTeX lwarp package + Copyright 2016 Brian Dunn — BD Tech Concepts LLC +*/ + +/* a fix for older browsers: */ +header, section, footer, aside, nav, main, + article, figure { display: block; } + +A:link {color:#000080 ; text-decoration: none ; } +A:visited {color:#800000 ; } +A:hover {color:#000080 ; text-decoration: underline ;} +A:active {color:#800000 ; } + +a.tocpart {display: inline-block ; margin-left: 0em ; + font-weight: bold ;} +a.tocchapter {display: inline-block ; margin-left: 0em ; + font-weight: bold ;} +a.tocsection {display: inline-block ; margin-left: 1em ; + text-indent: -.5em ; font-weight: bold ; } +a.tocsubsection {display: inline-block ; margin-left: 2em ; + text-indent: -.5em ; } +a.tocsubsubsection {display: inline-block ; margin-left: 3em ; + text-indent: -.5em ; } +a.tocparagraph {display: inline-block ; margin-left: 4em ; + text-indent: -.5em ; } +a.tocsubparagraph {display: inline-block ; margin-left: 5em ; + text-indent: -.5em ; } +a.tocfigure {margin-left: 0em} +a.tocsubfigure {margin-left: 2em} +a.toctable {margin-left: 0em} +a.tocsubtable {margin-left: 2em} +a.toclstlisting {margin-left: 0em} + +body { + font-family: "DejaVu Serif", "Bitstream Vera Serif", + "Lucida Bright", Georgia, serif; + background: #FAF7F4 ; + color: black ; + margin:0em ; + padding:0em ; + font-size: 100% ; + line-height: 1.2 ; +} + +p {margin: 1.5ex 0em 1.5ex 0em ;} + +/* Holds a section number to add space between it and the name */ +span.sectionnumber { margin-right: .6em } + +/* Inserted in front of index lines */ +span.indexitem {margin-left: 0em} +span.indexsubitem {margin-left: 2em} +span.indexsubsubitem {margin-left: 4em} + +div.hidden { display: none ; } + +kbd { + font-family: "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", + "Nimbus Mono L", "Liberation Mono", "FreeMono", "Andale Mono", + "Courier New", monospace; + font-size: 100% ; +} + +span.strong { font-weight: bold; } + +span.textmd { font-weight: normal; } + +span.textsc { font-variant: small-caps; } + +span.textup { font-variant: normal; } + +span.textrm { + font-family: "DejaVu Serif", "Bitstream Vera Serif", + "Lucida Bright", Georgia, serif; +} + +span.textsf { + font-family: "DejaVu Sans", "Bitstream Vera Sans", + Geneva, Verdana, sans-serif ; +} + +span.attribution { + margin-left: 1em ; font-size: 80% ; font-variant: small-caps; +} + +span.citetitle { + margin-left: 1em ; font-size: 80% ; font-style: oblique; +} + +span.poemtitle { + font-size: 120% ; font-weight: bold; +} + +blockquote { +margin-left: 0px ; +margin-right: 0px ; +} + +blockquote p { + line-height: 1.5; + text-align: left ; + font-size: .85em ; + margin-left: 3em ; +margin-right: 3em ; +} + +blockquotation { +margin-left: 0px ; +margin-right: 0px ; +} + +blockquotation p { + line-height: 1.5; + text-align: left ; + font-size: .85em ; + margin-left: 3em ; +margin-right: 3em ; +} + +div.epigraph { + line-height: 1.2; + text-align: left ; + padding: 3ex 1em 0ex 1em ; +/* margin: 3ex auto 3ex auto ; */ /* Epigraph centered */ + margin: 3ex 1em 3ex auto ; /* Epigraph to the right */ +/* margin: 3ex 1em 3ex 1em ; */ /* Epigraph to the left */ + font-size: .85em ; + max-width: 27em ; +} + +div.epigraphsource{ + text-align:right ; + margin-left:auto ; +/* max-width: 50% ; */ + border-top: 1px solid #A0A0A0 ; + padding-bottom: 3ex ; + line-height: 1.2; +} + +div.epigraph p { padding: .5ex ; margin: 0ex ;} +div.epigraphsource p { padding: .5ex 0ex 0ex 0ex ; margin: 0ex ;} + +html body { + margin: 0 ; + line-height: 1.2; +} + +body div { + margin: 0ex; +} + +h1, h2, h3, h4, h5, h6, span.paragraph, span.subparagraph +{ + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; + font-style: normal ; + font-weight: bold ; + text-align: left ; +} + +h1 { /* title of the entire website, used on each page */ + text-align: center ; + font-size: 2.5em ; + padding: .4ex 0em 0ex 0em ; +} +h2 { font-size: 2.25em } +h3 { font-size: 2em } +h4 { font-size: 1.75em } +h5 { font-size: 1.5em } +h6 { font-size: 1.25em } +span.paragraph {font-size: 1em ; font-variant: normal ; + margin-right: 1em ; } +span.subparagraph {font-size: 1em ; font-variant: normal ; + margin-right: 1em ; } + +/* Title of the file */ +h1 { + margin: 0ex 0em 0ex 0em ; + line-height: 1.3; + text-align: center ; +} + +/* Part */ +h2 { + margin: 1ex 0em 1ex 0em ; + line-height: 1.3; + text-align: center ; +} + +/* Chapter */ +h3 { + margin: 3ex 0em 1ex 0em ; + line-height: 1.3; +} + +/* Section */ +h4 { + margin: 3ex 0em 1ex 0em ; + line-height: 1.3; +} + +/* Sub-Section */ +h5 { + margin: 3ex 0em 1ex 0em ; + line-height: 1.3; +} + +/* Sub-Sub-Section */ +h6 { + margin: 3ex 0em 1ex 0em ; + line-height: 1.3; +} + +div.titlepage { + text-align: center ; +} + +.footnotes { + font-size: .85em ; + margin: 3ex 1em 0ex 1em ; + padding-bottom: 1ex ; +} + +.marginpar { +width:20%; float:right; +text-align:left; +margin: 1ex 0.5em 1ex 1em ; +padding: 1ex 0.5em 1ex 0.5em ; +font-size: 85% ; +border-top: 1px solid silver ; +border-bottom: 1px solid silver ; +overflow-x: auto; +} + +.marginpar br { margin-bottom: 2ex ; } + +div.marginblock { +width:50%; float:right; +text-align:left; +margin: 1ex 0.5em 1ex 1em ; +padding: 1ex 0.5em 1ex 0.5em ; +overflow-x: auto; +} + +div.marginblock div.minipage p { font-size: 85%} + +div.marginblock br { margin-bottom: 2ex ; } + +section.textbody div.footnotes{ + margin: 3ex 0em 0ex 0em ; + border-bottom: 2px solid silver ; +} + +.footnoteheader { + border-top: 2px solid silver ; + margin-top: 3ex ; + padding-top: 1ex ; + font-weight: bold ; +} + +.mpfootnotes { + text-align: left ; + font-size: .85em ; + margin: 3ex 0em 3ex 0em ; + border-top: 1px solid silver ; + border-bottom: 1px solid silver ; +/* padding-top: 1ex ; */ +} + +/* Remove footnote top border in the title page. */ +div.titlepage div.mpfootnotes { + border-top: none ; +} + +ol { + margin: 1ex 1em 1ex 0em; + line-height: 1.2; +} + +ul, body dir, body menu { + margin: 1ex 1em 1ex 0em; + line-height: 1.2; +} + +li { margin: 0ex 0em 1ex 0em; } + +html { + margin: 0; + padding: 0; +} + +.programlisting { + font-family: "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", + "Nimbus Mono L", "Liberation Mono", "FreeMono", "Andale Mono", + "Courier New", monospace; + margin: 1ex 0ex 1ex 0ex ; + padding: .5ex 0pt .5ex 0pt ; + overflow-x: auto; +} + +section.textbody>pre.programlisting { +border-top: 1px solid silver ; +border-bottom: 1px solid silver ; +} + +.inlineprogramlisting { + font-family: "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", + "Nimbus Mono L", "Liberation Mono", "FreeMono", "Andale Mono", + "Courier New", monospace; + overflow-x: auto; +} + +div.abstract { + margin: 2em 5% 2em 5% ; + padding: 1ex 1em 1ex 1em ; +/* font-weight: bold ; */ + font-size: 90% ; +} + +div.abstract dl {line-height:1.5;} +div.abstract dt {color:#304070;} + +div.abstracttitle{ + font-family: "URW Classico", Optima, "Linux Biolinum O", + "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + font-weight:bold; + font-size:1.25em; + text-align: center ; +} + +.verbatim { + overflow-x: auto ; +} + +.alltt { + overflow-x: auto ; +} + +.bverbatim { + margin: 1ex 0pt 1ex 0pt ; + padding: .5ex 0pt .5ex 0pt ; + overflow-x: auto ; +} + +.lverbatim { + margin: 1ex 0pt 1ex 0pt ; + padding: .5ex 0pt .5ex 0pt ; + overflow-x: auto ; +} + +.fancyvrb { + font-size:.85em ; + margin: 3ex 0pt 3ex 0pt +} + +.fancyvrblabel { + font-weight:bold; + text-align: center ; +} + +.verse { + font-family: "Linux Libertine Mono O", "Lucida Console", + "Droid Sans Mono", "DejaVu Mono", "Bitstream Vera Mono", + "Liberation Mono", "FreeMono", "Andale Mono", + "Nimbus Mono L", "Courier New", monospace; + margin-left: 1em ; +} + +div.singlespace { line-height: 1.2 ; } +div.onehalfspace { line-height: 1.5 ; } +div.doublespace { line-height: 2 ; } + +.theorem { + background: #e0e0e0; + padding: 1ex ; + margin: 1em ; + border: 1px solid silver ; +} + +.theoremlabel { font-weight: bold ; } + +.theoremcontents { font-style: italic; margin-left: 1em ; } + +/* Minipage environments, vertically aligned to top, center, bottom: */ +.minipage { + /* display: inline-block ; */ + /* Mini pages which follow each other will be tiled. */ + margin: .25em .25em .25em .25em; + padding: .25em .25em .25em .25em; + display: inline-flex; + flex-direction: column ; + overflow: auto; +} + +/* Paragraphs in the flexbox did not collapse their margins. */ +/* Have not yet researched this. */ +.minipage p {margin: .75ex 0em .75ex 0em ;} + +.framebox { + margin: 0ex ; + padding: 0ex ; + border: 1px solid black; + border-radius: 0px ; + padding: .3ex .2em 0ex .2em ; + margin: .1ex ; + display: inline-block ; +} + +.mdframed { +/* padding: 0ex ; */ +/* border: 1px solid blafck; */ +/* border-radius: 0px ; */ + padding: 0ex ; + margin: 3ex 5% 3ex 5% ; +/* display: inline-block ; */ +} + +.mdframed p { padding: 0ex .5em 0ex .5em ; } + +.mdframed dl { padding: 0ex .5em 0ex .5em ; } + +.mdframedtitle { + padding: .5em ; + display: block ; + font-size: 130% +} + +.mdframedsubtitle { + padding: 0ex .5em 0ex .5em ; + display: block ; + font-size: 115% ; +} + +.mdframedsubsubtitle { + padding: 0ex .5em 0ex .5em ; + display: block ; +} + +.mdtheorem { + padding: 0ex .5em 0ex .5em ; + margin: 3ex 5% 3ex 5% ; +/* display: inline-block ; */ +} + +dl { + margin: 1ex 2em 1ex 0em; + line-height: 1.3; +} + +dl dt { + margin-top: 1ex; + font-weight: bold; +} + +dl dd p { margin-top: 0em; } + +nav.toc, nav.lof, nav.lot, nav.lol { + font-family: "URW Classico", Optima, "Linux Biolinum O", + "DejaVu Sans", "Bitstream Vera Sans", + Geneva, Verdana, sans-serif ; + margin-bottom: 4ex ; +} + +nav.toc p, nav.lof p, nav.lot p, nav.lol p { + line-height: 1.2 ; + margin-top:.5ex ; + margin-bottom:.5ex; + font-size: .9em ; +} + +img, img.hyperimage, img.borderimage { + max-width: 600px; + border: 1px solid silver; + box-shadow: 3px 3px 3px #808080 ; + padding: .5% ; + margin: .5% ; + background: none ; +} + +img.inlineimage{ + padding: 0px ; + box-shadow: none ; + border: none ; + background: none ; + margin: 0px ; + display: inline-block ; + border-radius: 0px ; +} + +img.logoimage{ + max-width: 300px ; + box-shadow: 3px 3px 3px #808080 ; + border: 1px solid black ; + background:none ; + padding:0 ; + margin:.5ex ; + border-radius: 10px ; +} + +.section { +/* + To have each section float relative to each other: +*/ +/* + display: block ; + float: left ; + position: relative ; + background: white ; + border: 1px solid silver ; + padding: .5em ; +*/ + margin: 0ex .5em 0ex .5em ; + padding: 0 ; +} + +figure { + margin: 3ex auto 3ex auto ; + padding: 1ex 1em 1ex 1em ; + overflow-x: auto ; +} + +/* To automatically center images in figures: */ +/* +figure img.inlineimage { + margin: 0ex auto 0ex auto ; + display: block ; +} +*/ + +/* To automatically center minipages in figures: */ +/* +figure div.minipage, figure div.minipage div.minipage { + margin: 1ex auto 1ex auto ; + display: block ; +} +*/ + +figure div.minipage p { font-size: 85% ; } + +figure.subfigure, figure.subtable { + display: inline-block ; margin: 3ex 1em 3ex 1em ; +} + +div.floatrow { text-align: center; } + +div.floatrow figure { display: inline-block ; margin: 1ex 2% ; } + +div.floatfoot { font-size: .85em ; + border-top: 1px solid silver ; line-height: 1.2 ; } + +figcaption , .lstlistingtitle { + font-size: .85em ; + text-align: center ; + font-weight: bold ; +margin-top: 1ex ; +margin-bottom: 1ex ; +} + +figure.subfigure figcaption, figure.subtable figcaption { + border-bottom: none ; background: none ; +} + +div.nonfloatcaption { + margin: 1ex auto 1ex auto ; + font-size: .85em ; + text-align: center ; + font-weight: bold ; +} + +/* For a \RawCaption inside a minipage inside a figure's floatrow: */ +figure div.floatrow div.minipage figcaption { +border: none ; +background: none ; +} + +table { + margin: 1ex auto 1ex auto ; + border-collapse: collapse ; + border-spacing: 0px ; + line-height: 1.3 ; + } + +tr.hline {border-top: 1px solid silver ; margin-top: 0ex ; + margin-bottom: 0ex ; } /* for \hline */ + +tr.tbrule {border-top: 1px solid black ; margin-top: 0ex ; + margin-bottom: 0ex ; } /* for \toprule, \bottomrule */ + +td {padding: 1ex .5em 1ex .5em ;} + +table td.tdl { text-align: left ; vertical-align: middle ; } +table td.tdc { text-align: center ; vertical-align: middle ; } +table td.tdr { text-align: right ; vertical-align: middle ; } +table td.tdp { text-align: left ; vertical-align: bottom ; } +table td.tdm { text-align: left ; vertical-align: middle ; } +table td.tdb { text-align: left ; vertical-align: top ; } +table td.tdP { text-align: center ; vertical-align: bottom ; } +table td.tdM { text-align: center ; vertical-align: middle ; } +table td.tdB { text-align: center ; vertical-align: top ; } +table td.tdlrule { text-align: left ; border-top: 1px solid silver ; + vertical-align: middle ; } /* for cmidrule */ +table td.tdcrule { text-align: center ; border-top: 1px solid silver ; + vertical-align: middle ; } +table td.tdrrule { text-align: right ; border-top: 1px solid silver ; + vertical-align: middle ; } +table td.tdprule { text-align: left ; border-top: 1px solid silver ; + vertical-align: bottom ; } +table td.tdmrule { text-align: left ; border-top: 1px solid silver ; + vertical-align: middle ; } +table td.tdbrule { text-align: left ; border-top: 1px solid silver ; + vertical-align: top ; } +table td.tdPrule { text-align: center ; border-top: 1px solid silver ; + vertical-align: bottom ; } +table td.tdMrule { text-align: center ; border-top: 1px solid silver ; + vertical-align: middle ; } +table td.tdBrule { text-align: center ; border-top: 1px solid silver ; + vertical-align: top ; } + +/* Margins of paragraphs inside table cells: */ +td.tdp p , td.tdprule p , td.tdP p , td.tdPrule p { padding-top: 1ex ; + padding-bottom: 1ex ; margin: 0ex ; } +td.tdm p , td.tmbrule p , td.tdM p , td.tdMrule p { padding-top: 1ex ; + padding-bottom: 1ex ; margin: 0ex ; } +td.tdb p , td.tdbrule p , td.tdB p , td.tdBrule p { padding-top: 1ex ; + padding-bottom: 1ex ; margin: 0ex ; } + +td.tdp , td.tdprule , td.tdP , td.tdPrule + { padding: 0ex .5em 0ex .5em ; } +td.tdm , td.tdmrule , td.tdM , td.tdMrule + { padding: 0ex .5em 0ex .5em ; } +td.tdb , td.tdbrule , td.tdB , td.tdBrule + { padding: 0ex .5em 0ex .5em ; } + +/* table notes: */ +.tnotes { + margin: 0ex 5% 1ex 5% ; + padding: 0.5ex 1em 0.5ex 1em; + font-size:.85em; + text-align: left ; +} + +.tnotes dl dt p {margin-bottom:0px;} + +.tnoteitemheader {margin-right: 1em;} + +/* center, flushleft, flushright environments */ +div.center{text-align:center;} +div.center table {margin-left:auto;margin-right:auto;} +div.flushleft{text-align:left;} +div.flushleft table {margin-left:0em ; margin-right:auto;} +div.flushright{text-align:right;} +div.flushright table {margin-left:auto ; margin-right: 0em ;} + +/* program listing callouts: */ +span.callout { + font-family: "DejaVu Sans", "Bitstream Vera Sans", + Geneva, Verdana, sans-serif ; + border-radius: .5em; + background-color:black; + color:white; + padding:0px .25em 0px .25em; +margin: 0 ; + font-weight: bold; + font-size:.72em ; +} + +div.programlisting pre.verbatim span.callout{ +font-size: .85em ; +} + +div.published +{ + text-align: center ; + font-variant: normal ; + font-style: italic ; + font-size: 1em ; + margin: 3ex 0em 3ex 0em ; +} + +div.subtitle +{ + text-align: center ; + font-variant: normal ; + font-style: italic ; + font-size: 1.25em ; + margin: 3ex 0em 3ex 0em ; +} + +div.subtitle p { margin: 1ex ; } + +div.author +{ + font-variant: normal ; + font-style: normal ; + font-size: 1em ; + margin: 3ex 0em 3ex 0em ; +} + +div.author table { + margin: 3ex auto 0ex auto ; + background: none ; +} + +div.author table tbody tr td { padding: .25ex ; } + +span.affiliation {font-size: .85em ; font-variant: small-caps; } + +div.titledate { + text-align: center ; + font-size: .85em ; + font-style: italic; + margin: 6ex 0em 6ex 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:right ; +} + +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:right ; +} + +header{ + line-height: 1.2 ; + font-size: 1em ; +/* border-bottom: 2px solid silver ; */ + margin: 0px ; + padding: 0ex 1em 0ex 1em ; + text-align:center ; +} + +header p {margin:0ex;padding:4ex 0em 2ex 0em ;text-align:center;} + +footer{ + font-size: .85em ; + line-height: 1.2 ; + margin-top: 1ex ; + border-top: 2px solid silver ; + padding: 2ex 1em 2ex 1em ; + clear:right ; + text-align:left ; +} + +a.linkhome { font-weight:bold ; font-size: 1em ;} + +div.lateximagesource { padding: 0px ; margin: 0px ; display: none; } + +img.lateximage{ + padding: 0px 0px 0px 0px ; + box-shadow: none ; + border: none ; + background: none ; + margin: 0px 0px -.15ex 0px ; + /* pdfcrop leaves a slight margin, adjust to baseline */ + max-width: 100% ; + border-radius: 0ex ; + border: none ; +} + +nav.sidetoc { + font-family: "DejaVu Serif", "Bitstream Vera Serif", + "Lucida Bright", Georgia, serif; + float:right ; + width: 20%; + border-left: 1px solid silver; + border-top: 1px solid silver; + border-bottom: 1px solid silver; +/* border-top: 2px solid #808080 ; */ + background: #FAF7F4 ; + padding: 2ex 0em 2ex 1em ; + margin: 0ex 0em 2ex 1em ; + font-size:.9em ; + border-radius: 20px 0px 0px 20px ; + } + +div.sidetoccontents { +/* border-top: 1px solid silver ; */ + 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; + -moz-column-span: all; column-span: all; } +div.multicols { -webkit-columns: 3 380px ; + -moz-columns: 3 380px ; columns: 3 380px ; } +div.multicols p {margin-top: 0ex} + +/* Used to support algorithmicx: */ +span.floatright { float: right ; } + +/* +For CSS LaTeX and related logos: +Based on: +http://edward.oconnor.cx/2007/08/tex-poshlet +http://nitens.org/taraborelli/texlogo +*/ + +.latexlogofont { + font-family: "Linux Libertine O", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + font-variant: normal ; +} + +.latexlogo { + font-family: "Linux Libertine O", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + letter-spacing: .03em ; + font-size: 1.1em; +} + +.latexlogo sup { + text-transform: uppercase; + letter-spacing: .03em ; + font-size: 0.85em; + vertical-align: 0.15em; + margin-left: -0.36em; + margin-right: -0.15em; +} + +.latexlogo sub { + text-transform: uppercase; + vertical-align: -0.5ex; + margin-left: -0.1667em; + margin-right: -0.125em; + font-size: 1em; +} + +.xetexlogo { + font-family: "Linux Libertine O", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + letter-spacing: .03em ; + font-size: 1.1em; +} + +/* A smaller gap between Xe and Tex v.s. LaTeX: */ +.xetexlogo sub { + text-transform: uppercase; + vertical-align: -0.5ex; + margin-left: -0.0667em; + margin-right: -0.2em; + font-size: 1em; + letter-spacing: .03em ; +} + +/* A large gap between Xe and LaTeX v.s. TeX: */ +.xelatexlogo sub { + text-transform: uppercase; + vertical-align: -0.5ex; + margin-left: -0.0667em; + margin-right: -.05em; + font-size: 1em; + letter-spacing: .03em ; +} + +.amslogo { + font-family: "TeXGyreChorus","URW Chancery L", + "Apple Chancery","ITC Zapf Chancery","Monotype Corsiva", + "Linux Libertine O", "Nimbus Roman No 9 L", "FreeSerif", + "Hoefler Text", Times, "Times New Roman", serif; + font-style: italic; +} + +.lyxlogo { + font-family: "URW Classico", Optima, "Linux Biolinum O", + "DejaVu Sans", "Bitstream Vera Sans", Geneva, +Verdana, sans-serif ; +} + +/* Only display top and bottom navigation if a small screen: */ +/* Hide the sidetoc if a small screen: */ +nav.topnavigation { display:none; } +nav.botnavigation { display:none; } + +@media screen and (max-width: 45em) { +/* nav.sidetoc {display:none;} */ + nav.sidetoc { + float: none ; + width: 100% ; + margin: 5ex 0px 5ex 0px ; + padding: 0 ; + border-radius: 0 ; + border-bottom: 1px solid black ; + border-top: 1px solid black ; + box-shadow: none ; + } +/* nav.topnavigation { display:block } */ + nav.botnavigation { display:block } +} + +@media print { + body { + font-family: "Linux Libertine O", + "DejaVu Serif", "Bitstream Vera Serif", + "Liberation Serif", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + } + nav.sidetoc { display:none; } + nav.topnavigation { display: none; } + nav.botnavigation { display: none; } +} + +@media handheld { + nav.sidetoc { display:none; } + nav.topnavigation { display:block } + nav.botnavigation { display:block } +} + +@media projection { + nav.sidetoc { display:none; } + nav.topnavigation { display:block } + nav.botnavigation { display:block } +} +\end{VerbatimOut} + + +\begin{VerbatimOut}{lwarp_sagebrush.css} +@import url("lwarp.css") ; + +A:link {color:#105030 ; text-decoration: none ; } +A:visited {color:#705030 ; text-shadow:1px 1px 2px #a0a0a0;} +A:hover {color:#006000 ; text-decoration: underline ; text-shadow:0px 0px 2px #a0a0a0;} +A:active {color:#00C000 ; text-shadow:1px 1px 2px #a0a0a0;} + +h1, h2, h3, h4, h5, h6, span.paragraph, span.subparagraph +{ + font-family: "URW Classico", Optima, "Linux Biolinum O", + "Linux Libertine O", "Liberation Serif", + "Nimbus Roman No 9 L", "FreeSerif", + "Hoefler Text", Times, "Times New Roman", serif; + font-variant: small-caps ; +font-weight: normal ; + color: #304070 ; + text-shadow: 2px 2px 3px #808080; +} + +h1 { /* title of the entire website, used on each page */ + font-variant: small-caps ; + color: #304070 ; + text-shadow: 2px 2px 3px #808080; + background-color: #F7F7F0 ; + background-image: linear-gradient(to bottom, #F7F7F0, #C0C0C4); +} + +h1 { + border-bottom: 1px solid #304070; + border-top: 2px solid #304070; +} + +h2 { + border-bottom: 1px solid #304070; + border-top: 2px solid #304070; + background-color: #F7F7F0 ; + background-image: linear-gradient(to bottom, #F7F7F0, #DAD0C0); +} + +div.abstract { + background: #f5f5eb ; + background-image: linear-gradient(to bottom, #f5f5eb, #C8C8B8); + + border: 1px solid silver; + border-radius: 1em ; +} + +div.abstract dl {line-height:1.5;} +div.abstract dt {color:#304070;} + +div.abstracttitle{ + font-family: "URW Classico", Optima, "Linux Biolinum O", + "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + font-weight:bold; + font-variant: small-caps ; + font-size:1.5em; + border-bottom: 1px solid silver ; + color: #304070 ; + text-align: center ; + text-shadow: 1px 1px 2px #808080; +} + +div.epigraph { + background: #f5f5eb ; + background-image: linear-gradient(to bottom, #f5f5eb, #C8C8B8); + + border: 1px solid silver ; + border-radius: 1ex ; + box-shadow: 3px 3px 3px #808080 ; +} + +.example { + background-color: #f5f5eb ; + background-image: linear-gradient(to bottom, #f5f5eb, #C8C8B8); + +} + +div.exampletitle{ + font-family: "URW Classico", Optima, "Linux Biolinum O", + "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + font-weight:bold; + font-variant: small-caps ; + border-bottom: 1px solid silver ; + color: #304070 ; + text-align: center ; + text-shadow: 1px 1px 2px #808080; +} + +.sidebar { + background-color: #f5f5eb ; + background-image: linear-gradient(to bottom, #f5f5eb, #C8C8B8); + +} + +div.sidebartitle{ + font-family: "URW Classico", Optima, "Linux Biolinum O", + "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + font-weight:bold; + font-variant: small-caps ; + border-bottom: 1px solid silver ; + color: #304070 ; + text-align: center ; + text-shadow: 1px 1px 2px #808080; +} + +.fancyvrblabel { + font-family: "URW Classico", Optima, "Linux Biolinum O", + "Linux Libertine O", "Liberation Serif", "Nimbus Roman No 9 L", + "FreeSerif", "Hoefler Text", Times, "Times New Roman", serif; + font-weight:bold; + font-variant: small-caps ; +font-size: 1.5em ; + color: #304070 ; + text-align: center ; + text-shadow: 1px 1px 2px #808080; +} + +.minipage { + background-color: #eeeee7 ; + border: 1px solid silver ; +border-radius: 1ex ; +} + +figure.figure .minipage { border: none; } + +div.marginblock div.minipage { border: none; } + +figure , div.marginblock { + background-color: #eeeee7 ; + border: 1px solid silver ; + border-radius: 1ex ; + box-shadow: 3px 3px 3px #808080 ; +} + +figure figure { + border: 1px solid silver ; + margin: 0em ; +box-shadow: none ; +} + +/* +figcaption { + border-top: 1px solid silver ; + border-bottom: 1px solid silver ; + background-color: #e8e8e8 ; +} +*/ + +div.table { + box-shadow: 3px 3px 3px #808080 ; +} + +/* +.tnotes { + background: #e8e8e8; + border: 1px solid silver; +} +*/ + +nav.topnavigation{ + background-color: #b0b8b0 ; + background-image: linear-gradient(to bottom,#e0e0e0,#b0b8b0) ; +} + +nav.botnavigation{ + background-color: #b0b8b0 ; + background-image: linear-gradient(to top,#e0e0e0,#b0b8b0) ; +} + +header{ + background-color: #F7F7F0 ; + background-image: linear-gradient(to top, #F7F7F0, #b0b8b0); +} + +footer{ + background-color: #F7F7F0 ; + background-image: linear-gradient(to bottom, #F7F7F0, #b0b8b0); +} + +nav.sidetoc { + background-color: #F7F7F0 ; + background-image: linear-gradient(to bottom, #F7F7F0, #C0C0C0); + box-shadow: 3px 3px 3px #808080 ; + border-radius: 0px 0px 0px 20px ; + } + +div.sidetoctitle {color: #304070 ; } +nav.sidetoc a:hover {color:#006000 ; text-decoration: none ; text-shadow:0px 0px 2px #a0a0a0;} + +@media screen and (max-width: 45em) { + nav.sidetoc { border-radius: 0 ; } +} + +\end{VerbatimOut} + + +\begin{VerbatimOut}{lwarp_formal.css} +@import url("lwarp.css") ; + +A:link {color:#802020 ; text-decoration:none; } +A:visited {color:#802020 ; text-shadow:none ;} +A:hover {color:#400000 ; text-shadow:none ;} +A:active {color:#C00000 ; text-shadow:none ;} + +body { + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; + background: #fffcf5; +} + +span.textrm { + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; +} + +span.textsf { + font-family: "DejaVu Sans", "Bitstream Vera Sans", + Geneva, Verdana, sans-serif ; +} + +h1, h2, h3, h4, h5, h6, span.paragraph, span.subparagraph +{ + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; + color: #800000 ; + text-shadow: none ; +} + +h1, h2 { + background-color: #fffcf5 ; + background-image: none ; + border-bottom: 1px solid #808080; + border-top: 2px solid #808080; +} + +div.abstracttitle { + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; + color: black ; + text-shadow: none ; +} + +div.abstract { font-size: 100% } + +.sidebar { + background: #fffcf5; + background-image: none ; + margin: 2em 5% 2em 5%; + padding: 0.5em 1em; + border: none ; + border-top : 1px solid silver; + border-bottom : 1px solid silver; + font-size: 90% ; +} + +div.sidebartitle{ + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; + color: #800000 ; + text-shadow: none ; + border: none ; +} + +.example { + background: #fffcf5; + background-image: none ; + margin: 2em 5% 2em 5%; + padding: 0.5em 1em; + border: none ; + border-top : 1px solid silver; + border-bottom : 1px solid silver; +} + +div.exampletitle{ + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; + color: #800000 ; + text-shadow: none ; + border: none ; +} + +div.fancyvrblabel{ + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; + color: #800000 ; + text-shadow: none ; + border: none ; +} + +.verse { + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; +} + +figure { + margin: 3ex 5% 3ex 5% ; + padding: 1ex 1em 1ex 1em ; + background-color: #fffcf5 ; + overflow-x: auto ; + border: none ; +/* border-top: 1px solid silver; */ +/* border-bottom: 1px solid silver; */ +} + +figcaption , .lstlisting { + border: none ; +/* border-top: 1px solid silver ; */ +/* border-bottom: 1px solid silver ; */ + background-color: #fffcf5 ; +} + +.tnotes { + background: #fffcf5 ; +} + +.theorem { + background: none ; +} + +.minipage { + background-color: #fffcf5 ; + border: none ; + margin: 1em ; +} + +div.floatrow figure { border: none ; } + +figure figure { border: none ; } + +nav.toc, nav.lof, nav.lot, nav.lol { + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; +} + +nav.sidetoc { + font-family: "Linux Libertine O", "Hoefler Text", "Garamond", + "Bembo", "Janson", "TeX Gyre Pagella", "Palatino", + "Liberation Serif", "Nimbus Roman No 9 L", "FreeSerif", Times, + "Times New Roman", serif; + background-image: linear-gradient(to bottom, #fffcf5, #C0C0C0); + border-radius: 0px 0px 0px 20px ; +} + +div.sidetoctitle{ + color: #800000 ; +} + +header{ + background-color: #e0e0e0 ; + background-image: linear-gradient(to top, #fffcf5, #b0b0b0); + text-align:center ; +} + +footer{ + background-color: #e0e0e0 ; + background-image: linear-gradient(to bottom, #fffcf5, #b0b0b0); + padding: 2ex 1em 2ex 1em ; + clear:right ; + text-align:left ; +} + +nav.botnavigation { + background: #dedcd5 ; + border-top: 1px solid black ; +} +\end{VerbatimOut} + + +\begin{VerbatimOut}{sample_project.css} +/* ( --- Start of project.css --- ) */ +/* A sample project-specific CSS file for lwarp --- ) */ + +/* Load default lwarp settings: */ +@import url("lwarp.css") ; +/* or lwarp_formal.css, lwarp_sagebrush.css */ + +/* Project-specific CSS setting follow here. */ +/* . . . */ + +/* ( --- End of project.css --- ) */ +\end{VerbatimOut} + + +\begin{VerbatimOut}{lwarp_html.xdy} +(require "tex/inputenc/latin.xdy") +(merge-rule "\\PS *" "Postscript") +(require "texindy.xdy") +(require "page-ranges.xdy") +(require "book-order.xdy") +(markup-locref :open "\hyperindexref{" :close "}") +\end{VerbatimOut} + + + +\begin{VerbatimOut}{lwarp_mathjax.txt} +<!-- https://groups.google.com/forum/#!topic/ + mathjax-users/jUtewUcE2bY --> +<script type="text/x-mathjax-config"> +MathJax.Hub.Register.StartupHook("TeX AMSmath Ready",function () { + var seteqsectionDefault = {name: "", num: 0}; + var seteqsections = {}, seteqsection = seteqsectionDefault; + var TEX = MathJax.InputJax.TeX, PARSE = TEX.Parse; + var AMS = MathJax.Extension["TeX/AMSmath"]; + TEX.Definitions.Add({ + macros: { + seteqsection: "mySection", + seteqnumber: "mySetEqNumber" + } + }); + + PARSE.Augment({ + mySection: function (name) { + seteqsection.num = AMS.number; + var n = this.GetArgument(name); + if (n === "") { + seteqsection = seteqsectionDefault; + } else { + if (!seteqsections["_"+n]) + seteqsections["_"+n] = {name:n, num:0}; + seteqsection = seteqsections["_"+n]; + } + AMS.number = seteqsection.num; + }, + mySetEqNumber: function (name) { + var n = this.GetArgument(name); + if (!n || !n.match(/^ *[0-9]+ *$/)) + n = ""; else n = parseInt(n)-1; + <!-- $ syntax highlighting --> + if (n === "" || n < 1) + TEX.Error + ("Argument to "+name+" should be a positive integer"); + AMS.number = n; + } + }); + MathJax.Hub.Config({ + TeX: { + equationNumbers: { + formatTag: function (n) + {return "("+(seteqsection.name+"."+n).replace(/^\./,"")+")"}, + formatID: function (n) { + n = (seteqsection.name+'.'+n).replace + (/[:"'<>&]/g,"").replace(/^\./,""); + return 'mjx-eqn-' + n; + } + } + } + }); +}); +</script> + +<!-- http://docs.mathjax.org/en/latest/options/ThirdParty.html --> +<script type="text/x-mathjax-config"> + MathJax.Ajax.config.path["Contrib"] = + "https://cdn.mathjax.org/mathjax/contrib"; +</script> + +<!-- https://github.com/mathjax/MathJax-third-party-extensions/ + tree/master/siunitx --> +<script type="text/x-mathjax-config"> + MathJax.Hub.Config({ + extensions: ["tex2jax.js","[Contrib]/siunitx/siunitx.js"], + jax: ["input/TeX","output/HTML-CSS"], + tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}, + TeX: {extensions: ["AMSmath.js","AMSsymbols.js", "sinuitx.js"]} + }); + </script> + +<script type="text/x-mathjax-config"> +MathJax.Hub.Config({ + TeX: { + equationNumbers: { + autoNumber: "AMS" + } + } +}); +</script> + +<script + src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full"> +</script> +\end{VerbatimOut} + + +\begin{LWR@createlwarpmk} + +\begin{VerbatimOut}{lwarpmk.lua} +#!/usr/bin/env texlua + +-- Copyright 2016 Brian Dunn + +-- Print the usage of the lwarpmk command: + +printversion = "v0.20" + +function printhelp () +print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ; +end + +function printusage () +print ( [[ + +lwarpmk print [project]: Compile a print version. +lwarpmk printindex [project]: Process the index for the print version. +lwarpmk html [project]: Compile an HTML version. +lwarpmk htmlindex [project]: Process the index for the html version. +lwarpmk again [project]: Touch the source code to trigger recompiles. +lwarpmk limages [project]: Process the "lateximages" created by lwarp.sty. +lwarpmk pdftohtml [project]: + For use with latexmk or a Makefile: + Convert project_html.pdf to project_html.html and + individual HTML files. +lwarpmk clean [project]: Remove project.aux, .toc, .lof, .lot, .idx, .ind, .log +lwarpmk cleanall [project]: Remove auxiliary files and also project.pdf, *.html +lwarpmk -h: Print this help message. +lwarpmk --help: Print this help message. + +]] ) +printconf () +end + +-- Print the format of the configuration file lwarpmk.conf: + +function printconf () +print ( [[ +An example lwarpmk.conf or <project>.lwarpmkconf project file: +-- +opsystem = "Unix" (or "Windows") +latexname = "pdflatex" (or "lualatex", or "xelatex") +sourcename = "projectname" (the source-code filename w/o .tex) +homehtmlfilename = "index" (or perhaps the project name) +htmlfilename = "" (or "projectname" - filename prefix) +uselatexmk = "false" (or "true" to use latexmk to build PDFs) +-- +Filenames must contain only letters, numbers, underscore, or dash. +Values must be in "quotes". + +]] ) ; +end + +-- Split one large sourcefile into a number of files, +-- starting with destfile. +-- The file is split at each occurance of <!--|Start file|newfilename|* + +function splitfile (destfile,sourcefile) +print ("lwarpmk: Splitting " .. sourcefile .. " into " .. destfile) ; +io.input(sourcefile) +io.output(destfile) +for line in io.lines() do +i,j,copen,cstart,newfilename = string.find (line,"(.*)|(.*)|(.*)|") ; +if ( (i~= nil) and (copen == "<!--") and (cstart == "Start file")) then -- split the file +io.output(newfilename) ; +else -- not a splitpoint +io.write (line .. "\n") ; +end +end -- do +end -- function + +-- Incorrect value, so print an error and exit. + +function cvalueerror ( line, linenum , cvalue ) + print ( linenum .. " : " .. line ) ; + print ("lwarpmk: incorrect variable value \"" .. cvalue .. "\" in lwarpmk.conf.\n" ) ; + printconf () ; + os.exit(1) ; +end + +-- Load settings from the project's "lwarpmk.conf" file: + +function loadconf () +-- Default configuration filename: +local conffile = "lwarpmk.conf" +-- Optional configuration filename: +if arg[2] ~= nil then conffile = arg[2]..".lwarpmkconf" end +-- Verify the file exists: +if (lfs.attributes(conffile,"mode")==nil) then -- file not exists +print("lwarpmk: " .. conffile .." does not exist.") +print("lwarpmk: " .. arg[2] .. " does not appear to be a project name.\n") +printhelp () ; +os.exit(1) -- exit the entire lwarpmk script +else -- file exists +-- Read the file: +print ("lwarpmk: Reading " .. conffile ..".") +io.input(conffile) ; +-- Scan each line: +local linenum = 0 +for line in io.lines() do -- scan lines +linenum = linenum + 1 +i,j,cvarname,cvalue = string.find (line,"([%w-_]*)%s*=%s*\"([%w-_]*)\"") ; +-- Error if incorrect enclosing characters: +if ( i == nil ) then +print ( linenum .. " : " .. line ) ; +print ( "lwarpmk: Incorrect entry in " .. conffile ..".\n" ) ; +printconf () ; +os.exit(1) ; +end +if ( cvarname == "opsystem" ) then + -- Verify choice of opsystem: + if ( (cvalue == "Unix") or (cvalue == "Windows") ) then + opsystem = cvalue + else + cvalueerror ( line, linenum , cvalue ) + end +elseif ( cvarname == "latexname" ) then + -- Verify choice of LaTeX compiler: + if ( + (cvalue == "pdflatex") or + (cvalue == "xelatex") or + (cvalue == "lualatex") + ) then + latexname = cvalue + else + cvalueerror ( line, linenum , cvalue ) + end +elseif ( cvarname == "sourcename" ) then sourcename = cvalue +elseif ( cvarname == "homehtmlfilename" ) then homehtmlfilename = cvalue +elseif ( cvarname == "htmlfilename" ) then htmlfilename = cvalue +elseif ( cvarname == "uselatexmk" ) then uselatexmk = cvalue +else +print ( linenum .. " : " .. line ) ; +print ("lwarpmk: Incorrect variable name \"" .. cvarname .. "\" in " .. conffile ..".\n" ) ; +printconf () ; +os.exit(1) ; +end +end -- do scan lines +end -- file exists +-- Select some operating-system commands: +if opsystem=="Unix" then -- For Unix / Linux / Mac OS: +rmname = "rm" +touchname = "touch" +chmodcmd = "chmod u+x lateximages.sh" +lateximagesname = "./lateximages.sh" +elseif opsystem=="Windows" then -- For Windows +rmname = "DEL" +touchname = "TOUCH" +chmodcmd = "" +lateximagesname = "lateximages.cmd" +else print ( "lwarpmk: Select Unix or Windows for opsystem" ) +end --- for Windows +end -- loadconf + +-- Scan the LaTeX log file for the phrase "Rerun to get", +-- indicating that the file should be compiled again. +-- Return true if found. + +function reruntoget (filesource) +io.input(filesource) +for line in io.lines() do +if ( string.find(line,"Rerun to get") ~= nil ) then return true end +end +return false +end + +-- Compile one time, return true if should compile again. +-- fsuffix is "" for print, "_html" for HTML output. + +function onetime (fsuffix) +print("lwarpmk: Compiling with " .. latexname .. " " .. sourcename..fsuffix) +err = os.execute( +-- "echo " .. + latexname .. " " .. sourcename..fsuffix ) +if ( err ~= 0 ) then print ( "lwarpmk: Compile error.") ; os.exit(1) ; end +return (reruntoget(sourcename .. fsuffix .. ".log") ) ; +end + +-- Compile up to five times. +-- fsuffix is "" for print, "_html" for HTML output + +function manytimes (fsuffix) +if onetime(fsuffix) == true then +if onetime(fsuffix) == true then +if onetime(fsuffix) == true then +if onetime(fsuffix) == true then +if onetime(fsuffix) == true then +end end end end end +end + +-- Exit if the given file does not exist. + +function verifyfileexists (filename) +if (lfs.attributes ( filename , "modification" ) == nil ) then +print ( "lwarpmk: " .. filename .. " not found." ) ; +os.exit (1) ; +end +end + +-- Convert <project>_html.pdf into HTML files: + +function pdftohtml () + -- Convert to text: + print ("lwarpmk: Converting " .. sourcename .."_html.pdf to " .. sourcename .. "_html.html") + os.execute("pdftotext -enc UTF-8 -nopgbrk -layout " .. sourcename .. "_html.pdf " .. sourcename .. "_html.html") + -- Split the result into individual HTML files: + splitfile (homehtmlfilename .. ".html" , sourcename .. "_html.html") +end + +-- Remove auxiliary files: + +function removeaux () + os.execute ( rmname .. " " .. + sourcename ..".aux " .. sourcename .. "_html.aux " .. + sourcename ..".toc " .. sourcename .. "_html.toc " .. + sourcename ..".lof " .. sourcename .. "_html.lof " .. + sourcename ..".lot " .. sourcename .. "_html.lot " .. + sourcename ..".idx " .. sourcename .. "_html.idx " .. + sourcename ..".ind " .. sourcename .. "_html.ind " .. + sourcename ..".log " .. sourcename .. "_html.log " + ) +end + +-- lwarpmk --version : + +if (arg[1] == "--version") then +print ( "lwarpmk: " .. printversion ) + +else -- not -- version + +-- print intro: + +print ("lwarpmk: " .. printversion .. " Automated make for the LaTeX lwarp package.") + +-- lwarpmk print: + +if arg[1] == "print" then +loadconf () +if ( uselatexmk == "true" ) then + os.execute ( "latexmk -pdf -dvi- -ps- -pdflatex=\"" .. latexname .." %O %S\" " .. sourcename ..".tex" ) ; + print ("lwarpmk: Done.") +else -- not latexmk + verifyfileexists (sourcename .. ".tex") ; + -- See if up to date: + if ( + ( lfs.attributes ( sourcename .. ".pdf" , "modification" ) == nil ) or + ( + lfs.attributes ( sourcename .. ".tex" , "modification" ) > + lfs.attributes ( sourcename .. ".pdf" , "modification" ) + ) + ) then + -- Recompile if not yet up to date: + manytimes("") + print ("lwarpmk: Done.") ; + else + print ("lwarpmk: " .. sourcename .. ".pdf is up to date.") ; + end +end -- not latexmk + +-- lwarp printindex: +-- Compile the index then touch the source +-- to trigger a recompile of the document: + +elseif arg[1] == "printindex" then +loadconf () +print ("lwarpmk: Processing the index.") +os.execute("texindy -M lwarp_html.xdy " .. sourcename .. ".idx") +print ("lwarpmk: Forcing an update of " .. sourcename ..".tex.") +os.execute(touchname .. " " .. sourcename .. ".tex") +print ("lwarpmk: " .. sourcename ..".tex is ready to be recompiled.") +print ("lwarpmk: Done.") + +-- lwarpmk html: + +elseif arg[1] == "html" then +loadconf () +if ( uselatexmk == "true" ) then + -- The recorder option is required to detect changes in <project>.tex + -- while we are loading <project>_html.tex. + err=os.execute ( "latexmk -pdf -dvi- -ps- -recorder " + .. "-e '$makeindex = q/texindy -M lwarp_html.xdy/' " + .. "-pdflatex=\"" .. latexname .." %O %S\" " + .. sourcename .."_html.tex" ) ; + if ( err ~= 0 ) then print ( "lwarpmk: Compile error.") ; os.exit(1) ; end + pdftohtml () + print ("lwarpmk: Done.") +else -- not latexmk + verifyfileexists ( sourcename .. ".tex" ) ; + -- See if exists and is up to date: + if ( + ( lfs.attributes ( homehtmlfilename .. ".html" , "modification" ) == nil ) or + ( + lfs.attributes ( sourcename .. ".tex" , "modification" ) > + lfs.attributes ( homehtmlfilename .. ".html" , "modification" ) + ) + ) then + -- Recompile if not yet up to date: + manytimes("_html") + pdftohtml () + print ("lwarpmk: Done.") + else + print ("lwarpmk: " .. homehtmlfilename .. ".html is up to date.") + end +end -- not latexmk + +elseif arg[1] == "pdftohtml" then + loadconf () + pdftohtml () + +-- lwarpmk htmlindex: +-- Compile the index then touch the source +-- to trigger a recompile of the document: + +elseif arg[1] == "htmlindex" then +loadconf () +print ("lwarpmk: Processing the index.") +os.execute("texindy -M lwarp_html.xdy " .. sourcename .. "_html.idx") +print ("lwarpmk: Forcing an update of " .. sourcename ..".tex.") +os.execute(touchname .. " " .. sourcename .. ".tex") +print ("lwarpmk: " .. sourcename ..".tex is ready to be recompiled.") +print ("lwarpmk: Done.") + +-- lwarpmk limages: +-- Make the lateximages command file executable, +-- execute it to create the images, +-- then touch the source to trigger a recompile. + +elseif arg[1] == "limages" then +loadconf () +print ("lwarpmk: Processing images.") +os.execute(chmodcmd) +os.execute(lateximagesname) +print ("lwarpmk: Forcing an update of " .. sourcename ..".tex.") +os.execute(touchname .. " " .. sourcename .. ".tex") ; +print ("lwarpmk: " .. sourcename ..".tex is ready to be recompiled.") +print ("lwarpmk: Done.") + +-- lwarpmk again: +-- Touch the source to trigger a recompile. + +elseif arg[1] == "again" then +loadconf () +print ("lwarpmk: Forcing an update of " .. sourcename ..".tex.") +os.execute(touchname .. " " .. sourcename .. ".tex") ; +print ("lwarpmk: " .. sourcename ..".tex is ready to be recompiled.") +print ("lwarpmk: Done.") + +-- lwarpmk clean: +-- Remove project.aux, .toc, .lof, .lot, .idx, .ind, .log + +elseif arg[1] == "clean" then +loadconf () +removeaux () +print ("lwarpmk: Done.") + +-- lwarpmk cleanall +-- Remove project.aux, .toc, .lof, .lot, .idx, .ind, .log +-- and also project.pdf, *.html + +elseif arg[1] == "cleanall" then +loadconf () +removeaux () +os.execute ( rmname .. " " .. + sourcename .. ".pdf " .. sourcename .. "_html.pdf " .. + "*.html" + ) +print ("lwarpmk: Done.") + +-- lwarpmk with no argument : + +elseif (arg[1] == nil) then +printhelp () + +-- lwarpmk -h or lwarpmk --help : + +elseif (arg[1] == "-h" ) or (arg[1] == "--help") then +printusage () + +else +print ("lwarpmk: Unknown command \""..arg[1].."\".\n") +printhelp () +end + +end -- not --version +\end{VerbatimOut} + +\end{LWR@createlwarpmk} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-newproject.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty new file mode 100644 index 00000000000..711ff3ceec5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty @@ -0,0 +1,109 @@ +%% +%% This is file `lwarp-nowidow.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `nowidow') +%% This is a generated file. +%% Copyright 2016 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{nowidow} + +\newcommand*{\nowidow}[1][]{} +\newcommand*{\setnowidow}[1][]{} + +\newcommand*{\noclub}[1][]{} +\newcommand*{\setnoclub}[1][]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-nowidow.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty new file mode 100644 index 00000000000..2d76a78c1b1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty @@ -0,0 +1,107 @@ +%% +%% This is file `lwarp-pagenote.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `pagenote') +%% This is a generated file. +%% Copyright 2016 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{pagenote} +\renewcommand*{\makepagenote}{} +\RenewDocumentCommand{\printnotes}{s}{} +\renewcommand{\printnotes}[2][]{} +\renewcommand{\addtonotes}[1]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-pagenote.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty new file mode 100644 index 00000000000..07a3f90ab23 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty @@ -0,0 +1,103 @@ +%% +%% This is file `lwarp-placeins.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `placeins') +%% This is a generated file. +%% Copyright 2016 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{placeins} + +\newcommand*{\FloatBarrier}{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-placeins.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty new file mode 100644 index 00000000000..9b43e255b83 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty @@ -0,0 +1,124 @@ +%% +%% This is file `lwarp-ragged2e.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `ragged2e') +%% This is a generated file. +%% Copyright 2016 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{ragged2e} + +\newcommand*{\Centering}{\centering} +\newcommand*{\RaggedLeft}{\raggedleft} +\newcommand*{\RaggedRight}{\raggedright} +\newcommand*{\justifying}{} +\newlength{\CenteringLeftskip} +\newlength{\RaggedLeftLeftskip} +\newlength{\RaggedRightLeftskip} +\newlength{\CenteringRightskip} +\newlength{\RaggedLeftRightskip} +\newlength{\RaggedRightRightskip} +\newlength{\CenteringParfillskip} +\newlength{\RaggedLeftParfillskip} +\newlength{\RaggedRightParfillskip} +\newlength{\JustifyingParfillskip} +\newlength{\CenteringParindent} +\newlength{\RaggedLeftParindent} +\newlength{\RaggedRightParindent} +\newlength{\JustifyingParindent} +\newenvironment*{Center}{\center}{\endcenter} +\newenvironment*{FlushLeft}{\flushleft}{\endflushleft} +\newenvironment*{FlushRight}{\flushright}{\endflushright} +\newenvironment*{justify}{\justifying}{\endjustifying} + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-ragged2e.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty new file mode 100644 index 00000000000..35c5f3c45b9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty @@ -0,0 +1,115 @@ +%% +%% This is file `lwarp-rotating.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `rotating') +%% This is a generated file. +%% Copyright 2016 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{rotating} + +\let\sidewaystable\table +\let\endsidewaystable\endtable + +\let\sidewaysfigure\figure +\let\endsidewaysfigure\endfigure + +\newenvironment*{sideways}{}{} +\newenvironment*{turn}[1]{}{} +\newenvironment*{rotate}[1]{}{} +\NewDocumentCommand{\turnbox}{m +m}{#2} +\let\rotcaption\caption +\let\@makerotcaption\@makecaption + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-rotating.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty new file mode 100644 index 00000000000..39302b41018 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty @@ -0,0 +1,131 @@ +%% +%% This is file `lwarp-setspace.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `setspace') +%% This is a generated file. +%% Copyright 2016 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{setspace} + +\newcommand*{\setstretch}[1]{} +\newcommand*{\SetSinglespace}[1]{} +\newcommand*{\singlespacing}{} +\newcommand*{\onehalfspacing}{} +\newcommand*{\doublespacing}{} + +\newenvironment*{singlespace} +{\BlockClass{singlespace}} +{\endBlockClass} + +\newenvironment*{singlespace*} +{\BlockClass{singlespace}} +{\endBlockClass} + +\newenvironment*{spacing}[1]{ + +}{ + +} + +\newenvironment*{onehalfspace} +{\BlockClass{onehalfspace}} +{\endBlockClass} + +\newenvironment*{doublespace} +{\BlockClass{doublespace}} +{\endBlockClass} + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-setspace.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty new file mode 100644 index 00000000000..a904dcebc62 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty @@ -0,0 +1,120 @@ +%% +%% This is file `lwarp-textpos.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `textpos') +%% This is a generated file. +%% Copyright 2016 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{textpos} + +\NewDocumentEnvironment{textblock}{m r()}{}{} +\NewDocumentEnvironment{textblock*}{m o r()}{}{} +\newcommand*{\TPGrid}[3][]{} +\NewDocumentCommand{\TPMargin}{s o}{} +\newcommand*{\textblockcolour}[1]{} +\newcommand*{\textblockrulecolour}[1]{} +\newcommand*{\textblockcolor}[1]{} +\newcommand*{\textblockrulecolor}[1]{} +\newcommand*{\tekstblokkulur}[1]{} +\newcommand*{\tekstblokrulekulur}[1]{} +\newlength{\TPHorizModule} +\newlength{\TPVertModule} +\newlength{\TPboxrulesize} +\newcommand{\textblocklabel}[1]{} +\newcommand*{\showtextsize}{} +\newcommand{\textblockorigin}[2]{} + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-textpos.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty new file mode 100644 index 00000000000..c2a79f648bf --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty @@ -0,0 +1,119 @@ +%% +%% This is file `lwarp-threeparttable.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `threeparttable') +%% This is a generated file. +%% Copyright 2016 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{threeparttable} + +\newcommand{\LWR@printtablenote}[1]{\InlineClass{tnoteitemheader}{#1}} + +\newenvironment*{threeparttable}[1][b]{}{} + +\newenvironment*{tablenotes}[1][] +{% +\BlockClass{tnotes}% +\setlist[description]{format=\LWR@printtablenote}% +\description% +} +{% +\enddescription% +\endBlockClass% +} +\newcommand{\tnote}[1]{\textsuperscript{#1}} + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-threeparttable.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty new file mode 100644 index 00000000000..fdcf13ac5e4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty @@ -0,0 +1,153 @@ +%% +%% This is file `lwarp-titleps.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `titleps') +%% This is a generated file. +%% Copyright 2016 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{titleps} +\RenewDocumentCommand{\newpagestyle}{m o m}{} +\RenewDocumentCommand{\renewpagestyle}{m o m}{} + +\RenewDocumentCommand{\sethead}{o o o m m m}{} +\RenewDocumentCommand{\setfoot}{o o o m m m}{} + +\RenewDocumentCommand{\settitlemarks}{s m}{} + +\renewcommand*{\headrule}{} +\renewcommand*{\footrule}{} + +\renewcommand*{\setheadrule}[1]{} +\renewcommand*{\setfootrule}[1]{} + +\newcommand*{\makeheadrule}{} +\newcommand*{\makefootrule}{} + +\renewcommand{\setmarkboth}[1]{} + +\RenewDocumentCommand{\widenhead}{s o o m m}{} + +\renewcommand*{\bottitlemarks}{} +\renewcommand*{\toptitlemarks}{} +\renewcommand*{\firsttitlemarks}{} +\renewcommand*{\nexttoptitlemarks}{} +\renewcommand*{\outertitlemarks}{} +\renewcommand*{\innertitlemarks}{} + +\RenewDocumentCommand{\newtitlemark}{s m}{} + +\RenewDocumentCommand{\pretitlemark}{s m m}{} + +\renewcommand{\ifsamemark}[4]{} + +\NewDocumentCommand{\setfloathead}{s o o o m m m m m}{} +\NewDocumentCommand{\setfloatfoot}{s o o o m m m m m}{} + +\NewDocumentCommand{\nextfloathead}{s o o o m m m m m}{} +\NewDocumentCommand{\nextfloatfoot}{s o o o m m m m m}{} + +\newcommand{\newmarkset}[1]{} + +\NewDocumentCommand{\newextramarkset}{s m m}{} + +\newcommand{\botextramarks}[1]{} +\newcommand{\topextramarks}[1]{} +\newcommand{\firstextramarks}[1]{} +\newcommand{\nexttopextramarks}[1]{} +\newcommand{\outerextramarks}[1]{} +\newcommand{\innerextramarks}[1]{} + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-titleps.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty new file mode 100644 index 00000000000..06f42f4dd89 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty @@ -0,0 +1,138 @@ +%% +%% This is file `lwarp-titlesec.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `titlesec') +%% This is a generated file. +%% Copyright 2016 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{titlesec} + +\newcommand*{\titlelabel}[1]{} + +\newcommand\titleformat{% + \@ifstar{\ttl@format@s}% + {\ttl@format@i}} +\newcommand{\ttl@format@s}[1]{} +\NewDocumentCommand{\ttl@format@i}{m o m m m m o}{} + +\@ifundefined{@chapapp}{\let\@chapapp\chaptername}{} +\newcommand\chaptertitlename{\@chapapp} + +\NewDocumentCommand{\titlespacing}{s m m m m o}{} + +\newcommand*{\filright}{} +\newcommand*{\filcenter}{} +\newcommand*{\filleft}{} +\newcommand*{\fillast}{} +\newcommand*{\filinner}{} +\newcommand*{\filouter}{} + +\newcommand\wordsep{\fontdimen\tw@\font \@plus + \fontdimen\thr@@\font \@minus \fontdimen4\font} + +\NewDocumentCommand{\titleline}{s o m}{} + +\providecommand*\titlerule{\@ifstar{\ttl@row}{\ttl@rule}} +\newcommand*{\ttl@rule}[1][]{} +\newcommand*{\ttl@row}[2][]{} + +\newcommand{\iftitlemeasuring}[2]{#2} + +\newcommand{\assignpagestyle}[2]{#2} + +\NewDocumentCommand{\titleclass}{m o m o} + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-titlesec.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty new file mode 100644 index 00000000000..9e6aaa220cc --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty @@ -0,0 +1,133 @@ +%% +%% This is file `lwarp-titletoc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `titletoc') +%% This is a generated file. +%% Copyright 2016 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{titletoc} + +\NewDocumentCommand{\dottedcontents}{m o m m m}{} + +\newcommand{\titlecontents}{\@ifstar{\ttl@tcstar}{\ttl@tcnostar}} +\NewDocumentCommand{\ttl@tcstar}{m o m m m m o o o}{} +\NewDocumentCommand{\ttl@tcnostar}{m o m m m m o}{} + +\newcommand{\contentsmargin}[2][]{} + +\newcommand*{\thecontentslabel}{thecontentslabel} +\newcommand*{\thecontentspage}{thecontentspage} + +\newcommand{\contentslabel}[2][]{\thecontentslabel} +\newcommand{\contentspage}[1][]{\thecontentspage} + +\newcommand{\contentspush}[1]{} + +\newcommand{\contentsuse}[2]{} + +\newcommand*{\startcontents}[1][]{} +\newcommand*{\stopcontents}[1][]{} +\newcommand*{\resumecontents}[1][]{} + +\newcommand{\printcontents}[4][]{} + +\newcommand{\startlist}[2][]{} +\newcommand{\stoplist}[2][]{} +\newcommand{\resumelist}[2][]{} + +\newcommand{\printlist}[4][]{} + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-titletoc.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty new file mode 100644 index 00000000000..5a60982d962 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty @@ -0,0 +1,308 @@ +%% +%% This is file `lwarp-tocloft.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `tocloft') +%% This is a generated file. +%% Copyright 2016 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{tocloft} + +\newcommand{\tocloftpagestyle}[1]{} + +\newcommand*{\cftmarktoc}{} +\newcommand*{\cfttoctitlefont}{} +\newcommand*{\cftaftertoctitle}{} + +\newlength{\cftbeforetoctitleskip} +\newlength{\cftaftertoctitleskip} + +\newcommand*{\cftmarklof}{} +\newcommand*{\cftloftitlefont}{} +\newcommand*{\cftafterloftitle}{} + +\newlength{\cftbeforeloftitleskip} +\newlength{\cftafterloftitleskip} + +\newcommand*{\cftmarklot}{} +\newcommand*{\cftlottitlefont}{} +\newcommand*{\cftafterlottitle}{} + +\newlength{\cftbeforelottitleskip} +\newlength{\cftafterlottitleskip} + +\newcommand*{\cftdot}{.} +\providecommand*{\cftdotsep}{1} +\newcommand*{\cftnodots}{5000} + +\providecommand{\cftdotfill}[1]{} + +\newcommand*{\cftsetpnumwidth}[1]{} +\newcommand*{\cftsetrmarg}[1]{} + +\newcommand*{\cftpnumalign}[1]{} + +\newlength{\cftparskip} + +\newlength{\cftbeforepartskip} +\newlength{\cftpartindent} +\newlength{\cftpartnumwidth} +\newcommand*{\cftpartfont}{} +\newcommand*{\cftpartpresnum}{} +\newcommand*{\cftpartaftersnum}{} +\newcommand*{\cftpartaftersnumb}{} +\newcommand*{\cftpartleader}{} +\newcommand*{\cftpartdotsep}{1} +\newcommand*{\cftpartpagefont}{} +\newcommand*{\cftpartafterpnum}{} + +\newlength{\cftbeforechapskip} +\newlength{\cftchapindent} +\newlength{\cftchapnumwidth} +\newcommand*{\cftchapfont}{} +\newcommand*{\cftchappresnum}{} +\newcommand*{\cftchapaftersnum}{} +\newcommand*{\cftchapaftersnumb}{} +\newcommand*{\cftchapleader}{} +\newcommand*{\cftchapdotsep}{1} +\newcommand*{\cftchappagefont}{} +\newcommand*{\cftchapafterpnum}{} + +\newlength{\cftbeforesecskip} +\newlength{\cftsecindent} +\newlength{\cftsecnumwidth} +\newcommand*{\cftsecfont}{} +\newcommand*{\cftsecpresnum}{} +\newcommand*{\cftsecaftersnum}{} +\newcommand*{\cftsecaftersnumb}{} +\newcommand*{\cftsecleader}{} +\newcommand*{\cftsecdotsep}{1} +\newcommand*{\cftsecpagefont}{} +\newcommand*{\cftsecafterpnum}{} + +\newlength{\cftbeforesubsecskip} +\newlength{\cftsubsecindent} +\newlength{\cftsubsecnumwidth} +\newcommand*{\cftsubsecfont}{} +\newcommand*{\cftsubsecpresnum}{} +\newcommand*{\cftsubsecaftersnum}{} +\newcommand*{\cftsubsecaftersnumb}{} +\newcommand*{\cftsubsecleader}{} +\newcommand*{\cftsubsecdotsep}{1} +\newcommand*{\cftsubsecpagefont}{} +\newcommand*{\cftsubsecafterpnum}{} + +\newlength{\cftbeforesubsubsecskip} +\newlength{\cftsubsubsecindent} +\newlength{\cftsubsubsecnumwidth} +\newcommand*{\cftsubsubsecfont}{} +\newcommand*{\cftsubsubsecpresnum}{} +\newcommand*{\cftsubsubsecaftersnum}{} +\newcommand*{\cftsubsubsecaftersnumb}{} +\newcommand*{\cftsubsubsecleader}{} +\newcommand*{\cftsubsubsecdotsep}{1} +\newcommand*{\cftsubsubsecpagefont}{} +\newcommand*{\cftsubsubsecafterpnum}{} + +\newlength{\cftbeforeparaskip} +\newlength{\cftparaindent} +\newlength{\cftparanumwidth} +\newcommand*{\cftparafont}{} +\newcommand*{\cftparapresnum}{} +\newcommand*{\cftparaaftersnum}{} +\newcommand*{\cftparaaftersnumb}{} +\newcommand*{\cftparaleader}{} +\newcommand*{\cftparadotsep}{1} +\newcommand*{\cftparapagefont}{} +\newcommand*{\cftparaafterpnum}{} + +\newlength{\cftbeforesubparaskip} +\newlength{\cftsubparaindent} +\newlength{\cftsubparanumwidth} +\newcommand*{\cftsubparafont}{} +\newcommand*{\cftsubparapresnum}{} +\newcommand*{\cftsubparaaftersnum}{} +\newcommand*{\cftsubparaaftersnumb}{} +\newcommand*{\cftsubparaleader}{} +\newcommand*{\cftsubparadotsep}{1} +\newcommand*{\cftsubparapagefont}{} +\newcommand*{\cftsubparaafterpnum}{} + +\newlength{\cftbeforefigskip} +\newlength{\cftfigindent} +\newlength{\cftfignumwidth} +\newcommand*{\cftfigfont}{} +\newcommand*{\cftfigpresnum}{} +\newcommand*{\cftfigaftersnum}{} +\newcommand*{\cftfigaftersnumb}{} +\newcommand*{\cftfigleader}{} +\newcommand*{\cftfigdotsep}{1} +\newcommand*{\cftfigpagefont}{} +\newcommand*{\cftfigafterpnum}{} + +\newlength{\cftbeforesubfigskip} +\newlength{\cftsubfigindent} +\newlength{\cftsubfignumwidth} +\newcommand*{\cftsubfigfont}{} +\newcommand*{\cftsubfigpresnum}{} +\newcommand*{\cftsubfigaftersnum}{} +\newcommand*{\cftsubfigaftersnumb}{} +\newcommand*{\cftsubfigleader}{} +\newcommand*{\cftsubfigdotsep}{1} +\newcommand*{\cftsubfigpagefont}{} +\newcommand*{\cftsubfigafterpnum}{} + +\newlength{\cftbeforetabskip} +\newlength{\cfttabindent} +\newlength{\cfttabnumwidth} +\newcommand*{\cfttabfont}{} +\newcommand*{\cfttabpresnum}{} +\newcommand*{\cfttabaftersnum}{} +\newcommand*{\cfttabaftersnumb}{} +\newcommand*{\cfttableader}{} +\newcommand*{\cfttabdotsep}{1} +\newcommand*{\cfttabpagefont}{} +\newcommand*{\cfttabafterpnum}{} + +\newlength{\cftbeforesubtabskip} +\newlength{\cftsubtabindent} +\newlength{\cftsubtabnumwidth} +\newcommand*{\cftsubtabfont}{} +\newcommand*{\cftsubtabpresnum}{} +\newcommand*{\cftsubtabaftersnum}{} +\newcommand*{\cftsubtabaftersnumb}{} +\newcommand*{\cftsubtableader}{} +\newcommand*{\cftsubtabdotsep}{1} +\newcommand*{\cftsubtabpagefont}{} +\newcommand*{\cftsubtabafterpnum}{} + +\newcommand{\cftsetindents}[3]{} + +\newcommand{\pagenumbersoff}[1]{} +\newcommand{\pagenumberson}[1]{} + +\NewDocumentCommand{\newlistof}{o m m m} +{% +\IfValueTF{#1} +{\newfloat{#2}{tbp}{#3}[#1]} +{\newfloat{#2}{tbp}{#3}} +\@namedef{listof#2}{\listof{#2}{#4}} +\@namedef{#2depth}{1} +\expandafter\newlength\csuse{cftbefore#2skip} +\expandafter\newlength\csuse{cft#2indent} +\expandafter\newlength\csuse{cft#2numwidth} +\@namedef{cft#2font}{} +\@namedef{cft#2presnum}{} +\@namedef{cft#2aftersnum}{} +\@namedef{cft#2aftersnumb}{} +\@namedef{cft#2leader}{} +\@namedef{cft#2dotsep}{1} +\@namedef{cft#2pagefont}{} +\@namedef{cft#2afterpnum}{} +} + +\newcommand{\cftchapterprecis}[1]{% + \cftchapterprecishere{#1} + \cftchapterprecistoc{#1}} +\newcommand{\cftchapterprecishere}[1]{% + \begin{quote}\textit{#1}\end{quote}} +\newcommand{\cftchapterprecistoc}[1]{ + \addtocontents{toc}{% + { + \protect\begin{quote}#1\protect\end{quote}} + } +} + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-tocloft.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty new file mode 100644 index 00000000000..cdb8010297d --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty @@ -0,0 +1,122 @@ +%% +%% This is file `lwarp-trivfloat.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `trivfloat') +%% This is a generated file. +%% Copyright 2016 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{trivfloat} +\LWR@origRequirePackage{trivfloat} + +\begin{warpall} + + +\end{warpall} + + +\begin{warpHTML} + +\AtBeginDocument{\DeclareDocumentCommand{\tfl@chapter@fix}{m m}{}} + +\end{warpHTML} + +\begin{warpall} + + +\end{warpall} + + + + + + + + + +\endinput +%% +%% End of file `lwarp-trivfloat.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty new file mode 100644 index 00000000000..bcb1b273a30 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty @@ -0,0 +1,121 @@ +%% +%% This is file `lwarp-wallpaper.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `wallpaper') +%% This is a generated file. +%% Copyright 2016 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{wallpaper} + +\newcommand*{\CenterWallPaper}[2]{} +\newcommand*{\ThisCenterWallPaper}[2]{} +\newcommand*{\TileWallPaper}[3]{} +\newcommand*{\ThisTileWallPaper}[3]{} +\newcommand*{\TileSquareWallPaper}[2]{} +\newcommand*{\ThisTileSquareWallPaper}[2]{} +\newcommand*{\ULCornerWallPaper}[2]{} +\newcommand*{\ThisULCornerWallPaper}[2]{} +\newcommand*{\LLCornerWallPaper}[2]{} +\newcommand*{\ThisLLCornerWallPaper}[2]{} +\newcommand*{\URCornerWallPaper}[2]{} +\newcommand*{\ThisURCornerWallPaper}[2]{} +\newcommand*{\LRCornerWallPaper}[2]{} +\newcommand*{\ThisLRCornerWallPaper}[2]{} +\newcommand*{\ClearWallPaper}{} +\newlength{\wpXoffset} +\newlength{\wpYoffset} + + + + + + + + +\endinput +%% +%% End of file `lwarp-wallpaper.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty new file mode 100644 index 00000000000..97287cae619 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty @@ -0,0 +1,158 @@ +%% +%% This is file `lwarp-wrapfig.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `wrapfig') +%% This is a generated file. +%% Copyright 2016 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{wrapfig} + + +\newlength{\LWR@wrapwidth} + + +\newcommand*{\LWR@wrapposition}{} + +\newcommand*{\LWR@subwrapfigure}[2]{% +\LWR@maybeincthisfloat% +\renewcommand*{\LWR@wrapposition}{}% +\ifthenelse{% +\equal{#1}{r}\OR\equal{#1}{R}\OR% +\equal{#1}{o}\OR\equal{#1}{O}% +}% +{\renewcommand*{\LWR@wrapposition}{float:right}}% +{\renewcommand*{\LWR@wrapposition}{float:left}}% +\setlength{\LWR@wrapwidth}{#2}% +\addtolength{\LWR@wrapwidth}{4em}% +\uselengthunit{PT}% +\LWR@stoppars% +\LWR@htmltag{div class="marginblock" id="autofloat-\arabic{LWR@thisfloat}" +style="width:\rndprintlength{\LWR@wrapwidth} ; % +\LWR@wrapposition"% +} +\LWR@startpars +} + +\NewDocumentEnvironment{wrapfigure}{o m o m} +{% +\LWR@subwrapfigure{#2}{#4}% +\captionsetup{type=figure}% +} +{ +\LWR@htmldivclassend{div} +} + +\NewDocumentEnvironment{wraptable}{o m o m} +{% +\LWR@subwrapfigure{#2}{#4}% +\captionsetup{type=table}% +} +{ +\LWR@htmldivclassend{div} +} + +\NewDocumentEnvironment{wrapfloat}{m o m o m} +{% +\LWR@subwrapfigure{#3}{#5}% +\captionsetup{type=#1}% +} +{ +\LWR@htmldivclassend{div} +} + +\newlength{\wrapoverhang} + + + + + + + +\endinput +%% +%% End of file `lwarp-wrapfig.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty new file mode 100644 index 00000000000..fc82d74dd39 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty @@ -0,0 +1,142 @@ +%% +%% This is file `lwarp-xcolor.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `xcolor') +%% This is a generated file. +%% Copyright 2016 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{xcolor} + +\newcommand*{\LWR@tempcolor}{} + +\newcommand*{\LWR@currenttextcolor}{black} + +\NewDocumentCommand{\LWR@colorstyle}{m m m +m}{% +\convertcolorspec{#2}{#3}{HTML}\LWR@tempcolor% +\ifthenelse{\equal{#1}{color:}}% +{\renewcommand*{\LWR@currenttextcolor}{\#\LWR@tempcolor}}{}% +\LWR@htmltagc{span style="#1\#\LWR@tempcolor"{}}% +\begin{LWR@nestspan}% +#4% +\LWR@htmltagc{/span}% +\end{LWR@nestspan}% +\LWR@ensuredoingapar% +} + + + +\NewDocumentCommand{\LWR@textcolor}{O{named} m +m}{% +\begingroup% +\LWR@colorstyle{color:}{#1}{#2}{#3}% +\endgroup% +} + +\newcommand*{\LWR@pagecolor}[2][named]{} + +\NewDocumentCommand{\LWR@colorbox}{O{named} m m}{% +\begingroup% +\LWR@colorstyle{background:}{#1}{#2}{#3}% +\endgroup% +} + +\NewDocumentCommand{\LWR@fcolorbox}{O{named} m O{named} m m}{% +\begingroup% +\LWR@colorstyle{border:1px solid }{#1}{#2}% +{\LWR@colorstyle{background:}{#3}{#4}{#5}}% +\endgroup% +} + + + + + +\endinput +%% +%% End of file `lwarp-xcolor.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty new file mode 100644 index 00000000000..f4012f4c757 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty @@ -0,0 +1,162 @@ +%% +%% This is file `lwarp-xfrac.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `xfrac') +%% This is a generated file. +%% Copyright 2016 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{xfrac} + + + +\begin{warpall} + +\newcommand*{\xfracHTMLfontsize}{.6em} + +\end{warpall} + +\begin{warpHTML} + +\newcommand*{\LWR@htmlsmallfontstart}{% +\LWR@htmltagc{span style="font-size:\xfracHTMLfontsize"{}}% +\LWR@nestspan% +} + +\newcommand*{\LWR@htmlsmallfontend}{% +\LWR@htmltagc{/span}% +\endLWR@nestspan% +} +\NewDocumentCommand{\LWR@noscalebox}{m o m}{#3} + +\DeclareInstance{xfrac}{default}{text}{ +numerator-format = {% +\let\scalebox\LWR@noscalebox% +\LWR@htmlsmallfontstart\textsuperscript{#1}\,\LWR@htmlsmallfontend}, +denominator-format = {% +\let\scalebox\LWR@noscalebox% +\LWR@htmlsmallfontstart{}\,#1\LWR@htmlsmallfontend}, +scaling = false +} +\DeclareInstance{xfrac}{lmr}{text}{ +numerator-format = {% +\let\scalebox\LWR@noscalebox% +\LWR@htmlsmallfontstart\textsuperscript{#1}\,\LWR@htmlsmallfontend}, +denominator-format = {% +\let\scalebox\LWR@noscalebox% +\LWR@htmlsmallfontstart{}\,#1\LWR@htmlsmallfontend}, +scaling = false +} +\DeclareInstance{xfrac}{lmss}{text}{ +numerator-format = {% +\let\scalebox\LWR@noscalebox% +\LWR@htmlsmallfontstart\textsuperscript{#1}\,\LWR@htmlsmallfontend}, +denominator-format = {% +\let\scalebox\LWR@noscalebox% +\LWR@htmlsmallfontstart{}\,#1\LWR@htmlsmallfontend}, +scaling = false +} +\DeclareInstance{xfrac}{lmtt}{text}{ +numerator-format = {% +\let\scalebox\LWR@noscalebox% +\LWR@htmlsmallfontstart\textsuperscript{#1}\,\LWR@htmlsmallfontend}, +denominator-format = {% +\let\scalebox\LWR@noscalebox% +\LWR@htmlsmallfontstart{}\,#1\LWR@htmlsmallfontend}, +scaling = false +} + +\end{warpHTML} + + + +\endinput +%% +%% End of file `lwarp-xfrac.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty new file mode 100644 index 00000000000..783588c6652 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty @@ -0,0 +1,4861 @@ +%% +%% This is file `lwarp.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `package') +%% This is a generated file. +%% Copyright 2016 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. +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{lwarp} + [2017/02/09 v0.20 Allows LaTeX to directly produce HTML5 output.] + + + + + + + +\RequirePackage{iftex} + +\ifLuaTeX +\RequirePackage{luatex85}% until the geometry package is updated +\fi + +\RequirePackage{newunicodechar} + +\newunicodechar{⨯}{\texttimes} + +\ifPDFTeX +\newunicodechar{ff}{ff} +\newunicodechar{fi}{fi} +\newunicodechar{fl}{fl} +\newunicodechar{ffi}{ffi} +\newunicodechar{ffl}{ffl} +\newunicodechar{—}{---} +\newunicodechar{–}{--} +\RequirePackage{upquote} +\else +\fi +\RequirePackage{etoolbox}[2011/01/03] + +\RequirePackage{ifplatform}% sense op-system platform +\RequirePackage{comment} +\excludecomment{testing} + +\RequirePackage{kvoptions} +\SetupKeyvalOptions{family=LWR,prefix=LWR@} + +\newbool{warpingprint} +\newbool{warpingHTML} +\newbool{mathjax} + +\newcommand{\warpprintonly}[1]{\ifbool{warpingprint}{#1}{}} +\newcommand{\warpHTMLonly}[1]{\ifbool{warpingHTML}{#1}{}} + +\includecomment{warpall} + +\DeclareVoidOption{warpprint}{% +\PackageInfo{lwarp}{Using option 'warpprint'} +\includecomment{warpprint}% +\excludecomment{warpHTML}% +\booltrue{warpingprint}% +\boolfalse{warpingHTML}% +} + +\DeclareVoidOption{warpHTML}{% +\PackageInfo{lwarp}{Using option 'warpHTML'} +\excludecomment{warpprint}% +\includecomment{warpHTML}% +\booltrue{warpingHTML}% +\boolfalse{warpingprint}% +} + +\DeclareVoidOption{mathsvg}{% +\PackageInfo{lwarp}{Using option 'mathsvg'} +\boolfalse{mathjax}% +} +\DeclareVoidOption{mathjax}{% +\PackageInfo{lwarp}{Using option 'mathjax'} +\booltrue{mathjax}% +} + +\DeclareStringOption[\jobname]{BaseJobname} + +\includecomment{warpprint}% +\excludecomment{warpHTML}% +\booltrue{warpingprint}% +\boolfalse{warpingHTML}% +\boolfalse{mathjax}% + + +\ProcessKeyvalOptions*\relax + +\providecommand*{\BaseJobname}{\LWR@BaseJobname} + +\def\@nameedef#1{\expandafter\edef\csname #1\endcsname} + + + +\begin{warpall} + + +\RequirePackage{iftex} +\newif\ifxetexorluatex +\ifXeTeX + \xetexorluatextrue +\else + \ifLuaTeX + \xetexorluatextrue + \else + \xetexorluatexfalse + \fi +\fi + +\end{warpall} + +\begin{warpHTML} +\ifxetexorluatex +\defaultfontfeatures[\rmfamily]{Ligatures={NoCommon,TeX}} +\defaultfontfeatures[\sffamily]{Ligatures={NoCommon,TeX}} +\defaultfontfeatures[\ttfamily]{Ligatures=NoCommon} +\else + +\RequirePackage {microtype} + +\microtypesetup{ +protrusion=false, +expansion=false, +tracking=false, +kerning=false, +spacing=false} + +\DisableLigatures[f,q,t,T,Q]{encoding = *,family = *} +\fi +\end{warpHTML} + +\begin{warpHTML} +\RequirePackage[paperheight=190in,paperwidth=20in,% +left=7in,right=7in,% +top=1in,bottom=1in,% +]{geometry} +\end{warpHTML} + +\begin{warpall} + +\RequirePackage{xparse} + +\end{warpall} + +\begin{warpHTML} + +\RequirePackage{expl3} + + + +\RequirePackage{gettitlestring} + +\RequirePackage{everyhook} +\end{warpHTML} + +\begin{warpall} + +\RequirePackage{fancyvrb} + +\end{warpall} + +\begin{warpHTML} + +\RequirePackage{xifthen} + +\RequirePackage{xstring} + +\RequirePackage{makeidx} +\makeindex + +\RequirePackage{calc} + +\RequirePackage{newfloat} + +\RequirePackage{caption} + +\RequirePackage{subcaption} + +\RequirePackage{enumitem} +\setlist[itemize]{leftmargin=0em} +\setlist[enumerate]{leftmargin=0em} +\setlist[description]{leftmargin=0em} + +\RequirePackage[continuous]{pagenote} +\makepagenote +\let\LWR@origmakepagenote\makepagenote +\let\LWR@origprintnotes\printnotes +\let\LWR@origpagenote\pagenote +\end{warpHTML} + +\begin{warpall} + +\RequirePackage{titling} + +\end{warpall} + +\begin{warpHTML} + +\RequirePackage{zref} + +\PassOptionsToPackage{leqno,fleqn}{amsmath} +\RequirePackage{amsmath} + +\RequirePackage{environ} + +\RequirePackage[nopatches]{titleps} +\let\LWR@origpagestyle\pagestyle +\renewcommand*{\pagestyle}[1]{} +\let\LWR@origthispagestyle\thispagestyle +\renewcommand*{\thispagestyle}[1]{} +\let\LWR@origpagenumbering\pagenumbering +\renewcommand*{\pagenumbering}[1]{} + + +\RequirePackage{xfrac} + +\RequirePackage{printlen} + +\end{warpHTML} + +\begin{warpHTML} + +\let\LWR@origRequirePackage\RequirePackage + +\newcommand*{\LWR@requirepackagenames}{} + +\newcommand*\LWR@findword[3][,]{% + \StrBetween[#3,\numexpr#3+1]{#1#2#1}{#1}{#1}% +} +\newcommand*{\LWR@lookforpackagename}[1]{ +\LWR@findword{\LWR@requirepackagenames}{#1}[\LWR@strresult] +\IfStrEq{\LWR@strresult}{} +{}% no filename +{% yes filename +\IfFileExists{lwarp-\LWR@strresult.sty} +{% latex_html_ file found +\StrSubstitute +{\LWR@requirepackagenames} +{\LWR@strresult} +{lwarp-\LWR@strresult}[\LWR@requirepackagenames] +} +{}% no latex_html_* file +}% yes filename +} +\RenewDocumentCommand{\RequirePackage}{o m o}{% +\renewcommand*{\LWR@requirepackagenames}{#2} +\LWR@lookforpackagename{1} +\LWR@lookforpackagename{2} +\LWR@lookforpackagename{3} +\LWR@lookforpackagename{4} +\LWR@lookforpackagename{5} +\LWR@lookforpackagename{6} +\LWR@lookforpackagename{7} +\LWR@lookforpackagename{8} +\LWR@lookforpackagename{9} +\IfValueTF{#1} +{% options given +\IfValueTF{#3}% version given? +{\LWR@origRequirePackage[#1]{\LWR@requirepackagenames}[#3]} +{\LWR@origRequirePackage[#1]{\LWR@requirepackagenames}} +} +{% no options given +\IfValueTF{#3}% version given? +{\LWR@origRequirePackage{\LWR@requirepackagenames}[#3]} +{\LWR@origRequirePackage{\LWR@requirepackagenames}} +} +} +\let\usepackage\RequirePackage + +\NewDocumentCommand{\LWR@ProvidesPackagePass}{m o}{ +\PackageInfo{lwarp}{Using the lwarp version of package `#1', including options,}% +\IfValueTF{#2} +{\ProvidesPackage{lwarp-#1}[#2]} +{\ProvidesPackage{lwarp-#1}} +\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{#1}} +\ProcessOptions\relax + +\IfValueTF{#2} +{\LWR@origRequirePackage{#1}[#2]} +{\LWR@origRequirePackage{#1}} +} + +\NewDocumentCommand{\LWR@ProvidesPackageDrop}{m o}{ +\PackageInfo{lwarp}{Using the lwarp version of package `#1', discarding options,}% +\IfValueTF{#2} +{\ProvidesPackage{lwarp-#1}[#2]} +{\ProvidesPackage{lwarp-#1}} +\DeclareOption*{} +\ProcessOptions\relax +} + +\end{warpHTML} + + +\begin{warpHTML} + +\newcommand*{\LWR@copyfile}[2]{% +\newwrite\copyfile % open the file to write to +\immediate\openout\copyfile=#2 +\newread\file % open the file to read from +\openin\file=#1 +\begingroup\endlinechar=-1 +\makeatletter +\loop\unless\ifeof\file + \read\file to\fileline % Read one line and store it into \fileline + \immediate\write\copyfile{\unexpanded\expandafter{\fileline}}% +\repeat +\closeout\copyfile +\endgroup +} + +\end{warpHTML} + + +\newbool{LWR@tracinglwarp} +\newcommand{\tracinglwarp}{\booltrue{LWR@tracinglwarp}} +\newcommand{\LWR@traceinfo}[1]{% +\ifbool{LWR@tracinglwarp}% +{\PackageInfo{lwarp}{#1 : }}% +{}% +} + + +\begin{warpHTML} + +\let\LWR@origtextit\textit +\let\LWR@origtextbf\textbf +\let\LWR@origtexttt\texttt +\let\LWR@origtextsc\textsc +\let\LWR@origtextsf\textsf +\let\LWR@origtextrm\textrm +\let\LWR@origbfseries\bfseries +\let\LWR@origrmfamily\rmfamily +\let\LWR@origttfamily\ttfamily +\let\LWR@orignormalfont\normalfont + +\let\LWR@origraggedright\raggedright +\let\LWR@origonecolumn\onecolumn + +\let\LWR@origtextsuperscript\textsuperscript +\let\LWR@origtextsubscript\textsubscript + +\let\LWR@origscriptsize\scriptsize + +\let\LWR@orignewpage\newpage + +\let\LWR@origminipage\minipage +\let\LWR@origendminipage\endminipage + +\let\LWR@orignewline\newline + +\let\LWR@origitem\item + +\let\LWR@origpar\par + +\let\LWR@origfootnote\footnote +\let\LWR@orig@mpfootnotetext\@mpfootnotetext + +\let\LWR@origclearpage\clearpage +\let\clearpage\relax +\let\cleardoublepage\relax + +\end{warpHTML} + +\begin{warpall} +\newbool{usingOSwindows} +\boolfalse{usingOSwindows} + + +\newcommand*{\OSPathSymbol}{/} + +\newcommand*{\OSmkdir}{mkdir } % trailing space is required + +\newcommand*{\OSrm}{rm } + +\newcommand*{\OSmv}{mv } + +\newcommand*{\OSShellPath}{/bin/sh} + + +\newcommand*{\warpOSwindows} +{ +\booltrue{usingOSwindows} +\renewcommand*{\OSPathSymbol}{\@backslashchar} +\renewcommand*{\OSmkdir}{MD } +\renewcommand*{\OSrm}{DEL } +\renewcommand*{\OSmv}{MOVE } +} +\ifwindows +\warpOSwindows +\fi + +\end{warpall} + + +\begin{warpHTML} + + + +\newcommand*{\LWR@depthnone}{-5} +\newcommand*{\LWR@depthfinished}{-4} +\newcommand*{\LWR@depthpart}{-1} +\newcommand*{\LWR@depthchapter}{0} +\newcommand*{\LWR@depthsection}{1} +\newcommand*{\LWR@depthsubsection}{2} +\newcommand*{\LWR@depthsubsubsection}{3} +\newcommand*{\LWR@depthparagraph}{4} +\newcommand*{\LWR@depthsubparagraph}{5} +\newcommand*{\LWR@depthlist}{6} +\newcommand*{\LWR@depthlistitem}{7} + + +\newcommand*{\LWR@closeone}{}% top of the stack +\newcommand*{\LWR@closetwo}{} +\newcommand*{\LWR@closethree}{} +\newcommand*{\LWR@closefour}{} +\newcommand*{\LWR@closefive}{} +\newcommand*{\LWR@closesix}{} +\newcommand*{\LWR@closeseven}{} +\newcommand*{\LWR@closeeight}{} +\newcommand*{\LWR@closenine}{} +\newcommand*{\LWR@closeten}{} +\newcommand*{\LWR@closeeleven}{} +\newcommand*{\LWR@closetwelve}{} + + + + +\newcommand*{\LWR@closedepthone}{\LWR@depthnone}% top of the stack +\newcommand*{\LWR@closedepthtwo}{\LWR@depthnone} +\newcommand*{\LWR@closedepththree}{\LWR@depthnone} +\newcommand*{\LWR@closedepthfour}{\LWR@depthnone} +\newcommand*{\LWR@closedepthfive}{\LWR@depthnone} +\newcommand*{\LWR@closedepthsix}{\LWR@depthnone} +\newcommand*{\LWR@closedepthseven}{\LWR@depthnone} +\newcommand*{\LWR@closedeptheight}{\LWR@depthnone} +\newcommand*{\LWR@closedepthnine}{\LWR@depthnone} +\newcommand*{\LWR@closedepthten}{\LWR@depthnone} +\newcommand*{\LWR@closedeptheleven}{\LWR@depthnone} +\newcommand*{\LWR@closedepthtwelve}{\LWR@depthnone} + + + +\NewDocumentCommand{\pushclose}{m m} +{ +\let\LWR@closetwelve\LWR@closeeleven +\let\LWR@closeeleven\LWR@closeten +\let\LWR@closeten\LWR@closenine +\let\LWR@closenine\LWR@closeeight +\let\LWR@closeeight\LWR@closeseven +\let\LWR@closeseven\LWR@closesix +\let\LWR@closesix\LWR@closefive +\let\LWR@closefive\LWR@closefour +\let\LWR@closefour\LWR@closethree +\let\LWR@closethree\LWR@closetwo +\let\LWR@closetwo\LWR@closeone +\let\LWR@closeone#1 +\let\LWR@closedepthtwelve\LWR@closedeptheleven +\let\LWR@closedepthelevel\LWR@closedepthten +\let\LWR@closedepthten\LWR@closedepthnine +\let\LWR@closedepthnine\LWR@closedeptheight +\let\LWR@closedeptheight\LWR@closedepthseven +\let\LWR@closedepthseven\LWR@closedepthsix +\let\LWR@closedepthsix\LWR@closedepthfive +\let\LWR@closedepthfive\LWR@closedepthfour +\let\LWR@closedepthfour\LWR@closedepththree +\let\LWR@closedepththree\LWR@closedepthtwo +\let\LWR@closedepthtwo\LWR@closedepthone +\let\LWR@closedepthone#2 +} + + +\newcommand*{\popclose} +{ +\let\LWR@closeone\LWR@closetwo +\let\LWR@closetwo\LWR@closethree +\let\LWR@closethree\LWR@closefour +\let\LWR@closefour\LWR@closefive +\let\LWR@closefive\LWR@closesix +\let\LWR@closesix\LWR@closeseven +\let\LWR@closeseven\LWR@closeeight +\let\LWR@closeeight\LWR@closenine +\let\LWR@closenine\LWR@closeten +\let\LWR@closeten\LWR@closeeleven +\let\LWR@closeeleven\LWR@closetwelve +\let\LWR@closedepthone\LWR@closedepthtwo +\let\LWR@closedepthtwo\LWR@closedepththree +\let\LWR@closedepththree\LWR@closedepthfour +\let\LWR@closedepthfour\LWR@closedepthfive +\let\LWR@closedepthfive\LWR@closedepthsix +\let\LWR@closedepthsix\LWR@closedepthseven +\let\LWR@closedepthseven\LWR@closedeptheight +\let\LWR@closedeptheight\LWR@closedepthnine +\let\LWR@closedepthnine\LWR@closedepthten +\let\LWR@closedepthten\LWR@closedeptheleven +\let\LWR@closedeptheleven\LWR@closedepthtwelve +} + +\end{warpHTML} + +\begin{warpHTML} +\NewDocumentCommand{\LWR@setexparray}{m m m}{% +\expandafter\edef\csname #1#2\endcsname{\expandonce#3}% +} +\newcommand*{\LWR@getexparray}[2]{\csuse{#1#2}} + +\end{warpHTML} + + +\begin{warpHTML} + +\let\LWR@origampersand\& +\newcommand*{\HTMLentity}[1]{\LWR@origampersand#1;} +\newcommand*{\HTMLunicode}[1]{\HTMLentity{\#x#1}} + +\renewcommand*{\&}{\HTMLentity{amp}} + +\let\LWR@origtextless\textless +\renewcommand*{\textless}{\HTMLentity{lt}} + +\let\LWR@origtextgreater\textgreater +\renewcommand*{\textgreater}{\HTMLentity{gt}} + +\end{warpHTML} + + + +\begin{warpall} + +\providecommand*{\BaseJobname}{\jobname} + +\providecommand*{\HTMLFileName}{} +\providecommand*{\HomeHTMLFileName}{\BaseJobname} + +\newcommand*{\SetHTMLFileNumber}[1]{% +\setcounter{LWR@htmlfilenumber}{#1}% +} + +\newbool{FileSectionNames} +\booltrue{FileSectionNames} + +\end{warpall} + +\begin{warpHTML} + +\newcounter{LWR@htmlfilenumber} +\setcounter{LWR@htmlfilenumber}{0} + +\newcommand*{\LWR@htmlsectionfilename}[1]{% +\LWR@traceinfo{LWR@htmlsectionfilename A}% +\LWR@traceinfo{about to assign temp}% +\edef\LWR@tempone{#1}% +\LWR@traceinfo{about to compare with ??}% +\ifthenelse{\equal{\LWR@tempone}{??}}% +{% +\LWR@traceinfo{found ??}% +}{% +\LWR@traceinfo{not found ??}% +}% +\LWR@traceinfo{about to compare with zero or empty}% +\ifthenelse{% +\equal{\LWR@tempone}{0}% +\OR \equal{\LWR@tempone}{}% +\OR \equal{\LWR@tempone}{??}% +}% +{% +\LWR@traceinfo{LWR@htmlsectionfilename B \HomeHTMLFileName.html}% +\HomeHTMLFileName.html% +}% +{% +\LWR@traceinfo{LWR@htmlsectionfilename C}% +\ifthenelse{% +\equal{\HTMLFileName}{} \AND \equal{\LWR@tempone}{Index} \OR \equal{\LWR@tempone}{index}% +}% +{\_#1.html}% +{\HTMLFileName#1.html}% +}% +\LWR@traceinfo{LWR@htmlsectionfilename Z}% +} + +\newcommand*{\LWR@htmlrefsectionfilename}[1]{% +\LWR@traceinfo{LWR@htmlrefsectionfilename A: !#1!}% +\LWR@htmlsectionfilename{\LWR@htmlfileref{#1}}% +\LWR@traceinfo{LWR@htmlrefsectionfilename B}% +} + +\end{warpHTML} + + +\begin{warpHTML} + +\newcommand*{\LinkHome}{% +\LWR@subhyperrefclass{% +\HomeHTMLFileName.html}% +{Home}{linkhome}% +} + +\newcommand*{\LWR@topnavigation}{ +\LWR@htmlelementclassline{nav}{topnavigation}{\LinkHome} +} + +\newcommand*{\LWR@botnavigation}{ +\LWR@htmlelementclassline{nav}{botnavigation}{\LinkHome} +} + +\end{warpHTML} + + + +\begin{warpHTML} + +\newcommand*{\PrintStack}{ +\LWR@startpars +\LWR@closedepthone{} \LWR@closedepthtwo{} \LWR@closedepththree{} +\LWR@closedepthfour{} \LWR@closedepthfive{} \LWR@closedepthsix{} +\LWR@closedepthseven{} \LWR@closedeptheight{} \LWR@closedepthnine{} +\LWR@closedepthten{} \LWR@closedeptheleven{} \LWR@closedepthtwelve{} +} + +\end{warpHTML} + + +\begin{warpHTML} + +\newcommand*{\LWR@closeoneprevious}{% + +\LWR@closeone{} + +\popclose{} +} + +\newcommand*{\LWR@closeprevious}[1]{ +\LWR@stoppars +\whiledo{\not\(\LWR@closedepthone<#1\)}{\LWR@closeoneprevious} +} + +\end{warpHTML} + + +\begin{warpHTML} + + +\newcommand*{\LWR@tagpart}{h2} +\newcommand*{\LWR@tagpartend}{/h2} +\newcommand*{\LWR@tagchapter}{h3} +\newcommand*{\LWR@tagchapterend}{/h3} +\newcommand*{\LWR@tagsection}{h4} +\newcommand*{\LWR@tagsectionend}{/h4} +\newcommand*{\LWR@tagsubsection}{h5} +\newcommand*{\LWR@tagsubsectionend}{/h5} +\newcommand*{\LWR@tagsubsubsection}{h6} +\newcommand*{\LWR@tagsubsubsectionend}{/h6} +\newcommand*{\LWR@tagparagraph}{span class="paragraph"{}} +\newcommand*{\LWR@tagparagraphend}{/span} +\newcommand*{\LWR@tagsubparagraph}{span class="subparagraph"{}} +\newcommand*{\LWR@tagsubparagraphend}{/span} + +\newcommand*{\LWR@tagregularparagraph}{p} + + +\newcommand*{\LWR@htmltagc}[1]{% +{% +\LWR@origttfamily% +\LWR@origtextless#1\LWR@origtextgreater% +}% +} + +\newenvironment*{LWR@nestspan} +{% +\addtocounter{LWR@spandepth}{1}% +\RenewDocumentEnvironment{minipage}{O{t} o O{t} m}{}{}% +}% +{\addtocounter{LWR@spandepth}{-1}} + +\NewDocumentCommand{\LWR@htmlspan}{m +m}{% +\LWR@ensuredoingapar% +\LWR@htmltagc{#1}% +\begin{LWR@nestspan}% +#2% +\LWR@htmltagc{/#1}% +\end{LWR@nestspan}% +} + +\NewDocumentCommand{\LWR@htmlspanclass}{m o +m}{% +\LWR@ensuredoingapar% +\LWR@subhtmlelementclass{span}{#1}[#2]% +\begin{LWR@nestspan}% +#3% +\LWR@htmltagc{/span}% +\end{LWR@nestspan}% +} + + +\newcommand*{\LWR@htmltagb}[1]{% +\LWR@htmltagc{#1}% +\endgroup% +} + +\newcommand*{\LWR@htmltag}{% +\begingroup\catcode`\_=12 +\LWR@htmltagb% +} + + +\newcommand*{\LWR@htmlopencomment}{% +\begingroup\LWR@origttfamily\LWR@origtextless{}!{-}{-}\endgroup% +} + +\newcommand*{\LWR@htmlclosecomment}{% +\begingroup\LWR@origttfamily{-}{-}\LWR@origtextgreater{}\endgroup% +} + +\newcommand{\LWR@htmlcomment}[1]{% +\LWR@htmlopencomment{}% +\LWR@origtextrm{#1}% +\LWR@htmlclosecomment{}} +\newcommand{\LWR@htmlblockcommentb}[1] +{\LWR@stoppars\LWR@htmlcomment{#1}\LWR@startpars\endgroup} + +\newcommand{\LWR@htmlblockcomment} +{% +\begingroup\catcode`\_=12% +\LWR@htmlblockcommentb% +} + +\newcommand*{\LWR@htmlblocktag}[1]{% +\LWR@stoppars% +\LWR@htmltag{#1}% +\LWR@startpars% +} + +\NewDocumentCommand{\LWR@htmlblocktagcomment}{m +m}{% +\LWR@stoppars% +\LWR@htmltag{#1}\LWR@htmlcomment{#2}\LWR@orignewline% +\LWR@startpars% +} + + +\NewDocumentCommand{\LWR@subhtmlelementclass}{m m o}{% +\IfValueTF{#3}% +{% option +\ifthenelse{\equal{#3}{}}% +{\LWR@htmltag{#1 class="#2"}}% empty option +{\LWR@htmltag{#1 class="#2" style="#3"}}% non-empty option +}% option +{\LWR@htmltag{#1 class="#2"}}% no option +} + +\NewDocumentCommand{\LWR@htmlelementclass}{m m o}{% +\LWR@stoppars% +\LWR@subhtmlelementclass{#1}{#2}[#3]% +\LWR@startpars% +} + +\newcommand*{\LWR@htmlelementclassend}[2]{% +\LWR@stoppars% +\LWR@htmltag{/#1}% +\LWR@htmlcomment{End of #1 ``#2''}% +\LWR@startpars% +} + +\NewDocumentCommand{\LWR@htmldivclass}{m o}{% +\LWR@htmlelementclass{div}{#1}[#2]% +} + +\newcommand*{\LWR@htmldivclassend}[1]{% +\LWR@htmlelementclassend{div}{#1}% +} + + + +\NewDocumentCommand{\LWR@htmlelementclassline}{m m o +m}{% +\LWR@stoppars +\LWR@subhtmlelementclass{#1}{#2}[#3]% +#4% +\LWR@htmltag{/#1} +\LWR@startpars +} + + +\newcommand*{\LWR@htmlelement}[1]{% +\LWR@htmlblocktag{#1} +} + +\newcommand*{\LWR@htmlelementend}[1]{% +\LWR@stoppars +\LWR@htmltag{/#1} +\LWR@startpars +} + +\end{warpHTML} + + + + +\begin{warpHTML} +\NewDocumentEnvironment{BlockClass}{m o} +{ +\LWR@htmldivclass{#1}[#2] +} +{ +\LWR@htmldivclassend{#1} +} +\end{warpHTML} +\begin{warpprint} +\NewDocumentEnvironment{BlockClass}{m o}{}{} +\end{warpprint} +\begin{warpHTML} +\newcommand{\BlockClassSingle}[2]{% +\LWR@htmlelementclassline{div}{#1}{#2}% +} +\end{warpHTML} +\begin{warpprint} +\newcommand{\BlockClassSingle}[2]{#2} +\end{warpprint} + +\begin{warpHTML} +\NewDocumentCommand{\InlineClass}{m o m}{% +\LWR@htmlspanclass{#1}[#2]{#3}% +} +\end{warpHTML} +\begin{warpprint} +\NewDocumentCommand{\InlineClass}{m o m}{#3} +\end{warpprint} + + +\begin{warpHTML} + +\newcommand*{\LWR@printclosepart} + {\LWR@htmlcomment{Closing part}} +\newcommand*{\LWR@printclosechapter} + {\LWR@htmlcomment{Closing chapter}} +\newcommand*{\LWR@printclosesection} + {\LWR@htmlcomment{Closing section}} +\newcommand*{\LWR@printclosesubsection} + {\LWR@htmlcomment{Closing subsection}} +\newcommand*{\LWR@printclosesubsubsection} + {\LWR@htmlcomment{Closing subsubsection}} +\newcommand*{\LWR@printcloseparagraph} + {\LWR@htmlcomment{Closing paragraph}} +\newcommand*{\LWR@printclosesubparagraph} + {\LWR@htmlcomment{Closing subparagraph}} + +\newcommand*{\LWR@printcloselistitem} + {\LWR@htmltag{/li}} +\newcommand*{\LWR@printclosedescitem} + {\LWR@htmltag{/dd}} +\newcommand*{\LWR@printcloseitemize} + {\LWR@htmltag{/ul}} +\newcommand*{\LWR@printcloseenumerate} + {\LWR@htmltag{/ol}} +\newcommand*{\LWR@printclosedescription} + {\LWR@htmltag{/dl}} + +\end{warpHTML} + + +\begin{warpHTML} + +\newcounter{LWR@spandepth} +\setcounter{LWR@spandepth}{0} + +\newbool{LWR@doingstartpars} +\boolfalse{LWR@doingstartpars} + +\newbool{LWR@doingapar} +\global\boolfalse{LWR@doingapar} + +\newcommand*{\LWR@ensuredoingapar}{% +\ifbool{LWR@doingstartpars}% +{\global\booltrue{LWR@doingapar}}% +{}% +} + +\newcommand*{\LWR@openparagraph} +{% +\ifbool{LWR@doingstartpars}% +{% handling pars +\ifthenelse{% +\cnttest{\value{LWR@lateximagedepth}}{>}{0} \OR% +\cnttest{\value{LWR@spandepth}}{>}{0}% +}% nested par tags? +{}% no nested par tags +{% yes nest par tags +\LWR@htmltagc{\LWR@tagregularparagraph}% +\ifnumcomp{\@listdepth}{>}{0}% +{% +\LWR@orighspace{1in}% +}{}% +\global\booltrue{LWR@doingapar}% +\let\par\LWR@closeparagraph% +}% end of yes nest par tags +}% end of handling pars +{}% not handling pars +} + +\newcommand*{\LWR@closeparagraph} +{% +\ifbool{LWR@doingapar}% +{% handling pars +\ifthenelse{% +\cnttest{\value{LWR@lateximagedepth}}{>}{0} \OR% +\cnttest{\value{LWR@spandepth}}{>}{0}% +}% +{% no nested par tags +\ifthenelse{% +\cnttest{\value{LWR@spandepth}}{>}{0}% +\AND% +\cnttest{\value{LWR@lateximagedepth}}{=}{0}% +}% +{% +\ifbool{LWR@intabularmetadata}{}{\unskip\LWR@htmltagc{br /}}% +}% +{}% +}% no nested par tags +{% yes nest par tags +\unskip% +\LWR@htmltagc{/\LWR@tagregularparagraph}% +\global\boolfalse{LWR@doingapar}% +\global\boolfalse{LWR@minipagethispar}% +}% end of yes nest par tags +}% end of handling pars +{% not handling pars +\ifthenelse{\cnttest{\value{LWR@spandepth}}{>}{0}}% +{\ifbool{LWR@intabularmetadata}{}{\unskip\LWR@htmltagc{br /}}}% +{}% +}% not handling pars +\LWR@origpar% +} + +\end{warpHTML} + + +\begin{warpHTML} + +\newcommand*{\LWR@startpars}% +{% +\ifbool{LWR@doingstartpars}% +{}% +{% +\PushPreHook{par}{\LWR@openparagraph}% +\let\par\LWR@closeparagraph + +}% an intentionally blank line +\global\setbool{LWR@doingstartpars}{true}% +\global\boolfalse{LWR@doingapar}% +} + +\newcommand*{\LWR@stoppars}% +{% +\ifbool{LWR@doingapar}% +{% +\unskip% +\LWR@htmltagc{/\LWR@tagregularparagraph}% +\global\boolfalse{LWR@doingapar}% +\global\boolfalse{LWR@minipagethispar} + +}% an intentionally blank line +{}% +\ifbool{LWR@doingstartpars}% +{% +\ClearPreHook{par}% +}% +{}% +\global\setbool{LWR@doingstartpars}{false}% +\global\boolfalse{LWR@doingapar}% +} + +\end{warpHTML} + + +\begin{warpall} + +\newcommand{\LWR@firstpagetop}{} % for the home page alone +\newcommand{\LWR@pagetop}{} % for all other pages +\newcommand{\LWR@pagebottom}{} + +\newcommand{\LWR@setfirstpagetopb}[1]{% +\renewcommand{\LWR@firstpagetop}{#1} +\catcode`\_=8 +} +\newcommand{\SetFirstPageTop}{% +\catcode`\_=12 +\LWR@setfirstpagetopb +} +\newcommand{\LWR@setpagetopb}[1]{% +\renewcommand{\LWR@pagetop}{#1} +\catcode`\_=8 +} +\newcommand{\SetPageTop}{% +\catcode`\_=12 +\LWR@setpagetopb +} +\newcommand{\LWR@setpagebottomb}[1]{% +\renewcommand{\LWR@pagebottom}{#1} +\catcode`\_=8 +} +\newcommand{\SetPageBottom}{% +\catcode`\_=12 +\LWR@setpagebottomb +} + +\end{warpall} + + +\begin{warpHTML} + + +\newcommand*{\LWR@currentcss}{lwarp.css} + +\newcommand*{\LWR@newcssb}[1]{% +\renewcommand*{\LWR@currentcss}{#1} +\catcode`\_=8 +} + +\newcommand*{\NewCSS}{ +\catcode`\_=12 +\LWR@newcssb +} +\end{warpHTML} +\begin{warpprint} +\newcommand*{\NewCSS}[1]{} +\end{warpprint} + + +\begin{warpHTML} + + +\newcommand{\LWR@currentHTMLdescription}{} + +\newcommand{\NewHTMLdescription}[1]{% +\renewcommand{\LWR@currentHTMLdescription}{#1} +} + +\end{warpHTML} +\begin{warpprint} +\newcommand{\NewHTMLdescription}[1]{} +\end{warpprint} + +\begin{warpHTML} + +\AtEndPreamble{ + +\renewcommand*{\notedivision} + {\BlockClassSingle{footnoteheader}{}} + + +\renewcommand{\pagenotesubhead}[2]{} +\let\footnote\LWR@origpagenote +\renewcommand{\notenuminnotes}[1]{% + \textsuperscript{#1} } + +\let\LWR@orignoteentry\noteentry +\renewcommand{\noteentry}[4]{% +\begingroup% +\renewcommand*{\@currentlabel}{#1}% +\renewcommand*{\cref@currentlabel}{[pagenote][#1][]{#1}}% +\LWR@orignoteentry{#1}{#2}{#3}{#4}% +\endgroup% +} + +\newcommand*{\LWR@printpendingnotes}{ +\ifthenelse{\cnttest{\value{pagenote}}{>}{0}}% +{ +\begin{BlockClass}{footnotes} +\LWR@origprintnotes* +\setcounter{pagenote}{0} +\end{BlockClass} +} +{} +} + +}% \AtEndPreamble + +\end{warpHTML} + +\begin{warpHTML} + +\renewcommand{\marginpar}[2][]{% +\LWR@htmlspanclass{marginpar}{#2}% +} + +\end{warpHTML} + + +\begin{warpall} + +\newcounter{FileDepth} +\setcounter{FileDepth}{-5} + +\newbool{CombineHigherDepths} +\booltrue{CombineHigherDepths} + +\end{warpall} + +\begin{warpHTML} + +\newcommand*{\LWR@thisfilename}{} + +\newcommand*{\LWR@thisnewfilename}{} + +\newcommand*{\LWR@filenamenoblanks}[1]{% +\begingroup + +\renewcommand*{\HTMLunicode}[1]{} +\renewcommand*{\HTMLentity}[1]{##1} +\renewcommand*{\LWR@htmltagc}[1]{} +\DeclareExpandableDocumentCommand{\InlineClass}{m o m}{##3} +\renewcommand*{\&}{and} +\renewcommand{\textit}[1]{##1} +\renewcommand{\textsc}[1]{##1} +\renewcommand{\textsl}[1]{##1} +\renewcommand{\textbf}[1]{##1} +\renewcommand{\texttt}[1]{##1} +\renewcommand{\textsf}[1]{##1} +\renewcommand{\textrm}[1]{##1} +\renewcommand{\textsuperscript}[1]{##1} +\renewcommand{\textsubscript}[1]{##1} +\edef\LWR@thisnewfilename{#1} +\fullexpandarg +\StrSubstitute{\LWR@thisnewfilename}{ }{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{,}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{'}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}% +{\LWR@origampersand}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{+}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{,}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{/}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{:}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{;}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{=}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{?}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{@}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{"}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}% +{\textless}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}% +{\textgreater}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{\#}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{\%}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{\{}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{\}}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{|}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}% +{\textbackslash}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{^}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{~{}}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{[}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{]}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{`}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-s-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-S-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-a-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-A-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-an-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-AN-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-to-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-TO-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-by-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-BY-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-of-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-OF-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-and-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-AND-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-for-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-FOR-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-the-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-THE-}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{-----}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{----}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{---}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{--}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{—}{-}[\LWR@thisnewfilename] +\StrSubstitute{\LWR@thisnewfilename}{–}{-}[\LWR@thisnewfilename] +\global\let\LWR@thisfilename\LWR@thisnewfilename% return a global result +\endgroup +} + +\newcommand*{\LWR@newhtmlfile}[1]{ + + +\LWR@htmlelementclassend{section}{textbody} + +\LWR@printpendingnotes + +\LWR@htmlelement{footer} + +\LWR@pagebottom + +\LWR@htmlelementend{footer} + +\ifnumcomp{\value{LWR@htmlfilenumber}}{>}{0}{\LWR@botnavigation}{} + +\LWR@stoppars +\LWR@htmltag{/body}\LWR@orignewline +\LWR@htmltag{/html}\LWR@orignewline + +\addtocounter{LWR@htmlfilenumber}{1}% + +\ifbool{FileSectionNames}% +{\LWR@filenamenoblanks{#1}} +{\renewcommand*{\LWR@thisfilename}{\theLWR@htmlfilenumber}} + +\LWR@htmlblockcomment{% +\LWR@origtexttt{|Start file|% +\LWR@htmlsectionfilename{\LWR@thisfilename}|}% +} + +\LWR@stoppars + +\LWR@filestart{ — #1}% there is an EMdash in front of the #1 + +\LWR@topnavigation + +\LWR@htmlelement{header} + +\LWR@pagetop + +\LWR@htmlelementend{header} + +\LWR@printthetitle + +\LWR@sidetoc + +\LWR@htmlelementclass{section}{textbody} + +\LWR@stoppars + +\setcounter{LWR@latestautopage}{\value{page}} +} + +\end{warpHTML} + + +\begin{warpHTML} +\newbool{LWR@mainmatter} +\DeclareDocumentCommand{\mainmatter}{}{% +\booltrue{LWR@mainmatter}% +} + +\DeclareDocumentCommand{\frontmatter}{}{% +\boolfalse{LWR@mainmatter}% +} + +\DeclareDocumentCommand{\backmatter}{}{% +\boolfalse{LWR@mainmatter} +} +\newcommand*{\LWR@sectionnumber}[1]{% +\InlineClass{sectionnumber}{#1} % +} + +\newcommand*{\LWR@createautosec}[1]{% +\LWR@htmltag{#1 id="autosec-\thepage"{}}% +} + +\NewDocumentCommand{\LWR@pushoneclose}{m m}{\pushclose{#2}{#1}} + +\NewDocumentCommand{\LWR@startnewdepth}{m m}{% +\LWR@closeprevious{#1}% +\LWR@pushoneclose{#1}{#2}% +} +\newcounter{LWR@prevFileDepth} +\setcounter{LWR@prevFileDepth}{\LWR@depthsubparagraph} +\DeclareDocumentCommand{\LWR@section}{m m m m}{% +\LWR@traceinfo{LWR@section}% +\LWR@stoppars% +\global\boolfalse{LWR@minipagethispar}% +\LWR@orignewpage% + +\LWR@traceinfo{LWR@section: testing about to start a new HTML file}% +\IfBooleanTF{#1}{}{% not starred +\ifthenelse{% +\cnttest{\csuse{LWR@depth#4}}{<=}{\value{FileDepth}}% +\AND% +\(% +\NOT\boolean{CombineHigherDepths}\OR% +\cnttest{\csuse{LWR@depth#4}}{<=}{\value{LWR@prevFileDepth}}% +\)% +}% +{% new file +\LWR@traceinfo{LWR@section: new HTML file}% +\IfNoValueTF{#2}% +{\LWR@newhtmlfile{#3}}% +{\LWR@newhtmlfile{#2}}% +}% new file +{}% not new file +}% not starred +\LWR@traceinfo{LWR@section: about to LWR@setlatestname}% +\IfValueTF{#2}{\LWR@setlatestname{#2}}{\LWR@setlatestname{#3}}% + +\LWR@htmlcomment{Opening #4 ``#3''{}} + +\ifthenelse{% +\cnttest{\csuse{LWR@depth#4}}{>=}{\LWR@depthparagraph}% +}% +{\LWR@startpars} +{} +\LWR@createautosec{\csuse{LWR@tag#4}}% +\IfBooleanTF{#1}% +{}% starred +{% not starred +\ifthenelse{% +\cnttest{\csuse{LWR@depth#4}}{<=}{\value{secnumdepth}}% +}% +{% if secnumdepth +\LWR@traceinfo{LWR@section: about to test main matter}% +\ifbool{LWR@mainmatter}% +{% +\LWR@traceinfo{LWR@section: yes mainmatter}% +\refstepcounter{#4}% +\LWR@traceinfo{LWR@section: about to addcontentsline}% +\addcontentsline{toc}{#4}% +{\protect\LWR@sectionnumber{\csuse{the#4}}% +\IfValueTF{#2}{#2}{#3}}% +\LWR@traceinfo{LWR@section: finished addcontentsline}% +}% end of if main matter +{% not main matter +\LWR@traceinfo{LWR@section: no main matter}% +\addcontentsline{toc}{#4}{\IfValueTF{#2}{#2}{#3}}% +}% end of not main matter +}% end of secnumdepth +{% +\addcontentsline{toc}{#4}{\IfValueTF{#2}{#2}{#3}}% +}% +\ifbool{LWR@mainmatter}% +{% +\ifthenelse{% +\(\cnttest{\csuse{LWR@depth#4}}{<=}% +{\value{secnumdepth}}\) \AND +\(\cnttest{\csuse{LWR@depth#4}}{<=}{\LWR@depthpart}\) +}% +{\csuse{#4name}~{}}% +{}% +\LWR@traceinfo{LWR@section: about to print section number}% +\ifthenelse{% +\cnttest{\csuse{LWR@depth#4}}{<=}{\value{secnumdepth}}% +}% +{\protect\LWR@sectionnumber{\csuse{the#4}}}% +{}% +\LWR@traceinfo{LWR@section: finished print section number}% +}{}% +}% end of not starred +#3 +\LWR@htmltag{\csuse{LWR@tag#4end}}% +\label{autopage-\thepage}% +\ifthenelse{% +\cnttest{\csuse{LWR@depth#4}}{<}{\LWR@depthparagraph}}% +{\LWR@startpars}% +{}% +\IfBooleanTF{#1}{}{% not starred +\setcounter{LWR@prevFileDepth}{\csuse{LWR@depth#4}}% +}% not starred +\LWR@traceinfo{LWR@section: done}% +} + + +\@ifundefined{chapter} +{} +{% +\DeclareDocumentCommand{\part}{s o m}{% +\LWR@stoppars% + +\LWR@startnewdepth{\LWR@depthpart}{\LWR@printclosepart}% + +\LWR@section{#1}{#2}{#3}{part}% +} +} + +\@ifundefined{chapter} +{} +{% +\DeclareDocumentCommand{\chapter}{s o m}{% +\LWR@traceinfo{chapter #3}% +\LWR@stoppars% +\LWR@startnewdepth{\LWR@depthchapter}{\LWR@printclosechapter}% + +\LWR@traceinfo{chapter: about to LWR@section}% +\LWR@section{#1}{#2}{#3}{chapter}% +\LWR@traceinfo{chapter: done}% +} +} + +\DeclareDocumentCommand{\section}{s o m}{% +\LWR@stoppars% + +\LWR@startnewdepth{\LWR@depthsection}{\LWR@printclosesection}% + +\LWR@section{#1}{#2}{#3}{section}% +} + +\DeclareDocumentCommand{\subsection}{s o m}{% +\LWR@stoppars% + +\LWR@startnewdepth{\LWR@depthsubsection}{\LWR@printclosesubsection}% + +\LWR@section{#1}{#2}{#3}{subsection}% +} + +\DeclareDocumentCommand{\subsubsection}{s o m}{% +\LWR@stoppars% + +\LWR@startnewdepth{\LWR@depthsubsubsection}% +{\LWR@printclosesubsubsection}% + +\LWR@section{#1}{#2}{#3}{subsubsection}% +} + +\DeclareDocumentCommand{\paragraph}{s o m}{% +\LWR@stoppars% + +\LWR@startnewdepth{\LWR@depthparagraph}{\LWR@printcloseparagraph}% + +\LWR@section{#1}{#2}{#3}{paragraph}% +} + +\DeclareDocumentCommand{\subparagraph}{s o m}{% +\LWR@stoppars% + +\LWR@startnewdepth{\LWR@depthsubparagraph}{\LWR@printclosesubparagraph}% + +\LWR@section{#1}{#2}{#3}{subparagraph}% +} + +\end{warpHTML} + + +\begin{warpHTML} + +\newcommand*{\MetaLanguage}{en-US} + +\newcommand*{\LWR@filestart}[1]{ +\begingroup +\renewcommand{\textit}[1]{##1}% not used in filenames +\renewcommand{\textsc}[1]{##1} +\renewcommand{\textsl}[1]{##1} +\renewcommand{\textbf}[1]{##1} +\renewcommand{\texttt}[1]{##1} +\renewcommand{\textsf}[1]{##1} +\renewcommand{\textrm}[1]{##1} +\renewcommand{\textsuperscript}[1]{##1} +\renewcommand{\textsubscript}[1]{##1} +\renewcommand*{\HTMLunicode}[1]{} +\renewcommand*{\HTMLentity}[1]{} +\RenewDocumentCommand{\LWR@htmlspanclass}{m o +m}{##3} +\DeclareExpandableDocumentCommand{\InlineClass}{m o m}{##3} +\LWR@htmltag{!DOCTYPE html}\LWR@orignewline +\LWR@htmltag{html lang="\MetaLanguage"{}}\LWR@orignewline +\LWR@htmltag{head}\LWR@orignewline +\LWR@htmltag{meta charset="UTF-8" /}\LWR@orignewline +\LWR@htmltag{meta name="generator" content="LaTeX lwarp package" /}% + \LWR@orignewline +\ifdefempty{\LWR@currentHTMLdescription}{}{% +\LWR@htmltag{% +meta name="description" content="\LWR@currentHTMLdescription" /}% + \LWR@orignewline +}% +\LWR@htmltag{meta name="viewport" % +content="width=device-width, initial-scale=1.0" /}% + \LWR@orignewline +\LWR@htmltag{!{-}{-}[if lt IE 9]}\LWR@orignewline +\LWR@htmltag{% +script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"{}} +\LWR@htmltag{/script}\LWR@orignewline +\LWR@htmltag{![endif]{-}{-}}\LWR@orignewline +\LWR@htmltag{title}\thetitle#1\LWR@htmltag{/title}\LWR@orignewline +\LWR@htmltag{% +link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% +\LWR@orignewline +\ifbool{mathjax}% +{% +\boolfalse{LWR@verbtags} +\VerbatimInput{lwarp_mathjax.txt}% +\booltrue{LWR@verbtags} +\LWR@stoppars +}% end of mathjax +{}% +\LWR@htmltag{/head}\LWR@orignewline +\LWR@htmltag{body}\LWR@orignewline +\endgroup +} + +\end{warpHTML} + + +\begin{warpHTML} + +\newcommand*{\LWR@LwarpStart} +{% +\edef\LWR@strresult{\HomeHTMLFileName} +\edef\HomeHTMLFileName{\detokenize\expandafter{\LWR@strresult}} +\edef\LWR@strresult{\HTMLFileName} +\edef\HTMLFileName{\detokenize\expandafter{\LWR@strresult}} +\LWR@origonecolumn% +\LWR@origscriptsize% +\LWR@origraggedright% +\let\\\LWR@endofline% +\linespread{1.3}% +\setlength{\parindent}{0pt} +\setlength{\parskip}{2ex} +\ifbool{usingOSwindows} +{% Windows: +\immediate\openout\LWR@file=lateximages.cmd +} +{% Unix: +\immediate\openout\LWR@file=lateximages.sh +\immediate\write\LWR@file{\LWR@hashmark!\OSShellPath} +} +\immediate\write\LWR@file{\OSmkdir lateximages\OSPathSymbol} +\setlength{\belowcaptionskip}{-3ex} +\renewcommand{\ps@plain}{} +\renewcommand*{\centering}{} +\renewcommand*{\raggedleft}{} +\renewcommand*{\raggedright}{} +\let\LWR@origtabular\tabular +\let\LWR@origendtabular\endtabular +\let\tabular\LWR@tabular +\let\endtabular\endLWR@tabular +\let\LWR@origcaption\caption +\let\ltx@label\LWR@htmlmathlabel +\let\TeX\LWR@TeX +\let\LaTeX\LWR@LaTeX +\let\LuaTeX\LWR@LuaTeX +\let\LuaLaTeX\LWR@LuaLaTeX +\let\XeTeX\LWR@XeTeX +\let\XeLaTeX\LWR@XeLaTeX +\let\ConTeXt\LWR@ConTeXt +\let\textcolor\LWR@textcolor +\let\pagecolor\LWR@pagecolor +\let\colorbox\LWR@colorbox +\let\fcolorbox\LWR@fcolorbox +\let\rotatebox\LWR@rotatebox +\let\scalebox\LWR@scalebox +\let\reflectbox\LWR@reflectbox +\global\boolfalse{LWR@doingapar} +\global\boolfalse{LWR@doingstartpars} +\LWR@filestart{} +\LWR@htmltag{header}\LWR@orignewline +\LWR@startpars +\LWR@firstpagetop +\LWR@stoppars +\LWR@htmltag{/header}\LWR@orignewline +\LWR@htmltag{section class="textbody"{}} +\LWR@origpagestyle{empty} +\mainmatter +\LWR@origpagenumbering{arabic} +\if@titlepage + \thanksmarkseries{arabic} +\else + \thanksmarkseries{fnsymbol} +\fi +\fvset{frame=none}% +\catcode`\&=\active +\LWR@startpars +} + +\end{warpHTML} + + +\begin{warpHTML} + + +\newcommand*{\LWR@requesttoc}[2]{% +\ifbool{#1} +{ +\expandafter\newwrite\csuse{tf@#2} +\immediate\openout \csuse{tf@#2} \jobname.#2\relax +}{} +} + +\newcommand*{\LWR@LwarpEnd} +{ +\LWR@stoppars +\LWR@closeprevious{\LWR@depthfinished} + +\LWR@htmlelementclassend{section}{textbody} +\LWR@printpendingnotes +\LWR@htmlelement{footer} + +\LWR@pagebottom + +\LWR@htmlelementend{footer} + +\ifnumcomp{\value{LWR@htmlfilenumber}}{>}{0}{\LWR@botnavigation}{} +\LWR@stoppars% final stop of all paragraphs +\LWR@htmltag{/body}\LWR@orignewline +\LWR@htmltag{/html}\LWR@orignewline +\LWR@orignewpage +\immediate\closeout\LWR@file +} + +\end{warpHTML} + + +\begin{warpHTML} +\newrobustcmd{\affiliation}[1]{\\ \InlineClass{affiliation}{#1}} +\end{warpHTML} +\begin{warpprint} +\newrobustcmd{\affiliation}[1]{\\ \textsc{\small#1}} +\end{warpprint} +\begin{warpall} +\renewcommand{\author}[1]{% +\gdef\@author{#1} +\begingroup + \renewcommand{\thanks}[1]{} + \renewcommand{\and}{\unskip, } + \renewcommand{\thanksmark}[1]{} + \renewcommand{\thanksgap}[1]{} + \renewcommand{\affiliation}[1]{} + \protected@xdef\theauthor{#1} +\endgroup} +\newcommand{\published}[1]{% +\gdef\@published{#1} +\begingroup + \renewcommand{\thanks}[1]{} + \renewcommand{\thanksmark}[1]{} + \renewcommand{\thanksgap}[1]{} + \protected@xdef\thepublished{#1} +\endgroup +} +\newcommand{\@published}{} +\newcommand{\thepublished}{} +\newcommand{\subtitle}[1]{% +\gdef\@subtitle{#1} +\begingroup + \renewcommand{\thanks}[1]{} + \renewcommand{\thanksmark}[1]{} + \renewcommand{\thanksgap}[1]{} + \protected@xdef\thesubtitle{#1} +\endgroup +} +\newcommand{\@subtitle}{} +\newcommand{\thesubtitle}{} +\end{warpall} +\begin{warpHTML} +\renewenvironment*{titlepage} + {\BlockClass{titlepage}\LWR@subminipage} + {\LWR@endsubminipage\endBlockClass} +\renewenvironment*{titlingpage} +{% +\begin{titlepage} +\LWR@maketitlesetup +\let\maketitle\LWR@titlingmaketitle +} +{ +\end{titlepage} +\@bscontmark +} +\end{warpHTML} + +\begin{warpall} +\newcommand*{\printthanks}{\@thanks} +\AtEndEnvironment{titlingpage}{\@bscontmark} +\end{warpall} + +\begin{warpHTML} +\newcommand{\prepublished}[1]{% +\def\@bsprepublished{\BlockClass{published}#1}% +} + +\newcommand{\postpublished}[1]{% +\def\@bspostpublished{#1\endBlockClass}% +} + +\renewcommand{\pretitle}[1]{% +\def\@bspretitle{#1\LWR@stoppars\LWR@htmltag{h1}}% +} + +\renewcommand{\posttitle}[1]{% +\def\@bsposttitle{\LWR@htmltag{/h1}\LWR@startpars#1}% +} + +\newcommand{\presubtitle}[1]{% +\def\@bspresubtitle{\BlockClass{subtitle}#1}% +} + +\newcommand{\postsubtitle}[1]{% +\def\@bspostsubtitle{#1\endBlockClass}% +} + +\renewcommand{\preauthor}[1]{% +\def\@bspreauthor{\BlockClass{author}#1}% +} + +\renewcommand{\postauthor}[1]{% +\def\@bspostauthor{#1\endBlockClass}% +} + +\renewcommand{\predate}[1]{% +\def\@bspredate{#1\BlockClass{titledate}}% +} + +\renewcommand{\postdate}[1]{% +\def\@bspostdate{\endBlockClass#1}% +} + +\prepublished{\begin{center}} +\postpublished{\par\end{center}} + +\pretitle{\begin{center}} +\posttitle{\par\end{center}} + +\presubtitle{\begin{center}} +\postsubtitle{\par\end{center}} + +\preauthor{\begin{center}% +\begin{tabular}[t]{c}% +} +\postauthor{\end{tabular}\par\end{center}} + +\predate{\begin{center}} +\postdate{\par\end{center}} +\newcommand*{\printpublished}{ +\ifthenelse{\equal{\thepublished}{}} +{} +{ +\begin{BlockClass}{published} +\@published +\end{BlockClass} +} +} + +\newcommand*{\printtitle} +{ +\LWR@stoppars +\LWR@htmltag{h1}% +\@title% +\LWR@htmltag{/h1} +\LWR@startpars +} +\newcommand*{\LWR@printthetitle} +{ +\LWR@stoppars +\LWR@htmltag{h1}% +\thetitle% +\LWR@htmltag{/h1} +\LWR@startpars +} + +\newcommand*{\printsubtitle}{ +\ifthenelse{\equal{\thesubtitle}{}} +{} +{ +\begin{BlockClass}{subtitle} +\@subtitle +\end{BlockClass} +} +} + +\newcommand*{\printauthor}{ +\begin{BlockClass}{author} +\begin{tabular}{c}\@author\end{tabular} +\end{BlockClass} +} + +\newcommand*{\printdate}{% +\begin{BlockClass}{titledate} +\@date +\end{BlockClass} +} + +\end{warpHTML} + +\begin{warpprint} + +\newcommand*{\printpublished}{{\Large\scshape\@published}} + +\newcommand*{\printtitle}{{\Huge\@title}} + +\newcommand*{\printsubtitle}{{\Large\itshape\@subtitle\bigskip}} + +\newcommand*{\printauthor} + {{\large\begin{tabular}[t]{c}\@author\end{tabular}}} + +\newcommand*{\printdate}{{\small\textit{\@date}}} +\providecommand{\maketitle}{} +\if@titlepage + \renewcommand{\maketitle}{\begin{titlepage}% + \let\footnotesize\small + \let\footnoterule\relax + \let \footnote \thanks + \@bsmarkseries + \def\@makefnmark{\rlap{\@textsuperscript{% + \normalfont\@bsthanksheadpre \tamark \@bsthanksheadpost}}}% + \long\def\@makefntext##1{\makethanksmark ##1} + \null\vfil + \vskip 60\p@ + \vspace*{\droptitle} + \maketitlehooka + \ifcsempty{@published} +{} +{{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa} + {\@bspretitle \@title \@bsposttitle} + \ifcsempty{@subtitle} +{} +{\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}} + \maketitlehookb + {\@bspreauthor \@author \@bspostauthor} + \maketitlehookc + {\@bspredate \@date \@bspostdate} + \maketitlehookd + \par + \@thanks + \vfil\null + \end{titlepage}% + \@bscontmark % \setcounter{footnote}{0}% +%%% \@bsmtitlempty + } % end titlepage defs +\else + \renewcommand{\maketitle}{\par + \begingroup + \@bsmarkseries + \def\@makefnmark{\rlap{\@textsuperscript{% + \normalfont\@bsthanksheadpre \tamark \@bsthanksheadpost}}}% + \long\def\@makefntext##1{\makethanksmark ##1} + \if@twocolumn + \ifnum \col@number=\@ne + \@maketitle + \else + \twocolumn[\@maketitle]% + \fi + \else + \newpage + \global\@topnum\z@ + \@maketitle + \fi + \thispagestyle{plain}\@thanks + \endgroup + \@bscontmark % \setcounter{footnote}{0}% +%%% \@bsmtitlempty + } % end non-titlepage + + \def\@maketitle{% + \newpage + \null + \vskip 2em% + \vspace*{\droptitle} + \maketitlehooka + \ifcsempty{@published} +{} +{{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa} + {\@bspretitle \@title \@bsposttitle} + \ifcsempty{@subtitle} +{} +{\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}} + \maketitlehookb + {\@bspreauthor \@author \@bspostauthor} + \maketitlehookc + {\@bspredate \@date \@bspostdate} + \maketitlehookd + \par + \vskip 1.5em} +\fi + +\providecommand{\maketitlehookaa}{} + +\providecommand{\maketitlehookaaa}{} + +\newcommand{\prepublished}[1]{% +\def\@bsprepublished{#1}% +} + +\newcommand{\postpublished}[1]{% +\def\@bspostpublished{#1}% +} + +\newcommand{\presubtitle}[1]{% +\def\@bspresubtitle{#1}% +} +\newcommand{\postsubtitle}[1]{% +\def\@bspostsubtitle{#1}% +} +\if@titlepage +\prepublished{ +\vspace*{-\baselineskip}\vspace*{-\medskipamount}\vspace*{-2em} +\begin{center}} +\postpublished{\par\end{center}\vskip 2em} + +\presubtitle{\unskip\begin{center}\unskip} +\postsubtitle{\par\end{center}\vskip 2em} +\else +\prepublished{\begin{center}} +\postpublished{\par\end{center}\vskip 0.5em} + +\presubtitle{\begin{center}\unskip} +\postsubtitle{\par\end{center}\vskip 0.5em} +\fi +\end{warpprint} +\begin{warpHTML} +\newcommand*{\LWR@maketitlesetup}{% +\@bsmarkseries +\@mpbsmarkseries +\def\@makefnmark{\textsuperscript{\thefootnote}}% +\long\def\@makefntext##1{% +\makethanksmark \LWR@orighspace{1in} +##1\LWR@htmltagc{/\LWR@tagregularparagraph}% +}% +} + +\def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or + \mathsection\or \mathparagraph\or \text{\HTMLunicode{2016}}\or + **\or \dagger\dagger \or \ddagger\ddagger \else\@ctrerr\fi}} +\renewcommand*{\maketitle}{% +\begin{titlepage} +\LWR@maketitlesetup +\@maketitle +\@thanks +\end{titlepage} +\@bscontmark +} + +\DeclareDocumentCommand{\@maketitle}{}{% +\maketitlehooka +\ifcsempty{@published} +{} +{{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa} +{\@bspretitle \@title \@bsposttitle} +\ifcsempty{@subtitle} +{} +{\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}} +\maketitlehookb +{\@bspreauthor \@author \@bspostauthor} +\maketitlehookc +{\@bspredate \@date \@bspostdate} +\maketitlehookd +} + +\providecommand{\maketitlehookaa}{} +\providecommand{\maketitlehookaaa}{} + +\newcommand*{\LWR@titlingmaketitle}{% +\@maketitle +\@thanks +} + +\let\LWR@origthanksmarkseries\thanksmarkseries +\renewcommand{\thanksmarkseries}[1]{% +\def\@mpbsmarkseries{% +\renewcommand*{\thempfootnote}{\@nameuse{#1}{mpfootnote}}} +\LWR@origthanksmarkseries{#1} +} +\end{warpHTML} + + +\begin{warpHTML} + +\providecommand*{\abstractname}{Abstract} +\DeclareDocumentEnvironment{abstract}{} +{ +\BlockClass{abstract} +\BlockClassSingle{abstracttitle}{\abstractname} +} +{ +\endBlockClass +} + +\end{warpHTML} + + + + + +\begin{warpHTML} +\newcommand{\attribution}[1]{% +\InlineClass{attribution}{—\,#1}}% emdash +\end{warpHTML} +\begin{warpprint} +\newcommand{\attribution}[1]{\textsc{---\,#1}} +\end{warpprint} + +\begin{warpHTML} +\newcommand{\citetitle}[1]{% +\InlineClass{citetitle}{—\,#1}}% emdash +\end{warpHTML} +\begin{warpprint} +\newcommand{\citetitle}[1]{\textsl{---\,#1}} +\end{warpprint} + + +\begin{warpHTML} +\renewenvironment*{quote} +{\LWR@htmlblocktag{blockquote}} +{\LWR@htmlblocktag{/blockquote}} + +\renewenvironment*{quotation} +{\LWR@htmlblocktag{blockquotation}} +{\LWR@htmlblocktag{/blockquotation}} + +\end{warpHTML} + +\begin{warpall} + +\newlength{\HTMLvleftskip} +\setlength{\HTMLvleftskip}{1em} + +\newlength{\HTMLleftmargini} +\setlength{\HTMLleftmargini}{4.5em} + +\end{warpall} + +\begin{warpHTML} + +\AfterEndPreamble{ +\AtBeginEnvironment{verse} +{% +\ifdef{\vleftskip}{% +\setlength{\vleftskip}{\HTMLvleftskip} +\setlength{\leftmargini}{\HTMLleftmargini} +}{} +\LWR@atbeginverbatim{verse} +\unskip\vspace{-\baselineskip} +} +\AfterEndEnvironment{verse}{ +\unskip\vspace{-\baselineskip} +\LWR@afterendverbatim +} +\ifdef{\poemtitle}{ +\DeclareDocumentCommand{\@vstypeptitle}{m}{% + \vspace{\beforepoemtitleskip}% + {\InlineClass{poemtitle}{\poemtitlefont #1}\par}% + \vspace{\afterpoemtitleskip}% + } +}{} + +} +\end{warpHTML} + + +\begin{warpHTML} + +\AfterEndPreamble{ +\AtBeginEnvironment{verbatim}{\LWR@atbeginverbatim{verbatim}\unskip\vspace*{-\baselineskip}} +\AfterEndEnvironment{verbatim}{\unskip\vspace*{-\baselineskip}\LWR@afterendverbatim} +} + +\end{warpHTML} + + +\begin{warpall} +\newlength{\VerbatimHTMLWidth} +\setlength{\VerbatimHTMLWidth}{4in} +\end{warpall} + +\begin{warpHTML} +\newbool{LWR@verbtags} +\booltrue{LWR@verbtags} + +\renewcommand{\VerbatimFootnotes}{ +\PackageError{lwarp} +{Verbatim footnotes are not yet supported by lwarp.} +{This may be improved when lwarp uses LaTeX footnotes instead of pagenotes.} +} + +\newcommand*{\LWR@atbeginverbatim}[1] +{% +\setlength{\parskip}{0ex}% +\LWR@stoppars% +\ifbool{LWR@verbtags}{\LWR@htmltag{pre class="#1"{}}}{}% +\LWR@origttfamily% +\let\hspace\LWR@orighspace% +} + +\newcommand*{\LWR@afterendverbatim}{% +\unskip% +\ifbool{LWR@verbtags}{\noindent\LWR@htmltag{/pre} + +}{}% +\LWR@startpars% +} +\newcommand*{\LWR@Verbatimclass}{fancyvrb} +\NewDocumentEnvironment{VerbatimClass}{m O{}} +{% +\renewcommand*{\LWR@Verbatimclass}{#1}% +\LWR@origVerbatim[#2]% +} +{\endVerbatim} +\AfterEndPreamble{ +\let\LWR@origVerbatim\Verbatim +\renewcommand*{\Verbatim}{% +\renewcommand*{\LWR@Verbatimclass}{fancyvrb}% +\LWR@origVerbatim% +} +\newcommand*{\LWR@fvstartnone}{% +\ifbool{LWR@verbtags}{\hbox to\z@{\LWR@htmltagc{div class="\LWR@Verbatimclass"}}}{}% +\hbox to\z@{\LWR@atbeginverbatim{verbatim}}% +} + +\newcommand*{\LWR@fvendnone}{% +\hbox to\z@{\LWR@afterendverbatim}% +\ifbool{LWR@verbtags}{\hbox to\z@{\LWR@htmltagc{/div}}}{}% +} + +\newcommand*{\LWR@fvstartsingle}{% +\LWR@fvstartnone% +\FV@BeginListFrame@Single% +} + +\newcommand*{\LWR@fvendsingle}{% +\FV@EndListFrame@Single% +\LWR@fvendnone% +} + +\newcommand*{\LWR@fvstartline}{% +\LWR@fvstartnone% +\FV@BeginListFrame@Lines% +} + +\newcommand*{\LWR@fvendline}{% +\FV@EndListFrame@Lines% +\LWR@fvendnone% +} +\def\FV@Frame@none{% +\let\FV@BeginListFrame\LWR@fvstartnone% +\let\FV@LeftListFrame\relax% +\let\FV@RightListFrame\relax% +\let\FV@EndListFrame\LWR@fvendnone} + +\def\FV@Frame@single{% +\let\FV@BeginListFrame\LWR@fvstartsingle% +\let\FV@LeftListFrame\FV@LeftListFrame@Single% +\let\FV@RightListFrame\FV@RightListFrame@Single% +\let\FV@EndListFrame\LWR@fvendsingle} + +\def\FV@Frame@lines{% +\let\FV@BeginListFrame\LWR@fvstartline% +\let\FV@LeftListFrame\relax% +\let\FV@RightListFrame\relax% +\let\FV@EndListFrame\LWR@fvendline} + +\def\FV@Frame@topline{% +\let\FV@BeginListFrame\LWR@fvstartline% +\let\FV@LeftListFrame\relax% +\let\FV@RightListFrame\relax% +\let\FV@EndListFrame\LWR@fvendnone} + +\def\FV@Frame@bottomline{% +\let\FV@BeginListFrame\LWR@fvstartnone% +\let\FV@LeftListFrame\relax% +\let\FV@RightListFrame\relax% +\let\FV@EndListFrame\LWR@fvendline} + +\def\FV@Frame@leftline{% +\ifx\FancyVerbFillColor\relax% +\let\FV@FrameFillLine\relax% +\else% +\@tempdima\FV@FrameRule\relax% +\multiply\@tempdima-\tw@% +\edef\FV@FrameFillLine{% +{\noexpand\FancyVerbFillColor{\vrule\@width\number\@tempdima sp}% +\kern-\number\@tempdima sp}}% +\fi% +\let\FV@BeginListFrame\LWR@fvstartnone% +\let\FV@LeftListFrame\FV@LeftListFrame@Single% +\let\FV@RightListFrame\relax% +\let\FV@EndListFrame\LWR@fvendnone} +\def\FV@SingleFrameLine#1{% + \hbox to\z@{% + \ifnum#1=\z@\relax + \let\FV@Label\FV@LabelBegin + \else + \let\FV@Label\FV@LabelEnd + \fi + \ifx\FV@Label\relax + \else + \ifnum#1=\z@ + \ifx\FV@LabelPositionTopLine\relax +\else + \LWR@htmltagc{div class="fancyvrblabel"} +\LWR@origtextrm{\FV@LabelBegin}% \textrm preserves emdash +\LWR@htmltagc{/div} +\fi + \else + \ifx\FV@LabelPositionBottomLine\relax +\else + \LWR@htmltagc{div class="fancyvrblabel"} +\LWR@origtextrm{\FV@LabelEnd} +\LWR@htmltagc{/div} +\fi + \fi + + \fi + \hss +} +} +\def\FV@ListProcessLine#1{% + \hbox to \hsize{% + \hbox to \VerbatimHTMLWidth {% + \ifcsvoid{FV@LeftListNumber}{}{\kern 2.5em}% +\FV@LeftListNumber% + \FancyVerbFormatLine{#1}% + \hss% + \FV@RightListNumber% +}% + \hss% required to avoid underfull hboxes +} +} + +\AtBeginEnvironment{BVerbatim} +{ +\LWR@atbeginverbatim{bverbatim} + +} + +\AfterEndEnvironment{BVerbatim} +{ +\leavevmode\par\vspace{-\baselineskip} +\LWR@afterendverbatim +} + + + +} % \AfterEndPreamble + + +\end{warpHTML} + + +\begin{warpHTML} + +\renewcommand{\@begintheorem}[2]{% +\LWR@htmldivclass{theorem} +\InlineClass{theoremlabel}{#1\ #2\ } +\LWR@htmldivclass{theoremcontents} +} +\renewcommand{\@opargbegintheorem}[3]{% +\BlockClass{theorem} +\InlineClass{theoremlabel}{#1\ #2\ (#3)\ } +\BlockClass{theoremcontents} +} +\renewcommand*{\@endtheorem}{% +\endBlockClass% theoremcontents +\endBlockClass% theorem +} + +\end{warpHTML} + + + +\begin{warpHTML} + +\let\LWR@origitem\item + +\newcommand*{\LWR@itemizeitem}{% +\LWR@stoppars% +\LWR@startnewdepth{\LWR@depthlistitem}{\LWR@printcloselistitem{}}% +\LWR@htmltag{li}% +\LWR@startpars% +\LWR@origitem% +} + + +\AtBeginEnvironment{itemize}{\LWR@itemizestart} + +\newcommand*{\LWR@itemizestart}{% +\LWR@stoppars% +\LWR@pushoneclose{\LWR@depthlist}{\LWR@printcloseitemize{}}% +\LWR@htmltag{ul style="list-style-type:none"{}}% +\LWR@startpars% +\let\item\LWR@itemizeitem% +} + +\AtEndEnvironment{itemize}{\LWR@itemizeend} + +\newcommand*{\LWR@itemizeend}{% +\LWR@stoppars% +\LWR@closeprevious{\LWR@depthlistitem}% +\LWR@closeoneprevious{}% +\LWR@startpars% +} + + + +\AtBeginEnvironment{enumerate}{\LWR@enumeratestart} + +\newcommand*{\LWR@enumeratestart}{% +\LWR@stoppars% +\LWR@pushoneclose{\LWR@depthlist}{\LWR@printcloseitemize{}}% +\LWR@htmltag{ul style="list-style-type:none"{}}% +\LWR@startpars% +\let\item\LWR@itemizeitem% +} + +\AtEndEnvironment{enumerate}{\LWR@enumerateend} + +\newcommand*{\LWR@enumerateend}{% +\LWR@stoppars% +\LWR@closeprevious{\LWR@depthlistitem}% +\LWR@closeoneprevious{}% +\LWR@startpars% +} + + +\newcommand*{\LWR@descitem}[1][]% +{% +\LWR@stoppars% +\LWR@setlatestname{#1}% +\LWR@startnewdepth{\LWR@depthlistitem}{\LWR@printclosedescitem{}}% +\LWR@origitem[]% +\LWR@orighspace{1in} +\LWR@htmltag{dt}#1\LWR@htmltag{/dt}% +\LWR@orignewline% +\LWR@htmltag{dd}% +\LWR@startpars% +} + +\AtBeginEnvironment{description}{\LWR@descriptionstart} + +\newcommand*{\LWR@descriptionstart}{% +\LWR@stoppars% +\LWR@pushoneclose{\LWR@depthlist}{\LWR@printclosedescription{}}% +\LWR@htmltag{dl}% +\LWR@startpars% +\let\item\LWR@descitem% +} + +\AtEndEnvironment{description}{\LWR@descriptionend} + +\newcommand*{\LWR@descriptionend}{% +\LWR@stoppars% +\LWR@closeprevious{\LWR@depthlistitem}% +\LWR@closeoneprevious{}% +\LWR@startpars% +} + +\let\LWR@orignewlist\newlist + +\renewcommand*{\newlist}[3]{% +\LWR@orignewlist{#1}{#2}{#3}% +\AtBeginEnvironment{#1}{\csuse{LWR@#2start}}% +\AtEndEnvironment{#1}{\csuse{LWR@#2end}}% +} + +\end{warpHTML} + + + +\begin{warpHTML} + +\newcommand\LWR@mynexttoken\relax + + + + +\def\LWR@futurenonspacelet#1{\def\LWR@cs{#1}% +\afterassignment\LWR@fnslone\let\nexttoken= } +\def\LWR@fnslone{\expandafter\futurelet\LWR@cs\LWR@fnsltwo} +\def\LWR@fnsltwo{% +\expandafter\ifx\LWR@cs\@sptoken\let\next=\@BTfnslthree% +\else\let\next=\nexttoken\fi\next} +\def\@BTfnslthree{\afterassignment\LWR@fnslone\let\next= } + +\newcommand*{\LWR@getmynexttoken}{% +\LWR@futurenonspacelet\LWR@mynexttoken\LWR@tabledatacolumntag +} + + +\newbool{LWR@startedrow} +\boolfalse{LWR@startedrow} + +\newbool{LWR@doinghline} +\boolfalse{LWR@doinghline} + +\newbool{LWR@doingtbrule} +\boolfalse{LWR@doingtbrule} + +\newbool{LWR@tableparcell} + +\newbool{LWR@skippingmrowcell} + +\newbool{LWR@intabularmetadata} +\boolfalse{LWR@intabularmetadata} + + +\newcommand*{\LWR@closetabledatacell}{% +\global\booltrue{LWR@intabularmetadata}% +\ifbool{LWR@exitingtabular}{}% +{% not exiting tabular +\ifbool{LWR@skippingmrowcell}{}% +{% not skippingmrowcell +\unskip% +\LWR@getexparray{LWR@colafterspec}{\theLWR@tablecolspos}% +\LWR@getexparray{LWR@colatspec}{\theLWR@tablecolspos}% +\ifbool{LWR@tableparcell}{\LWR@stoppars}{}% +\global\boolfalse{LWR@tableparcell}% +\unskip\LWR@htmltag{/td}\LWR@orignewline% +}% not skipping mrowcell +}% not exiting tabular +\global\boolfalse{LWR@skippingmrowcell}% +} + +\newcounter{LWR@tabulardepth} +\setcounter{LWR@tabulardepth}{0} + +\def\LWR@origampmacro{&} +\begingroup +\catcode`\&=\active + +\gdef&{% +\ifthenelse{\cnttest{\value{LWR@tabulardepth}}{>}{0}}% +{% +\unskip% +\LWR@closetabledatacell% +\addtocounter{LWR@tablecolspos}{1}% +\LWR@getmynexttoken% +}% +{\LWR@origampmacro}% +} +\endgroup + + +\NewDocumentCommand{\LWR@tabularendofline}{s o} +{% +\LWR@closetabledatacell% +\LWR@htmltag{/tr}\LWR@orignewline +\global\booltrue{LWR@intabularmetadata} +\global\boolfalse{LWR@startedrow} +\global\boolfalse{LWR@doinghline}% +\global\boolfalse{LWR@doingtbrule}% +\LWR@clearmidrules% +\setcounter{LWR@tablecolspos}{1} +\LWR@getmynexttoken% +} + + +\newcommand*{\LWR@colsresult}{}%temp storage for column format results +\newcommand*{\LWR@pposition}{} +\newcommand*{\LWR@pleft}{} +\newcommand*{\LWR@pright}{} + +\newcommand*{\LWR@tablecolspec}{} + +\newcommand*{\LWR@strresult}{} + +\newcommand*{\LWR@origcolspec}{} + +\newcounter{LWR@tablecolswidth} + +\newcounter{LWR@tablecolspos} + +\newcounter{LWR@tabletotalcols} + +\newcounter{LWR@tabletotalcolsnext} + + +\newcommand*{\LWR@parseatcolumn}{% +\LWR@traceinfo{at column}% +\addtocounter{LWR@tablecolspos}{1}% +\LWR@traceinfo{about to read the next token:}% +\expandarg% +\StrChar{\LWR@origcolspec}{\theLWR@tablecolspos}[\LWR@strresult] +\fullexpandarg% +\LWR@traceinfo{have now read the next token}% +\ifthenelse{\cnttest{\value{LWR@tabletotalcols}}=0} +{% left edge of the table: +\LWR@traceinfo{at the left edge}% +\LWR@setexparray{LWR@colatspec}{leftedge}{\LWR@strresult}% +\LWR@traceinfo{finished with the def}% +}% +{% not at the left edge: +\LWR@traceinfo{not at the left edge}% +\LWR@setexparray{LWR@colatspec}{\theLWR@tabletotalcols}{\LWR@strresult}% +\LWR@traceinfo{at \theLWR@tabletotalcols: \LWR@colatspec(\theLWR@tabletotalcols)!}% +}% +\let\LWR@strresult\relax% +} +\newcommand*{\LWR@parsebeforecolumn}{% +\addtocounter{LWR@tablecolspos}{1}% +\expandarg% +\StrChar{\LWR@origcolspec}{\theLWR@tablecolspos}[\LWR@strresult]% +\fullexpandarg% +\LWR@setexparray{LWR@colbeforespec}{\theLWR@tabletotalcolsnext}{\LWR@strresult}% +\let\LWR@strresult\relax% +} +\newcommand*{\LWR@parseaftercolumn}{% +\addtocounter{LWR@tablecolspos}{1}% +\expandarg% +\StrChar{\LWR@origcolspec}{\theLWR@tablecolspos}[\LWR@strresult]% +\fullexpandarg% +\LWR@setexparray{LWR@colafterspec}{\theLWR@tabletotalcols}{\LWR@strresult}% +\let\LWR@strresult\relax% +} +\newcommand*{\LWR@parseskipcolumn}{% +} +\newcommand*{\LWR@parsenormalcolumn}[1]{% +\appto\LWR@tablecolspec{#1}% +\addtocounter{LWR@tabletotalcols}{1}% +\addtocounter{LWR@tabletotalcolsnext}{1}% +\LWR@setexparray{LWR@colatspec}{\theLWR@tabletotalcolsnext}{\relax}% +\LWR@setexparray{LWR@colbeforespec}{\theLWR@tabletotalcolsnext}{\relax}% +\LWR@setexparray{LWR@colafterspec}{\theLWR@tabletotalcolsnext}{\relax}% +} + + +\newcommand*{\LWR@parsepcolumn}[1]{% +\LWR@parsenormalcolumn{#1}% +\addtocounter{LWR@tablecolspos}{1}% +} + + +\newcommand*{\LWR@parsetablecols}[1]{% +\LWR@traceinfo{LWR@parsetablecols started}% +\renewcommand*{\LWR@origcolspec}{#1}% +\renewcommand*{\LWR@tablecolspec}{}% +\setcounter{LWR@tabletotalcols}{0}% +\setcounter{LWR@tabletotalcolsnext}{1}% +\LWR@setexparray{LWR@colatspec}{leftedge}{\relax}% +\LWR@setexparray{LWR@colatspec}{1}{\relax}% +\LWR@setexparray{LWR@colatspec}{2}{\relax}% +\LWR@setexparray{LWR@colatspec}{3}{\relax}% +\LWR@setexparray{LWR@colbeforespec}{1}{\relax}% +\LWR@setexparray{LWR@colbeforespec}{2}{\relax}% +\LWR@setexparray{LWR@colbeforespec}{3}{\relax}% +\LWR@setexparray{LWR@colafterspec}{1}{\relax}% +\LWR@setexparray{LWR@colafterspec}{2}{\relax}% +\LWR@setexparray{LWR@colafterspec}{3}{\relax}% +\setcounter{LWR@tablecolspos}{1}% +\LWR@traceinfo{about to StrLen}% +\noexpandarg% +\StrLen{#1}[\LWR@strresult]% +\fullexpandarg% +\LWR@traceinfo{finished StrLen}% +\setcounter{LWR@tablecolswidth}{\LWR@strresult}% +\whiledo{\not\value{LWR@tablecolspos}>\value{LWR@tablecolswidth}}{% +\noexpandarg% +\StrChar{#1}{\theLWR@tablecolspos}[\LWR@strresult]% +\fullexpandarg% +\IfStrEq{\LWR@strresult}{l}{\LWR@parsenormalcolumn{l}}{}% +\IfStrEq{\LWR@strresult}{c}{\LWR@parsenormalcolumn{c}}{}% +\IfStrEq{\LWR@strresult}{r}{\LWR@parsenormalcolumn{r}}{}% +\IfStrEq{\LWR@strresult}{S}{\LWR@parsenormalcolumn{r}}{}% +\IfStrEq{\LWR@strresult}{\detokenize{@}}{\LWR@parseatcolumn}{}% +\IfStrEq{\LWR@strresult}{>}{\LWR@parsebeforecolumn}{}% +\IfStrEq{\LWR@strresult}{<}{\LWR@parseaftercolumn}{}% +\IfStrEq{\LWR@strresult}{!}{\LWR@parseskipcolumn}{}% +\IfStrEq{\LWR@strresult}{p}{\LWR@parsepcolumn{p}}{}% +\IfStrEq{\LWR@strresult}{m}{\LWR@parsepcolumn{m}}{}% +\IfStrEq{\LWR@strresult}{b}{\LWR@parsepcolumn{b}}{}% +\IfStrEq{\LWR@strresult}{P}{\LWR@parsepcolumn{P}}{}% +\IfStrEq{\LWR@strresult}{M}{\LWR@parsepcolumn{M}}{}% +\IfStrEq{\LWR@strresult}{B}{\LWR@parsepcolumn{B}}{}% +\addtocounter{LWR@tablecolspos}{1}% +}% +}% + + +\newcommand*{\LWR@maybenewtablerow} +{% +\ifbool{LWR@startedrow}% +{}% started the row +{% not started the row +\global\booltrue{LWR@startedrow}% +\global\booltrue{LWR@intabularmetadata}% +\ifbool{LWR@doinghline}% +{\LWR@htmltag{tr class="hline"{}}\LWR@orignewline}% +{% not doing hline +\ifbool{LWR@doingtbrule}% +{\LWR@htmltag{tr class="tbrule"{}}\LWR@orignewline}% +{\LWR@htmltag{tr}\LWR@orignewline}% +}% end of not doing hline +}% end of not started the row +} + + +\newcommand*{\LWR@tabledatasinglecolumntag}% +{% +\LWR@maybenewtablerow% +\ifbool{LWR@exitingtabular}{}% +{% not exiting tabular +\StrChar{\LWR@tablecolspec}{\theLWR@tablecolspos}[\LWR@strresult]% +\LWR@htmltag{td class="td% +\LWR@strresult% +\ifthenelse{\equal{\LWR@getexparray{LWR@midrules}{\theLWR@tablecolspos}}{Y}}{rule}{}% +"{}}% +\ifthenelse{% +\equal{\LWR@strresult}{p}\OR% +\equal{\LWR@strresult}{m}\OR% +\equal{\LWR@strresult}{b}\OR% +\equal{\LWR@strresult}{P}\OR% +\equal{\LWR@strresult}{M}\OR% +\equal{\LWR@strresult}{B}% +}% +{% allow pars +\LWR@startpars% +\global\booltrue{LWR@tableparcell}% +}% allow pars +{}% no pars +\ifthenelse{\cnttest{\value{LWR@tablecolspos}}=1}% +{\LWR@getexparray{LWR@colatspec}{leftedge}}% left edge +{}% not left edge +\LWR@getexparray{LWR@colbeforespec}{\theLWR@tablecolspos}% +\global\boolfalse{LWR@intabularmetadata}% +}% not exiting tabular +}% + + +\newcounter{LWR@midrulecounter} + +\newcommand*{\LWR@clearmidrules} +{% +\setcounter{LWR@midrulecounter}{1}% +\whiledo{% +\cnttest{\value{LWR@midrulecounter}}{<=}{\value{LWR@tablecolswidth}}% +}% +{% +\LWR@setexparray{LWR@midrules}{\theLWR@midrulecounter}{\relax}% +\addtocounter{LWR@midrulecounter}{1}% +}% +} + +\newcommand*{\LWR@subcmidrule}[4]{% +\setcounter{LWR@midrulecounter}{#3}% +\whiledo{\cnttest{\value{LWR@midrulecounter}}{<=}{#4}}% +{% +\LWR@setexparray{LWR@midrules}{\theLWR@midrulecounter}{Y}% +\addtocounter{LWR@midrulecounter}{1}% +}% end of the whiledo +} + +\NewDocumentCommand{\LWR@docmidrule}{o d() >{\SplitArgument{1}{-}}m}% +{\LWR@subcmidrule{#1}{#2}#3} + + + +\newcounter{LWR@tablemulticolswidth} +\newcounter{LWR@tablemulticolspos} + +\newcommand*{\LWR@printmccoltype}[1]{% +\LWR@traceinfo{lwr@printmccoltype -#1-}% +\StrChar{#1}{\theLWR@tablemulticolspos}[\LWR@strresult]% +\IfStrEq{\LWR@strresult}{l}{l}{}% +\IfStrEq{\LWR@strresult}{c}{c}{}% +\IfStrEq{\LWR@strresult}{r}{r}{}% +\IfStrEq{\LWR@strresult}{p}{p}{}% +\IfStrEq{\LWR@strresult}{m}{m}{}% +\IfStrEq{\LWR@strresult}{b}{b}{}% +\IfStrEq{\LWR@strresult}{P}{P}{}% +\IfStrEq{\LWR@strresult}{M}{M}{}% +\IfStrEq{\LWR@strresult}{B}{B}{}% +\IfStrEq{\LWR@strresult}{S}{r}{}% +\LWR@traceinfo{lwr@printmccoltype done}% +} + +\newcommand*{\LWR@multicolpartext}{% +\LWR@startpars% +\LWR@multicoltext% +\LWR@stoppars% +} + +\newcommand*{\LWR@multicolother}[1]{% +\addtocounter{LWR@tablemulticolspos}{1}% +\StrChar{#1}{\theLWR@tablemulticolspos}[\LWR@strresult]% +\LWR@strresult% +} + +\newcommand*{\LWR@printmccoldata}[1]{% +\LWR@traceinfo{lwr@printmccoldata -#1}% +\StrChar{#1}{\theLWR@tablemulticolspos}[\LWR@strresult]% +\IfStrEq{\LWR@strresult}{l}{\LWR@multicoltext}{}% +\IfStrEq{\LWR@strresult}{c}{\LWR@multicoltext}{}% +\IfStrEq{\LWR@strresult}{r}{\LWR@multicoltext}{}% +\IfStrEq{\LWR@strresult}{p}{\LWR@multicolpartext}{}% +\IfStrEq{\LWR@strresult}{m}{\LWR@multicolpartext}{}% +\IfStrEq{\LWR@strresult}{b}{\LWR@multicolpartext}{}% +\IfStrEq{\LWR@strresult}{P}{\LWR@multicolpartext}{}% +\IfStrEq{\LWR@strresult}{M}{\LWR@multicolpartext}{}% +\IfStrEq{\LWR@strresult}{B}{\LWR@multicolpartext}{}% +\IfStrEq{\LWR@strresult}{S}{\LWR@multicolpartext}{}% +\IfStrEq{\LWR@strresult}{\detokenize{@}}{\LWR@multicolother{#1}}{}% +\IfStrEq{\LWR@strresult}{\detokenize{>}}{\LWR@multicolother{#1}}{}% +\IfStrEq{\LWR@strresult}{\detokenize{<}}{\LWR@multicolother{#1}}{}% +\LWR@traceinfo{lwr@printmccoldata done}% +} + +\newcommand*{\LWR@parsemulticolumnalignment}[2]{% +\setcounter{LWR@tablemulticolspos}{1}% +\StrLen{#1}[\LWR@strresult]% +\setcounter{LWR@tablemulticolswidth}{\LWR@strresult}% +\whiledo{% +\not\value{LWR@tablemulticolspos}>\value{LWR@tablemulticolswidth}% +}% +{% +#2{#1}% +\addtocounter{LWR@tablemulticolspos}{1}% +}% +} + + +\newcommand{\LWR@multicoltext}{} + +\NewDocumentCommand{\LWR@domulticolumn}{m m +m}{% +\LWR@traceinfo{lwr@domulticolumn -#1- -#2-}% +\renewcommand{\LWR@multicoltext}{#3}% +\LWR@maybenewtablerow% +\LWR@htmltag{td colspan="#1" + class="td% +\LWR@parsemulticolumnalignment{#2}{\LWR@printmccoltype}% +\ifthenelse{\equal{\LWR@getexparray{LWR@midrules}{\theLWR@tablecolspos}}{Y}}{rule}{}% +"% +}% end of the opening table data tag +\global\boolfalse{LWR@intabularmetadata}% +\LWR@parsemulticolumnalignment{#2}{\LWR@printmccoldata}% +} + + +\newbool{LWR@starredlongtable} +\boolfalse{LWR@starredlongtable} +\providecommand*{\LTcaptype}{table} +\NewDocumentCommand{\LWR@longtabledatacaptiontag}{s o +m} +{% +\IfValueTF{#2}{% optional given? +\ifthenelse{\equal{#2}{}}% optional empty? +{\LWR@setlatestname{#3}}% empty +{\LWR@setlatestname{#2}}% given and non-empty +}% optional given +{\LWR@setlatestname{#3}}% no optional +\LWR@domulticolumn{\theLWR@tabletotalcols}{P}{% \LWR@domulticolumn +\IfBooleanTF{#1}% star? +{% yes star +\LWR@htmlblocktag{figcaption}% +#3% +\LWR@htmlblocktag{/figcaption}% +}% +{% No star: +\ifbool{LWR@starredlongtable}% +{% +\ifthenelse{\equal{#2}{}}% TOC entry +{}% +{% +\refstepcounter{\LTcaptype}% +\protected@edef\@currentlabel{% +\csuse{p@\LTcaptype}\csuse{the\LTcaptype}}% +}% +}{}% +\LWR@htmlblocktag{figcaption}% +\csuse{fnum@\LTcaptype}\CaptionSeparator#3% +\LWR@htmlblocktag{/figcaption}% +\ifthenelse{\equal{#2}{}}% TOC entry empty +{}% +{% TOC entry not empty +\IfNoValueTF{#2}% No TOC entry? +{% No TOC entry +\addcontentsline% +{\csuse{ext@\LTcaptype}}% +{\LTcaptype}% +{% +\protect\numberline% +{\csuse{p@\LTcaptype}\csuse{the\LTcaptype}}% +{\ignorespaces #3\protect\relax}% +}% +}% end of No TOC entry +{% yes TOC entry +\addcontentsline% +{\csuse{ext@\LTcaptype}}% +{\LTcaptype}% +{% +\protect\numberline% +{\csuse{p@\LTcaptype}\csuse{the\LTcaptype}}% +{\ignorespaces #2\protect\relax}% +}% +}% end of yes TOC entry +}% end of TOC entry not empty +}% end of no star +}% end of \LWR@domulticolumn + +\addtocounter{LWR@tablecolspos}{\theLWR@tabletotalcols} +\addtocounter{LWR@tablecolspos}{-1} + +} + + +\NewDocumentCommand{\LWR@tabledatamulticolumntag}{m m +m}% +{% +\LWR@domulticolumn{#1}{#2}{#3}% +\addtocounter{LWR@tablecolspos}{#1}% +\addtocounter{LWR@tablecolspos}{-1}% +} + + + +\NewDocumentCommand{\LWR@tabledatamultirowtag}{m o m o m}% +{% +\LWR@maybenewtablerow% +\LWR@htmltag{td rowspan="#1" class="td% +\StrChar{\LWR@tablecolspec}{\theLWR@tablecolspos}% +\ifthenelse{\equal{\LWR@getexparray{LWR@midrules}{\theLWR@tablecolspos}}{Y}}{rule}{}% +"{}} +\begingroup \let\\\LWR@endofline #5 \endgroup +\LWR@stoppars% +\global\boolfalse{LWR@intabularmetadata}% +}% + +\newcommand*{\LWR@donothing}{} +\newcommand*{\LWR@domidrule}{\booltrue{LWR@doinghline}} +\newcommand*{\LWR@dotbrule}{\booltrue{LWR@doingtbrule}} + + +\newbool{LWR@exitingtabular} +\newcommand*{\LWR@tabledatacolumntag}% +{% +\let\mynext\LWR@tabledatasinglecolumntag% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\end}}% +{\booltrue{LWR@exitingtabular}}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\caption}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\multicolumn}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\multirow}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\mrowcell}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\hline}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\toprule}}% +{% +\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\midrule}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\cmidrule}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\cline}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\bottomrule}}% +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\warpprintonly}} +{\let\mynext\LWR@donothing}{}% +\ifthenelse{\isequivalentto{\LWR@mynexttoken}{\warpHTMLonly}} +{\let\mynext\LWR@donothing}{}% +\mynext% +} + +\end{warpHTML} + + + +\begin{warpall} +\newcommand*{\mrowcell}{} +\end{warpall} + + +\begin{warpHTML} + +\newenvironment*{LWR@tabular}[2][] +{% +\LWR@traceinfo{tabular started}% +\begingroup% +\addtocounter{LWR@tabulardepth}{1}% +\global\boolfalse{LWR@startedrow}% +\global\boolfalse{LWR@doinghline}% +\global\boolfalse{LWR@doingtbrule}% +\boolfalse{LWR@exitingtabular}% +\global\booltrue{LWR@intabularmetadata}% +\LWR@htmlblocktag{table}% +\LWR@parsetablecols{#2}% +\LWR@stoppars% +\setcounter{LWR@tablecolspos}{1}% +\LWR@clearmidrules% +\let\\\LWR@tabularendofline% +\renewcommand*{\hline}{\LWR@domidrule\LWR@getmynexttoken}% +\newcommand*{\midrule}{\LWR@domidrule\LWR@getmynexttoken}% +\NewDocumentCommand{\cmidrule}{o d() m}% +{\LWR@docmidrule[##1](##2){##3}\LWR@getmynexttoken}% +\RenewDocumentCommand{\cline}{m}% +{\LWR@docmidrule{##1}\LWR@getmynexttoken}% +\newcommand*{\toprule}{\LWR@dotbrule\LWR@getmynexttoken}% +\newcommand*{\bottomrule}{\LWR@dotbrule\LWR@getmynexttoken}% +\let\multicolumn\LWR@tabledatamulticolumntag% +\let\multirow\LWR@tabledatamultirowtag% +\renewcommand*{\mrowcell}{\global\booltrue{LWR@skippingmrowcell}}% +\let\caption\LWR@longtabledatacaptiontag% +\global\boolfalse{LWR@tableparcell}% +\global\boolfalse{LWR@skippingmrowcell}% +\LWR@getmynexttoken% +}% +{% +\LWR@closetabledatacell% +\LWR@htmlblocktag{/tr}% +\LWR@htmlblocktag{/table}% +\global\boolfalse{LWR@intabularmetadata}% +\addtocounter{LWR@tabulardepth}{-1}% +\endgroup% +} + +\end{warpHTML} + + + + +\begin{warpHTML} + + +\newcommand*{\@currentlabelname}{} +\def\LWR@stripperiod#1.\ltx@empty#2\@nil{#1}% +\newcommand*{\LWR@setlatestname}[1]{% +\GetTitleStringExpand{#1}% +\edef\@currentlabelname{\detokenize\expandafter{\GetTitleStringResult}}% +\edef\@currentlabelname{% +\expandafter\LWR@stripperiod\@currentlabelname% +\ltx@empty.\ltx@empty\@nil% +}% +} + + +\zref@newlist{special} +\zref@newprop{zLWR@name}{\@currentlabelname} +\zref@newprop{zLWR@htmlfilenumber}{% +\ifbool{FileSectionNames}{\LWR@thisfilename}{\theLWR@htmlfilenumber}% +}% +\zref@newprop{zLWR@lateximagedepth}{\arabic{LWR@lateximagedepth}} +\zref@newprop{zLWR@lateximagenumber}{\arabic{LWR@lateximagenumber}} +\zref@addprop{special}{zLWR@name} +\zref@addprop{special}{zLWR@htmlfilenumber} +\zref@addprop{special}{zLWR@lateximagedepth} +\zref@addprop{special}{zLWR@lateximagenumber} +\newcommand*{\LWR@spref}[2]{% +\zref@extractdefault{#1}{#2}{??}} +\newcommand*{\LWR@nameref}[1]{% +\LWR@spref{#1}{zLWR@name}% +} +\newcommand*{\LWR@htmlfileref}[1]{% +\LWR@traceinfo{LWR@htmlfileref A: !#1!}% +\LWR@spref{#1}{zLWR@htmlfilenumber}% +\LWR@traceinfo{LWR@htmlfileref B}% +} +\newcommand*{\LWR@lateximagedepthref}[1]{% +\LWR@spref{#1}{zLWR@lateximagedepth}% +} +\newcommand*{\LWR@lateximagenumberref}[1]{% +\LWR@spref{#1}{zLWR@lateximagenumber}% +} +\newcommand*{\LWR@splabel}[1]{% +\LWR@setlatestname{\@currentlabelname}% +\zref@labelbylist{#1}{special}} + + +\newcommand*{\LWR@subsublabel}[1]{% +\ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}% +{}% +{% not lateximage +\ifbool{LWR@doingstartpars}% +{% pars allowed +\ifbool{LWR@doingapar} +{% par started +\LWR@htmltag{a id="#1"{}}\LWR@htmltag{/a}% +}% par started +{% par not started +\LWR@stoppars% +\LWR@htmltag{a id="#1"{}}\LWR@htmltag{/a}% +\LWR@startpars% +}% par not started +}% pars allowed +{% pars not allowed +\LWR@htmltag{a id="#1"{}}\LWR@htmltag{/a}% +}% pars not allowed +}% not lateximage +} + +\newcommand*{\LWR@sublabel}[1]{% +\LWR@traceinfo{LWR@sublabel: !#1!}% +\LWR@origlabel{#1}% +\LWR@traceinfo{about to splabel}% +\LWR@traceinfo{filesectionnames is \ifbool{FileSectionNames}{true}{false}}% +\LWR@traceinfo{LWR@thisfilename is !\LWR@thisfilename!}% +\LWR@traceinfo{LWR@htmlfilenumber is \theLWR@htmlfilenumber}% +\LWR@splabel{#1}% +\LWR@subsublabel{#1}% +\LWR@traceinfo{finished with LWR@sublabel}% +} +\newcommand*{\LWR@newlabel}[1]{% +\LWR@traceinfo{lwr@newlabel: !#1!}% +\LWR@sublabel{#1}% +\LWR@traceinfo{lwr@newlabel: done}% +} + + +\newcommand*{\LWR@startref}[1] +{% +\edef\LWR@lidref{\LWR@lateximagedepthref{#1}} +\LWR@htmltag{a href="% +\LWR@htmlrefsectionfilename{#1}% +\#% +\ifthenelse{\equal{\LWR@lidref}{??}}% +{??}% +{% +\ifthenelse{\cnttest{\LWR@lidref}{>}{0}}% +{% +lateximage\LWR@lateximagenumberref{#1}% +}% +{% +#1% +}% +}% +"{}}% +} + +\NewDocumentCommand{\LWR@newref}{s m}{% +\LWR@traceinfo{LWR@newref #2}% +\IfBooleanTF{#1}% +{\LWR@origref{#2}}% +{% +\LWR@startref{#2}% +\LWR@origref{#2}% +\LWR@htmltag{/a}% +}% +} + + +\newcommand*{\pagerefPageFor}{page for} +\NewDocumentCommand{\LWR@newpageref}{s m}{% +\IfBooleanTF{#1}% +{(\pagerefPageFor\ \LWR@origref{#2})}% +{(\cpageref{#2})}% +} + +\newcommand*{\nameref}[1]{% +\LWR@traceinfo{nameref A}% +\LWR@startref{#1}% +\LWR@traceinfo{nameref B}% +\LWR@nameref{#1}% +\LWR@traceinfo{nameref C}% +\LWR@htmltag{/a}% +\LWR@traceinfo{nameref D}% +} + + + + + +\NewDocumentCommand{\LWR@subhyperref}{m +m}{% +\LWR@htmltag{a href="{#1}" target="\_{}blank"\LWR@orignewline}#2\LWR@htmltag{/a}% +\LWR@ensuredoingapar% +} + +\NewDocumentCommand{\LWR@subhyperrefclass}{m +m m}{% +\LWR@htmltag{a href="{#1}" +class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% +\LWR@ensuredoingapar% +} + +\NewDocumentCommand{\LWR@hrefb}{O{} m +m}{% +\LWR@subhyperref{#2}{#3}% +\endgroup% +\LWR@ensuredoingapar% +} + +\newcommand{\href}{% +\LWR@ensuredoingapar% +\begingroup% +\catcode`\_=12 +\LWR@hrefb% +} + +\newcommand*{\LWR@nolinkurlb}[1]{#1\endgroup\LWR@ensuredoingapar} + +\newcommand{\nolinkurl}{% +\LWR@ensuredoingapar% +\begingroup\catcode`\_=12 +\LWR@nolinkurlb% +} + +\newcommand*{\LWR@urlb}[1]{% +\href{#1}{#1}% +\endgroup% +\LWR@ensuredoingapar% +} + +\newcommand{\url}{% +\LWR@ensuredoingapar% +\begingroup\catcode`\_=12 +\LWR@urlb% +} + +\newcommand*{\LWR@subinlineimage}[5][]{% +\ifthenelse{\equal{#1}{}}% +{\LWR@htmltag{img src="#3.#4" alt="#3" style="#5" class="#2"{}}}% +{\LWR@htmltag{img src="#3.#4" alt="#1" style="#5" class="#2"{}}}% +} + +\end{warpHTML} + + + + + + +\begin{warpHTML} + +\NewDocumentCommand{\LWR@floatbegin}{m o}{% +\LWR@stoppars +\addtocounter{LWR@thisfloat}{1}% +\booltrue{LWR@freezethisfloat}% +\begingroup +\LWR@origraggedright +\LWR@htmltag{figure id="autofloat-\arabic{LWR@thisfloat}" class="#1"} +\renewcommand*{\@captype}{#1} +\caption@settype{#1} +\LWR@startpars +} +\let\@float\LWR@floatbegin +\let\@dblfloat\LWR@floatbegin +\newcommand*{\LWR@floatend}{% +\LWR@stoppars% +\LWR@htmlelementend{figure}% +\endgroup% +\boolfalse{LWR@freezethisfloat}% +\LWR@startpars% +} +\let\end@float\LWR@floatend +\let\end@dblfloat\LWR@floatend + +\newcounter{LWR@thisfloat} + +\newbool{LWR@freezethisfloat} +\boolfalse{LWR@freezethisfloat} + +\newcommand*{\LWR@maybeincthisfloat}{% +\ifbool{LWR@freezethisfloat}{}{\addtocounter{LWR@thisfloat}{1}}% +} + +\newcommand*{\@captype}{} + + +\AtBeginDocument{\providecommand*{\CaptionSeparator}{:~}} + +\AtBeginDocument{\renewcommand{\@makecaption}[2]{#1\CaptionSeparator#2}} + + +\newcounter{LWR@nextautofloat} +\newcounter{LWR@nextautopage} +\newcommand*{\LWRsetnextfloat}[2]{% +\setcounter{LWR@nextautopage}{#1}% +\setcounter{LWR@nextautofloat}{#2}% +} + +\newcounter{LWR@latestautopage}% updated each new HTML file +\setcounter{LWR@latestautopage}{1} + +\let\LWR@origcaption@begin\caption@begin +\let\LWR@origcaption@end\caption@end +\let\LWR@orig@@par\@@par + +\newcommand{\LWR@caption@begin} +{ +\LWR@traceinfo{LWR@caption@begin}% +\begingroup% +\renewcommand{\@@par}{\LWR@closeparagraph\LWR@orig@@par}% +\RenewDocumentEnvironment{minipage}{O{t} o O{t} m}{}{}% +\LWR@htmlblocktag{figcaption}% +\LWR@origcaption@begin% +} + +\newcommand{\LWR@caption@end} +{% +\LWR@origcaption@end% +\vspace*{\baselineskip}% +\LWR@htmlblocktag{/figcaption}% +\endgroup% +\LWR@traceinfo{LWR@caption@end: done}% +} + +\let\caption@begin\LWR@caption@begin +\let\caption@end\LWR@caption@end + +\let\LWR@origcaptionlistentry\captionlistentry + +\renewcommand*{\captionlistentry}{% +\LWR@maybeincthisfloat% +\LWR@ensuredoingapar% +\LWR@htmltag{a id="autofloat-\arabic{LWR@thisfloat}"{}}\LWR@htmltag{/a}% +\LWR@origcaptionlistentry% +} + +\def\LWR@LTcaptionlistentry{% +\LWR@ensuredoingapar% +\LWR@htmltag{a id="autofloat-\arabic{LWR@thisfloat}"{}}\LWR@htmltag{/a}% + \bgroup + \@ifstar{\egroup\LWR@LT@captionlistentry}% gobble * + {\egroup\LWR@LT@captionlistentry}}% +\def\LWR@LT@captionlistentry#1{% + \caption@listentry\@firstoftwo[\LTcaptype]{#1}}% + +\let\LWR@origaddcontentsline\addcontentsline + +\renewcommand*{\addcontentsline}[3]{% +\ifthenelse{\equal{#1}{toc}}{}{% +\addtocontents{\@nameuse{ext@#2}}{% +\protect\LWRsetnextfloat% +{\arabic{LWR@latestautopage}}% +{\arabic{LWR@thisfloat}}% +}% +}% +\LWR@origaddcontentsline{#1}{#2}{#3}% +} + +\AtBeginDocument{ +\let\LWR@origcaptionof\captionof + +\renewcommand*{\captionof}{% +\LWR@maybeincthisfloat% +\LWR@stoppars +\LWR@htmltag{a id="autofloat-\arabic{LWR@thisfloat}"{}}\LWR@htmltag{/a}% +\LWR@origcaptionof% +} +} + +\end{warpHTML} + + +\begin{warpHTML} + + + +\newcommand*{\LWR@myshorttoc}[1]{ +\LWR@ensuredoingapar +\IfFileExists{\jobname.#1}{ +\begingroup +\makeatletter +\@input{\jobname.#1} +\endgroup +}% +{}% +} + +\NewDocumentCommand{\LWR@subtableofcontents}{m m}{% +\@ifundefined{chapter} +{\LWR@closeprevious{\LWR@depthsection}} +{\LWR@closeprevious{\LWR@depthchapter}} +\LWR@printpendingnotes +\@ifundefined{chapter}{\section*{#2}}{\chapter*{#2}} +\LWR@htmlelementclass{nav}{#1} +\LWR@myshorttoc{#1} +\LWR@htmlelementclassend{nav}{#1} +} + +\let\LWR@orig@starttoc\@starttoc + +\renewcommand{\@starttoc}[1]{ +\LWR@htmlelementclass{nav}{#1} +\LWR@orig@starttoc{#1} +\LWR@htmlelementclassend{nav}{#1} +} +\let\LWR@origtableofcontents\tableofcontents +\let\LWR@origlistoffigures\listoffigures +\let\LWR@origlistoftables\listoftables +\renewcommand*{\tableofcontents}{% +\LWR@copyfile{\jobname.toc}{\jobname.sidetoc}% +\LWR@printpendingnotes% +\LWR@origtableofcontents% +} +\renewcommand*{\listoffigures}{\LWR@printpendingnotes\LWR@origlistoffigures} +\renewcommand*{\listoftables}{\LWR@printpendingnotes\LWR@origlistoftables} + + +\NewDocumentCommand{\listof}{m +m}{% +\LWR@subtableofcontents{\@nameuse{ext@#1}}{#2} +\expandafter\newwrite\csname tf@\csname ext@#1\endcsname\endcsname +\immediate\openout \csname tf@\csname ext@#1\endcsname\endcsname + \jobname.\csuse{ext@#1}\relax +} + + + +\end{warpHTML} + +\begin{warpall} + +\newcounter{SideTOCDepth} +\setcounter{SideTOCDepth}{1} + +\newcommand{\sidetocname}{Contents} + +\end{warpall} + +\begin{warpHTML} + +\newcommand*{\LWR@sidetoc}{ +\LWR@stoppars + +\LWR@htmlelementclass{nav}{sidetoc} + +\setcounter{tocdepth}{\value{SideTOCDepth}} + +\begin{BlockClass}{sidetoctitle} +\sidetocname +\end{BlockClass} +\begin{BlockClass}{sidetoccontents} +\LinkHome + +\LWR@myshorttoc{sidetoc} +\end{BlockClass} +\LWR@htmlelementclassend{nav}{sidetoc} +} + + +\renewcommand*{\numberline}[1]{% +\LWR@sectionnumber{#1}% +} + +\NewDocumentCommand{\hypertoc}{m m +m m}{% +\ifthenelse{\cnttest{#1}{<=}{\value{tocdepth}}}{% +\LWR@startpars% +\LWR@subhyperrefclass{% +\LWR@htmlrefsectionfilename{autopage-#4}\#autosec-#4}{#3}{#2}% +\LWR@stoppars% +} +{} +} + + +\newcommand{\hypertocfloat}[4]{% +\LWR@startpars +\LWR@subhyperrefclass{% +\LWR@htmlrefsectionfilename{autopage-\arabic{LWR@nextautopage}}% +\#autofloat-\arabic{LWR@nextautofloat}}% +{#3}{#2}% +\LWR@stoppars% +} + +\renewcommand{\l@part}[2]{\hypertoc{-1}{tocpart}{#1}{#2}} +\DeclareDocumentCommand{\l@chapter}{m m} +{\hypertoc{0}{tocchapter}{#1}{#2}} +\renewcommand{\l@section}[2]{\hypertoc{1}{tocsection}{#1}{#2}} +\renewcommand{\l@subsection}[2]{\hypertoc{2}{tocsubsection}{#1}{#2}} +\renewcommand{\l@subsubsection}[2] +{\hypertoc{3}{tocsubsubsection}{#1}{#2}} +\renewcommand{\l@paragraph}[2]{\hypertoc{4}{tocparagraph}{#1}{#2}} +\renewcommand{\l@subparagraph}[2]{\hypertoc{5}{tocsubparagraph}{#1}{#2}} +\renewcommand{\l@figure}[2]{\hypertocfloat{1}{tocfigure}{#1}{#2}} +\renewcommand{\l@table}[2]{\hypertocfloat{1}{toctable}{#1}{#2}} + +\end{warpHTML} + + + +\begin{warpHTML} + +\@ifundefined{chapter} +{\newcommand*{\LWR@indexsection}{\section{\indexname}}} +{\newcommand*{\LWR@indexsection}{\chapter{\indexname}}} + +\let\LWR@origprintindex\printindex + +\renewcommand*{\printindex} +{ +\LWR@indexsection +\LWR@startpars +\LWR@origprintindex +} + +\renewenvironment*{theindex}{% +\let\item\LWR@indexitem% +\let\subitem\LWR@indexsubitem% +\let\subsubitem\LWR@indexsubsubitem% +}{} + +\newcommand{\LWR@indexitem}{ + +\InlineClass{indexitem}{} +} + +\newcommand{\LWR@indexsubitem}{ + +\InlineClass{indexsubitem}{} +} + +\newcommand{\LWR@indexsubsubitem}{ + +\InlineClass{indexsubsubitem}{} +} + +\newcommand*{\hyperindexref}[1]{ +\LWR@htmltag{a href="% +\LWR@htmlrefsectionfilename{autopage-#1}\#autosec-#1"{}}% +\LWR@origref{autopage-#1}\enskip\LWR@nameref{autopage-#1}% +\LWR@htmltag{/a}% +} + +\end{warpHTML} + +\begin{warpprint} +\newcommand{\hyperindexref}[1]{#1} +\end{warpprint} + + +\begin{warpHTML} + +\let\LWR@origtextdollar\$ + +\renewcommand*{\$}{% +\LWR@htmltagc{span}% +\LWR@origtextdollar% +\LWR@htmltagc{/span}% +} + +\newcounter{LWR@externalfilecnt} + + +\let\LWR@origdollar=$ +\let\secondorigdollar=$% balance for editor syntax highlighting + +\let\LWR@origopenparen\( +\let\LWR@origcloseparen\) + +\begingroup +\catcode`\$=\active% +\protected\gdef${\@ifnextchar$\LWR@doubledollar\LWR@singledollar}% + +\gdef\LWR@doubledollar$#1$${ +\ifbool{mathjax}% +{\textbackslash[\LWR@HTMLsanitize{#1}\textbackslash]} +{% not mathjax + +\begin{lateximage}% +[\textbackslash{[} \LWR@HTMLsanitize{#1} \textbackslash{]}]% +\LWR@origdollar\LWR@origdollar#1\LWR@origdollar\LWR@origdollar% +\end{lateximage} + +} +}% + +\gdef\LWR@singledollar#1${% +\ifbool{mathjax}% +{\textbackslash(\LWR@HTMLsanitize{#1}\textbackslash)} +{% not mathjax +\begin{lateximage}% +[\textbackslash( \LWR@HTMLsanitize{#1} \textbackslash)]% +\LWR@origdollar#1\LWR@origdollar% +\end{lateximage}% +}% +}% + +\gdef\(#1\){$#1$} +\gdef\[#1\]{$$#1$$} + +\endgroup + +\let\math\relax +\let\endmath\relax +\let\displaymath\relax +\let\enddisplaymath\relax + +\NewEnviron{math}{\expandafter\(\BODY\)} +\NewEnviron{displaymath}{\expandafter\[\BODY\]\@ignoretrue} + +\AtBeginDocument{\catcode`\$=\active} + +\newcounter{LWR@nextequation} +\newcommand*{\LWR@syncmathjax}{% +\ifcsdef{thechapter}{ +\BlockClassSingle{hidden}{ +\textbackslash( +\textbackslash{}seteqsection \{\thechapter\} +\textbackslash) +} +} +{}% not using chapters + +\ifthenelse{\cnttest{\value{equation}}>0} +{ +\setcounter{LWR@nextequation}{\value{equation}} +\addtocounter{LWR@nextequation}{1} +\BlockClassSingle{hidden}{ +\textbackslash( +\textbackslash{}seteqnumber \{\arabic{LWR@nextequation}\} +\textbackslash) +} +}{}% not eq > 1 +} + +\newcommand*{\LWR@restoremathlatexformatting}{% +\let\hspace\LWR@orighspace% +\let\rule\LWR@origrule% +\let\,\LWR@origcomma% disable HTML short unbreakable space +\let\textit\LWR@origtextit% +\let\textbf\LWR@origtextbf% +\let\texttt\LWR@origtexttt% +\let\textsc\LWR@origtextsc% +\let\textsf\LWR@origtextsf% +\let\textrm\LWR@origtextrm% +\renewcommand*{\thefootnote}{\fnsymbol{footnote}}% +\let\textsuperscript\LWR@origtextsuperscript% +\let\textsubscript\LWR@origtextsubscript% +\let~\LWR@origtilde% +\let\enskip\LWR@origenskip% +\let\quad\LWR@origquad% +\let\qquad\LWR@origqquad% +} + +\NewDocumentCommand{\LWR@hidelatexequation}{m +m}{% +\LWR@stoppars +\LWR@htmlopencomment + +\begingroup +\csuse{LWR@orig#1} +\LWR@restoremathlatexformatting +#2 +\csuse{LWR@origend#1} +\endgroup + +\LWR@htmlclosecomment +\LWR@startpars +} + +\NewDocumentCommand{\LWR@addmathjax}{m +m}{% + +\textbackslash{}begin\{#1\} +\LWR@HTMLsanitizeexpand{\detokenize\expandafter{#2}} +\textbackslash{}end\{#1\} + +} + +\let\LWR@origequation\equation +\let\LWR@origendequation\endequation +\let\equation\relax +\let\endequation\relax + +\NewEnviron{equation}{% + +\ifbool{mathjax} +{ +\LWR@syncmathjax +\LWR@hidelatexequation{equation}{\BODY} +} +{% not mathjax +\begin{lateximage}[(\theequation) \textbackslash{begin\{equation\}}% + \LWR@HTMLsanitizeexpand{\detokenize\expandafter{\BODY}}% + \textbackslash{end\{equation\}}]% alt tag +\LWR@origequation +\BODY% contents collected by NewEnviron +\LWR@origendequation +\end{lateximage}% +} + +}[\ifbool{mathjax}{\LWR@addmathjax{equation}{\BODY}}{}] + +\newbool{LWR@amsmultline} +\boolfalse{LWR@amsmultline} + + +\newcommand*{\LWR@htmlmathlabel}[1]{% +\LWR@traceinfo{LWR@htmlmathlabel #1}% +\ifbool{mathjax}{% +\text{ +\ifbool{LWR@amsmultline}{}{\hspace*{\totwidth@}} +\LWR@htmlclosecomment\LWR@sublabel{\@firstofone#1}\LWR@htmlopencomment}% +}% +{\LWR@sublabel{\@firstofone#1}}% +} + +\newcommand*{\LWR@beginhideamsmath}{ +\LWR@stoppars + +\LWR@htmlopencomment + +\begingroup +\LWR@restoremathlatexformatting +} + +\newcommand*{\LWR@endhideamsmath}{ +\endgroup + +\LWR@htmlclosecomment + +\LWR@startpars +} + + + +\BeforeBeginEnvironment{multline}{ +\ifbool{mathjax} +{ +\LWR@syncmathjax +\booltrue{LWR@amsmultline} +\LWR@beginhideamsmath +} +{ +\lateximage[LWRAMSMATHBODY] +} +} + +\AfterEndEnvironment{multline}{ + +\ifbool{mathjax} +{ +\LWR@endhideamsmath +\boolfalse{LWR@amsmultline} +\LWR@addmathjax{multline}{\the\@envbody} +} +{\endlateximage} + +} + +\BeforeBeginEnvironment{multline*}{ +\ifbool{mathjax} +{ +\LWR@syncmathjax +\booltrue{LWR@amsmultline} +\LWR@beginhideamsmath +} +{ +\lateximage[LWRAMSMATHBODY] +} +} + +\AfterEndEnvironment{multline*}{ + +\ifbool{mathjax} +{ +\LWR@endhideamsmath +\boolfalse{LWR@amsmultline} +\LWR@addmathjax{multline*}{\the\@envbody} +} +{\endlateximage} + +} + + +\BeforeBeginEnvironment{gather}{ +\ifbool{mathjax} +{ +\LWR@syncmathjax +\boolfalse{LWR@amsmultline} +\LWR@beginhideamsmath +} +{ +\lateximage[LWRAMSMATHBODY] +} +} + +\AfterEndEnvironment{gather}{ + +\ifbool{mathjax} +{ +\LWR@endhideamsmath +\LWR@addmathjax{gather}{\the\@envbody} +} +{\endlateximage} + +} + +\BeforeBeginEnvironment{gather*}{ +\ifbool{mathjax} +{ +\LWR@syncmathjax +\boolfalse{LWR@amsmultline} +\LWR@beginhideamsmath +} +{ +\lateximage[LWRAMSMATHBODY] +} +} + +\AfterEndEnvironment{gather*}{ + +\ifbool{mathjax} +{ +\LWR@endhideamsmath +\LWR@addmathjax{gather*}{\the\@envbody} +} +{\endlateximage} + +} + +\BeforeBeginEnvironment{align}{ +\ifbool{mathjax} +{ +\LWR@syncmathjax +\boolfalse{LWR@amsmultline} +\LWR@beginhideamsmath +} +{ +\lateximage[LWRAMSMATHBODY] +} +} + +\AfterEndEnvironment{align}{ + +\ifbool{mathjax} +{ +\LWR@endhideamsmath +\LWR@addmathjax{align}{\the\@envbody} +} +{\endlateximage} + +} + +\BeforeBeginEnvironment{align*}{ +\ifbool{mathjax} +{ +\LWR@syncmathjax +\boolfalse{LWR@amsmultline} +\LWR@beginhideamsmath +} +{ +\lateximage[LWRAMSMATHBODY] +} +} + +\AfterEndEnvironment{align*}{ + +\ifbool{mathjax} +{ +\LWR@endhideamsmath +\LWR@addmathjax{align*}{\the\@envbody} +} +{\endlateximage} + +} + +\BeforeBeginEnvironment{flalign}{ +\ifbool{mathjax} +{ +\LWR@syncmathjax +\boolfalse{LWR@amsmultline} +\LWR@beginhideamsmath +} +{ +\lateximage[LWRAMSMATHBODY] +} +} + +\AfterEndEnvironment{flalign}{ + +\ifbool{mathjax} +{ +\LWR@endhideamsmath +\LWR@addmathjax{flalign}{\the\@envbody} +} +{\endlateximage} + +} + +\BeforeBeginEnvironment{flalign*}{ +\ifbool{mathjax} +{ +\LWR@syncmathjax +\boolfalse{LWR@amsmultline} +\LWR@beginhideamsmath +} +{ +\lateximage[LWRAMSMATHBODY] +} +} + +\AfterEndEnvironment{flalign*}{ + +\ifbool{mathjax} +{ +\LWR@endhideamsmath +\LWR@addmathjax{flalign*}{\the\@envbody} +} +{\endlateximage} + +} + +\end{warpHTML} + + +\begin{warpHTML} +\newpagestyle{LWR@commentfooterstyle}{ +\sethead{}{}{} +\setfoot{\LWR@htmlopencomment}{}{} +} + +\newcounter{LWR@lateximagenumber} +\setcounter{LWR@lateximagenumber}{0} +\newcounter{LWR@lateximagedepth} +\setcounter{LWR@lateximagedepth}{0} + +\ifcsdef{LWR@file}{}{\newwrite{\LWR@file}} +\edef\LWR@hashmark{\string#} % for use in \write +\edef\LWR@percent{\@percentchar} % for use in \write + +\newcounter{LWR@nextpage} + +\end{warpHTML} + +\begin{warpall} + +\newcommand*{\LateximageFontSizeName}{normalsize} + +\end{warpall} + +\begin{warpHTML} + +\newcommand{\LWR@HTMLsanitize}[1]{% +\protect\StrSubstitute{\detokenize{#1}}% +{\detokenize{&}}% +{\detokenize{&}}[\LWR@strresult]% +\protect\StrSubstitute{\detokenize\expandafter{\LWR@strresult}}% +{\detokenize{<}}% +{\detokenize{<}}% +[\LWR@strresult]% +\protect\StrSubstitute{\detokenize\expandafter{\LWR@strresult}}% +{\detokenize{>}}% +{\detokenize{>}}% +[\LWR@strresult]% +\protect\StrSubstitute{\detokenize\expandafter{\LWR@strresult}}% +{\detokenize{##}}% +{\#}% +[\LWR@strresult]% +\LWR@strresult% +} + +\newcommand{\LWR@HTMLsanitizeexpand}[1]{% +\protect\StrSubstitute{\detokenize\expandafter{#1}}% +{\detokenize{&}}% +{\detokenize{&}}% +[\LWR@strresult]% +\protect\StrSubstitute{\detokenize\expandafter{\LWR@strresult}}% +{\detokenize{<}}% +{\detokenize{<}}% +[\LWR@strresult]% +\protect\StrSubstitute{\detokenize\expandafter{\LWR@strresult}}% +{\detokenize{>}}% +{\detokenize{>}}% +[\LWR@strresult]% +\LWR@strresult% +} + +\NewDocumentEnvironment{lateximage}{O{image}}{% +\ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}% +{% +\addtocounter{LWR@lateximagedepth}{1}% +}% +{% start of outer-most lateximage +\addtocounter{LWR@lateximagenumber}{1}% +\boolfalse{mathjax} +\LWR@ensuredoingapar% +\addtocounter{LWR@externalfilecnt}{1}% +\setcounter{LWR@nextpage}{\thepage}% +\addtocounter{LWR@nextpage}{1}% +\LWR@htmltag{span id="lateximage\arabic{LWR@lateximagenumber}" % +class="lateximagesource"{}} \LWR@orignewline +\immediate\write\LWR@file{% + pdfseparate -f \theLWR@nextpage \space -l % + \theLWR@nextpage \space % + \jobname.pdf lateximagetemp-\LWR@percent d.pdf}% +\immediate\write\LWR@file{% + pdfcrop --hires lateximagetemp-\theLWR@nextpage.pdf + lateximage-\theLWR@externalfilecnt.pdf}% +\immediate\write\LWR@file{% + pdftocairo -svg lateximage-\theLWR@externalfilecnt.pdf + lateximage-\theLWR@externalfilecnt.svg}% +\immediate\write\LWR@file{% + \OSmv lateximage-\theLWR@externalfilecnt.svg % + lateximages\OSPathSymbol}% +\immediate\write\LWR@file{% + \OSrm lateximage-\theLWR@externalfilecnt.pdf + lateximagetemp-\theLWR@nextpage.pdf}% +\LWR@origthispagestyle{LWR@commentfooterstyle}% +\addtocounter{LWR@lateximagedepth}{1}% +\LWR@orignewpage% +\LWR@origminipage{6in}% +\csuse{LWR@orig\LateximageFontSizeName}% +\let\hspace\LWR@orighspace% +\let\rule\LWR@origrule% +\let\,\LWR@origcomma% disable HTML short unbreakable space +\let\textit\LWR@origtextit% +\let\textbf\LWR@origtextbf% +\let\texttt\LWR@origtexttt% +\let\textsc\LWR@origtextsc% +\let\textsf\LWR@origtextsf% +\let\textrm\LWR@origtextrm% +\renewcommand*{\thefootnote}{\fnsymbol{footnote}}% +\let\textsuperscript\LWR@origtextsuperscript% +\let\textsubscript\LWR@origtextsubscript% +\let~\LWR@origtilde% +\let\enskip\LWR@origenskip% +\let\quad\LWR@origquad% +\let\qquad\LWR@origqquad% +\let\tabular\LWR@origtabular% +\let\endtabular\LWR@origendtabular% +\let\newline\LWR@orignewline% +}% end of outer-most lateximage +}% end of \begin{lateximage} +{% start of \end{lateximage} +\ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{1}}% +{% +\addtocounter{LWR@lateximagedepth}{-1}% +}% +{% end of outer-most lateximage +\LWR@origendminipage% +\LWR@orignewpage% +\LWR@origscriptsize% +\LWR@htmlclosecomment{}\LWR@orignewline% +\ifthenelse{\equal{#1}{LWRAMSMATHBODY}}% +{% +\LWR@subinlineimage[% +\LWR@HTMLsanitizeexpand{\detokenize\expandafter{\the\@envbody}}% +]% +{lateximage}% +{lateximages\OSPathSymbol{}lateximage-\theLWR@externalfilecnt}% +{svg}% +{}% +}% +{% +\LWR@subinlineimage[#1]{lateximage}% +{lateximages\OSPathSymbol{}lateximage-\theLWR@externalfilecnt}{svg}{}% +}% +\LWR@ensuredoingapar% +\LWR@htmltag{/span}% +\LWR@htmlcomment{End of lateximage}% +\addtocounter{LWR@lateximagedepth}{-1}% +}% end of outer-most lateximage +}% +\end{warpHTML} +\begin{warpprint} +\newenvironment{lateximage}[1][]{\begingroup}{\endgroup} +\end{warpprint} + + +\begin{warpHTML} + +\renewenvironment*{center} +{\BlockClass{center}} +{\endBlockClass} + +\renewenvironment*{flushright} +{\BlockClass{flushright}} +{\endBlockClass} + +\renewenvironment*{flushleft} +{\BlockClass{flushleft}} +{\endBlockClass} + +\end{warpHTML} + + + +\begin{warpHTML} + +\PassOptionsToPackage{ +detect-mode=true, +per-mode=symbol, % fraction is not seen by pdftotext +text-celsius = {\HTMLentity{deg}C}, +text-degree = {\HTMLentity{deg}}, +}{siunitx} + +\end{warpHTML} + + +\begin{warpHTML} + + +\newcommand*{\thisgraphicspath}{{}} +\renewcommand*{\graphicspath}[1]{\renewcommand*{\thisgraphicspath}{#1}} + + +\renewcommand*{\DeclareGraphicsExtensions}[1]{} +\renewcommand*{\DeclareGraphicsRule}[4]{} + + +\renewcommand*{\unitspace}{} + +\newlength{\LWR@igwidth} +\newlength{\LWR@igheight} +\newcommand*{\LWR@igwidthstyle}{} +\newcommand*{\LWR@igheightstyle}{} +\newcommand*{\LWR@igorigin}{} +\newcommand*{\LWR@igangle}{} +\newcommand*{\LWR@igxscale}{1} +\newcommand*{\LWR@igyscale}{1} +\newcommand*{\LWR@igclass}{inlineimage} + +\define@key{igraph}{width}{% +\setlength{\LWR@igwidth}{#1}% +\ifthenelse{\lengthtest{\LWR@igwidth > 0pt}}% +{% +\uselengthunit{PT}% +\renewcommand*{\LWR@igwidthstyle}{width:\rndprintlength{\LWR@igwidth}}% +\IfEndWith{#1}{ex}% +{\renewcommand*{\LWR@igwidthstyle}{width:#1}}% yes ex +{}% not ex +\IfEndWith{#1}{em}% +{\renewcommand*{\LWR@igwidthstyle}{width:#1}}% yes em +{}% not em +\IfEndWith{#1}{\%}% +{\renewcommand*{\LWR@igwidthstyle}{width:#1}}% yes percent +{}% not percent +\IfEndWith{#1}{px}% +{\renewcommand*{\LWR@igwidthstyle}{width:#1}}% yes px +{}% not px +}{}% end of length > 0pt +} +\define@key{igraph}{height}{% +\setlength{\LWR@igheight}{#1}% +\ifthenelse{\lengthtest{\LWR@igheight > 0pt}}% +{% +\uselengthunit{PT}% +\renewcommand*{\LWR@igheightstyle}{% +height:\rndprintlength{\LWR@igheight} % +}% +\IfEndWith{#1}{ex}% +{\renewcommand*{\LWR@igheightstyle}{height:#1}}% yes ex +{}% not ex +\IfEndWith{#1}{em}% +{\renewcommand*{\LWR@igheightstyle}{height:#1}}% yes em +{}% not em +\IfEndWith{#1}{\%}% +{\renewcommand*{\LWR@igheightstyle}{height:#1}}% yes percent +{}% not percent +\IfEndWith{#1}{px}% +{\renewcommand*{\LWR@igheightstyle}{height:#1}}% yes px +{}% not px +}{}% end of length > 0pt +} +\define@key{igraph}{origin}{% +\renewcommand*{\LWR@igorigin}{#1}% +} +\define@key{igraph}{angle}{\renewcommand*{\LWR@igangle}{#1}} +\define@key{igraph}{class}{\renewcommand*{\LWR@igclass}{#1}} + +\define@key{igraph}{scale}{% +\renewcommand*{\LWR@igxscale}{#1}% +\renewcommand*{\LWR@igyscale}{#1}} +\define@key{igraph}{bb}{} +\define@key{igraph}{bbllx}{} +\define@key{igraph}{bblly}{} +\define@key{igraph}{bburx}{} +\define@key{igraph}{bbury}{} +\define@key{igraph}{natwidth}{} +\define@key{igraph}{natheight}{} +\define@key{igraph}{hiresbb}{} +\define@key{igraph}{viewport}{} +\define@key{igraph}{trim}{} +\define@key{igraph}{totalheight}{} +\define@key{igraph}{keepaspectratio}{} +\define@key{igraph}{clip}{} +\define@key{igraph}{draft}{} +\define@key{igraph}{type}{} +\define@key{igraph}{ext}{} +\define@key{igraph}{read}{} +\define@key{igraph}{command}{} + +\newcommand*{\LWR@rotstyle}[2]{% + #1transform:rotate(-#2deg); +} + +\newcommand*{\LWR@scalestyle}[3]{% + #1transform:scale(#2,#3); +} + + +\newbool{LWR@infloatrow} +\boolfalse{LWR@infloatrow} + +\newcommand*{\LWR@imageextension}{} +\newcommand*{\LWR@expgraphicsfilename}{} + + +\newcommand*{\LWR@includegraphicsb}[2][] +{% +\LWR@origtilde \LWR@orignewline% +\ifthenelse{\cnttest{\value{LWR@minipagedepth}}{=}{0}}{% +\ifbool{LWR@infloatrow}% +{} +{% not in a minipage or a floatrow: +\setlength{\linewidth}{6in}% +\setlength{\textwidth}{6in}% +\setlength{\textheight}{9in}% +}% +}{}% +\edef\LWR@expgraphicsfilename{#2} +\renewcommand*{\LWR@imageextension}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.jpg}% +{\renewcommand*{\LWR@imageextension}{.jpg}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.JPG}% +{\renewcommand*{\LWR@imageextension}{.JPG}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.png}% +{\renewcommand*{\LWR@imageextension}{.png}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.PNG}% +{\renewcommand*{\LWR@imageextension}{.PNG}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.gif}% +{\renewcommand*{\LWR@imageextension}{.gif}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.GIF}% +{\renewcommand*{\LWR@imageextension}{.GIF}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.svg}% +{\renewcommand*{\LWR@imageextension}{.svg}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.SVG}% +{\renewcommand*{\LWR@imageextension}{.SVG}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.svgz}% +{\renewcommand*{\LWR@imageextension}{.svgz}}{}% +\IfFileExists{\detokenize\expandafter\thisgraphicspath\LWR@expgraphicsfilename.SVGZ}% +{\renewcommand*{\LWR@imageextension}{.SVGZ}}{}% +\StrSubstitute{\detokenize\expandafter{\LWR@expgraphicsfilename}}% +{\detokenize{.pdf}}{\detokenize{.svg}}[\LWR@strresult]% +\StrSubstitute{\LWR@strresult}% +{\detokenize{.PDF}}{\detokenize{.SVG}}[\LWR@strresult]% +\large% +\setlength{\LWR@igwidth}{0pt}% +\setlength{\LWR@igheight}{0pt}% +\renewcommand*{\LWR@igwidthstyle}{}% +\renewcommand*{\LWR@igheightstyle}{}% +\renewcommand*{\LWR@igorigin}{}% +\renewcommand*{\LWR@igangle}{}% +\renewcommand*{\LWR@igxscale}{1}% +\renewcommand*{\LWR@igyscale}{1}% +\renewcommand*{\LWR@igclass}{inlineimage}% +\setkeys{igraph}{#1}% +\href{\thisgraphicspath\LWR@strresult\LWR@imageextension}% +{% start of href +\LWR@htmltag{% start of image tags +img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline +\LWR@origtilde{} alt="\LWR@strresult" \LWR@orignewline +\ifthenelse{ +\NOT\equal{\LWR@igwidthstyle}{} \OR +\NOT\equal{\LWR@igheightstyle}{} \OR +\NOT\equal{\LWR@igorigin}{} \OR +\NOT\equal{\LWR@igangle}{} \OR +\NOT\equal{\LWR@igxscale}{1} \OR +\NOT\equal{\LWR@igyscale}{1} +}% +{\LWR@origtilde{} style="% +\ifthenelse{\NOT\equal{\LWR@igwidthstyle}{}}% +{\LWR@igwidthstyle;}{}% +\ifthenelse{\NOT\equal{\LWR@igheightstyle}{}}% +{\LWR@igheightstyle;}{}% +\ifthenelse{\NOT\equal{\LWR@igorigin}{}}% +{\LWR@origtilde{} transform-origin: \LWR@originnames{\LWR@igorigin}; \LWR@orignewline}{}% +\ifthenelse{\NOT\equal{\LWR@igangle}{}}% +{% +\LWR@rotstyle{-ms-}{\LWR@igangle}% +\LWR@rotstyle{-webkit-}{\LWR@igangle}% +\LWR@rotstyle{}{\LWR@igangle% +}}{}% +\ifthenelse{\NOT\equal{\LWR@igxscale}{1}\OR% +\NOT\equal{\LWR@igyscale}{1}}% +{\LWR@scalestyle{-ms-}{\LWR@igxscale}{\LWR@igyscale}% +\LWR@scalestyle{-webkit-}{\LWR@igxscale}{\LWR@igyscale}% +\LWR@scalestyle{}{\LWR@igxscale}{\LWR@igyscale}}{}% +" \LWR@orignewline}{}% +\LWR@origtilde{} class="\LWR@igclass" \LWR@orignewline% +}% end of image tags +}% end of href +\endgroup +\LWR@origscriptsize +} + + + + + +\renewcommand*{\includegraphics} +{% +\LWR@ensuredoingapar% +\begingroup% +\LWR@includegraphicsb% +} + +\end{warpHTML} + +\begin{warpprint} +\define@key{Gin}{class}{} +\end{warpprint} + + +\begin{warpHTML} + +\newcommand*{\LWR@rotboxorigin}{} +\newcommand*{\LWR@originname}[1]{% +\ifthenelse{\equal{#1}{t}}{top}{}% +\ifthenelse{\equal{#1}{b}}{bottom}{}% +\ifthenelse{\equal{#1}{c}}{center}{}% +\ifthenelse{\equal{#1}{l}}{left}{}% +\ifthenelse{\equal{#1}{r}}{right}{}% +} +\newcommand*{\LWR@originnames}[1]{% +\StrChar{#1}{1}[\LWR@strresult]% +\LWR@originname{\LWR@strresult} +\StrChar{#1}{2}[\LWR@strresult]% +\LWR@originname{\LWR@strresult} +} +\define@key{krotbox}{origin}{% +\renewcommand*{\LWR@rotboxorigin}{#1}% +} +\define@key{krotbox}{x}{} +\define@key{krotbox}{y}{} +\define@key{krotbox}{units}{} +\NewDocumentCommand{\LWR@rotatebox}{O{} m +m}{% +\renewcommand*{\LWR@rotboxorigin}{} +\setkeys{krotbox}{#1}% +\LWR@htmltagc{span style="display: inline-block; +\ifthenelse{\NOT\equal{\LWR@rotboxorigin}{}}% +{transform-origin: \LWR@originnames{\LWR@rotboxorigin};\LWR@origtilde}{}% +\LWR@rotstyle{-ms-}{#2} % +\LWR@rotstyle{-webkit-}{#2} % +\LWR@rotstyle{}{#2} % +"{}}\LWR@orignewline% +\begin{LWR@nestspan}% +#3% +\LWR@htmltagc{/span}% +\end{LWR@nestspan}% +} + +\NewDocumentCommand{\LWR@scalebox}{m o m}{% +\LWR@htmltagc{span style="display: inline-block; % +\LWR@scalestyle{-ms-}{#1}{\IfNoValueTF{#2}{#1}{#2}} % +\LWR@scalestyle{-webkit-}{#1}{\IfNoValueTF{#2}{#1}{#2}} % +\LWR@scalestyle{}{#1}{\IfNoValueTF{#2}{#1}{#2}} % +"{}}% +\begin{LWR@nestspan}% +#3% +\LWR@htmltagc{/span}% +\end{LWR@nestspan}% +} + +\newcommand{\LWR@reflectbox}[1]{\LWR@scalebox{-1}[1]{#1}} + +\end{warpHTML} + + +\begin{warpHTML} + +\renewcommand{\resizebox}[3]{#3} + +\end{warpHTML} + + + + + +\begin{warpHTML} + + +\AtEndPreamble{ +\RequirePackage{cleveref} +\crefname{pagenote}{note}{notes} +} +\AfterEndPreamble{ + + + + +\renewcommand*{\@@setcref}[2]{#1{\ref{#2}}{}{}} + + +\renewcommand{\@@setcrefrange}[3]{% +#1{\ref{#2}}{\ref{#3}}{}{}{}{}} + + +\newcommand*{\cpagerefFor}{for} + +\renewcommand*{\@@setcpageref}[2]{% +#1{\cpagerefFor\ \cref{#2}}{}{}% +} + + +\renewcommand{\@@setcpagerefrange}[3]{% +#1{\cpagerefFor\ \cref{#2}}{\cref{#3}}{}{}{}{}} + +\let\LWR@origlabel\label +\let\label\LWR@newlabel +\let\LWR@origref\ref +\let\ref\LWR@newref% \end{ syntax highlighting +\let\LWR@origpageref\pageref +\let\pageref\LWR@newpageref + +}% AfterEndPreamble + +\end{warpHTML} + + + +\begin{warpHTML} + +\BeforeBeginEnvironment{picture}{ + +\lateximage} + +\AfterEndEnvironment{picture}{\endlateximage + +} + +\end{warpHTML} + + + +\begin{warpHTML} + +\newbool{LWR@tikzbabel} +\boolfalse{LWR@tikzbabel} + +\AtBeginDocument{ +\@ifpackageloaded{tikz}{ +\@ifpackagelater{tikz}{2013/12/20}% Test for Tikz version v3.0.0 +{\booltrue{LWR@tikzbabel}} +{\boolfalse{LWR@tikzbabel}} +}{} +} + +\BeforeBeginEnvironment{tikzpicture}{% + +\lateximage +\ifbool{LWR@tikzbabel} +{} +{\catcode`\$=3} % dollar sign is math shift +} + +\AfterEndEnvironment{tikzpicture}{% +\endlateximage + +\ifbool{LWR@tikzbabel} +{} +{\catcode`\$=\active} +} + +\end{warpHTML} + + +\begin{warpHTML} + + +\newcounter{LWR@minipagedepth} +\setcounter{LWR@minipagedepth}{0} + +\newlength{\LWR@minipagewidth} +\newlength{\LWR@minipageheight} +\let\LWR@origminipage\minipage +\let\LWR@origendminipage\endminipage +\NewDocumentCommand{\LWR@nullrule}{o m m}{} +\newcommand{\LWR@makefntext}[1]{% +\begingroup% +\let\rule\LWR@nullrule% +\textsuperscript{\@thefnmark} #1% +\endgroup% +\LWR@htmltagc{/\LWR@tagregularparagraph}% +} +\newcommand*{\LWR@makefnmark}{\textsuperscript{\@thefnmark}} + +\def\LWR@endminipage{% + \par + \unskip + \ifvoid\@mpfootins\else + \vskip\skip\@mpfootins + \normalcolor +\LWR@htmldivclass{mpfootnotes} + \unvbox\@mpfootins +\LWR@htmldivclassend{mpfootnotes} + \fi + \@minipagefalse + \color@endgroup + \egroup + \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}} + +\newcommand*{\LWR@subminipage}{% +\LWR@stoppars +\LWR@origminipage{6in} +\LWR@origraggedright% +\let\footnote\LWR@origfootnote% +\let\@makefntext\LWR@makefntext% +\let\@makefnmark\LWR@makefnmark% +\LWR@startpars% +} + +\newcommand*{\LWR@endsubminipage}{% +\LWR@stoppars% +\LWR@endminipage% The following empty line is required: + +} + +\newbool{LWR@minipagefullwidth} +\boolfalse{LWR@minipagefullwidth} +\newcommand*{\minipagefullwidth}{\booltrue{LWR@minipagefullwidth}} +\end{warpHTML} +\begin{warpprint} +\newcommand*{\minipagefullwidth}{} +\end{warpprint} +\begin{warpHTML} +\newbool{LWR@minipagethispar} +\boolfalse{LWR@minipagethispar} +\RenewDocumentEnvironment{minipage}{O{t} o O{t} m} +{% +\LWR@traceinfo{starting minipage}% +\uselengthunit{in}% +\setlength{\LWR@minipagewidth}{#4}% +\ifthenelse{\cnttest{\value{LWR@minipagedepth}}{=}{0}}{% +\addtolength{\LWR@minipagewidth}{3em}% room for frames +\setlength{\linewidth}{6in}% +\setlength{\textwidth}{6in}% +\setlength{\textheight}{9in}% +}{}% +\addtocounter{LWR@minipagedepth}{1}% +\setlength{\LWR@minipageheight}{\textheight}% default unless specified +\IfValueTF{#2}{\setlength{\LWR@minipageheight}{#2}}{}% +\LWR@stoppars% +\LWR@traceinfo{minipage: creating div class}% +\LWR@htmltag{div class="minipage" style="% +\ifthenelse{\equal{#1}{t}}{vertical-align: bottom ; }{}% +\ifthenelse{\equal{#1}{c}}{vertical-align: middle ; }{}% +\ifthenelse{\equal{#1}{b}}{vertical-align: top ; }{}% +\ifthenelse{\equal{#3}{t}}{justify-content: flex-start ; }{}% +\ifthenelse{\equal{#3}{c}}{justify-content: center ; }{}% +\ifthenelse{\equal{#3}{b}}{justify-content: flex-end ; }{}% +\ifthenelse{\equal{#3}{s}}{justify-content: space-between ; }{}% +\LWR@traceinfo{minipage: about to print the width}% +\uselengthunit{PT}% +\ifbool{LWR@minipagefullwidth}% +{\boolfalse{LWR@minipagefullwidth}}% +{% +\ifthenelse{\lengthtest{#4}=\linewidth}% +{}% +{width:\rndprintlength{\LWR@minipagewidth} ; }% +}% +\LWR@traceinfo{minipage: about to print the height}% +\IfValueTF{#2}{height:\rndprintlength{\LWR@minipageheight} ; }{}% +"{}}% + +\LWR@origminipage{6in}% The preceding empty line is required. +\setlength{\linewidth}{#4}% the original width +\setlength{\textwidth}{6in}% +\setlength{\textheight}{9in}% +\LWR@origraggedright% +\let\footnote\LWR@origfootnote% +\let\@makefntext\LWR@makefntext% +\let\@makefnmark\LWR@makefnmark% +\LWR@startpars% +\LWR@traceinfo{minipage: finished starting the minipage}% +} +{% +\LWR@stoppars% +\LWR@endminipage% The following empty line is required: + +\LWR@htmldivclassend{minipage}% +\vspace{1\baselineskip}% required for subcaption +\addtocounter{LWR@minipagedepth}{-1}% +\LWR@startpars% +\global\booltrue{LWR@minipagethispar}% +} +\RenewDocumentCommand{\parbox}{O{t} o O{t} m m} +{ +\begin{minipage}[#1][#2][#3]{#4} +#5 +\end{minipage} +} +\RenewDocumentCommand{\makebox}{o o m}{% +\mbox{#3} +} +\RenewDocumentCommand{\framebox}{o o m}{% +\fbox{#3} +} +\let\LWR@origfbox\fbox +\renewcommand*{\fbox}[1]{% +\InlineClass{framebox}{#1}% +} +\RenewDocumentCommand{\raisebox}{m o o m}{% +#4% +} + +\end{warpHTML} + + +\begin{warpHTML} + +\renewcommand{\emph}[1]{\LWR@htmlspan{em}{#1}} + +\renewcommand{\textmd}[1]{\LWR@htmlspan{textmd}{#1}} + +\renewcommand{\textbf}[1]{\LWR@htmlspan{b}{#1}} + +\renewcommand{\textrm}[1]{\InlineClass{textrm}{#1}} + +\renewcommand{\textsf}[1]{\InlineClass{textsf}{#1}} + +\renewcommand{\texttt}[1]{\LWR@htmlspan{kbd}{#1}} + +\renewcommand{\textup}[1]{\LWR@htmlspan{textup}{#1}} + +\renewcommand{\textit}[1]{\LWR@htmlspan{i}{#1}} + +\renewcommand{\textsc}[1]{\InlineClass{textsc}{#1}} + +\renewcommand{\textnormal}[1]{\textmd{\textrm{\textup{#1}}}} + +\renewcommand*{\mdseries}{} + +\renewcommand*{\bfseries}{} + +\renewcommand*{\rmfamily}{} + +\renewcommand*{\sffamily}{} + +\renewcommand*{\ttfamily}{} + +\renewcommand*{\upshape}{} + +\renewcommand*{\itshape}{} + +\renewcommand*{\scshape}{} + +\renewcommand*{\normalfont}{} + + +\renewcommand{\sp}[1]{\text{<sup>#1</sup>}{}} + + +\renewcommand{\sb}[1]{\text{<sub>#1</sub>}{}} + +\renewcommand{\textsuperscript}[1]{\LWR@htmlspan{sup}{#1}} + +\renewcommand{\textsubscript}[1]{\LWR@htmlspan{sub}{#1}} + +\AtBeginDocument{\let\up\textsuperscript} + +\AtBeginDocument{\let\fup\textsuperscript} + +\renewcommand*{\hfill}{\qquad} + +\renewcommand*{\hrulefill}{\rule{1in}{1pt}} + +\renewcommand*{\dotfill}{\dots} + +\end{warpHTML} + + +\begin{warpHTML} + +\let\LWR@origcomma\, +\let\LWR@origtilde~ +\let\LWR@origenskip\enskip +\let\LWR@origquad\quad +\let\LWR@origqquad\qquad +\let\LWR@orighspace\hspace +\let\LWR@origrule\rule + +\renewcommand*{\,}{\HTMLunicode{202f}} % HTML thin non-breakable space +\renewcommand*{~}{\HTMLentity{nbsp}} +\renewcommand*{\textellipsis}{\HTMLunicode{2026}} +\let\LWR@orignormalsize\normalsize +\let\LWR@origsmall\small +\let\LWR@origfootnotesize\footnotesize +\let\LWR@origscriptsize\scriptsize +\let\LWR@origtiny\tiny +\let\LWR@origlarge\large +\let\LWR@origLarge\Large +\let\LWR@origLARGE\LARGE +\let\LWR@orighuge\huge +\let\LWR@origHuge\Huge +\renewcommand*{\normalsize}{} +\renewcommand*{\small}{} +\renewcommand*{\footnotesize}{} +\renewcommand*{\scriptsize}{} +\renewcommand*{\tiny}{} +\renewcommand*{\large}{} +\renewcommand*{\Large}{} +\renewcommand*{\LARGE}{} +\renewcommand*{\huge}{} +\renewcommand*{\Huge}{} + +\renewcommand*{\onecolumn}{} + +\renewcommand{\twocolumn}[1][]{ + +#1 + +} + +\newcommand*{\LWR@newlinebr}{\unskip\LWR@htmltag{br /}\LWR@orignewline}% +\let\newline\LWR@newlinebr + +\NewDocumentCommand{\LWR@endofline}{s o} +{% +\newline% +} + +\newcommand*{\LWR@minipagestartpars}{% +\ifbool{LWR@minipagethispar}% +{% +\LWR@startpars% +}{}% +} + +\newcommand*{\LWR@minipagestoppars}{% +\ifbool{LWR@minipagethispar}% +{% +\LWR@stoppars% +}{}% +} + +\renewcommand*{\quad}{% +\LWR@minipagestoppars% +\HTMLunicode{2001}% +\LWR@minipagestartpars% +} + +\renewcommand*{\qquad}{\quad\quad} + +\renewcommand*{\enskip}{% +\LWR@minipagestoppars% +\HTMLunicode{2000}% +\LWR@minipagestartpars% +} + +\newlength{\LWR@tempwidth} +\newlength{\LWR@tempheight} +\newlength{\LWR@tempraise} + + +\NewDocumentCommand{\LWR@hspace}{s m}{% +\setlength{\LWR@tempwidth}{#2}% +\ifthenelse{\dimtest{\LWR@tempwidth}{=}{0pt}}{}{% +\LWR@minipagestoppars% +\ifthenelse{\dimtest{\LWR@tempwidth}{=}{.16667em}} +{% +\HTMLunicode{2009}% thin breakable space +}% +{% +\uselengthunit{PT}% +\LWR@htmltagc{% +span style="width:\printlength{\LWR@tempwidth}; display:inline-block;"% +}% +\LWR@htmltagc{/span}% +}% +\LWR@minipagestartpars% +}% +} +\let\hspace\LWR@hspace + +\renewcommand*{\linebreak}[1][]{\newline} + +\renewcommand*{\nolinebreak}[1][]{} + +\renewcommand*{\pagebreak}[1][]{ + +} + +\renewcommand*{\nopagebreak}[1][]{} + +\RenewDocumentCommand{\enlargethispage}{s m}{} + +\NewDocumentCommand{\LWR@rule}{o m m}{% +\setlength{\LWR@tempwidth}{#2}% +\ifthenelse{\lengthtest{\LWR@tempwidth=0pt}} +{}% zero- width +{% non-zero width +\ifthenelse{\lengthtest{\LWR@tempwidth>0pt}\AND% +\lengthtest{\LWR@tempwidth<1pt}}% +{\setlength{\LWR@tempwidth}{1pt}}{}% +\setlength{\LWR@tempheight}{#3}% +\ifthenelse{\lengthtest{\LWR@tempheight>0pt}\AND% +\lengthtest{\LWR@tempheight<1pt}}% +{\setlength{\LWR@tempheight}{1pt}}{}% +\LWR@minipagestoppars% +\uselengthunit{PT}% +\LWR@htmltagc{% +span +style=" % +background:\LWR@currenttextcolor; % +width:\printlength{\LWR@tempwidth}; % +height:\printlength{\LWR@tempheight}; % +\IfValueTF{#1}% +{% +\setlength{\LWR@tempraise}{0pt-#1}% +\setlength{\LWR@tempraise}{\LWR@tempraise*2}% +\LWR@orignewline% +-ms-transform: translate(0pt,\printlength{\LWR@tempraise}); % +\LWR@orignewline% +-webkit-transform: translate(0pt,\printlength{\LWR@tempraise}); % +\LWR@orignewline% +transform: translate(0pt,\printlength{\LWR@tempraise}); % +\LWR@orignewline% +}{}% +display:inline-block;"% +}% +\LWR@htmltagc{/span}% +\LWR@minipagestartpars% +}% non-zero width +} +\let\rule\LWR@rule + +\end{warpHTML} + + +\begin{warpHTML} + +\newcommand*{\phantomsection}{\section*{}} + +\end{warpHTML} + + +\begin{warpHTML} + +\newcommand*{\LWR@TeX} +{\InlineClass{latexlogofont}% +{\InlineClass{latexlogo}{T\textsubscript{e}X}}} +\newcommand*{\LWR@LaTeX} +{\InlineClass{latexlogofont}% +{\InlineClass{latexlogo}% +{L\textsuperscript{a}T\textsubscript{e}X}}} + +\renewcommand*{\LaTeXe} +{\LaTeX\InlineClass{latexlogofont}% +{\,2\textsubscript{\textit{\HTMLunicode{3B5}}}}} +\newcommand*{\LWR@LuaTeX}{\InlineClass{latexlogofont}{Lua}\TeX} +\newcommand*{\LWR@LuaLaTeX}{\InlineClass{latexlogofont}{Lua}\LaTeX} +\newcommand*{\Xe} + {X\textsubscript{\HTMLunicode{18e}}} +\newcommand*{\LWR@XeTeX}{\InlineClass{xetexlogo}{\Xe}\TeX} +\newcommand*{\LWR@XeLaTeX}{\InlineClass{xelatexlogo}{\Xe}\LaTeX} +\newcommand*{\LWR@ConTeXt} +{\InlineClass{latexlogofont}{Con}\TeX{}% +\InlineClass{latexlogofont}{t}} +\providecommand*{\BibTeX} +{\InlineClass{latexlogofont}{B\textsc{ib}}\TeX} + +\newcommand*{\MakeIndex} +{\InlineClass{latexlogofont}{\textit{MakeIndex}}} +\AtBeginDocument{\DeclareDocumentCommand{\AmS}{} +{\InlineClass{amslogo}{\textit{A\textsubscript{M}S}}}} +\newcommand*{\MiKTeX}{\InlineClass{latexlogofont}{MiK}\TeX} +\newcommand*{\LyX}{\InlineClass{lyxlogo}{LyX}} +\end{warpHTML} +\begin{warpprint} +\newcommand*{\XeTeXrevE} + {\hspace{-.1667em}\raisebox{-.5ex}{\reflectbox{E}}\hspace{-.125em}} +\providecommand*{\XeTeX}{\mbox{X\XeTeXrevE\TeX}} +\providecommand*{\XeLaTeX}{\mbox{X\XeTeXrevE\LaTeX}} +\providecommand*{\AmS}{% +\leavevmode\hbox{$\mathcal A\kern-.2em\lower.376ex% +\hbox{$\mathcal M$}\kern-.2em\mathcal S$}} +\newcommand*{\LyX}{\textsf{LyX}} +\providecommand*{\LuaTeX}{\mbox{Lua\TeX}} +\providecommand*{\LuaLaTeX}{\mbox{Lua\LaTeX}} +\providecommand*{\BibTeX}{\mbox{B\textsc{ib}\TeX}} +\providecommand*{\MakeIndex}{\mbox{\textit{MakeIndex}}} +\providecommand*{\ConTeXt}{\mbox{Con\TeX{}t}} +\providecommand*{\MiKTeX}{\mbox{MiK\TeX}} +\end{warpprint} + + +\begin{warpHTML} + +\AfterEndPreamble{\LWR@LwarpStart} +\AtEndDocument{\LWR@LwarpEnd} + +\end{warpHTML} + + + +\providecommand*{\HomeHTMLFileName}{\BaseJobname} +\providecommand*{\HTMLFileName}{} +\providecommand*{\UseLatexmk}{false} + +\begin{warpprint} +\ifcsdef{LWR@file}{}{\newwrite{\LWR@file}} +\immediate\openout\LWR@file=lwarpmk.conf +\ifwindows +\immediate\write\LWR@file{opsystem = "Windows"} +\else +\immediate\write\LWR@file{opsystem = "Unix"} +\fi +\ifPDFTeX +\immediate\write\LWR@file{latexname = "pdflatex"} +\fi +\ifXeTeX +\immediate\write\LWR@file{latexname = "xelatex"} +\fi +\ifLuaTeX +\immediate\write\LWR@file{latexname = "lualatex"} +\fi +\immediate\write\LWR@file{sourcename = "\jobname"} +\immediate\write\LWR@file{% +homehtmlfilename = "\HomeHTMLFileName"% +} +\immediate\write\LWR@file{htmlfilename = "\HTMLFileName"} +\immediate\write\LWR@file{uselatexmk = "\UseLatexmk"} +\immediate\closeout\LWR@file +\end{warpprint} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp.sty'. |