From 071026baab3643897ae28725b0cd7120214920dd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 31 Mar 2017 23:23:15 +0000 Subject: lwarp (31mar17) git-svn-id: svn://tug.org/texlive/trunk@43662 c570f23f-e606-0410-a88d-b1316a301751 --- .../texk/texlive/linked_scripts/lwarp/lwarpmk.lua | 2 +- Master/texmf-dist/doc/latex/lwarp/README.txt | 2 +- Master/texmf-dist/doc/latex/lwarp/lwarp.pdf | Bin 1388264 -> 1403056 bytes Master/texmf-dist/scripts/lwarp/lwarpmk.lua | 2 +- Master/texmf-dist/source/latex/lwarp/lwarp.dtx | 1795 +++++++++++++------- Master/texmf-dist/source/latex/lwarp/lwarp.ins | 10 + .../texmf-dist/tex/latex/lwarp/lwarp-abstract.sty | 131 -- .../texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty | 134 -- .../tex/latex/lwarp/lwarp-algorithmicx.sty | 132 -- Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty | 131 -- Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty | 130 -- .../tex/latex/lwarp/lwarp-changepage.sty | 130 -- Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty | 46 + .../texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty | 134 -- .../tex/latex/lwarp/lwarp-draftwatermark.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty | 29 + .../texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-everypage.sty | 130 -- .../tex/latex/lwarp/lwarp-extramarks.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty | 130 -- Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty | 40 + .../texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty | 54 + .../texmf-dist/tex/latex/lwarp/lwarp-footnote.sty | 45 + .../tex/latex/lwarp/lwarp-footnotehyper.sty | 24 + Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-geometry.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-graphics.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty | 130 -- .../tex/latex/lwarp/lwarp-indentfirst.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty | 133 +- Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty | 130 -- .../tex/latex/lwarp/lwarp-letterspace.sty | 130 -- Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-listings.sty | 131 -- .../texmf-dist/tex/latex/lwarp/lwarp-longtable.sty | 130 -- Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty | 31 + .../tex/latex/lwarp/lwarp-marginnote.sty | 30 + .../texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-microtype.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty | 21 + .../texmf-dist/tex/latex/lwarp/lwarp-multicol.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-multirow.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-nameref.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-needspace.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-newclude.sty | 130 -- .../tex/latex/lwarp/lwarp-newproject.sty | 175 +- .../tex/latex/lwarp/lwarp-newunicodechar.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty | 131 -- .../texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty | 139 +- .../texmf-dist/tex/latex/lwarp/lwarp-parskip.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-placeins.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-rotating.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-setspace.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-showidx.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty | 67 + Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-textpos.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-theorem.sty | 130 -- .../tex/latex/lwarp/lwarp-threeparttable.sty | 130 -- Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-titleps.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-titling.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty | 130 -- Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty | 132 -- .../texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty | 130 -- .../texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty | 130 -- Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty | 131 -- Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty | 132 -- Master/texmf-dist/tex/latex/lwarp/lwarp.sty | 305 +--- 95 files changed, 1685 insertions(+), 11034 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty diff --git a/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua b/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua index acc2a442820..05e21bd3f78 100755 --- a/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua +++ b/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua @@ -4,7 +4,7 @@ -- Print the usage of the lwarpmk command: -printversion = "v0.25" +printversion = "v0.26" function printhelp () print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ; diff --git a/Master/texmf-dist/doc/latex/lwarp/README.txt b/Master/texmf-dist/doc/latex/lwarp/README.txt index f144b473b76..0f5102a117e 100644 --- a/Master/texmf-dist/doc/latex/lwarp/README.txt +++ b/Master/texmf-dist/doc/latex/lwarp/README.txt @@ -1,5 +1,5 @@ -LaTeX lwarp package v0.25 README.txt +LaTeX lwarp package v0.26 README.txt Files included are: diff --git a/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf b/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf index 3497496c212..28f4cf41643 100644 Binary files a/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf and b/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf differ diff --git a/Master/texmf-dist/scripts/lwarp/lwarpmk.lua b/Master/texmf-dist/scripts/lwarp/lwarpmk.lua index acc2a442820..05e21bd3f78 100755 --- a/Master/texmf-dist/scripts/lwarp/lwarpmk.lua +++ b/Master/texmf-dist/scripts/lwarp/lwarpmk.lua @@ -4,7 +4,7 @@ -- Print the usage of the lwarpmk command: -printversion = "v0.25" +printversion = "v0.26" function printhelp () print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ; diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx index 25aeed06563..82ef9997c87 100644 --- a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx +++ b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx @@ -16,7 +16,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{lwarp} -% [2017/03/22 v0.25 Allows LaTeX to directly produce HTML5 output.] +% [2017/03/31 v0.26 Allows LaTeX to directly produce HTML5 output.] % %<*driver> \documentclass{ltxdoc} @@ -135,7 +135,7 @@ \usepackage[pdftex,bookmarks=true,hidelinks,% colorlinks,linkcolor=mylinkcolor,urlcolor=myurlcolor,% -pageanchor=true,hyperindex=true, +pageanchor=true,hyperindex=true,hyperfootnotes=false% ]{hyperref} \hypersetup{% @@ -262,6 +262,11 @@ of the home page if it is after the abstract. \newcommand{\limitstext}{\cs{textbf}, etc.\ are supported, but \cs{bfseries}, etc.\ are not yet supported.} +\newcommand{\limitsfootnotes}{ +\pkg{lwarp} uses native \LaTeX\ footnote code, although with its own +\cs{box} to avoid the \LaTeX\ output routine. The usual functions work as-is. +} + \newcommand{\limitsverse}{% \DescribeMacro{\attrib} The documentation for the \pkg{verse} and \pkg{memoir} packages suggest @@ -809,15 +814,15 @@ operating-system path separator used by \pkg{lwarp}. \DocInput{lwarp.dtx} \end{document} % - +% % \fi - - +% +% % \iffalse %<*package> % \fi % -% \CheckSum{10279} +% \CheckSum{0} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -881,6 +886,7 @@ operating-system path separator used by \pkg{lwarp}. % \changes{v0.24}{2017/03/15}{\ 2017/03/15} % \changes{v0.25}{2017/03/22}{\ 2016/03/22} % \changes{v0.25}{2017/03/16}{Docs: Adds credits for patched code.} +% \changes{v0.26}{2017/03/31}{\ 2017/03/31} @@ -1014,6 +1020,18 @@ operating-system path separator used by \pkg{lwarp}. % For a detailed list of changes, see the Change History on page \pageref{sec:changehistory}. % % \begin{description} +% \item[v0.26:] \ +% \begin{itemize} +% \item Improved installation instructions for MiK\TeX\ regarding generating +% the |lwarpmk| executable. +% \item Footnotes are now supported by \LaTeX\ boxes instead of pagenotes. +% \pkg{pagenote} now works as per the print version. +% \pkg{footnote}, \pkg{footnotehyper}, \pkg{footmisc}, \pkg{endnotes}, +% \pkg{marginnote}, and \pkg{sidenotes} are also supported. +% \item \LaTeX\ labels now are used to track the page numbers of |latexiamge|s. +% This allows the correct inclusion of |lateximage|s in footnotes, pagenotes, and endnotes. +% \item \pkg{cutwin} and \pkg{floatflt} are also supported. +% \end{itemize} % \item[v0.25:] \ % \begin{itemize} % \item Fix: Allows \pkg{graphicx} and \pkg{graphicsx} before \pkg{lwarp} because @@ -1026,6 +1044,7 @@ operating-system path separator used by \pkg{lwarp}. % \item \pkg{subfig} has been added, along with |lofdepth| and |lotdepth|. % \item \env{picture} and \env{tikzpicture} now may be inline. % \end{itemize} +% \needspace{2\baselineskip} % \item[v0.22:] \ % \begin{itemize} % \item Support has been added for tabular column types |D|, |!|, and |X|. @@ -1248,7 +1267,8 @@ operating-system path separator used by \pkg{lwarp}. % \cs{nameref}, \cs{ref}, % the \pkg{cleveref} commands, and index entries.\\ % \midrule -% Footnotes: & Supported, emulated as pagenotes per \acro{HTML} page. \\ +% Footnotes, pkg{footnote}, \pkg{footmisc}, \pkg{pagenote}, \pkg{endnotes}: & +% Supported. \\ % Indexing: & \cmds{texindy} is used, with hyperlinks. \\ % Bibliography: & Supported, without hyperlinks so far. \\ % \midrule @@ -1640,7 +1660,11 @@ operating-system path separator used by \pkg{lwarp}. % try installing via |tlmgr|: % \userentry{tlmgr install lwarp} % -% \item [MiK\TeX:] If using MiK\TeX, try using the package installer. +% \item [MiK\TeX:] If using MiK\TeX, try using the package installer to +% install the package |lwarp|. +% Also update the package |miktex-misc|, which will install the +% |lwarpmk| executable. +% \changes{v0.26}{2017/03/23}{Docs: Improved MiK\TeX\ install instructions.} % % \item [Operating-system package:] The operating-system package manager may % already have |lwarp|, perhaps as part of a set of \TeX-related packages. @@ -1654,7 +1678,7 @@ operating-system path separator used by \pkg{lwarp}. % \item[\TeX\ Live:] \ % % \userentry{kpsewhich -var-value TEXMFLOCAL} -% \item[MiKTeX:] \ +% \item[MiK\TeX:] \ % % In the ``Settings'' window, ``Roots'' tab, look for a local TDS root. % \end{description} @@ -1726,6 +1750,10 @@ operating-system path separator used by \pkg{lwarp}. % If not, it is easiest to generate and use a local copy. % See \cref{sec:locallwarpmk}. % +% \item For MiK\TeX, try updating the |miktex-misc| package. This may install +% the |lwarpmk| executable for you. +% \changes{v0.26}{2017/03/23}{Docs: Improved MiK\TeX\ install instructions.} +% % Otherwise, continue with the following: % % \item Locate the file |lwarpmk.lua|, which should be in the |scripts| directory @@ -1769,8 +1797,8 @@ operating-system path separator used by \pkg{lwarp}. % In this directory you will find programs % such as |pdflatex.exe| and |makeindex.exe|. % \item Create a new file named |lwarpmk.bat| containing: \\ -% \hspace*{1em} -% |texlua "C:\Program Files\MiKTeX 2.9\scripts\lwarp\lwarp.texlua" %*| \\ +% \hspace*{1em}{\small +% |texlua "C:\Program Files\MiKTeX 2.9\scripts\lwarp\lwarp.texlua" %*|} \\ % This will call the copy of |lwarpmk.lua| % which is in the |scripts| directory of the distribution. % \end{enumerate} @@ -3114,6 +3142,11 @@ operating-system path separator used by \pkg{lwarp}. % % \limitstext % +% \subsubsection{Footnotes and page notes} +% +% \limitsfootnotes +% +% % \subsubsection{Math} % \label{sec:limitsmath} % @@ -3916,7 +3949,9 @@ Please use the #2 package instead} \LWR@loadafter{amsthm} \LWR@loadafter{bookmark} \LWR@loadafter{booktabs} +\LWR@loadafter{ccaption} \LWR@loadafter{changepage} +\LWR@loadafter{cutwin} \LWR@loadafter{dcolumn} \LWR@loadafter{draftwatermark} \LWR@loadafter{ellipsis} @@ -3929,6 +3964,7 @@ Please use the #2 package instead} \LWR@loadafter{fancyhdr} \LWR@loadafter{floatrow} \LWR@loadafter{float} +\LWR@loadafter{floatflt} \LWR@loadafter{ftnright} \LWR@loadafter{geometry} % \LWR@loadafter{graphics}% pre-loaded by xunicode @@ -3943,9 +3979,12 @@ Please use the #2 package instead} \LWR@loadafter{longtable} \LWR@loadafter{lscape} \LWR@loadafter{ltcaption} +\LWR@loadafter{marginfix} +\LWR@loadafter{marginnote} \LWR@loadafter{mcaption} \LWR@loadafter{mdframed} \LWR@loadafter{microtype} +\LWR@loadafter{mparhack} %\LWR@loadafter{multicol}% loaded by ltxdoc \LWR@loadafter{multirow} \LWR@loadafter{nameref} @@ -3963,6 +4002,7 @@ Please use the #2 package instead} \LWR@loadafter{showidx} \LWR@loadafter{showkeys} \LWR@loadafter{sidecap} +\LWR@loadafter{sidenotes} \LWR@loadafter{subfig} \LWR@loadafter{tabularx} \LWR@loadafter{textpos} @@ -4344,6 +4384,12 @@ top=1in,bottom=1in,% % \end{macrocode} +% \DescribePackage{refcount} +% \begin{macrocode} +\RequirePackage{refcount} +% \end{macrocode} + + % \DescribePackage{newfloat} % \begin{macrocode} \RequirePackage{newfloat} @@ -4368,16 +4414,7 @@ top=1in,bottom=1in,% \setlist[description]{leftmargin=0em} % \end{macrocode} - -% \DescribePackage{pagenote} -% -% Used to convert footnotes into pagenotes. % \begin{macrocode} -\RequirePackage[continuous]{pagenote} -\makepagenote -\let\LWR@origmakepagenote\makepagenote -\let\LWR@origprintnotes\printnotes -\let\LWR@origpagenote\pagenote \end{warpHTML} % \end{macrocode} @@ -4618,10 +4655,10 @@ top=1in,bottom=1in,% % \begin{macro}{\LWR@ProvidesPackagePass} \marg{pkgname} \oarg{version} % -% Provides a new package which passes its options to the original. +% Uses the original package, including options. % \begin{macrocode} \NewDocumentCommand{\LWR@ProvidesPackagePass}{m o}{ -\PackageInfo{lwarp}{Using the lwarp version of package `#1', including options,}% +\PackageInfo{lwarp}{Using package `#1' and adding lwarp modifications, including options,}% \IfValueTF{#2} {\ProvidesPackage{lwarp-#1}[#2]} {\ProvidesPackage{lwarp-#1}} @@ -4636,13 +4673,13 @@ top=1in,bottom=1in,% % \end{macro} - % \begin{macro}{\LWR@ProvidesPackageDrop} \marg{pkgname} \oarg{version} % -% Provides a new package which drops/discards its options. +% Ignores the original package and uses lwarp's version instead. +% Drops/discards all options. % \begin{macrocode} \NewDocumentCommand{\LWR@ProvidesPackageDrop}{m o}{ -\PackageInfo{lwarp}{Using the lwarp version of package `#1', discarding options,}% +\PackageInfo{lwarp}{Replacing package `#1' with the lwarp version, discarding options,}% \IfValueTF{#2} {\ProvidesPackage{lwarp-#1}[#2]} {\ProvidesPackage{lwarp-#1}} @@ -4713,7 +4750,10 @@ top=1in,bottom=1in,% % \begin{macrocode} \newcommand{\LWR@traceinfo}[1]{% \ifbool{LWR@tracinglwarp}% -{\PackageInfo{lwarp}{#1 : }}% +{% +\typeout{*** lwarp: #1}% +% \PackageInfo{lwarp}{#1 : }% +}% {}% } % \end{macrocode} @@ -6313,15 +6353,20 @@ top=1in,bottom=1in,% % % \index{footnotes} % +% \limitsfootnotes +% +% \changes{v0.26}{2017/03/28}{Footnotes now are \LaTeX\ boxes instead of pagenotes.} % % Several kinds of footnotes are used: in a regular page, in a minipage, or % as thanks in the titlepage. Each of these is handle differently. % % \subsection{Regular page footnotes} -% In \LaTeXe{} printed documents, footnotes are placed at the bottom of the printed page. -% For \acro{HTML}, footnotes will be replaced by page notes -% using the \pkg{pagenote} package. -% Footnotes will then appear at the bottom of the \acro{HTML} page. +% In \acro{HTML} documents, footnotes are placed at the +% bottom of the web page using the \LaTeX\ box \cs{LWR@footnotes}. +% Using this instead of the original \cs{footins} box +% avoids having footnotes be printed by the output routine, +% since footnotes should be printed per \acro{HTML} page +% instead of per \acro{PDF} page. % % See \cref{sec:footnotesregular} for the implementation. % @@ -6331,7 +6376,6 @@ top=1in,bottom=1in,% % \subsection{Titlepage thanks} % See \cref{sec:titlehtml} for titlepage footnotes. % -% % \subsection{Regular page footnote implementation} % \label{sec:footnotesregular} % @@ -6341,110 +6385,71 @@ top=1in,bottom=1in,% % \end{macrocode} -% Delayed in case the user's preamble loaded and adjusted \pkg{pagenote}: +% Patch \LaTeX\ footnotes to use a new \cs{box} for \pkg{lwarp} footnotes. % \begin{macrocode} -\AtEndPreamble{ +\newbox\LWR@footnotes +\setbox\LWR@footnotes=\vbox{} % \end{macrocode} - - -% \begin{macro}{\notedivision} % -% Prints the footnote heading at the end of the page. +% Much of the following has unneeded print-mode formatting removed. % \begin{macrocode} -\renewcommand*{\notedivision} - {\BlockClassSingle{footnoteheader}{}} -% \end{macrocode} -% \end{macro} +\long\def\@makefntext#1{\textsuperscript{\@thefnmark} #1} -% \begin{docsidebar}[To print the word ``Notes:'' at the top of the footnotes:] -% \begin{Verbatim}[gobble=2,obeytabs,tabsize=4] -% \renewcommand*{\notedivision}| \\ -% {\BlockClassSingle{footnoteheader}{Notes:}} -% \end{Verbatim} -% \end{docsidebar} +\def\@makefnmark{\hbox{\textsuperscript{\@thefnmark}}} -% \begin{macro}{\pagenotesubhead} \marg{num} \marg{title} -% -% Don't print page note headings in \acro{HTML} page notes. -% \begin{macrocode} -\renewcommand{\pagenotesubhead}[2]{} +\long\def\@footnotetext#1{% +\global\setbox\LWR@footnotes=\vbox{\unvbox\LWR@footnotes% +\protected@edef\@currentlabel{% +\csname p@footnote\endcsname\@thefnmark% +}% @currentlabel +\color@begingroup% +\@makefntext{#1}% % \end{macrocode} -% \end{macro} % -% \begin{macro}{\footnote} \oarg{id} \marg{text} -% Footnotes now become page notes. +% A closing paragraph tag is required here: % \begin{macrocode} -\let\footnote\LWR@origpagenote +\LWR@htmltagc{/\LWR@tagregularparagraph}% +\color@endgroup% +}% vbox +}% + +\long\def\@mpfootnotetext#1{% +\global\setbox\@mpfootins\vbox{% +\unvbox\@mpfootins +\reset@font\footnotesize +\hsize\columnwidth +\@parboxrestore +\protected@edef\@currentlabel +{\csname p@mpfootnote\endcsname\@thefnmark}% +\color@begingroup +\@makefntext{% +\ignorespaces#1% +}% % \end{macrocode} -% \end{macro} -% % -% \begin{macro}{\notenuminnotes} \marg{number} -% -% Sets the page notes to use superscripts to match standard classes. +% Don't add the closing paragraph tag if are inside a \env{lateximage}: % \begin{macrocode} -\renewcommand{\notenuminnotes}[1]{% - \textsuperscript{#1} } +\ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}% +{}% +{\LWR@htmltagc{/\LWR@tagregularparagraph}}% % \end{macrocode} -% \end{macro} - - -%\begin{macro}{\noteentry} \marg{1: note number} \marg{2: id} \marg{3: text} \marg{4: pagenum} % -% \changes{v0.14}{2016/03/28}{Fix for label inside a footnote.} -% -% \begin{macrocode} -\let\LWR@orignoteentry\noteentry -\renewcommand{\noteentry}[4]{% -% \end{macrocode} -% \DescribeMacro{\@currentlabel} -% \DescribeMacro{\cref@currentlabel} -% A label may be used inside a note, so the proper \cs{@currentlabel} must be set -% inside a group. Likewise for \pkg{cleveref}'s \cs{cref@currentlabel}. -% \begin{macrocode} -\begingroup% -\renewcommand*{\@currentlabel}{#1}% -\renewcommand*{\cref@currentlabel}{[pagenote][#1][]{#1}}% -% \end{macrocode} -% Re-use \pkg{pageref}'s code, with an extra endgroup: % \begin{macrocode} -\LWR@orignoteentry{#1}{#2}{#3}{#4}% -\endgroup% +\color@endgroup}% } % \end{macrocode} -% \end{macro} - - -% \begin{macro}{\LWR@printpendingnotes} -% Prints the page notes at the end of the section. -% \begin{macrocode} -\newcommand*{\LWR@printpendingnotes}{ -% \end{macrocode} -% If there are footnotes to print, open a new |div| and print the notes. +% +% Enclose the footnotes in a class, print, then clear: % \begin{macrocode} -\ifthenelse{\cnttest{\value{pagenote}}{>}{0}}% -{ +\newcommand*{\LWR@printpendingfootnotes}{% \begin{BlockClass}{footnotes} -% \end{macrocode} -% Print any pending endnotes, allowing new endnotes to accumulate. -% \begin{macrocode} -\LWR@origprintnotes* -% \end{macrocode} -% Start over with new page notes. -% \begin{macrocode} -\setcounter{pagenote}{0} +\LWR@origmedskip +\unvbox\LWR@footnotes +\setbox\LWR@footnotes=\vbox{} \end{BlockClass} } -{} -} -% \end{macrocode} -% \end{macro} - -% \begin{macrocode} -}% \AtEndPreamble % \end{macrocode} - % \begin{macrocode} \end{warpHTML} % \end{macrocode} @@ -6671,7 +6676,7 @@ top=1in,bottom=1in,% % \begin{macrocode} \LWR@htmlelementclassend{section}{textbody} -\LWR@printpendingnotes +\LWR@printpendingfootnotes \LWR@htmlelement{footer} @@ -7541,7 +7546,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% % \end{macrocode} % Print any pending footnotes: % \begin{macrocode} -\LWR@printpendingnotes +\LWR@printpendingfootnotes % \end{macrocode} % Create the footer: % \begin{macrocode} @@ -8262,7 +8267,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% % Redefine the footnote mark: % % \begin{macrocode} -\def\@makefnmark{\textsuperscript{\thefootnote}}% +\def\@makefnmark{\textsuperscript{\thefootnote}} % \end{macrocode} % \begin{center} % \begin{minipage}{.7\linewidth} @@ -8289,9 +8294,9 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% % \end{minipage} % \end{center} % -% Print the text and a closing paragraph tag: +% Print the text: % \begin{macrocode} -##1\LWR@htmltagc{/\LWR@tagregularparagraph}% +##1% }% } % \end{macrocode} @@ -8395,11 +8400,10 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% % where type is `arabic', `roman', `fnsymbol', etc. Modified to % use the \LaTeX{} \acro{PDF} minipage which is included with the title page. % \begin{macrocode} -\let\LWR@origthanksmarkseries\thanksmarkseries \renewcommand{\thanksmarkseries}[1]{% \def\@mpbsmarkseries{% -\renewcommand*{\thempfootnote}{\@nameuse{#1}{mpfootnote}}} -\LWR@origthanksmarkseries{#1} +\renewcommand*{\thempfootnote}{\@nameuse{#1}{mpfootnote}}}% +\def\@bsmarkseries{\renewcommand{\thefootnote}{\@nameuse{#1}{footnote}}}% } % \end{macrocode} % \end{macro} @@ -8627,7 +8631,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% \renewcommand{\VerbatimFootnotes}{ \PackageError{lwarp} {Verbatim footnotes are not yet supported by lwarp.} -{This may be improved when lwarp uses LaTeX footnotes instead of pagenotes.} +{This may be improved some day.} } % \end{macrocode} @@ -10965,6 +10969,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% % The optional \meta{type} is per the \pkg{ntheorem} package, and is ignored. % \begin{macrocode} \NewDocumentCommand{\LWR@newlabel}{m o}{% +\LWR@traceinfo{LWR@newlabel: starting}% \LWR@traceinfo{LWR@newlabel: !#1!}% % \@bsphack% % \end{macrocode} @@ -11699,7 +11704,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% % Prints any pending footnotes so that they appear above the potentially % large TOC: % \begin{macrocode} -\LWR@printpendingnotes +\LWR@printpendingfootnotes % \end{macrocode} % Place the list into its own chapter (if defined) or section: % \begin{macrocode} @@ -11744,11 +11749,18 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% % The original |.toc| file is renewed when \cs{tableofcontents} is finished. % \begin{macrocode} \LWR@copyfile{\jobname.toc}{\jobname.sidetoc}% -\LWR@printpendingnotes% +\LWR@printpendingfootnotes \LWR@origtableofcontents% } -\renewcommand*{\listoffigures}{\LWR@printpendingnotes\LWR@origlistoffigures} -\renewcommand*{\listoftables}{\LWR@printpendingnotes\LWR@origlistoftables} +\renewcommand*{\listoffigures}{ +\LWR@printpendingfootnotes +\LWR@origlistoffigures +} + +\renewcommand*{\listoftables}{ +\LWR@printpendingfootnotes +\LWR@origlistoftables +} % \end{macrocode} @@ -12137,15 +12149,17 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% % Plain dollar signs appearing in the \acro{HTML} output may be interpreted % by MathJax to be math shifts. % For a plain text dollar |\$|, print it inside a span to avoid -% it being interpreted by MathJax. +% it being interpreted by MathJax, unless are inside a lateximage, +% in which case it will not be seen by MathJax. % \changes{v0.19}{2016/06/08}{Avoids MathJax.} +% \changes{v0.26}{2017/03/30}{Dollar span avoided in a lateximage.} % \begin{macrocode} \let\LWR@origtextdollar\$ \renewcommand*{\$}{% -\LWR@htmltagc{span}% -\LWR@origtextdollar% -\LWR@htmltagc{/span}% +\ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}% +{\LWR@origtextdollar}% +{\LWR@htmltagc{span}\LWR@origtextdollar\LWR@htmltagc{/span}}% } % \end{macrocode} @@ -12858,20 +12872,21 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% % \section{Lateximages} -% A |\lateximage| is typeset on its own \acro{PDF} page inside an \acro{HTML} comment starting on the preceeding page -% and ending on following page, and instructions are written to +% A |\lateximage| is typeset on its own \acro{PDF} page inside an \acro{HTML} comment +% which starts on the preceeding page and ends on following page, and instructions are written to % |lateximage.txt| for |lwarpmk| to extract the |\lateximage| from the page of the \acro{PDF} file % then generate an accompanying |.svg| file image file. Meanwhile, instructions to % show this image are placed into the \acro{HTML} file after the comment. % -% Since the |\lateximage| is placed onto its own \acro{PDF} page, which |pdftotext| will read -% and try to convert to text, an \acro{HTML} open comment is placed onto the bottom of the current -% page, but it must appear below any footnotes on the current page, so -% a special page style (|LWR@commentfooterstyle|) is used. -% -% An \acro{HTML} span is created to hold both the \acro{HTML} comment which will have the |pdftotext| conversion, +% An \acro{HTML} span is created to hold both the \acro{HTML} comment, +% which will have the |pdftotext| conversion, % and also the link to the final |.svg| image. % +% A \LaTeX\ label is used to remember which \acro{PDF} page has the image. +% A label is used because footnotes, endnotes, and pagenotes may cause the image to appear +% at a later time. The label is declared along with the image, and so it correctly remembers +% where the image finally ended up. +% % \limitslateximagefontsize % % @@ -12881,14 +12896,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% \begin{warpHTML} % \end{macrocode} % -% \DescribeObject{LWR@commentfooterstyle} -% \begin{macrocode} -\newpagestyle{LWR@commentfooterstyle}{ - \sethead{}{}{} - \setfoot{\LWR@htmlopencomment}{}{} -} -% \end{macrocode} - +% % \DescribeCounter{LWR@lateximagenumber} % Sequence the images. % \begin{macrocode} @@ -12912,13 +12920,15 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% \edef\LWR@hashmark{\string#} % for use in \write \edef\LWR@percent{\@percentchar} % for use in \write % \end{macrocode} - -% \DescribeCounter{LWR@nextpage} -% Used to count ahead to the next page: +% +% +% \DescribeCounter{LWR@LIpage} +% Used to reference the \acro{PDF} page number of a lateximage +% to be written into |lateximages.txt|. % \begin{macrocode} -\newcounter{LWR@nextpage} +\newcounter{LWR@LIpage} % \end{macrocode} - +% % \begin{macrocode} \end{warpHTML} % \end{macrocode} @@ -13010,8 +13020,11 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% % \changes{v0.18}{2016/05/18}{Surpress extra space.} % \changes{v0.18}{2016/05/18}{pdfcrop: -{}-hires added.} % \changes{v0.18}{2016/05/19}{Reorganize \cs{HomeHTMLFilename} logic.} +% \changes{v0.26}{2017/03/22}{Print mode now uses a \env{minipage} of \cs{linewidth}.} +% \changes{v0.26}{2017/03/29}{Labels track page numbers of lateximages.} % \begin{macrocode} \NewDocumentEnvironment{lateximage}{O{image}}{% +\LWR@traceinfo{lateximage: starting on page \arabic{page}}% \ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}% % \end{macrocode} % If nesting inside an already-existing lateximage, simply record one more level: @@ -13027,6 +13040,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% % Starting a new lateximage: % \begin{macrocode} \addtocounter{LWR@lateximagenumber}{1}% +\LWR@traceinfo{lateximage: LWR@lateximagenumber is \arabic{LWR@lateximagenumber}}% % \end{macrocode} % While inside a lateximage, do not use mathjax: % \begin{macrocode} @@ -13039,11 +13053,12 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% % Next file: % \begin{macrocode} \addtocounter{LWR@externalfilecnt}{1}% +\LWR@traceinfo{lateximage: LWR@externalfilecnt is \arabic{LWR@externalfilecnt}}% % \end{macrocode} % Figure out what the next page number will be: % \begin{macrocode} -\setcounter{LWR@nextpage}{\thepage}% -\addtocounter{LWR@nextpage}{1}% +\setcounterpageref{LWR@LIpage}{LWRlateximage\theLWR@lateximagenumber}% +\LWR@traceinfo{lateximage: LWR@LIpage is \arabic{LWR@LIpage}}% % \end{macrocode} % Create an \acro{HTML} span which will hold the comment which contains the |pdftotext| translation % of the image's page, and also will hold the link to the |.svg| file: @@ -13053,13 +13068,13 @@ class="lateximagesource"{}} \LWR@orignewline % \end{macrocode} % Write instructions to the |lateximages.txt| file: % \begin{macrocode} -\immediate\write\LWR@file{|\theLWR@nextpage|\theLWR@externalfilecnt|}% +\immediate\write\LWR@file{|\theLWR@LIpage|\theLWR@externalfilecnt|}% % \end{macrocode} % Place an open comment tag at the bottom of page; footnotes will be above this tag. % This will hide any traces of the lateximage \acro{PDF} page which were picked up by % |pdftotext|. % \begin{macrocode} -\LWR@origthispagestyle{LWR@commentfooterstyle}% +\LWR@htmlopencomment% \addtocounter{LWR@lateximagedepth}{1}% % \end{macrocode} % Start the new \acro{PDF} page: @@ -13093,6 +13108,7 @@ class="lateximagesource"{}} \LWR@orignewline \let\tabular\LWR@origtabular% \let\endtabular\LWR@origendtabular% \let\newline\LWR@orignewline% +\LWR@origlabel{LWRlateximage\arabic{LWR@lateximagenumber}}% *8* }% end of outer-most lateximage }% end of \begin{lateximage} {% start of \end{lateximage} @@ -13117,6 +13133,7 @@ class="lateximagesource"{}} \LWR@orignewline % Close the \acro{HTML} comment which encapsulated any traces of the lateximage picked up by |pdftotext|: % \begin{macrocode} \LWR@htmlclosecomment{}\LWR@orignewline% +\LWR@traceinfo{lateximage: The page after the image is \arabic{page}}% % \end{macrocode} % Create a link to the lateximage, allowing its natural height: % @@ -13153,13 +13170,14 @@ class="lateximagesource"{}} \LWR@orignewline % \begin{macrocode} \addtocounter{LWR@lateximagedepth}{-1}% }% end of outer-most lateximage +\LWR@traceinfo{lateximage: done} }% \end{warpHTML} % \end{macrocode} % \codeprint % \begin{macrocode} \begin{warpprint} -\newenvironment{lateximage}[1][]{\begingroup}{\endgroup} +\newenvironment{lateximage}[1][]{\minipage{\linewidth}}{\endminipage} \end{warpprint} % \end{macrocode} % \end{environment} @@ -13896,15 +13914,8 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline % % \cs{AtEndPreable} forces \pkg{cleveref} to be loaded last: % -% \changes{v0.14}{2016/03/29}{Pagenote: Assigned cleveref name.} % \changes{v0.19}{2016/06/06}{cleveref: Loaded \cs{AtEndPreamble}.} % -% \begin{macrocode} -\AtEndPreamble{ -\RequirePackage{cleveref} -\crefname{pagenote}{note}{notes} -} -% \end{macrocode} % % % \changes{v0.20}{2017/01/05}{\pkg{cleveref} and referencing patches: Applied \cs{AfterEndPreamble}.} @@ -14015,8 +14026,12 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline % \begin{environment}{picture} % \changes{v0.24}{2017/03/13}{Fix for inline images.} +% \changes{v0.26}{2017/03/30}{Fix for \cs{makebox} in \env{picture}.} % \begin{macrocode} -\BeforeBeginEnvironment{picture}{\lateximage} +\BeforeBeginEnvironment{picture}{% +\lateximage% +\let\makebox\LWR@origmakebox% +} \AfterEndEnvironment{picture}{\endlateximage} % \end{macrocode} @@ -14078,43 +14093,6 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline % % Also see \cref{sec:footnotes} for other forms of footnotes. % -% -% -% \begin{macro}{\LWR@nullrule} \oarg{raise} \marg{width} \marg{height} -% -% Used to cancel the footnotesep rule during \acro{HTML} output. -% This rule was causing occasional end paragraph tags to be inserted -% for some (so far) undetermined reason, as well -% as adding purposeless code to the \acro{HTML} output. -% \begin{macrocode} -\NewDocumentCommand{\LWR@nullrule}{o m m}{} -% \end{macrocode} -% \end{macro} -% -% -% \begin{macro}{\LWR@makefntext} \marg{text} -% -% Adds a paragraph closing tag to the end of each footnote. -% \begin{macrocode} -\newcommand{\LWR@makefntext}[1]{% -\begingroup% -\let\rule\LWR@nullrule% -\textsuperscript{\@thefnmark} #1% -\endgroup% -\LWR@htmltagc{/\LWR@tagregularparagraph}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\LWR@makefnmark} -% Creates an \acro{HTML} superscript footnote mark: -% \begin{macrocode} -\newcommand*{\LWR@makefnmark}{\textsuperscript{\@thefnmark}} -% \end{macrocode} -% \end{macro} -% -% - % % \subsection{Minipage handling} % @@ -14130,6 +14108,7 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \vskip\skip\@mpfootins \normalcolor \LWR@htmldivclass{mpfootnotes} + \LWR@origmedskip \unvbox\@mpfootins \LWR@htmldivclassend{mpfootnotes} \fi @@ -14153,12 +14132,6 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline % \begin{macrocode} \LWR@origraggedright% % \end{macrocode} -% Minipage footnotes appear the bottom of the minipage. -% \begin{macrocode} -\let\footnote\LWR@origfootnote% -\let\@makefntext\LWR@makefntext% -\let\@makefnmark\LWR@makefnmark% -% \end{macrocode} % Resume paragraph tag handling for the contents of the minipage: % \begin{macrocode} \LWR@startpars% @@ -14305,9 +14278,6 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline % |\raggedright| cancels hyphenation, which will be done by \acro{HTML} instead. % \begin{macrocode} \LWR@origraggedright% -\let\footnote\LWR@origfootnote% -\let\@makefntext\LWR@makefntext% -\let\@makefnmark\LWR@makefnmark% % \end{macrocode} % Resume paragraph tag handling for the contents of the minipage: % \begin{macrocode} @@ -14357,6 +14327,8 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline % % Width and position are ignored. % \begin{macrocode} +\let\LWR@origmakebox\makebox + \RenewDocumentCommand{\makebox}{o o m}{% \mbox{#3} } @@ -14637,6 +14609,7 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \let\LWR@origqquad\qquad \let\LWR@orighspace\hspace \let\LWR@origrule\rule +\let\LWR@origmedskip\medskip % \end{macrocode} % Direct-formatting space commands become \acro{HTML} entities: @@ -15301,12 +15274,12 @@ homehtmlfilename = "\HomeHTMLFileName"% % \iffalse % % \fi - - - +% +% +% % \clearpage - - +% +% % \iffalse %<*lwarp-newproject> % \fi @@ -15517,6 +15490,9 @@ homehtmlfilename = "\HomeHTMLFileName"% % This must be present both when compiling the project % and also when distributing the \acro{HTML} files. % +% \changes{v0.26}{2017/03/30}{\texttt{lwarp.css}: Improved responsive +% \texttt{marginpar} and \texttt{marginblock}.} +% % \begin{macrocode} \begin{VerbatimOut}{lwarp.css} /* @@ -15760,24 +15736,31 @@ div.titlepage { } .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; + max-width:50%; + 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; + max-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 { + display: block ; + margin: 0pt auto 0pt auto ; } div.marginblock div.minipage p { font-size: 85%} @@ -15800,10 +15783,8 @@ section.textbody div.footnotes{ .mpfootnotes { text-align: left ; font-size: .85em ; - margin: 3ex 0em 3ex 0em ; + margin-left: 1em ; border-top: 1px solid silver ; - border-bottom: 1px solid silver ; -/* padding-top: 1ex ; */ } /* Remove footnote top border in the title page. */ @@ -16608,6 +16589,12 @@ nav.botnavigation { display:none; } } /* nav.topnavigation { display:block } */ nav.botnavigation { display:block } + .marginpar { + max-width: 100%; + float: none; + display:block ; + margin: 1ex 1em 1ex 1em ; + } } @media print { @@ -17283,7 +17270,7 @@ MathJax.Hub.Config({ -- Print the usage of the lwarpmk command: -printversion = "v0.25" +printversion = "v0.26" function printhelp () print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ; @@ -17725,22 +17712,22 @@ end -- not --version % \iffalse % % \fi - - - - - +% +% +% +% +% % \changes{v0.20}{2016/12/12}{Code factored into independent \texttt{lwarp\_html} files.} - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*abstract> % \fi - +% % \part{lwarp-abstract.sty} % % \section{Abstract} @@ -17830,17 +17817,17 @@ end -- not --version % \iffalse % % \fi - - - +% +% +% % \clearpage % % \iffalse %<*afterpage> % \fi - +% % \part{lwarp-afterpage.sty} - +% % \section{Afterpage} % % \DescribePackage{afterpage} Not used. @@ -17853,25 +17840,25 @@ end -- not --version % \begin{macrocode} \LWR@ProvidesPackageDrop{afterpage} % \end{macrocode} - +% % \begin{macrocode} \newcommand{\afterpage}[1]{#1} % \end{macrocode} - +% % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*algorithmicx> % \fi - +% % \part{lwarp-algorithmicx.sty} - +% % \section{Algorithmicx} % \label{sec:algorithmicx} % @@ -17923,13 +17910,13 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \iffalse %<*alltt> % \fi - +% % \part{lwarp-alltt.sty} % \section{Alltt} @@ -17955,11 +17942,11 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*amsthm> % \fi @@ -18106,9 +18093,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \iffalse %<*bookmark> % \fi @@ -18142,12 +18129,12 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*booktabs> % \fi @@ -18180,9 +18167,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \iffalse %<*ccaption> % \fi @@ -18206,11 +18193,11 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*changepage> % \fi @@ -18243,40 +18230,99 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - -% \iffalse -%<*dcolumn> -% \fi - -% \part{lwarp-dcolumn.sty} - -% \section{Dcolumn} -% \label{sec:dcolumn} % -% \changes{v0.22}{2017/02/24}{\pkg{dcolumn}: Added.} % -% \DescribePackage{dcolumn} -% \pkg{dcolumn} is emulated during \acro{HTML} output, and -% the \pkg{dcolumn} package is ignored. - +% +% +% +% +% \clearpage +% +% \iffalse +%<*cutwin> +% \fi +% +% \part{lwarp-cutwin.sty} +% +% \section{Cutwin} +% +% \DescribePackage{cutwin} Emulated. +% +% \changes{v0.26}{2017/03/30}{\pkg{cutwin}: Added.} +% +% \codehtml +% +% Discard all options for \pkg{lwarp-cutwin}: % \begin{macrocode} -\LWR@ProvidesPackageDrop{dcolumn} +\LWR@ProvidesPackageDrop{cutwin} % \end{macrocode} +% +% \begin{macrocode} +\newcommand*{\opencutleft}{} +\newcommand*{\opencutright}{} +\newcommand*{\opencutcenter}{} +\newcommand*{\cutfuzz}{} +\newenvironment{cutout}[4] +{\marginpar{\windowpagestuff}} +{} -% \iffalse -% -% \fi - +\newcommand*{\windowpagestuff}{} +\newcommand*{\pageinwindow}{% +% \begin{minipage}{.3\linewidth} +\windowpagestuff +% \end{minipage} +} +\newenvironment{shapedcutout}[3] +{\marginpar{\picinwindow}} +{} +\newcommand*{\putstuffinpic}{} +\newcommand*{\picinwindow}{% +\begin{picture}(0,0) +\putstuffinpic +\end{picture}} +% \end{macrocode} +% +% \iffalse +% +% \fi +% +% +% +% +% \iffalse +%<*dcolumn> +% \fi +% +% \part{lwarp-dcolumn.sty} +% +% \section{Dcolumn} +% \label{sec:dcolumn} +% +% \changes{v0.22}{2017/02/24}{\pkg{dcolumn}: Added.} +% +% \DescribePackage{dcolumn} +% \pkg{dcolumn} is emulated during \acro{HTML} output, and +% the \pkg{dcolumn} package is ignored. +% +% \begin{macrocode} +\LWR@ProvidesPackageDrop{dcolumn} +% \end{macrocode} +% +% \iffalse +% +% \fi +% +% +% +% +% % \clearpage - +% % \iffalse %<*draftwatermark> % \fi @@ -18312,9 +18358,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \iffalse %<*ellipsis> % \fi @@ -18339,10 +18385,12 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - +% +% +% +% % \clearpage - +% % \iffalse %<*emptypage> % \fi @@ -18366,10 +18414,58 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi +% +% +% +% +% \clearpage +% +% \iffalse +%<*endnotes> +% \fi +% \part{lwarp-endnotes.sty} +% +% \section{Endnotes} +% +% \credits{John Lavagnino} +% +% \DescribePackage{endnotes} +% +% +% \changes{v0.26}{2017/03/27}{\pkg{endnotes}: Added.} +% +% +% Discard all options for \pkg{lwarp-endnotes}: +% +% \codehtml +% \begin{macrocode} +\LWR@ProvidesPackagePass{endnotes} +% \end{macrocode} +% +% \begin{macrocode} +\def\enoteformat{% +% \rightskip\z@ \leftskip\z@ \parindent=1.8em +\leavevmode +% \llap{ +\makeenmark +% } +} +\def\@makeenmark{\hbox{\textsuperscript{\normalfont\theenmark}}} +\def\makeenmark{\@makeenmark} +% \end{macrocode} +% +% \iffalse +% +% \fi +% +% +% +% +% % \clearpage - +% % \iffalse %<*enumerate> % \fi @@ -18411,9 +18507,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage % % \iffalse @@ -18484,10 +18580,10 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \iffalse %<*eso-pic> % \fi @@ -18532,9 +18628,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage % % \iffalse @@ -18565,8 +18661,8 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - +% +% % \iffalse %<*extramarks> % \fi @@ -18604,11 +18700,11 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*fancyhdr> % \fi @@ -18653,12 +18749,12 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*float> % \fi @@ -18751,12 +18847,69 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi +% +% +% +% +% +% +% \clearpage +% +% \iffalse +%<*floatflt> +% \fi +% +% \part{lwarp-floatflt.sty} +% +% \section{Floatflt} +% +% \DescribePackage{floatflt} Emulated. +% +% \changes{v0.26}{2017/03/30}{\pkg{floatflt}: Added.} +% +% \codehtml +% +% Discard all options for \pkg{lwarp-floatflt}: +% \begin{macrocode} +\LWR@ProvidesPackageDrop{floatflt} +% \end{macrocode} +% +% +% +% Borrowed from the \pkg{lwarp} version of \pkg{keyfloat}: +% \begin{macrocode} +\DeclareDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} +{% start +\LWR@maybeincthisfloat% +% \BlockClass{marginblock} +\LWR@stoppars% +\LWR@htmltag{div class="marginblock" id="autofloat-\arabic{LWR@thisfloat}"} +\LWR@startpars% +\captionsetup{type=#2}% +} +{ +% \endBlockClass +\LWR@htmldivclassend{div} +} +\DeclareDocumentEnvironment{floatingfigure}{o m} + {\begin{KFLT@marginfloat}{figure}} + {\end{KFLT@marginfloat}} - - +\DeclareDocumentEnvironment{floatingtable}{o +m} + {\begin{KFLT@marginfloat}{table}#2} + {\end{KFLT@marginfloat}} +% \end{macrocode} +% +% \iffalse +% +% \fi +% +% +% +% % \clearpage - +% % \iffalse %<*floatrow> % \fi @@ -19088,9 +19241,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage % % \iffalse @@ -19121,10 +19274,10 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \iffalse %<*fontspec> % \fi @@ -19153,12 +19306,187 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi +% +% +% +% +% \iffalse +%<*footmisc> +% \fi +% +% \part{lwarp-footmisc.sty} +% +% \section{Footmisc} +% \label{sec:footmisc} +% +% \credits{Robin Fairbairns} +% +% \changes{v0.26}{2017/03/27}{\pkg{footmisc}: Added.} +% +% \DescribePackage{footmisc} +% \pkg{footmisc} is emulated during \acro{HTML} output, and +% the \pkg{footmisc} package is ignored. +% +% \begin{macrocode} +\LWR@ProvidesPackageDrop{footmisc} +% \end{macrocode} +% +% Some nullified commands: +% \begin{macrocode} +\newcommand{\footnotelayout}{} +\newcommand{\setfnsymbol}[1]{} +\NewDocumentCommand{\DefineFNsymbols}{s m o m}{} +\newdimen\footnotemargin +\footnotemargin1.8em\relax +\newcommand*\hangfootparskip{0.5\baselineskip} +\newcommand*\hangfootparindent{0em}% +\let\pagefootnoterule\footnoterule +\let\mpfootnoterule\footnoterule +\def\splitfootnoterule{\kern-3\p@ \hrule \kern2.6\p@} +\providecommand*{\multiplefootnotemarker}{3sp} +\providecommand*{\multfootsep}{,} +% \end{macrocode} +% +% Using \pkg{cleveref}: +% \begin{macrocode} +\providecommand*{\footref}[1]{\labelcref{#1}} +% \end{macrocode} +% +% The following work as-is: +% \begin{macrocode} +\newcommand\mpfootnotemark{% + \@ifnextchar[% + \@xmpfootnotemark + {% + \stepcounter\@mpfn + \protected@xdef\@thefnmark{\thempfn}% + \@footnotemark + }% +} +\def\@xmpfootnotemark[#1]{% + \begingroup + \csname c@\@mpfn\endcsname #1\relax + \unrestored@protected@xdef\@thefnmark{\thempfn}% + \endgroup + \@footnotemark +} +% \end{macrocode} +% +% \iffalse +% +% \fi +% +% +% % \clearpage +% +% \iffalse +%<*footnote> +% \fi +% +% \part{lwarp-footnote.sty} +% +% \section{Footnote} +% +% \DescribePackage{footnote} +% \pkg{footnote} is used with minor patches. +% +% \changes{v0.26}{2017/03/26}{\pkg{footnote}: Added.} +% +% \codehtml +% \begin{macrocode} +\LWR@ProvidesPackagePass{footnote} +% \end{macrocode} +% +% Removed print-version formatting: +% \begin{macrocode} +\def\fn@startnote{% +% \@parboxrestore% + \protected@edef\@currentlabel{\csname p@\@mpfn\endcsname\@thefnmark}% +% \color@begingroup% *** conflicts with lwarp +} +% \let\fn@endnote\color@endgroup% *** conflicts with lwarp +\newcommand*{\fn@endnote}{\LWR@htmltagc{/\LWR@tagregularparagraph}} +% \end{macrocode} +% +% Removed print-version formatting: +% \begin{macrocode} +\def\fn@startfntext{% + \setbox\z@\vbox\bgroup% + \fn@startnote% + \fn@prefntext% + \ignorespaces% +} +% \end{macrocode} +% +% Removed print-version formatting, added closing paragraph tag: +% \begin{macrocode} +\def\fn@endfntext{% + \LWR@htmltagc{/\LWR@tagregularparagraph}% + \fn@postfntext% + \egroup% + \begingroup% + \let\@makefntext\@empty% + \let\@finalstrut\@gobble% + \let\rule\@gobbletwo% + \@footnotetext{\unvbox\z@}% + \endgroup% +} +% \end{macrocode} +% +% These have been redefined, so re-\cs{let} them again: +% \begin{macrocode} +\let\endfootnote\fn@endfntext +\let\endfootnotetext\endfootnote +% \end{macrocode} +% +% +% \iffalse +% +% \fi +% +% +% +% +% +% \iffalse +%<*footnotehyper> +% \fi + +% \part{lwarp-footnotehyper.sty} + +% \section{Footnotehyper} +% +% \DescribePackage{footnotehyper} +% \pkg{footnotehyper} is a \pkg{hyperref}-safe version of \pkg{footnote}. +% For \pkg{lwarp}, \pkg{footnotehyper} is emulated. +% +% \changes{v0.26}{2017/03/23}{\pkg{footnotehyper}: Added.} +% +% \codehtml +% +% Discard all options for \pkg{lwarp-footnotehyper}: +% \begin{macrocode} +\RequirePackage{footnote} +\LWR@ProvidesPackageDrop{footnotehyper} +% \end{macrocode} +% +% +% \iffalse +% +% \fi +% +% +% +% +% +% \clearpage +% % \iffalse %<*framed> % \fi @@ -19302,12 +19630,12 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*ftnright> % \fi @@ -19331,9 +19659,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % % \iffalse %<*geometry> @@ -19367,8 +19695,8 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - +% +% % \clearpage % % \iffalse @@ -19392,9 +19720,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \iffalse %<*graphicx> % \fi @@ -19416,11 +19744,11 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*hyperref> % \fi @@ -19759,9 +20087,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \iffalse %<*indentfirst> % \fi @@ -19786,10 +20114,10 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \iffalse %<*inputenc> % \fi @@ -19819,11 +20147,11 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*keyfloat> % \fi @@ -19850,8 +20178,6 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \begin{macrocode} -% \newsavebox{\KFLT@envbox} - \let\KFLT@boxinner\relax \let\endKFLT@boxinner\relax @@ -19867,7 +20193,7 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \begin{macrocode} -\RenewDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} +\DeclareDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} {% start \LWR@maybeincthisfloat% % \BlockClass{marginblock} @@ -19891,10 +20217,10 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \iffalse %<*layout> % \fi @@ -19922,10 +20248,10 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \iffalse %<*letterspace> % \fi @@ -19957,10 +20283,12 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - +% +% +% +% % \clearpage - +% % \iffalse %<*lips> % \fi @@ -20000,11 +20328,11 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*listings> % \fi @@ -20015,7 +20343,7 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \label{sec:listings} % % \credits{Carsten Heinz, Brooks Moses, Jobst Hoffmann} - +% % % \DescribePackage{listings} % \pkg{listings} is supported with some limitations. @@ -20245,12 +20573,12 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*longtable> % \fi @@ -20349,11 +20677,11 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*lscape> % \fi @@ -20381,9 +20709,9 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - +% +% +% % \iffalse %<*ltcaption> % \fi @@ -20408,24 +20736,106 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % % \cs{LTcaptype} is already defined by \pkg{lwarp}. % -% \env{longtable*} is already defined by \pkg{lwarp-longtable}. +% \env{longtable*} is already defined by \pkg{lwarp-longtable}. +% +% \begin{macrocode} +\newlength{\LTcapskip} +\newlength{\LTcapleft} +\newlength{\LTcapright} +\newcommand*{\LTcapmarginsfalse}{} +% \end{macrocode} + + +% \iffalse +% +% \fi +% +% +% +% +% +% \clearpage +% +% \iffalse +%<*marginfix> +% \fi +% +% \part{lwarp-marginfix.sty} +% +% \section{Marginfix} +% +% \DescribePackage{marginfix} Not used. +% +% \changes{v0.26}{2017/03/29}{\pkg{marginfix}: Added.} +% +% \codehtml +% +% Discard all options for \pkg{lwarp-marginfix}: +% \begin{macrocode} +\LWR@ProvidesPackageDrop{marginfix} +% \end{macrocode} +% +% \begin{macrocode} +\newcommand*{\marginskip}[1]{} +\newcommand*{\clearmargin}{} +\newcommand*{\softclearmargin}{} +\newcommand*{\extendmargin}[1]{} +\newcommand*{\mparshift}[1]{} +\newdimen\marginheightadjustment +\newdimen\marginposadjustment +\newcommand*{\blockmargin}[1][]{} +\newcommand*{\unblockmargin}[1][]{} +\newcommand*{\marginphantom}[2][]{} +% \end{macrocode} +% +% \iffalse +% +% \fi +% +% +% +% +% +% \clearpage +% +% \iffalse +%<*marginnote> +% \fi +% +% \part{lwarp-marginnote.sty} +% +% \section{Marginnote} +% +% \DescribePackage{marginnote} Emulated. +% +% \changes{v0.26}{2017/03/30}{\pkg{marginnote}: Added.} +% +% \codehtml +% +% Discard all options for \pkg{lwarp-marginnote}: +% \begin{macrocode} +\LWR@ProvidesPackageDrop{marginnote} +% \end{macrocode} % % \begin{macrocode} -\newlength{\LTcapskip} -\newlength{\LTcapleft} -\newlength{\LTcapright} -\newcommand*{\LTcapmarginsfalse}{} +\NewDocumentCommand{\marginnote}{o +m o}{\marginpar{#2}} +\newcommand*{\marginnoteleftadjust}{} +\newcommand*{\marginnoterightadjust}{} +\newcommand*{\marginnotetextwidth}{} +\let\marginnotetextwidth\textwidth +\newcommand*{\marginnotevadjust}{} +\newcommand*{\marginfont}{} +\newcommand*{\raggedleftmarginnote}{} +\newcommand*{\raggedrightmarginnote}{} % \end{macrocode} - - +% % \iffalse -% +% % \fi - - - -% \clearpage - +% +% +% +% % \iffalse %<*mcaption> % \fi @@ -20455,12 +20865,12 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*mdframed> % \fi @@ -20870,12 +21280,12 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*microtype> % \fi @@ -20934,11 +21344,40 @@ solid % \iffalse % % \fi - - - +% +% +% +% % \clearpage - +% +% \iffalse +%<*mparhack> +% \fi +% +% \part{lwarp-mparhack.sty} +% +% \section{Mparhack} +% +% \DescribePackage{mparhack} Not used. +% +% \changes{v0.26}{2017/03/29}{\pkg{mparhack}: Added.} +% +% \codehtml +% +% Discard all options for \pkg{lwarp-mparhack}: +% \begin{macrocode} +\LWR@ProvidesPackageDrop{mparhack} +% \end{macrocode} +% +% \iffalse +% +% \fi +% +% +% +% +% \clearpage +% % \iffalse %<*multicol> % \fi @@ -21014,13 +21453,13 @@ solid % \iffalse % % \fi - - - - - +% +% +% +% +% % \clearpage - +% % \iffalse %<*multirow> % \fi @@ -21042,9 +21481,9 @@ solid % \iffalse % % \fi - - - +% +% +% % \iffalse %<*nameref> % \fi @@ -21072,8 +21511,10 @@ solid % \iffalse % % \fi - - +% +% +% +% % \clearpage % % \iffalse @@ -21102,10 +21543,10 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \iffalse %<*newclude> % \fi @@ -21134,8 +21575,11 @@ solid % \iffalse % % \fi - - +% +% +% +% +% % \clearpage % % \iffalse @@ -21166,10 +21610,10 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \iffalse %<*nextpage> % \fi @@ -21200,9 +21644,9 @@ solid % \iffalse % % \fi - - - +% +% +% % \iffalse %<*nowidow> % \fi @@ -21245,12 +21689,12 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*ntheorem> % \fi @@ -21799,16 +22243,16 @@ solid % \begin{macrocode} \newcommand*{\thref}[1]{\cref{#1}} % \end{macrocode} - - % % \iffalse % % \fi - - +% +% +% +% % \clearpage - +% % \iffalse %<*pagenote> % \fi @@ -21818,44 +22262,30 @@ solid % \section{Pagenote} % % \DescribePackage{pagenote} -% \pkg{pagenote} is used by \pkg{lwarp}, -% and its user-interface macros have been nullified. -% -% Both footnotes and pagenotes appear as footnotes in the \acro{HTML} output. +% \pkg{pagenote} works as-is. % -% Any manipulation of \pkg{pagenote} in the user's document after -% the preamble should be encased within a \env{warpprint} environment. +% It is only included as an |lwarp-pagenote.sty| file because +% past versions of \pkg{lwarp} used \pkg{pagenote} to emulate +% footnotes, and so the file may exist on current installations, +% and should be over-written by this newer version. % -% \changes{v0.20}{2017/01/11}{\pkg{pagenote}: Added.} +% \changes{v0.26}{2017/03/29}{\pkg{pagenote}: Supported as-is.} % - -% Discard all options for \pkg{lwarp-pagenote}: - % \codehtml % \begin{macrocode} -\LWR@ProvidesPackageDrop{pagenote} +\LWR@ProvidesPackagePass{pagenote} % \end{macrocode} % -% \cs{pagenote} is already modified to work with \pkg{lwarp}. -% -% \begin{macrocode} -\renewcommand*{\makepagenote}{} -\RenewDocumentCommand{\printnotes}{s}{} -\renewcommand{\printnotes}[2][]{} -\renewcommand{\addtonotes}[1]{} -% \end{macrocode} - - % \iffalse % % \fi - - - - - +% +% +% +% +% % \clearpage - +% % \iffalse %<*parskip> % \fi @@ -21879,9 +22309,9 @@ solid % \iffalse % % \fi - - - +% +% +% % % \iffalse %<*placeins> @@ -21911,10 +22341,10 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage % % \iffalse @@ -21967,12 +22397,12 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*rotating> % \fi @@ -22011,11 +22441,13 @@ solid % \iffalse % % \fi - - - +% +% +% +% +% % \clearpage - +% % \iffalse %<*setspace> % \fi @@ -22068,11 +22500,13 @@ solid % \iffalse % % \fi - - - +% +% +% +% +% % clearpage - +% % \iffalse %<*showidx> % \fi @@ -22096,9 +22530,11 @@ solid % \iffalse % % \fi - - - +% +% +% +% +% % \iffalse %<*showkeys> % \fi @@ -22126,13 +22562,13 @@ solid % \iffalse % % \fi - - - - - +% +% +% +% +% % \clearpage - +% % \iffalse %<*sidecap> % \fi @@ -22180,18 +22616,120 @@ solid \ExplSyntaxOff -\newenvironment*{wide}{}{} +\newenvironment*{wide}{}{} +% \end{macrocode} + +% \iffalse +% +% \fi +% +% +% +% +% +% \clearpage +% +% \iffalse +%<*sidenotes> +% \fi +% +% \part{lwarp-sidenotes.sty} +% +% \section{Sidenotes} +% +% \credits{Andy Thomas, Oliver Schebaum} +% +% \DescribePackage{sidenotes} Patched for \pkg{lwarp}. +% +% \changes{v0.26}{2017/03/30}{\pkg{sidenotes}: Added.} +% +% \codehtml +% +% +% Load the original package: +% \begin{macrocode} +\LWR@ProvidesPackagePass{sidenotes} +% \end{macrocode} +% +% +% The following patch \pkg{sidenotes} for use with \pkg{lwarp}: +% +% Stop paragraph handling while creating the caption: +% \begin{macrocode} +\RenewDocumentCommand \sidecaption {s o o m} +{ + \LWR@stoppars + \captionsetup{style=sidecaption} + \IfBooleanTF{#1} + { % starred + \IfNoValueOrEmptyTF{#2} + {\marginnote{\caption*{#4}}} + {\marginnote{\caption*{#4}}[#2]} + } + { % unstarred + \IfNoValueOrEmptyTF{#2} + {\def\@sidenotes@sidecaption@tof{#4}} + {\def\@sidenotes@sidecaption@tof{#2}} + \IfNoValueOrEmptyTF{#3} + {\marginnote{\caption[\@sidenotes@sidecaption@tof]{#4}}} + {\marginnote{\caption[\@sidenotes@sidecaption@tof]{#4}}[#3]} + } + \LWR@startpars +} +% \end{macrocode} +% +% +% +% Borrowed from the \pkg{lwarp} version of \pkg{keyfloat}: +% \begin{macrocode} +\DeclareDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} +{% start +\LWR@maybeincthisfloat% +% \BlockClass{marginblock} +\LWR@stoppars% +\LWR@htmltag{div class="marginblock" id="autofloat-\arabic{LWR@thisfloat}"} +\LWR@startpars% +\captionsetup{type=#2}% +} +{ +% \endBlockClass +\LWR@htmldivclassend{div} +} + +\RenewDocumentEnvironment{marginfigure}{o} + {\begin{KFLT@marginfloat}{figure}} + {\end{KFLT@marginfloat}} + +\RenewDocumentEnvironment{margintable}{o} + {\begin{KFLT@marginfloat}{table}} + {\end{KFLT@marginfloat}} % \end{macrocode} +% +% The following were changed by \pkg{sidenotes}, and now are +% reset back to their \pkg{lwarp}-supported originals: +% +% Restoring the definition from the \LaTeXe\ |article.cls| source: +% \begin{macrocode} +\renewenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} +\renewenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +% \end{macrocode} +% % \iffalse -% +% % \fi - - - - +% +% +% +% +% +% % \clearpage - +% % \iffalse %<*subfig> % \fi @@ -22484,12 +23022,12 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*tabularx> % \fi @@ -22523,10 +23061,12 @@ solid % \iffalse % % \fi - - +% +% +% +% % \clearpage - +% % \iffalse %<*textpos> % \fi @@ -22569,12 +23109,12 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*theorem> % \fi @@ -22780,11 +23320,11 @@ solid % \iffalse % % \fi - - - +% +% +% % \clearpage - +% % \iffalse %<*threeparttable> % \fi @@ -22847,13 +23387,13 @@ solid % \iffalse % % \fi - - - - - +% +% +% +% +% % \clearpage - +% % \iffalse %<*tikz> % \fi @@ -22930,11 +23470,13 @@ solid % \iffalse % % \fi - - - +% +% +% +% +% % \clearpage - +% % \iffalse %<*titleps> % \fi @@ -23115,12 +23657,12 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*titlesec> % \fi @@ -23241,13 +23783,13 @@ solid % \iffalse % % \fi - - - - - +% +% +% +% +% % \clearpage - +% % \iffalse %<*titletoc> % \fi @@ -23363,12 +23905,12 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*titling> % \fi @@ -23432,13 +23974,13 @@ solid % \iffalse % % \fi - - - - - +% +% +% +% +% % \clearpage - +% % \iffalse %<*tocloft> % \fi @@ -23768,14 +24310,14 @@ solid % \iffalse % % \fi - - - - - - +% +% +% +% +% +% % \clearpage - +% % \iffalse %<*trivfloat> % \fi @@ -23880,18 +24422,18 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage - +% % \iffalse %<*verse> % \fi - +% % \part{lwarp-verse.sty} - +% % \section{Verse} % % \credits{Peter Wilson} @@ -23964,10 +24506,10 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage % % \iffalse @@ -24013,10 +24555,10 @@ solid % \iffalse % % \fi - - - - +% +% +% +% % \clearpage % % \iffalse @@ -24110,13 +24652,11 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; % % \iffalse % % \fi - - - - - +% +% +% % \clearpage - +% % \iffalse %<*xcolor> % \fi @@ -24269,25 +24809,16 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; % \let\colorbox\LWR@colorbox \let\fcolorbox\LWR@fcolorbox % \end{macrocode} - - +% +% % \iffalse % % \fi - - - - - - - - - - - - +% +% +% % \clearpage - +% % \iffalse %<*xfrac> % \fi @@ -24435,25 +24966,25 @@ denominator-format = {% scaling = false } % \end{macrocode} - +% % \begin{macrocode} \end{warpHTML} % \end{macrocode} - +% % \iffalse % % \fi - - - - - - - - - - - +% +% +% +% +% +% +% +% +% +% +% % \clearpage % \renewcommand*{\partname}{} % \renewcommand*{\thepart}{} @@ -24463,11 +24994,11 @@ scaling = false % \pagestyle{plain} % % \Finale - - - - - +% +% +% +% +% \endinput diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.ins b/Master/texmf-dist/source/latex/lwarp/lwarp.ins index 02b95e085fc..276f61ba2d7 100644 --- a/Master/texmf-dist/source/latex/lwarp/lwarp.ins +++ b/Master/texmf-dist/source/latex/lwarp/lwarp.ins @@ -43,10 +43,12 @@ version 2005/12/01 or later. \file{lwarp-booktabs.sty}{\from{lwarp.dtx}{booktabs}} \file{lwarp-ccaption.sty}{\from{lwarp.dtx}{ccaption}} \file{lwarp-changepage.sty}{\from{lwarp.dtx}{changepage}} +\file{lwarp-cutwin.sty}{\from{lwarp.dtx}{cutwin}} \file{lwarp-dcolumn.sty}{\from{lwarp.dtx}{dcolumn}} \file{lwarp-draftwatermark.sty}{\from{lwarp.dtx}{draftwatermark}} \file{lwarp-ellipsis.sty}{\from{lwarp.dtx}{ellipsis}} \file{lwarp-emptypage.sty}{\from{lwarp.dtx}{emptypage}} +\file{lwarp-endnotes.sty}{\from{lwarp.dtx}{endnotes}} \file{lwarp-enumerate.sty}{\from{lwarp.dtx}{enumerate}} \file{lwarp-epigraph.sty}{\from{lwarp.dtx}{epigraph}} \file{lwarp-eso-pic.sty}{\from{lwarp.dtx}{eso-pic}} @@ -54,7 +56,11 @@ version 2005/12/01 or later. \file{lwarp-extramarks.sty}{\from{lwarp.dtx}{extramarks}} \file{lwarp-fancyhdr.sty}{\from{lwarp.dtx}{fancyhdr}} \file{lwarp-float.sty}{\from{lwarp.dtx}{float}} +\file{lwarp-floatflt.sty}{\from{lwarp.dtx}{floatflt}} \file{lwarp-floatrow.sty}{\from{lwarp.dtx}{floatrow}} +\file{lwarp-footmisc.sty}{\from{lwarp.dtx}{footmisc}} +\file{lwarp-footnote.sty}{\from{lwarp.dtx}{footnote}} +\file{lwarp-footnotehyper.sty}{\from{lwarp.dtx}{footnotehyper}} \file{lwarp-fontenc.sty}{\from{lwarp.dtx}{fontenc}} \file{lwarp-fontspec.sty}{\from{lwarp.dtx}{fontspec}} \file{lwarp-framed.sty}{\from{lwarp.dtx}{framed}} @@ -73,9 +79,12 @@ version 2005/12/01 or later. \file{lwarp-longtable.sty}{\from{lwarp.dtx}{longtable}} \file{lwarp-lscape.sty}{\from{lwarp.dtx}{lscape}} \file{lwarp-ltcaption.sty}{\from{lwarp.dtx}{ltcaption}} +\file{lwarp-marginfix.sty}{\from{lwarp.dtx}{marginfix}} +\file{lwarp-marginnote.sty}{\from{lwarp.dtx}{marginnote}} \file{lwarp-mcaption.sty}{\from{lwarp.dtx}{mcaption}} \file{lwarp-mdframed.sty}{\from{lwarp.dtx}{mdframed}} \file{lwarp-microtype.sty}{\from{lwarp.dtx}{microtype}} +\file{lwarp-mparhack.sty}{\from{lwarp.dtx}{mparhack}} \file{lwarp-multicol.sty}{\from{lwarp.dtx}{multicol}} \file{lwarp-multirow.sty}{\from{lwarp.dtx}{multirow}} \file{lwarp-nameref.sty}{\from{lwarp.dtx}{nameref}} @@ -92,6 +101,7 @@ version 2005/12/01 or later. \file{lwarp-rotating.sty}{\from{lwarp.dtx}{rotating}} \file{lwarp-setspace.sty}{\from{lwarp.dtx}{setspace}} \file{lwarp-sidecap.sty}{\from{lwarp.dtx}{sidecap}} +\file{lwarp-sidenotes.sty}{\from{lwarp.dtx}{sidenotes}} \file{lwarp-showidx.sty}{\from{lwarp.dtx}{idx}} \file{lwarp-showkeys.sty}{\from{lwarp.dtx}{showkeys}} \file{lwarp-subfig.sty}{\from{lwarp.dtx}{subfig}} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty index dbe49f6c5e7..c30eeaea3a2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty @@ -15,14 +15,6 @@ %% 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{abstract} \AtBeginDocument{ @@ -86,129 +78,6 @@ \fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-abstract.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty index 392e7e6b82e..0e0a91cf3a3 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty @@ -15,142 +15,8 @@ %% 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 index c31f2fde6bc..1c3aed41317 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty @@ -15,18 +15,6 @@ %% 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} @@ -47,126 +35,6 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% \end{warpHTML} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-algorithmicx.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty index 7e707a15dca..c804306e340 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty @@ -16,18 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - \LWR@ProvidesPackagePass{alltt} \AfterEndPreamble{ @@ -35,125 +23,6 @@ \AfterEndEnvironment{alltt}{\unskip\vspace*{-\baselineskip}\LWR@afterendverbatim} } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-alltt.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty index 930bcda25e9..e233534306a 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty @@ -17,19 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - \LWR@ProvidesPackagePass{amsthm} \newcommand{\LWR@newtheoremstyle}{plain} @@ -110,123 +97,6 @@ \@endpefalse } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-amsthm.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty index 91f1b9e5c42..de590b20fb8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty @@ -18,20 +18,6 @@ - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{bookmark} \newcommand*{\bookmarksetup}[1]{} @@ -41,122 +27,6 @@ \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 index e7e6a81af27..6e4e0b9fca8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty @@ -18,141 +18,11 @@ - - - - - - - - - - - - - - - - \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-ccaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty index 79cf1c85149..6ad676dbd2c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty @@ -18,139 +18,9 @@ - - - - - - - - - - - - - - - - - \LWR@loadnever{ccaption}{caption} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-ccaption.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty index a11aa3afd0d..3e980c5c31b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty @@ -16,25 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{changepage} @@ -45,117 +26,6 @@ \newenvironment{adjustwidth}[2]{}{} \newenvironment{adjustwidth*}[2]{}{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-changepage.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty new file mode 100644 index 00000000000..b89b2b48e56 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty @@ -0,0 +1,46 @@ +%% +%% This is file `lwarp-cutwin.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `cutwin') +%% This is a generated file. +%% Copyright 2016-2017 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{cutwin} +\newcommand*{\opencutleft}{} +\newcommand*{\opencutright}{} +\newcommand*{\opencutcenter}{} +\newcommand*{\cutfuzz}{} + +\newenvironment{cutout}[4] +{\marginpar{\windowpagestuff}} +{} + +\newcommand*{\windowpagestuff}{} + +\newcommand*{\pageinwindow}{% +\windowpagestuff +} + +\newenvironment{shapedcutout}[3] +{\marginpar{\picinwindow}} +{} + +\newcommand*{\putstuffinpic}{} + +\newcommand*{\picinwindow}{% +\begin{picture}(0,0) +\putstuffinpic +\end{picture}} +\endinput +%% +%% End of file `lwarp-cutwin.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty index e99b678edf6..f9e82a803da 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty @@ -15,141 +15,7 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{dcolumn} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-dcolumn.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty index 467d0559cf9..3c8e3e608cf 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty @@ -19,28 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{draftwatermark} \newcommand{\SetWatermarkAngle}[1]{} @@ -52,114 +30,6 @@ \newcommand{\SetWatermarkVertCenter}[1]{} \newcommand{\SetWatermarkText}[1]{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-draftwatermark.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty index bb76767e53f..168775adc01 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty @@ -18,140 +18,10 @@ - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{ellipsis} \newcommand{\ellipsisgap}{0.1em} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-ellipsis.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty index 4f86ec45251..637559a08c9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty @@ -17,138 +17,8 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{emptypage} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-emptypage.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty new file mode 100644 index 00000000000..7f087b4e5d0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty @@ -0,0 +1,29 @@ +%% +%% This is file `lwarp-endnotes.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `endnotes') +%% This is a generated file. +%% Copyright 2016-2017 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{endnotes} +\def\enoteformat{% +\leavevmode +\makeenmark +} + +\def\@makeenmark{\hbox{\textsuperscript{\normalfont\theenmark}}} +\def\makeenmark{\@makeenmark} +\endinput +%% +%% End of file `lwarp-endnotes.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty index e2cb282563e..9954399f86c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty @@ -17,33 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{enumerate} \def\enit@shl#1{% @@ -54,109 +27,6 @@ \enit@first#1,\@nil\@@nil % Returns enit@toks \fi} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-enumerate.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty index 95b772ff0e0..aad18d31908 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty @@ -19,34 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{epigraph} \newcommand{\qitem}[2] @@ -84,108 +56,6 @@ \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 index e8c8ed2db8f..111dba611dc 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty @@ -19,35 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{eso-pic} \newcommand*{\LenToUnit}{} @@ -68,107 +39,6 @@ \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 index 369c043e564..e61ca8712c0 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty @@ -18,141 +18,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \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 index c9e8ba1d735..9e94df697d9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty @@ -17,37 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{extramarks} \newcommand*{\extramarks}[2]{} @@ -62,105 +31,6 @@ \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 index f3035b771bd..87ddbe03c4e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty @@ -17,39 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{fancyhdr} \newcommand*{\fancyhead}[2][]{} @@ -71,103 +38,6 @@ \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 index 602cd8c651b..8d1b288c74c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty @@ -17,41 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{float}[2016/03/04] @@ -79,101 +44,6 @@ \NewDocumentCommand{\restylefloat}{s m}{% } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-float.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty new file mode 100644 index 00000000000..5d2bea4c04b --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty @@ -0,0 +1,40 @@ +%% +%% This is file `lwarp-floatflt.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `floatflt') +%% This is a generated file. +%% Copyright 2016-2017 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{floatflt} +\DeclareDocumentEnvironment{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} +} + +\DeclareDocumentEnvironment{floatingfigure}{o m} + {\begin{KFLT@marginfloat}{figure}} + {\end{KFLT@marginfloat}} + +\DeclareDocumentEnvironment{floatingtable}{o +m} + {\begin{KFLT@marginfloat}{table}#2} + {\end{KFLT@marginfloat}} +\endinput +%% +%% End of file `lwarp-floatflt.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty index 5bfb41731e5..99f90ca6079 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty @@ -18,43 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{floatrow} @@ -215,99 +178,6 @@ \boolfalse{LWR@insubfloatrow} } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-floatrow.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty index ab88a426589..5138dfa0f68 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty @@ -17,140 +17,10 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{fontenc} \LWR@loadbefore{fontenc} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-fontenc.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty index b83acc75796..9af1946bd8f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty @@ -16,140 +16,10 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{fontspec} \LWR@loadbefore{fontspec} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-fontspec.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty new file mode 100644 index 00000000000..4c749966490 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty @@ -0,0 +1,54 @@ +%% +%% This is file `lwarp-footmisc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `footmisc') +%% This is a generated file. +%% Copyright 2016-2017 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{footmisc} +\newcommand{\footnotelayout}{} +\newcommand{\setfnsymbol}[1]{} +\NewDocumentCommand{\DefineFNsymbols}{s m o m}{} + +\newdimen\footnotemargin +\footnotemargin1.8em\relax + +\newcommand*\hangfootparskip{0.5\baselineskip} +\newcommand*\hangfootparindent{0em}% + +\let\pagefootnoterule\footnoterule +\let\mpfootnoterule\footnoterule +\def\splitfootnoterule{\kern-3\p@ \hrule \kern2.6\p@} + +\providecommand*{\multiplefootnotemarker}{3sp} +\providecommand*{\multfootsep}{,} +\providecommand*{\footref}[1]{\labelcref{#1}} +\newcommand\mpfootnotemark{% + \@ifnextchar[% + \@xmpfootnotemark + {% + \stepcounter\@mpfn + \protected@xdef\@thefnmark{\thempfn}% + \@footnotemark + }% +} +\def\@xmpfootnotemark[#1]{% + \begingroup + \csname c@\@mpfn\endcsname #1\relax + \unrestored@protected@xdef\@thefnmark{\thempfn}% + \endgroup + \@footnotemark +} +\endinput +%% +%% End of file `lwarp-footmisc.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty new file mode 100644 index 00000000000..8c5cff69c95 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty @@ -0,0 +1,45 @@ +%% +%% This is file `lwarp-footnote.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `footnote') +%% This is a generated file. +%% Copyright 2016-2017 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{footnote} +\def\fn@startnote{% + \protected@edef\@currentlabel{\csname p@\@mpfn\endcsname\@thefnmark}% +} + +\newcommand*{\fn@endnote}{\LWR@htmltagc{/\LWR@tagregularparagraph}} +\def\fn@startfntext{% + \setbox\z@\vbox\bgroup% + \fn@startnote% + \fn@prefntext% + \ignorespaces% +} +\def\fn@endfntext{% +\LWR@htmltagc{/\LWR@tagregularparagraph}% + \fn@postfntext% + \egroup% + \begingroup% + \let\@makefntext\@empty% + \let\@finalstrut\@gobble% + \let\rule\@gobbletwo% + \@footnotetext{\unvbox\z@}% + \endgroup% +} +\let\endfootnote\fn@endfntext +\let\endfootnotetext\endfootnote +\endinput +%% +%% End of file `lwarp-footnote.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty new file mode 100644 index 00000000000..d76644d04f3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty @@ -0,0 +1,24 @@ +%% +%% This is file `lwarp-footnotehyper.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `footnotehyper') +%% This is a generated file. +%% Copyright 2016-2017 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. + + +\RequirePackage{footnote} +\LWR@ProvidesPackageDrop{footnotehyper} +\endinput +%% +%% End of file `lwarp-footnotehyper.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty index 5ca5029df95..0a1539046cf 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty @@ -16,47 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackagePass{framed} @@ -149,95 +108,6 @@ \@tempboxa% } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-framed.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty index 2f7895e91a3..7689e016cf6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty @@ -17,138 +17,8 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{ftnright} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-ftnright.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty index f58582b63be..61c1a43b917 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty @@ -18,50 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{geometry} \renewcommand*{\geometry}[1]{} @@ -70,92 +26,6 @@ \renewcommand*{\savegeometry}[1]{} \renewcommand*{\loadgeometry}[1]{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \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 index 5b5b728ecef..7d66712758f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty @@ -18,138 +18,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@loadnever{graphics}{graphicx} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \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 index 42bfd7f6213..d07e3577665 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty @@ -18,138 +18,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \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 index defd5e7975d..b9882e5fc06 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty @@ -18,54 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \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'.} @@ -173,88 +125,6 @@ \newcommand{\MakeFieldButton}[1]{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-hyperref.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty index 70a80343793..65a9a5b7e80 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty @@ -18,138 +18,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{indentfirst} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-indentfirst.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty index 3d2fe38f6c0..9d976026d8a 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty @@ -17,140 +17,10 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{inputenc} \LWR@loadbefore{inputenc} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-inputenc.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty index 1ff1e3f4966..abe92a0faac 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty @@ -17,63 +17,10 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackagePass{keyfloat} \AtBeginDocument{ - \let\KFLT@boxinner\relax \let\endKFLT@boxinner\relax @@ -86,7 +33,7 @@ \LWR@traceinfo{ended kflt@boxinner}% } -\RenewDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} +\DeclareDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} {% start \LWR@maybeincthisfloat% \LWR@stoppars% @@ -100,84 +47,6 @@ }% AtBeginDocument - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-keyfloat.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty index 53b7ef06cd2..d799a78fe34 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty @@ -17,140 +17,10 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{layout} \NewDocumentCommand{\layout}{s}{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-layout.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty index 130f48b71a0..c2f1353987b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty @@ -18,60 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{letterspace} \newcommand*\lsstyle{} @@ -79,82 +25,6 @@ \def\textls#1#{} \newcommand*\lslig[1]{#1} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-letterspace.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty index 61471f60c6b..a323c48dd0f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty @@ -18,62 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \PackageInfo{lwarp}{Using the lwarp version of package `lips'.}% \ProvidesPackage{lwarp-lips} @@ -92,80 +36,6 @@ \newcommand \LPNobreakList {} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-lips.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty index c1329066b5a..b65ddf429de 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty @@ -17,65 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \begin{warpHTML} \LWR@ProvidesPackagePass{listings} @@ -183,78 +124,6 @@ }{\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 index b4158dff15e..397108527ba 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty @@ -18,66 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{longtable} @@ -121,76 +61,6 @@ \newlength{\LTcapwidth} \renewcommand*{\kill}{\LWR@tabularendofline} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-longtable.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty index 6c50cb98a7f..87e093ee194 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty @@ -17,140 +17,10 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{lscape} \newenvironment*{landscape}{}{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-lscape.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty index fafe0ce3dd4..24d8a2c0f25 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty @@ -19,69 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{ltcaption} \newlength{\LTcapskip} @@ -89,73 +26,6 @@ \newlength{\LTcapright} \newcommand*{\LTcapmarginsfalse}{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-ltcaption.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty new file mode 100644 index 00000000000..1886d21ae01 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty @@ -0,0 +1,31 @@ +%% +%% This is file `lwarp-marginfix.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `marginfix') +%% This is a generated file. +%% Copyright 2016-2017 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{marginfix} +\newcommand*{\marginskip}[1]{} +\newcommand*{\clearmargin}{} +\newcommand*{\softclearmargin}{} +\newcommand*{\extendmargin}[1]{} +\newcommand*{\mparshift}[1]{} +\newdimen\marginheightadjustment +\newdimen\marginposadjustment +\newcommand*{\blockmargin}[1][]{} +\newcommand*{\unblockmargin}[1][]{} +\newcommand*{\marginphantom}[2][]{} +\endinput +%% +%% End of file `lwarp-marginfix.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty new file mode 100644 index 00000000000..9e00b76716d --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty @@ -0,0 +1,30 @@ +%% +%% This is file `lwarp-marginnote.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `marginnote') +%% This is a generated file. +%% Copyright 2016-2017 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{marginnote} +\NewDocumentCommand{\marginnote}{o +m o}{\marginpar{#2}} +\newcommand*{\marginnoteleftadjust}{} +\newcommand*{\marginnoterightadjust}{} +\newcommand*{\marginnotetextwidth}{} +\let\marginnotetextwidth\textwidth +\newcommand*{\marginnotevadjust}{} +\newcommand*{\marginfont}{} +\newcommand*{\raggedleftmarginnote}{} +\newcommand*{\raggedrightmarginnote}{} +\endinput +%% +%% End of file `lwarp-marginnote.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty index 78ee6a4b968..74a93c60ceb 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty @@ -17,142 +17,12 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{mcaption} \newenvironment{margincap}{}{} \newcommand*{\margincapalign}{} \newlength{\margincapsep} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-mcaption.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty index a1b74c0383f..31138ec11b4 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty @@ -17,73 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{mdframed} \LWR@origRequirePackage{amsthm} @@ -245,69 +178,6 @@ solid \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 index 2b75582586d..71130da10df 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty @@ -18,75 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{microtype} \renewcommand*\DeclareMicrotypeSet[3][]{} @@ -121,67 +52,6 @@ \@onlypreamble\DeclareMicrotypeVariants \@onlypreamble\DeclareMicrotypeBabelHook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-microtype.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty new file mode 100644 index 00000000000..cfc39a98d2e --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty @@ -0,0 +1,21 @@ +%% +%% This is file `lwarp-mparhack.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `mparhack') +%% This is a generated file. +%% Copyright 2016-2017 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{mparhack} +\endinput +%% +%% End of file `lwarp-mparhack.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty index e535f7f4f06..178ee5057b8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty @@ -18,77 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{multicol}[2015/09/13] @@ -119,65 +48,6 @@ \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 index 17185bb2a8f..f08a4919e1b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty @@ -18,138 +18,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{multirow} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-multirow.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty index 359f2d3c3f6..04b0f2b2052 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty @@ -17,142 +17,12 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \typeout{Using the lwarp html version of package `nameref' — discarding options.} \typeout{ Are not using ProvidesPackage, so that other packages} \typeout{ do not attempt to patch lwarp's version of `nameref'.} \DeclareOption*{} \ProcessOptions\relax - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-nameref.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty index 36045c70bc6..d207716e39c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty @@ -17,141 +17,11 @@ %% 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-newclude.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newclude.sty index b50ea7fc794..c7bf7b97112 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-newclude.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newclude.sty @@ -17,140 +17,10 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{newclude} \LWR@loadbefore{newclude} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-newclude.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty index 3ecb88915e8..33fbf306686 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty @@ -16,10 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - \ProvidesPackage{lwarp-newproject} \RequirePackage{etoolbox} @@ -325,24 +321,31 @@ div.titlepage { } .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; + max-width:50%; + 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; + max-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 { + display: block ; + margin: 0pt auto 0pt auto ; } div.marginblock div.minipage p { font-size: 85%} @@ -364,10 +367,8 @@ section.textbody div.footnotes{ .mpfootnotes { text-align: left ; font-size: .85em ; - margin: 3ex 0em 3ex 0em ; + margin-left: 1em ; border-top: 1px solid silver ; - border-bottom: 1px solid silver ; -/* padding-top: 1ex ; */ } /* Remove footnote top border in the title page. */ @@ -1113,6 +1114,12 @@ nav.botnavigation { display:none; } } /* nav.topnavigation { display:block } */ nav.botnavigation { display:block } + .marginpar { + max-width: 100%; + float: none; + display:block ; + margin: 1ex 1em 1ex 1em ; + } } @media print { @@ -1677,7 +1684,7 @@ MathJax.Hub.Config({ -- Print the usage of the lwarpmk command: -printversion = "v0.25" +printversion = "v0.26" function printhelp () print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ; @@ -2103,132 +2110,6 @@ end -- not --version \end{LWR@createlwarpmk} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-newproject.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty index fb5102374e9..b06d1f69915 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty @@ -17,140 +17,10 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{newunicodechar} \LWR@loadbefore{newunicodechar} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-newunicodechar.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty index 60461ef608e..0dcffdf7d0f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty @@ -17,84 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{nextpage} \newcommand{\cleartoevenpage}[1][]{} @@ -102,58 +24,6 @@ \newcommand{\cleartooddpage}[1][]{} \newcommand{\movetooddpage}[1][]{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-nextpage.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty index 0b8fb0579fb..2bd4da189d6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty @@ -18,85 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{nowidow} \newcommand*{\nowidow}[1][]{} @@ -105,57 +26,6 @@ \newcommand*{\noclub}[1][]{} \newcommand*{\setnoclub}[1][]{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-nowidow.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty index 21a1229a28d..f4833397804 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty @@ -16,87 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \DeclareOption{thref}{} \newbool{LWR@ntheoremmarks} @@ -488,56 +407,6 @@ \def\Box{\text{\HTMLunicode{25A1}}}% UTF-8 white box } \newcommand*{\thref}[1]{\cref{#1}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-ntheorem.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty index 5eeeaee846b..1489aa12c9c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty @@ -17,144 +17,7 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\LWR@ProvidesPackageDrop{pagenote} -\renewcommand*{\makepagenote}{} -\RenewDocumentCommand{\printnotes}{s}{} -\renewcommand{\printnotes}[2][]{} -\renewcommand{\addtonotes}[1]{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +\LWR@ProvidesPackagePass{pagenote} \endinput %% %% End of file `lwarp-pagenote.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty index 6f069f01cfa..8ea5d9853b6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty @@ -17,138 +17,8 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{parskip} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-parskip.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty index fd281a0cfd6..15b024ee36b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty @@ -17,140 +17,10 @@ %% 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 index abbd40bb50e..79ab2dbc526 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty @@ -17,93 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{ragged2e} \newcommand*{\Centering}{\centering} @@ -129,49 +42,6 @@ \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 index ca68b65e161..45f8ad04cf2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty @@ -17,95 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{rotating} \let\sidewaystable\table @@ -121,47 +32,6 @@ \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 index 06c95c46c77..8a480d0b230 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty @@ -19,97 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{setspace} \newcommand*{\setstretch}[1]{} @@ -140,45 +49,6 @@ {\BlockClass{doublespace}} {\endBlockClass} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-setspace.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty index 23c63b7d5c4..24bd0244915 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty @@ -15,136 +15,6 @@ %% 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-showidx.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty index 456ed725291..c032f4c14b7 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty @@ -17,140 +17,10 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{showkeys} \NewDocumentCommand{\showkeys}{s}{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-showkeys.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty index 87d940d6c7c..0669fce1338 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty @@ -17,102 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{sidecap} \NewDocumentEnvironment{SCtable}{soo} @@ -135,40 +39,6 @@ \newenvironment*{wide}{}{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-sidecap.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty new file mode 100644 index 00000000000..20ab5213ec9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty @@ -0,0 +1,67 @@ +%% +%% This is file `lwarp-sidenotes.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `sidenotes') +%% This is a generated file. +%% Copyright 2016-2017 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{sidenotes} +\RenewDocumentCommand \sidecaption {s o o m} +{ +\LWR@stoppars + \captionsetup{style=sidecaption} + \IfBooleanTF{#1} + { % starred + \IfNoValueOrEmptyTF{#2} + {\marginnote{\caption*{#4}}} + {\marginnote{\caption*{#4}}[#2]} + } + { % unstarred + \IfNoValueOrEmptyTF{#2} + {\def\@sidenotes@sidecaption@tof{#4}} + {\def\@sidenotes@sidecaption@tof{#2}} + \IfNoValueOrEmptyTF{#3} + {\marginnote{\caption[\@sidenotes@sidecaption@tof]{#4}}} + {\marginnote{\caption[\@sidenotes@sidecaption@tof]{#4}}[#3]} + } +\LWR@startpars +} +\DeclareDocumentEnvironment{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} +} + +\RenewDocumentEnvironment{marginfigure}{o} + {\begin{KFLT@marginfloat}{figure}} + {\end{KFLT@marginfloat}} + +\RenewDocumentEnvironment{margintable}{o} + {\begin{KFLT@marginfloat}{table}} + {\end{KFLT@marginfloat}} +\renewenvironment{figure*} + {\@dblfloat{figure}} + {\end@dblfloat} + +\renewenvironment{table*} + {\@dblfloat{table}} + {\end@dblfloat} +\endinput +%% +%% End of file `lwarp-sidenotes.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty index 889c70badaa..70ea534a07a 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty @@ -16,104 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackagePass{subfig} \long\def\sf@@@subfloat#1[#2][#3]#4{% @@ -314,38 +216,6 @@ \renewcommand{\l@subfigure}[2]{\hypertocfloat{2}{subfigure}{lof}{#1}{#2}} \renewcommand{\l@subtable}[2]{\hypertocfloat{2}{subtable}{lot}{#1}{#2}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-subfig.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty index cac5295b5cd..3bc4a39159b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty @@ -17,106 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{tabularx} \newenvironment{tabularx}[2] @@ -127,36 +27,6 @@ {\tabular{#2}} {\endtabular} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-tabularx.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty index 83b94246046..21c805d6997 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty @@ -18,108 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{textpos} \NewDocumentEnvironment{textblock}{m r()}{}{} @@ -139,34 +37,6 @@ \newcommand*{\showtextsize}{} \newcommand{\textblockorigin}[2]{} - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-textpos.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty index 3ab9ad636af..b1572463ea6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty @@ -16,110 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackagePass{theorem} \newcommand{\LWR@newtheoremstyle}{plain} @@ -264,32 +160,6 @@ ]} } \gdef\@endtheorem{\endBlockClass\endtrivlist} - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-theorem.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty index 0df5bea67e8..22044a839d5 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty @@ -18,112 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{threeparttable} \newcommand{\LWR@printtablenote}[1]{\InlineClass{tnoteitemheader}{#1}} @@ -142,30 +36,6 @@ } \newcommand{\tnote}[1]{\textsuperscript{#1}} - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-threeparttable.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty index 0dc8f379a45..db79ea24fc4 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty @@ -16,114 +16,6 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackagePass{tikz} @@ -151,28 +43,6 @@ \end{warpHTML} - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-tikz.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty index 380ed11add2..e42138dab7d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty @@ -19,116 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{titleps} \RenewDocumentCommand{\newpagestyle}{m o m}{} \RenewDocumentCommand{\renewpagestyle}{m o m}{} @@ -180,26 +70,6 @@ \newcommand{\nexttopextramarks}[1]{} \newcommand{\outerextramarks}[1]{} \newcommand{\innerextramarks}[1]{} - - - - - - - - - - - - - - - - - - - - \endinput %% diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty index 951aabd7d12..3c9940bce82 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty @@ -19,118 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{titlesec} \newcommand*{\titlelabel}[1]{} @@ -168,24 +56,6 @@ \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 index 396d665f7b4..b545422099c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty @@ -19,120 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{titletoc} \NewDocumentCommand{\dottedcontents}{m o m m m}{} @@ -165,22 +51,6 @@ \newcommand{\printlist}[4][]{} - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-titletoc.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty index 15c53fc3789..b5e89a8c0e1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty @@ -18,122 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackagePass{titling} \let\LWR@orig@bsmtitlempty\@bsmtitlempty \renewcommand*{\@bsmtitlempty}{% @@ -153,20 +37,6 @@ \global\let\thepublished\relax% \global\let\thesubtitle\relax% } - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp-titling.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty index dd431f15f6a..6db44e73608 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty @@ -19,124 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{tocloft} \newcommand{\tocloftpagestyle}[1]{} @@ -344,18 +226,6 @@ } } - - - - - - - - - - - - \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 index f3e86679300..c1e95e266e2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty @@ -19,126 +19,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{trivfloat} \LWR@origRequirePackage{trivfloat} @@ -158,16 +38,6 @@ \end{warpall} - - - - - - - - - - \endinput %% %% End of file `lwarp-trivfloat.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty index 1ba032f72b0..2bccbe1850b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty @@ -15,130 +15,6 @@ %% 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{verse} \AfterEndPreamble{ @@ -165,14 +41,6 @@ } - - - - - - - - \endinput %% %% End of file `lwarp-verse.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty index dd2f1ddfc71..228e89f88d6 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty @@ -18,129 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{wallpaper} \newcommand*{\CenterWallPaper}[2]{} @@ -161,13 +38,6 @@ \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 index fa907eca961..7be348f256a 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty @@ -18,130 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackageDrop{wrapfig} \newlength{\LWR@wrapwidth} @@ -198,12 +74,6 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; % \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 index 68baf3bc3b5..1067b8b843c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty @@ -18,132 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackagePass{xcolor} \newcommand*{\LWR@tempcolor}{} @@ -193,11 +67,6 @@ \let\pagecolor\LWR@pagecolor \let\colorbox\LWR@colorbox \let\fcolorbox\LWR@fcolorbox - - - - - \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 index e82dbd0ac6d..99f2a58711b 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty @@ -17,134 +17,6 @@ %% version 2005/12/01 or later. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \LWR@ProvidesPackagePass{xfrac} @@ -204,11 +76,7 @@ denominator-format = {% \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 index 99e2bdbb732..0540344eb02 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty @@ -17,9 +17,7 @@ %% version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{lwarp} - [2017/03/22 v0.25 Allows LaTeX to directly produce HTML5 output.] - - + [2017/03/31 v0.26 Allows LaTeX to directly produce HTML5 output.] @@ -138,7 +136,9 @@ Please use the #2 package instead} \LWR@loadafter{amsthm} \LWR@loadafter{bookmark} \LWR@loadafter{booktabs} +\LWR@loadafter{ccaption} \LWR@loadafter{changepage} +\LWR@loadafter{cutwin} \LWR@loadafter{dcolumn} \LWR@loadafter{draftwatermark} \LWR@loadafter{ellipsis} @@ -151,6 +151,7 @@ Please use the #2 package instead} \LWR@loadafter{fancyhdr} \LWR@loadafter{floatrow} \LWR@loadafter{float} +\LWR@loadafter{floatflt} \LWR@loadafter{ftnright} \LWR@loadafter{geometry} \LWR@loadafter{hyperref} @@ -163,9 +164,12 @@ Please use the #2 package instead} \LWR@loadafter{longtable} \LWR@loadafter{lscape} \LWR@loadafter{ltcaption} +\LWR@loadafter{marginfix} +\LWR@loadafter{marginnote} \LWR@loadafter{mcaption} \LWR@loadafter{mdframed} \LWR@loadafter{microtype} +\LWR@loadafter{mparhack} \LWR@loadafter{multirow} \LWR@loadafter{nameref} \LWR@loadafter{needspace} @@ -182,6 +186,7 @@ Please use the #2 package instead} \LWR@loadafter{showidx} \LWR@loadafter{showkeys} \LWR@loadafter{sidecap} +\LWR@loadafter{sidenotes} \LWR@loadafter{subfig} \LWR@loadafter{tabularx} \LWR@loadafter{textpos} @@ -281,6 +286,8 @@ top=1in,bottom=1in,% \RequirePackage{calc} +\RequirePackage{refcount} + \RequirePackage{newfloat} \RequirePackage{caption} @@ -291,11 +298,6 @@ top=1in,bottom=1in,% \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} @@ -378,7 +380,7 @@ top=1in,bottom=1in,% \let\usepackage\RequirePackage \NewDocumentCommand{\LWR@ProvidesPackagePass}{m o}{ -\PackageInfo{lwarp}{Using the lwarp version of package `#1', including options,}% +\PackageInfo{lwarp}{Using package `#1' and adding lwarp modifications, including options,}% \IfValueTF{#2} {\ProvidesPackage{lwarp-#1}[#2]} {\ProvidesPackage{lwarp-#1}} @@ -391,7 +393,7 @@ top=1in,bottom=1in,% } \NewDocumentCommand{\LWR@ProvidesPackageDrop}{m o}{ -\PackageInfo{lwarp}{Using the lwarp version of package `#1', discarding options,}% +\PackageInfo{lwarp}{Replacing package `#1' with the lwarp version, discarding options,}% \IfValueTF{#2} {\ProvidesPackage{lwarp-#1}[#2]} {\ProvidesPackage{lwarp-#1}} @@ -426,7 +428,9 @@ top=1in,bottom=1in,% \newcommand{\tracinglwarp}{\booltrue{LWR@tracinglwarp}} \newcommand{\LWR@traceinfo}[1]{% \ifbool{LWR@tracinglwarp}% -{\PackageInfo{lwarp}{#1 : }}% +{% +\typeout{*** lwarp: #1}% +}% {}% } @@ -1141,38 +1145,48 @@ top=1in,bottom=1in,% \begin{warpHTML} -\AtEndPreamble{ - -\renewcommand*{\notedivision} - {\BlockClassSingle{footnoteheader}{}} +\newbox\LWR@footnotes +\setbox\LWR@footnotes=\vbox{} +\long\def\@makefntext#1{\textsuperscript{\@thefnmark} #1} +\def\@makefnmark{\hbox{\textsuperscript{\@thefnmark}}} -\renewcommand{\pagenotesubhead}[2]{} -\let\footnote\LWR@origpagenote -\renewcommand{\notenuminnotes}[1]{% - \textsuperscript{#1} } +\long\def\@footnotetext#1{% +\global\setbox\LWR@footnotes=\vbox{\unvbox\LWR@footnotes% +\protected@edef\@currentlabel{% +\csname p@footnote\endcsname\@thefnmark% +}% @currentlabel +\color@begingroup% +\@makefntext{#1}% +\LWR@htmltagc{/\LWR@tagregularparagraph}% +\color@endgroup% +}% vbox +}% -\let\LWR@orignoteentry\noteentry -\renewcommand{\noteentry}[4]{% -\begingroup% -\renewcommand*{\@currentlabel}{#1}% -\renewcommand*{\cref@currentlabel}{[pagenote][#1][]{#1}}% -\LWR@orignoteentry{#1}{#2}{#3}{#4}% -\endgroup% +\long\def\@mpfootnotetext#1{% +\global\setbox\@mpfootins\vbox{% +\unvbox\@mpfootins +\reset@font\footnotesize +\hsize\columnwidth +\@parboxrestore +\protected@edef\@currentlabel +{\csname p@mpfootnote\endcsname\@thefnmark}% +\color@begingroup +\@makefntext{% +\ignorespaces#1% +}% +\ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}% +{}% +{\LWR@htmltagc{/\LWR@tagregularparagraph}}% +\color@endgroup}% } - -\newcommand*{\LWR@printpendingnotes}{ -\ifthenelse{\cnttest{\value{pagenote}}{>}{0}}% -{ +\newcommand*{\LWR@printpendingfootnotes}{% \begin{BlockClass}{footnotes} -\LWR@origprintnotes* -\setcounter{pagenote}{0} +\LWR@origmedskip +\unvbox\LWR@footnotes +\setbox\LWR@footnotes=\vbox{} \end{BlockClass} } -{} -} - -}% \AtEndPreamble \end{warpHTML} @@ -1283,7 +1297,7 @@ top=1in,bottom=1in,% \LWR@htmlelementclassend{section}{textbody} -\LWR@printpendingnotes +\LWR@printpendingfootnotes \LWR@htmlelement{footer} @@ -1667,7 +1681,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% \LWR@closeprevious{\LWR@depthfinished} \LWR@htmlelementclassend{section}{textbody} -\LWR@printpendingnotes +\LWR@printpendingfootnotes \LWR@htmlelement{footer} \LWR@pagebottom @@ -1983,10 +1997,10 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% \newcommand*{\LWR@maketitlesetup}{% \@bsmarkseries \@mpbsmarkseries -\def\@makefnmark{\textsuperscript{\thefootnote}}% +\def\@makefnmark{\textsuperscript{\thefootnote}} \long\def\@makefntext##1{% \makethanksmark \LWR@orighspace{1in} -##1\LWR@htmltagc{/\LWR@tagregularparagraph}% +##1% }% } @@ -2026,11 +2040,10 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% \@thanks } -\let\LWR@origthanksmarkseries\thanksmarkseries \renewcommand{\thanksmarkseries}[1]{% \def\@mpbsmarkseries{% -\renewcommand*{\thempfootnote}{\@nameuse{#1}{mpfootnote}}} -\LWR@origthanksmarkseries{#1} +\renewcommand*{\thempfootnote}{\@nameuse{#1}{mpfootnote}}}% +\def\@bsmarkseries{\renewcommand{\thefootnote}{\@nameuse{#1}{footnote}}}% } \end{warpHTML} @@ -2113,7 +2126,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% \renewcommand{\VerbatimFootnotes}{ \PackageError{lwarp} {Verbatim footnotes are not yet supported by lwarp.} -{This may be improved when lwarp uses LaTeX footnotes instead of pagenotes.} +{This may be improved some day.} } \newcommand*{\LWR@atbeginverbatim}[1] @@ -3086,6 +3099,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}% }% not lateximage } \NewDocumentCommand{\LWR@newlabel}{m o}{% +\LWR@traceinfo{LWR@newlabel: starting}% \LWR@traceinfo{LWR@newlabel: !#1!}% \LWR@origlabel{#1}% \LWR@traceinfo{LWR@newlabel: filesectionnames is \ifbool{FileSectionNames}{true}{false}}% @@ -3368,7 +3382,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% \@ifundefined{chapter} {\LWR@closeprevious{\LWR@depthsection}} {\LWR@closeprevious{\LWR@depthchapter}} -\LWR@printpendingnotes +\LWR@printpendingfootnotes \@ifundefined{chapter}{\section*{#2}}{\chapter*{#2}} \LWR@htmlelementclass{nav}{#1} \LWR@myshorttoc{#1} @@ -3387,11 +3401,18 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% \let\LWR@origlistoftables\listoftables \renewcommand*{\tableofcontents}{% \LWR@copyfile{\jobname.toc}{\jobname.sidetoc}% -\LWR@printpendingnotes% +\LWR@printpendingfootnotes \LWR@origtableofcontents% } -\renewcommand*{\listoffigures}{\LWR@printpendingnotes\LWR@origlistoffigures} -\renewcommand*{\listoftables}{\LWR@printpendingnotes\LWR@origlistoftables} +\renewcommand*{\listoffigures}{ +\LWR@printpendingfootnotes +\LWR@origlistoffigures +} + +\renewcommand*{\listoftables}{ +\LWR@printpendingfootnotes +\LWR@origlistoftables +} \NewDocumentCommand{\listof}{m +m}{% @@ -3543,9 +3564,9 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% \let\LWR@origtextdollar\$ \renewcommand*{\$}{% -\LWR@htmltagc{span}% -\LWR@origtextdollar% -\LWR@htmltagc{/span}% +\ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}% +{\LWR@origtextdollar}% +{\LWR@htmltagc{span}\LWR@origtextdollar\LWR@htmltagc{/span}}% } \newcounter{LWR@externalfilecnt} @@ -3917,11 +3938,6 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% \begin{warpHTML} -\newpagestyle{LWR@commentfooterstyle}{ -\sethead{}{}{} -\setfoot{\LWR@htmlopencomment}{}{} -} - \newcounter{LWR@lateximagenumber} \setcounter{LWR@lateximagenumber}{0} \newcounter{LWR@lateximagedepth} @@ -3930,9 +3946,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% \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} - +\newcounter{LWR@LIpage} \end{warpHTML} \begin{warpall} @@ -3979,21 +3993,24 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}% } \NewDocumentEnvironment{lateximage}{O{image}}{% +\LWR@traceinfo{lateximage: starting on page \arabic{page}}% \ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}% {% \addtocounter{LWR@lateximagedepth}{1}% }% {% start of outer-most lateximage \addtocounter{LWR@lateximagenumber}{1}% +\LWR@traceinfo{lateximage: LWR@lateximagenumber is \arabic{LWR@lateximagenumber}}% \boolfalse{mathjax} \LWR@ensuredoingapar% \addtocounter{LWR@externalfilecnt}{1}% -\setcounter{LWR@nextpage}{\thepage}% -\addtocounter{LWR@nextpage}{1}% +\LWR@traceinfo{lateximage: LWR@externalfilecnt is \arabic{LWR@externalfilecnt}}% +\setcounterpageref{LWR@LIpage}{LWRlateximage\theLWR@lateximagenumber}% +\LWR@traceinfo{lateximage: LWR@LIpage is \arabic{LWR@LIpage}}% \LWR@htmltag{span id="lateximage\arabic{LWR@lateximagenumber}" % class="lateximagesource"{}} \LWR@orignewline -\immediate\write\LWR@file{|\theLWR@nextpage|\theLWR@externalfilecnt|}% -\LWR@origthispagestyle{LWR@commentfooterstyle}% +\immediate\write\LWR@file{|\theLWR@LIpage|\theLWR@externalfilecnt|}% +\LWR@htmlopencomment% \addtocounter{LWR@lateximagedepth}{1}% \LWR@orignewpage% \LWR@origminipage{6in}% @@ -4017,6 +4034,7 @@ class="lateximagesource"{}} \LWR@orignewline \let\tabular\LWR@origtabular% \let\endtabular\LWR@origendtabular% \let\newline\LWR@orignewline% +\LWR@origlabel{LWRlateximage\arabic{LWR@lateximagenumber}}% *8* }% end of outer-most lateximage }% end of \begin{lateximage} {% start of \end{lateximage} @@ -4029,6 +4047,7 @@ class="lateximagesource"{}} \LWR@orignewline \LWR@orignewpage% \LWR@origscriptsize% \LWR@htmlclosecomment{}\LWR@orignewline% +\LWR@traceinfo{lateximage: The page after the image is \arabic{page}}% \ifthenelse{\equal{#1}{LWRAMSMATHBODY}}% {% \LWR@subinlineimage[% @@ -4048,10 +4067,11 @@ class="lateximagesource"{}} \LWR@orignewline \LWR@htmlcomment{End of lateximage}% \addtocounter{LWR@lateximagedepth}{-1}% }% end of outer-most lateximage +\LWR@traceinfo{lateximage: done} }% \end{warpHTML} \begin{warpprint} -\newenvironment{lateximage}[1][]{\begingroup}{\endgroup} +\newenvironment{lateximage}[1][]{\minipage{\linewidth}}{\endminipage} \end{warpprint} @@ -4368,10 +4388,6 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \begin{warpHTML} -\AtEndPreamble{ -\RequirePackage{cleveref} -\crefname{pagenote}{note}{notes} -} \AfterEndPreamble{ @@ -4407,7 +4423,10 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \begin{warpHTML} -\BeforeBeginEnvironment{picture}{\lateximage} +\BeforeBeginEnvironment{picture}{% +\lateximage% +\let\makebox\LWR@origmakebox% +} \AfterEndEnvironment{picture}{\endlateximage} @@ -4424,16 +4443,6 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \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 @@ -4441,6 +4450,7 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \vskip\skip\@mpfootins \normalcolor \LWR@htmldivclass{mpfootnotes} +\LWR@origmedskip \unvbox\@mpfootins \LWR@htmldivclassend{mpfootnotes} \fi @@ -4453,9 +4463,6 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \LWR@stoppars \LWR@origminipage{6in} \LWR@origraggedright% -\let\footnote\LWR@origfootnote% -\let\@makefntext\LWR@makefntext% -\let\@makefnmark\LWR@makefnmark% \LWR@startpars% } @@ -4518,9 +4525,6 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \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}% } @@ -4541,6 +4545,8 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline #5 \end{minipage} } +\let\LWR@origmakebox\makebox + \RenewDocumentCommand{\makebox}{o o m}{% \mbox{#3} } @@ -4630,6 +4636,7 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline \let\LWR@origqquad\qquad \let\LWR@orighspace\hspace \let\LWR@origrule\rule +\let\LWR@origmedskip\medskip \renewcommand*{\,}{\HTMLunicode{202f}} % HTML thin non-breakable space \renewcommand*{~}{\HTMLentity{nbsp}} @@ -4878,134 +4885,6 @@ homehtmlfilename = "\HomeHTMLFileName"% \end{warpprint} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \endinput %% %% End of file `lwarp.sty'. -- cgit v1.2.3