texlive[45224] trunk: lwarp (5sep17)

commits+karl at tug.org commits+karl at tug.org
Tue Sep 5 23:57:30 CEST 2017


Revision: 45224
          http://tug.org/svn/texlive?view=revision&revision=45224
Author:   karl
Date:     2017-09-05 23:57:29 +0200 (Tue, 05 Sep 2017)
Log Message:
-----------
lwarp (5sep17)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
    trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
    trunk/Master/texmf-dist/doc/latex/lwarp/README.txt
    trunk/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf
    trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
    trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
    trunk/Master/texmf-dist/source/latex/lwarp/lwarp.ins
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-appendix.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-relsize.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4wide.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a5comb.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-addlines.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-anysize.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigdelim.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigstrut.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-chngpage.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-ebook.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fullwidth.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-supertabular.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textarea.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-typearea.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
    trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-zwpagelayout.sty

Modified: trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua	2017-09-05 21:57:29 UTC (rev 45224)
@@ -4,7 +4,7 @@
 
 -- Print the usage of the lwarpmk command:
 
-printversion = "v0.38"
+printversion = "v0.39"
 
 function printhelp ()
 print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;

Modified: trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl	2017-09-05 21:57:29 UTC (rev 45224)
@@ -1,5 +1,5 @@
 #!/usr/bin/env perl
-# $Id: tlmgr.pl 45102 2017-08-23 09:38:03Z siepo $
+# $Id: tlmgr.pl 45190 2017-09-01 08:01:01Z preining $
 #
 # Copyright 2008-2017 Norbert Preining
 # This file is licensed under the GNU General Public License version 2
@@ -6,8 +6,8 @@
 # or any later version.
 #
 
-my $svnrev = '$Revision: 45102 $';
-my $datrev = '$Date: 2017-08-23 11:38:03 +0200 (Wed, 23 Aug 2017) $';
+my $svnrev = '$Revision: 45190 $';
+my $datrev = '$Date: 2017-09-01 10:01:01 +0200 (Fri, 01 Sep 2017) $';
 my $tlmgrrevision;
 my $prg;
 if ($svnrev =~ m/: ([0-9]+) /) {
@@ -1408,7 +1408,7 @@
     @datafields = split(',', $opts{'data'});
     # check for correctness of data fields
     for my $d (@datafields) {
-      if ($d !~ m/name|category|localrev|remoterev|shortdesc|longdesc|installed|relocatable|cat-version|cat-date|cat-license/) {
+      if ($d !~ m/name|category|localrev|remoterev|shortdesc|longdesc|size|installed|relocatable|cat-version|cat-date|cat-license/) {
         tlwarn("unknown data field: $d\n");
         return($F_ERROR);
       }
@@ -3609,6 +3609,17 @@
       push @out, ($is_installed ? $loctlp->revision : 0);
     } elsif ($d eq "remoterev") {
       push @out, ($is_available ? $remtlp->revision : 0);
+    } elsif ($d eq "size") {
+      # tlp->*size is in 4k blocks!
+      my $srcsize = $tlp->srcsize * $TeXLive::TLConfig::BlockSize;
+      my $docsize = $tlp->docsize * $TeXLive::TLConfig::BlockSize;
+      my $runsize = $tlp->runsize * $TeXLive::TLConfig::BlockSize;
+      my $binsize = 0;
+      my $binsizes = $tlp->binsize;
+      for my $a (keys %$binsizes) { $binsize += $binsizes->{$a} ; }
+      $binsize *= $TeXLive::TLConfig::BlockSize;
+      my $totalsize = $srcsize + $docsize + $runsize + $binsize;
+      push @out, $totalsize;
     } else {
       tlwarn("$prg: unkown data field $d\n");
       return($F_WARNING);
@@ -7599,7 +7610,7 @@
 
 If the option C<--data> is given, its argument must be a comma separated
 list of field names from: C<name>, C<category>, C<localrev>, C<remoterev>,
-C<shortdesc>, C<longdesc>, C<installed>, C<relocatable>, C<cat-version>,
+C<shortdesc>, C<longdesc>, C<installed>, C<size>, C<relocatable>, C<cat-version>,
 C<cat-date>, or C<cat-licence>. In this case the requested packages' 
 information is listed in CSV format one package per line, and the
 column information is given by the C<itemN>.
@@ -9067,7 +9078,7 @@
 distribution (L<http://tug.org/texlive>) and both are licensed under the
 GNU General Public License Version 2 or later.
 
-$Id: tlmgr.pl 45102 2017-08-23 09:38:03Z siepo $
+$Id: tlmgr.pl 45190 2017-09-01 08:01:01Z preining $
 =cut
 
 # to remake HTML version: pod2html --cachedir=/tmp tlmgr.pl >/tmp/tlmgr.html

Modified: trunk/Master/texmf-dist/doc/latex/lwarp/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lwarp/README.txt	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/doc/latex/lwarp/README.txt	2017-09-05 21:57:29 UTC (rev 45224)
@@ -1,5 +1,5 @@
 
-LaTeX lwarp package v0.38   README.txt
+LaTeX lwarp package v0.39   README.txt
 
 Files included are:
 

Modified: trunk/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/scripts/lwarp/lwarpmk.lua	2017-09-05 21:57:29 UTC (rev 45224)
@@ -4,7 +4,7 @@
 
 -- Print the usage of the lwarpmk command:
 
-printversion = "v0.38"
+printversion = "v0.39"
 
 function printhelp ()
 print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;

Modified: trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/source/latex/lwarp/lwarp.dtx	2017-09-05 21:57:29 UTC (rev 45224)
@@ -16,7 +16,7 @@
 % \iffalse
 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package>\ProvidesPackage{lwarp}
-%<package>    [2017/08/27 v0.38  Allows LaTeX to directly produce HTML5 output.]
+%<package>    [2017/09/05 v0.39  Allows LaTeX to directly produce HTML5 output.]
 %
 %<*driver>
 \documentclass{ltxdoc}
@@ -68,11 +68,24 @@
 
 \usepackage[log-declarations=false]{xparse}
 
+
+
 \usepackage[lwarpmk]{lwarp}
 
 \usepackage[erewhon]{newtxmath}
 
 
+
+\usepackage{titlesec}
+
+\titleformat{\part}[hang]
+    {\LARGE\ttfamily\bfseries}{}{0pt}{}[\marginpar{\hfill{}File\,\thepart}]
+
+\titlespacing*{\part}{0pt}{*5}{0ex}
+
+
+
+
 \usepackage{needspace}
 
 
@@ -105,6 +118,8 @@
 % \usepackage{morefloats}
 % \usepackage{marginfix}
 
+
+
 \usepackage{tocloft}
 \renewcommand{\cftpartfont}{\Large\bfseries}
 \setlength{\cftsecnumwidth}{2.5em}
@@ -189,31 +204,31 @@
 \renewcommand*{\thepart}{\arabic{part}}
 
 
-\newcommand{\lmacro}[1]{\textbackslash#1}
-\newcommand{\cmds}[1]{\texttt{#1}}
-\newcommand{\env}[1]{\texttt{#1}}
-\newcommand{\pkg}[1]{\textsf{#1}}
-\newcommand{\acro}[1]{\textsc{\lowercase{#1}}}
-\newcommand{\element}[1]{\texttt{<#1>}}
-\newcommand{\attribute}[1]{\texttt{#1}}
+\newrobustcmd{\lmacro}[1]{\textbackslash#1}
+\newrobustcmd{\cmds}[1]{\texttt{#1}}
+\newrobustcmd{\env}[1]{\texttt{#1}}
+\newrobustcmd{\pkg}[1]{\textsf{#1}}
+\newrobustcmd{\acro}[1]{\textsc{\lowercase{#1}}}
+\newrobustcmd{\element}[1]{\texttt{<#1>}}
+\newrobustcmd{\attribute}[1]{\texttt{#1}}
 
-\newcommand{\TOC}{\acro{TOC}}
-\newcommand{\LOF}{\acro{LOF}}
-\newcommand{\LOT}{\acro{LOT}}
+\newrobustcmd{\TOC}{\acro{TOC}}
+\newrobustcmd{\LOF}{\acro{LOF}}
+\newrobustcmd{\LOT}{\acro{LOT}}
 
-\newcommand{\HTML}{\acro{HTML}}
-\newcommand{\HTMLfive}{\HTML\oldstylenums{5}}
-\newcommand{\CSS}{\acro{CSS}}
-\newcommand{\CSSthree}{\CSS\oldstylenums{3}}
-\newcommand{\EPUB}{\acro{EPUB}}
-\newcommand{\SVG}{\acro{SVG}}
-\newcommand{\PNG}{\acro{PNG}}
-\newcommand{\JPG}{\acro{JPG}}
-\newcommand{\PDF}{\acro{PDF}}
-\newcommand{\tikz}{Ti\textit{k}z}
-\newcommand{\MathML}{Math\acro{ML}}
-\newcommand{\CTAN}{\acro{CTAN}}
-\newcommand{\TDS}{\acro{TDS}}
+\newrobustcmd{\HTML}{\acro{HTML}}
+\newrobustcmd{\HTMLfive}{\HTML\oldstylenums{5}}
+\newrobustcmd{\CSS}{\acro{CSS}}
+\newrobustcmd{\CSSthree}{\CSS\oldstylenums{3}}
+\newrobustcmd{\EPUB}{\acro{EPUB}}
+\newrobustcmd{\SVG}{\acro{SVG}}
+\newrobustcmd{\PNG}{\acro{PNG}}
+\newrobustcmd{\JPG}{\acro{JPG}}
+\newrobustcmd{\PDF}{\acro{PDF}}
+\newrobustcmd{\tikz}{Ti\textit{k}z}
+\newrobustcmd{\MathML}{Math\acro{ML}}
+\newrobustcmd{\CTAN}{\acro{CTAN}}
+\newrobustcmd{\TDS}{\acro{TDS}}
 
 \newcommand{\goesto}{$\Rightarrow$}
 
@@ -344,6 +359,20 @@
 of the home page if it is after the abstract.
 }
 
+\newcommand{\limitstitlepage}{%
+\pkg{lwarp} supports the native \LaTeX\ titling commands, and also
+\margintag{package support}
+supports the packages \pkg{authblk} and \pkg{titling}.  If both are
+\watchout[load order]
+used, \pkg{authblk} should be loaded before \pkg{titling}.
+
+If using the \pkg{titling} package, additional titlepage fields
+\margintag{\cs{published} and \cs{subtitle}}
+for \cs{published} and \cs{subtitle} may be added by using
+\cs{AddSubtitlePublished} in the preamble.
+See \cref{sec:publishedsubtitle}.
+}
+
 \newcommand{\limitsappendix}{%
 During \HTML\ conversion, the option \texttt{toc} without
 \watchout[incorrect \acro{TOC} link]
@@ -533,6 +562,10 @@
 
 While creating \SVG\ math for \HTML, the original definitions are temporarilty restored,
 and so should work as expected.
+
+The \HTML\ browser's setting for minumum font size
+\watchout[not small]
+may limit how small the output will be displayed.
 }
 
 \newcommand{\limitsreferences}{%
@@ -869,97 +902,172 @@
 }
 
 \newcommand{\limitstabular}{%
-\begin{itemize}
-\item When defining environments or macros which include \env{tabular}
-    plus\watchout[misplaced alignment alignment tab character \&]
-    \index{alignment tab character \&, misplaced}
-    \index{misplaced alignment tab character \&}
-    instances of the \texttt{\&} character, it may be
-    necessary to make \texttt{\&} active before the environment or macro is defined,
-    then restore \texttt{\&} to its default catcode after, using the following commands:
-    \begin{sourcedisplay}
-    \cs{StartDefiningTabulars} \\
-    <define macros or environments using \env{tabular} and \texttt{\&} here> \\
-    \cs{EndDefiningTabulars}
-    \end{sourcedisplay}
+Tabular mostly works as expected, but pay special attention to the
+following, especially if working with environments, macros inside tabulars,
+multirows, \texttt{*} column specifiers, \pkg{siunitx} \texttt{S} columns,
+or the packages \pkg{longtable}, \pkg{supertabular}, or \pkg{xtab}.
+\begin{description}
+\item [Defining environments:] \
+    \begin{itemize}
+    \item When defining environments or macros which include \env{tabular}
+        and\watchout[misplaced alignment alignment tab character \&]
+        \index{alignment tab character \&, misplaced}
+        \index{misplaced alignment tab character \&}
+        \index{tabular>misplaced alignment tab character \&}
+        instances of the \texttt{\&} character, it may be
+        necessary to make \texttt{\&} active before the environment or macro is defined,
+        then restore \texttt{\&} to its default catcode after, using the following commands.
+        These are are ignored in print mode.
+        \begin{sourcedisplay}
+        \textcolor{red}{\cs{StartDefiningTabulars}} \\
+        <define macros or environments using \env{tabular} and \texttt{\&} here> \\
+        \textcolor{red}{\cs{EndDefiningTabulars}}
+        \end{sourcedisplay}
+    \item \limitsresumetabular
+    \end{itemize}
 
-\item Vertical rules are not yet supported.
-    \margintag{column types}
+\item [Cell contents:] \
+    \begin{itemize}
+    \item Multiple paragraphs in one cell of a \texttt{p}, \texttt{b}, \texttt{m} column
+        \watchout[paragraphs]
+        must have \cs{newline} between paragraphs.
+    \item For \pkg{multirow}, insert \cs{mrowcell} into any empty multi-row cells.
+        \watchout[\cs{multirow}]
+        This will be a null function for the print output, and is a placeholder for
+        parsing the table for \HTML\ output.
+    \item The \pkg{multirow} documentation regarding colored cells recommends using
+        a negative number of rows.  This will not work with \pkg{lwarp}, so
+        \cs{warpprintonly} and \cs{warpHTMLonly} must be used to make versions for
+        print and \HTML.
+    \item \limitsmulticolumnrow
+        See \cref{sec:multicolumnmultirow}.
+    \item Using a custom macro inside a tabular data cell
+        \watchout[macro in a table]\margintag{custom macros}
+        \index{tabular>row corruption}%
+        \index{tabular>macros inside}%
+        may result in an extra \HTML\ data cell tag, corrupting the \HTML\ table.
+        To avoid this, use \cs{TabularMacro} just before the macro.
+        This is ignored in print mode.
+        \begin{sourcedisplay}
+        \textcolor{red}{\cs{TabularMacro}}\cs{somemacro} \&
+            more row contents \textbackslash\textbackslash
+        \end{sourcedisplay}
+    \end {itemize}
 
-\item \texttt{*} in a column specification is not used (so far).
-    Repeat the column type the correct number of times.
+\item [Column specifiers:] \
+    \begin{itemize}
+    \item Vertical rules are not yet supported.
+        \margintag{column types}
 
-\item Only one each of \texttt{@}, \texttt{!}, \texttt{>}, and \texttt{<}
-    may be used at each column, and they are used in that order.
+    \item \texttt{*} in a column specification is not used (so far).
+        \watchout[* column specification]
+        Repeat the column type the correct number of times.
 
-\item \cs{newcolumntype} is ignored; unknown column types are set to \texttt{l}.
+    \item Only one each of \texttt{@}, \texttt{!}, \texttt{>}, and \texttt{<}
+        may be used at each column, and they are used in that order.
 
-\item \pkg{tabularx} ignores the width, but \texttt{X} columns do produce paragraph
-    columns or multicolumns.
+    \item \cs{newcolumntype} is ignored; unknown column types are set to \texttt{l}.
+    \end{itemize}
 
-\item Multirow and multicolumn cannot be used at the same time.
-    \watchout[\cs{multirow} \& \cs{multicolumn}]
-    (No rectangular holes wider than one column or taller than one row.)
+\item [Rules:] \
+    \begin{itemize}
+    \item If a multirow reaches to the bottom of a table,
+        and \cs{bottomrule} does not go over to that edge,
+        \margintag{\cs{multirow} with rules}
+        try adding a line of empty cells below the \cs{bottomrule}.
+        (This may be a browser bug.)
+        \changes{v0.19}{2016/05/28}{Docs: \env{multirow} browser bug workaround.}
 
-\item For multirow, insert \cs{mrowcell} into any empty multi-row cells.
-    This will be a null function for the print output, and is a placeholder for
-    \watchout[\cs{multirow}]
-    parsing the table for \HTML\ output.
+    \item If a \cs{midrule} is desired after the last row,
+        \margintag{rule at last row}
+        an additional row of blank cells must be used.
 
-\item If a multirow reaches to the bottom of a table,
-    and \cs{bottomrule} does not go over to that edge,
-    \margintag{\cs{multirow} with rules}
-    try adding a line of empty cells below the \cs{bottomrule}.
-    This may be a browser bug.
-    \changes{v0.19}{2016/05/28}{Docs: \env{multirow} browser bug workaround.}
+    \item \cs{cmidrule} does not support width or trim options
+        due to \CSS\ limitations.
+        \margintag{\cs{cmidrule} width, trim}
 
-\item If a \cs{midrule} is desired after the last row,
-    \margintag{rule at last row}
-    an additional row of blank cells must be used.
+    \item \cs{cmidrule} borders are generated by the individual cells
+        \margintag{\cs{cmidrule} and \cs{multicolumn}}
+        on the following row,
+        and so do not necessarily work correctly when the following row
+        has \cs{multicolumn} cells below \cs{cmidrule} borders.
+    \item For \cs{toprule} and \cs{bottomrule},
+        \watchout[\cs{warpprintonly}]
+        when combined with a \env{warpprint} or \env{warpHTML} environment,
+        \margintag{misplaced \cs{noalign}}%
+        \index{tabular>misplaced \protect\cs{noalign}}%
+        \index{misplaced \protect\cs{noalign}}
+        if a ``misplaced \cs{noalign}'' error occurs,
+        change
+        \begin{sourcedisplay}
+        This \& That \cs{endhead}
+        \end{sourcedisplay}
+        to
+        \begin{sourcedisplay}
+        \textcolor{red}{\cs{warpprintonly}\{}This \& That \cs{endhead}\textcolor{red}{\}}
+        \end{sourcedisplay}
+        and likewise with the other \cs{end} headings.
+        Keep the \cs{endfirsthead} row unchanged, as it is still relevent to \HTML\ output.
+    \end{itemize}
 
-\item Multiple paragraphs in one cell of a p, b, m column
-    must have \cs{newline} between paragraphs.
-    \watchout[paragraphs]
+\item[Other:] \
+    \begin{itemize}
+    \item \pkg{tabularx} ignores the width, but \texttt{X} columns do produce paragraph
+        columns or multicolumns.
+    \item For \pkg{longtable}, place headings and footings which
+        \margintag{\env{longtable} headings}
+        do not apply to \HTML\ inside \cs{warpprintonly\{\}}.
+    \item For S columns (from the \pkg{siunitx} package),
+        \watchout[S columns]
+        while producing print output,
+        anything non-numeric must be placed
+        inside \{ \} braces, including commands such as \cs{multirow}.
+        While producing \HTML\ output, though, anything placed inside
+        braces is not seen by \pkg{lwarp}'s tabular handling algorithm.
+        To resolve this problem, make a copy of the row, with one version
+        for print output, containing the extra braces, and another version
+        for \HTML\ output, without the extra braces, such as: \\
+        \hspace*{.375in} \cs{warpprintonly}\{\texttt{1 \& 2 \& \textcolor{red}{\{}\cs{multirow}\{2\}\{2cm\}\{Text\}\textcolor{red}{\}} \& 3 \textbackslash\textbackslash\}} \\
+        \hspace*{.375in} \cs{warpHTMLonly}\{\texttt{1 \& 2 \& \cs{multirow}\{2\}\{2cm\}\{Text\} \& 3 \textbackslash\textbackslash\}}
+    \end{itemize}
+\end{description}
+}
 
-\item \cs{cmidrule} does not support width or trim options
-    due to \CSS\ limitations.
-    \margintag{\cs{cmidrule} width, trim}
+\newcommand{\limitsmulticolumnrow}{%
+\pkg{lwarp} does not support combining \cs{multicolumn} and \cs{multirow}.
+\watchout[\cs{multicolumn} \& \cs{multirow}]
+Use \cs{multicolumnrow} instead.
+To create a 2 column, 3 row cell:
+\begin{sourcedisplay}
+\cs{multicolumnrow}\{2\}\{c\}[c]\{3\}[0]\{1in\}[0pt]\{Text\}
+\end{sourcedisplay}
+The two arguments for \cs{multicolumn} come first, followed by
+the five arguments for \cs{multirow}, many of which are optional,
+followed by the contents.
+}
 
-\item \cs{cmidrule} borders are generated by the individual cells
-    \margintag{\cs{cmidrule} and \cs{multicolumn}}
-    on the following row,
-    and so do not necessarily work correctly when the following row
-    has \cs{multicolumn} cells below \cs{cmidrule} borders.
-
-\item For \pkg{longtable}, place headings and footings which
-    \margintag{\env{longtable} headings}
-    do not apply to \HTML\ inside \cs{warpprintonly\{\}}.
-
-\item For \cs{toprule} and \cs{bottomrule},
-    when combined with a \env{warpprint} or \env{warpHTML} environment,
-    \watchout[\cs{warpprintonly}]
-    if a ``misplaced \cs{noalign}'' error occurs,
-    change \\
-    \hspace*{.375in}\cmds{This \& That \cs{endhead}} \\
-    to \\
-    \hspace*{.375in}\cmds{\cs{warpprintonly}\{This \& That \cs{endhead}\}} \\
-    and likewise with the other \cs{end} headings.
-    Keep the \cs{endfirsthead} row unchanged, as it is still relevent to \HTML\ output.
-
-\item For S columns (from the \pkg{siunitx} package),
-    \watchout[S columns]
-    while producing print output,
-    anything non-numeric must be placed
-    inside \{ \} braces, including commands such as \cs{multirow}.
-    While producing \HTML\ output, though, anything placed inside
-    braces is not seen by \pkg{lwarp}'s tabular handling algorithm.
-    To resolve this problem, make a copy of the row, with one version
-    for print output, containing the extra braces, and another version
-    for \HTML\ output, without the extra braces, such as: \\
-    \hspace*{.375in} \cs{warpprintonly}\{\texttt{1 \& 2 \& \textcolor{red}{\{}\cs{multirow}\{2\}\{2cm\}\{Text\}\textcolor{red}{\}} \& 3 \textbackslash\textbackslash\}} \\
-    \hspace*{.375in} \cs{warpHTMLonly}\{\texttt{1 \& 2 \& \cs{multirow}\{2\}\{2cm\}\{Text\} \& 3 \textbackslash\textbackslash\}}
-
-\end{itemize}
+\newcommand{\limitsresumetabular}{%
+When creating a new environment
+\watchout[\env{tabular} inside another environment]
+which contains a \env{tabular} environment,
+\pkg{lwarp}'s emulation of the tabular does not automatically resume
+when the containing enviroment ends, resulting in corrupted \HTML\ rows.
+To fix this, use \cs{ResumeTabular} as follows.
+This is ignored in print mode.
+\begin{sourcedisplay}
+\textcolor{red}{\cs{StartDefiningTabulars}} \% because \& is used in a definition \\
+\cs{newenvironment}\{outerenvironment\} \\
+\{ \\
+\cs{tabular}\{cc\} \\
+left \& right \textbackslash\textbackslash \\
+\} \\
+\{ \\
+\textcolor{red}{\cs{TabularMacro}\cs{ResumeTabular}} \\
+left \& right \textbackslash\textbackslash \\
+\cs{endtabular} \\
+\} \\
+\textcolor{red}{\cs{EndDefiningTabulars}} \\
+\end{sourcedisplay}
 }
 
 \newcommand{\limitslongtable}{%
@@ -986,6 +1094,18 @@
 or place it inside \cs{warpingprintonly}.
 }
 
+\newcommand{\limitssupertabular}{%
+For \cs{tablefirsthead}, etc., enclose them as follows:
+\watchout[misplaced alignment alignment tab character \&]
+\begin{sourcedisplay}
+\textcolor{red}{\cs{StartDefiningTabulars}} \\
+\cs{tablefirsthead} \\
+\dots \\
+\textcolor{red}{\cs{EndDefiningTabulars}}
+\end{sourcedisplay}
+See \cref{sec:limitstabular}.
+}
+
 \newcommand{\limitssaveboxes}{%
 \LaTeX\ boxes are placed inline and do not allow line breaks, so boxes
 with long contents may overflow the line during \HTML\ conversion.
@@ -1323,7 +1443,7 @@
 %<*package>
 % \fi
 %
-% \CheckSum{13540}
+% \CheckSum{13780}
 %
 % \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
@@ -1403,6 +1523,7 @@
 % \changes{v0.36}{2017/08/17}{\ 2017/08/17}
 % \changes{v0.37}{2017/08/19}{\ 2017/08/19}
 % \changes{v0.38}{2017/08/27}{\ 2017/08/27}
+% \changes{v0.39}{2017/09/05}{\ 2017/09/05}
 
 
 
@@ -1537,6 +1658,41 @@
 % For a detailed list of changes, see the Change History on page \pageref{sec:changehistory}.
 %
 % \begin{description}
+% \item[v0.39:] \
+%   \begin{itemize}
+%       \item Improved the titlepage \HTML\ code, \cs{thanks} notes,
+%           \margintag{title pages}
+%           and \cs{maketitle}.
+%           \pkg{titling} is no longer required, but is still supported.
+%           The \cs{published} and \cs{subtitle} fields are no longer provided,
+%           \watchout[\cs{published} and \cs{subtitle}]
+%           but \cs{AddSubtitlePublished} replicates them using \pkg{titling}.
+%           See \cref{sec:publishedsubtitle}.
+%           \pkg{authblk} is added, and should be loaded before \pkg{titling}.
+%           \watchout[load order]
+%           See \cref{sec:titles}.
+%       \item \cs{multirow} now supports the new optional |vpos| argument.
+%           \margintag{tabular}
+%       \item Added \cs{multicolumnrow} for combined
+%           \margintag{multi column/row cell}
+%           \cs{multicolumn} and \cs{multirow}.
+%           See \cref{sec:multicolumnmultirow}.
+%       \item Tabular special cases:
+%       \begin{itemize}
+%            \item Added \cs{TabularMacro} to mark custom macros
+%                \watchout[macros inside tabular]
+%                inside tabular data cells, avoiding row corruption.
+%                See \cref{sec:limitstabular}.
+%            \item Added \cs{ResumeTabular} for use when a \env{tabular} environment
+%                \watchout[tabular defined inside another environment]
+%                is defined inside another environment.
+%                See \cref{sec:limitstabular}.
+%       \end{itemize}
+%       \item Added \pkg{supertabular}, \pkg{xtab}, \pkg{bigstrut}, \pkg{bigdelim}.
+%       \item Added \pkg{fullwidth}.
+%       \item Added \pkg{addlines}, \pkg{anysize}, \pkg{a4}, \pkg{a4wide}, \pkg{a5comb},
+%           \pkg{textarea}, \pkg{zwpagelayout}, \pkg{typearea}, \pkg{ebook}.
+%   \end{itemize}
 % \item[v0.38:] \
 %   \begin{itemize}
 %   \item Added |lwarpmk print1| and |lwarpmk html1| actions to
@@ -2053,14 +2209,25 @@
 % Supported functions\label{tab:supported}} \endfirsthead
 % \warpprintonly{\multicolumn{2}{c}{\pkg{lwarp} Supported Functions --- continued} \\
 %	Category & Status \\ \toprule \endhead}
+%
 % \toprule
+%
 % Category & Status \\
+%
 % \midrule
+%
 % Engines: & pdf\LaTeX, \XeLaTeX, \LuaLaTeX \\
+%
 % \midrule
+%
 % Classes: & \pkg{book}, \pkg{report}, or \pkg{article}. \pkg{memoir} is planned. \\
+%
 % \midrule
-% Page layout: & Emulates \pkg{fancyhdr}, \pkg{titleps}. \\
+%
+% Page layout: & Emulates \pkg{geometry}, \pkg{fancyhdr}, \pkg{titleps},
+%       \pkg{addlines}, \pkg{anysize}, \pkg{a4}, \pkg{a4wide}, \pkg{a5comb},
+%       \pkg{textarea}, \pkg{zwpagelayout}, \pkg{typearea}, \pkg{ebook}. \\
+%
 % Sectioning: & Supported, with hyperlinks.
 % 	Honors \cmds{tocdepth} and \cmds{secnumdepth}.
 % 	Adds \cmds{FileDepth} for splitting the \HTML\ output.
@@ -2067,24 +2234,36 @@
 % 	Files may be numbered sequentially or named according to section name.
 % 	Common short words and punctuation is removed from the filenames. 
 %	Emulates \pkg{titlesec}, \pkg{fncychap}. \\
+%
 % Table of contents, figures, tables: & Supported, with hyperlinks.
 %	Supports \pkg{tocbibind}.  Emulates \pkg{titletoc} and \pkg{tocloft}. \\
-% Title page: & \cs{maketitle}, \env{titlepage}, \pkg{titling}.  Optional
-% 	\pkg{titling}-based commands for published and subtitle. \\
+%
+% Title page: & \cs{maketitle}, \env{titlepage}, \pkg{titling}, \pkg{authblk}. \\
+%
 % Front \&\ back matter: & \pkg{abstract}, \pkg{appendix} \\
+%
+% Indexing: & \cmds{texindy} is used, with hyperlinks. \pkg{idxlayout} is emulated. \\
+%
+% Glossary: & \pkg{glossaries} and \cmds{xindy} are used. \\
+%
+% Bibliography: & Supported text-only. \\
+%
 % \midrule
+%
 % Cross-references: & Emulated, with hyperlinks.
 %   \pkg{hyperref}, \pkg{cleveref}, \pkg{varioref}, \pkg{url}. \\
-% Bibliography & Supported text-only. \\
-% Languages & \pkg{babel}.  (\pkg{polyglossia} is untested.) \\
+%
+% Languages: & \pkg{babel}.  (\pkg{polyglossia} is untested.) \\
+%
 % \midrule
+%
 % Margin notes: & \pkg{marginfit}, \pkg{marginfix}. \\
+%
 % Footnotes: & \pkg{footnote}, \pkg{footmisc},
 %	\pkg{marginnote}, \pkg{sidenote}, \pkg{pagenote}, \pkg{endnotes}. \\
-% Indexing: & \cmds{texindy} is used, with hyperlinks. \pkg{idxlayout} is emulated. \\
-% Glossary: & \pkg{glossaries} and \cmds{xindy} are used. \\
-% Bibliography: & Supported, without hyperlinks so far. \\
+%
 % \midrule
+%
 % Math: & Supported.  Converted to \SVG\ images with \HTML\ \cmds{ALT} tags containing the
 % 	\LaTeX{} source for the math expression.
 %	MathJax supported as an alternative.
@@ -2091,30 +2270,45 @@
 % 	\AmS{} environments are supported.
 % 	User-defined macros are available during converson,
 % 	due to native \LaTeX{} processing.\\
+%
 % Theorems: & Support for native \LaTeX\ theorems, plus
 %	\pkg{theorem}, \pkg{amsthm}, \pkg{ntheorem}. \\
+%
 % Add'l math: & \pkg{delarray}, \pkg{bm}, math fonts via \SVG\ images. \\
+%
 % Units and fractions: & \pkg{siunitx}, \pkg{xfrac}, \pkg{nicefrac}, \pkg{units} \\
+%
 % \midrule
+%
 % Floats: & Appear where declared.
 %	\pkg{float}, \pkg{rotfloat}, \pkg{newfloat}, \pkg{caption} and \pkg{subcaption},
 %	\pkg{subfig}, \pkg{capt-of}, \pkg{placeins}, \pkg{trivfloat}, \pkg{floatrow},
 %	\pkg{keyfloat}, \pkg{wrapfig}, \pkg{cutwin}, \pkg{floatflt}. \\
+%
 % \midrule
+%
 % Tabular &
 %   \env{tabular} environment, \pkg{array}, \pkg{tabularx}, \pkg{tabulary},
-%   \pkg{threeparttable}, \pkg{multirow}, \pkg{longtable}, \pkg{booktabs}. \\
+%   \pkg{threeparttable}, \pkg{multirow},
+%   \pkg{longtable}, \pkg{supertabular}, \pkg{xtab},
+%   \pkg{booktabs}. \\
+%
 % \midrule
+%
 % Graphics & \pkg{graphics} and \pkg{graphicx} are emulated.
-% \cs{includegraphics} supports \cmds{width}, \cmds{height},
-% \cmds{origin}, \cmds{angle}, and \cmds{scale} tags, and adds \cmds{class}.
-% References to \PDF\ files are changed to \SVG, other image types
-% are accepted as well.
-% \cs{rotatebox} and \cs{scalebox} are supported as well as \HTML\ can handle.
-% \pkg{grffile} is emulated. \\
+%   \cs{includegraphics} supports \cmds{width}, \cmds{height},
+%   \cmds{origin}, \cmds{angle}, and \cmds{scale} tags, and adds \cmds{class}.
+%   References to \PDF\ files are changed to \SVG, other image types
+%   are accepted as well.
+%   \cs{rotatebox} and \cs{scalebox} are supported as well as \HTML\ can handle.
+%   \pkg{grffile} is emulated. \\
+%
 % \pkg{rotating}: & Emulated.  All objects are displayed unrotated. \\
+%
 % \pkg{picture} and \pkg{tikz}: & Converted to an \SVG\ image. \\
+%
 % \midrule
+%
 % \pkg{xcolor}: & \textcolor{DarkGreen}{Supported}.
 %   Full package color names, any color models,
 %   and \textcolor{Goldenrod}{mixing}.
@@ -2122,42 +2316,65 @@
 %   \colorbox{LightSteelBlue}{\cs{colorbox}},
 %   \fcolorbox{red}{NavajoWhite}{\cs{fcolorbox}}.
 %   Enhanced for \HTML\ compatibility. \\
+%
 % \midrule
+%
 % Lists: & Standard \LaTeX\ environments are supported, along with
 %	\pkg{enumitem}, \pkg{enumerate}, \pkg{paralist}.
 %	Spacing is still controlled by \CSS. \\
+%
 % \midrule
+%
 % Environments: & Standard \LaTeX{} environments are supported. \\
+%
 % \env{minipage}: & Supported with some \HTMLfive-imposed limitations.
 %	Nested minipages are supported.
 % 	Footnotes appear at the bottom of the \HTML\ page. \\
+%
 % Quotations: & \pkg{verse}, \pkg{csquotes}, \pkg{epigraph} \\
+%
 % Verbatim: & \pkg{verbatim}, \pkg{moreverb}, \pkg{fancyvrb} (except for verbatim footnotes). \\
+%
 % Frames: & \pkg{framed}, \pkg{fancybox}, \pkg{mdframed}, \pkg{boxedminipage2e}, \pkg{shadow}. \\
+%
 % \pkg{multicol}: & Emulated, with \CSSthree.
-% Converted to up to three columns with an optional heading,
-% per browser support. Single-column if unsupported.\\
+%   Converted to up to three columns with an optional heading,
+%   per browser support. Single-column if unsupported.\\
+%
+% \env{fullwidth}: & Emulated. \\
+%
 % \midrule
+%
 % Direct formatting: & \cs{emph}, \cs{textsuperscript},
 % 	\cs{textbf}, etc are supported.
 % 	\cs{bfseries}, etc.\ are not yet supported.
 %	\pkg{lettrine}, \pkg{ulem}, \pkg{soul}, \pkg{relsize}, \pkg{scalefnt},
 %   and \pkg{realscripts} are supported. \\
+%
 % Ordinals: & \pkg{nth}, \pkg{fmtcount}, and \pkg{engord} are supported. \\
+%
 % Text ligatures: & Ligatures for symbols are supported.
 % 	Ligatures for f, q, t are intentionally turned off
 % 	because many simpler browsers do not display them correctly.
 % 	Modern full-featured browsers re-create these ligatures on-the-fly.\\
+%
 % Horizontal space: &
 %	\HTML\ output for thin-unbreakable, unbreakable,
 %	\cs{enskip}, \cs{quad}, \cs{qquad}, \cs{hspace}. \\
+%
 % Rules: & \cs{rule} with width, height, raise, text color. \\
+%
 % \HTML\ reserved characters: & \cs{\&}, \cs{textless}, and
 % 	\cs{textgreater} are converted to \HTML\ entities. \\
+%
 % \midrule
+%
 % Fonts: & Used as-is.  Appear in math expressions or embedded image environments. \\
+%
 % Symbols: & Native \LaTeX\ diacriticals, \pkg{textcomp}. \\
+%
 % \midrule
+%
 % Working as-is: & 
 %   Various utility, calculation, file, and text-only packags, such as
 %   \pkg{calc},
@@ -2165,13 +2382,18 @@
 %   \pkg{somedefs},
 %   \pkg{trace},
 %   \pkg{xspace}. \\
+%
 % \midrule
+%
 % Where: & \\
+%
 % \textbf{Supported:} & The existing \LaTeX{} package is used. \\
 % \textbf{Emulated:} & The \LaTeX{} package is not used, but some/all of its
 % 	functions are emulated.  Null functions, lengths, and counters are provided
 % 	for source compatibility. \\
+%
 % \bottomrule
+%
 % \end{longtable}
 %
 %
@@ -3203,11 +3425,11 @@
 %	\begin{itemize}
 %	\item To place the entire file into one \HTML\ page, use:
 %		\begin{sourcedisplay}
-%		|\setcounter{FileDepth}{-5}}|
+%		\cs{setcounter}\{FileDepth\}\{-5\}
 %		\end{sourcedisplay}
 %	\item To split the \HTML\ file at \cs{section} depth, use:
 %		\begin{sourcedisplay}
-%		|\setcounter{FileDepth}{1}}|
+%		\cs{setcounter}\{FileDepth\}\{1\}
 %		\end{sourcedisplay}
 %	\item To ensure that the \HTML\ pages/files are accessible:
 %		\watchout\\
@@ -3214,7 +3436,7 @@
 %		Place a \cs{tableofcontents} somewhere before the first section
 %		break (therefore in the ``home page''), and set
 %		\begin{sourcedisplay}
-%		|tocdepth|\,>=\,|FileDepth|
+%		tocdepth\,>=\,FileDepth
 %		\end{sourcedisplay}
 %		\index{file>inaccessible}
 %		\index{page>inacessible}
@@ -3262,7 +3484,7 @@
 %	\item[Numbered \HTML\ nodes:] \
 %
 %	Example: Homepage |index.html|, and |node-1|, |node-2|.
-%	(See \cs{SetHTMLFileNumber} to number grouped by chapter, for example.)
+%	\footnote{See \cs{SetHTMLFileNumber} to number grouped by chapter, for example.}
 %	\begin{Verbatim}[gobble=2,frame=lines,obeytabs,tabsize=4]
 %	\usepackage[
 %		HomeHTMLFilename=index,
@@ -3738,7 +3960,7 @@
 % \subsection{Selecting actions for print or HTML output}
 % \label{sec:selectingoutput}
 % \index{settings>selecting output}
-% \changes{v0.15}{2016/04/05}{Docs: Clarify print/HTML output.}
+% \changes{v0.15}{2016/04/05}{Docs: Clarify print/\HTML\ output.}
 %
 % The following environments and macros are used to select actions which only apply
 % to either traditional \LaTeX{} print-formatted PDF generation,
@@ -3829,15 +4051,14 @@
 % \vspace{-2em}
 % \begin{Verbatim}[gobble=2,frame=lines,obeytabs,tabsize=4]
 % \title{Document Title} % One line only
-% \subtitle{Optional Document Subtitle \\ with optional multiple lines}
 % \author{Author One\affiliation{Affiliation One} \and 
 %     Author Two\affiliation{Affiliation Two} }
 % \date{Optional date}
-% \published{Optional Journal Name \\ Optional multiple lines}
 % \end{Verbatim}
 % 
 % The title is used in the meta tags in the \HTML\ files, and the rest are used
 % in |\maketitle|.
+% To use a \cs{subtitle} or \cs{published} field, see \cref{sec:publishedsubtitle}.
 %
 %
 % \DescribeMacro{\maketitle}
@@ -3858,7 +4079,7 @@
 % Avoid newlines in the |\title|; these will interfere with the
 % file break and \CSS\ detection.
 % \watchout
-% Use the |\subtitle| command instead.
+% Use a |\subtitle| command instead (\cref{sec:publishedsubtitle}).
 % In \HTML, the title will appear in a heading \element{h1}.
 %
 % \DescribeMacro{\author} \marg{author}
@@ -3873,19 +4094,7 @@
 % |\date| works as expected.
 % In \HTML, this will appear in a \element{div} class |titledate|.
 %
-% \DescribeMacro{\subtitle} \marg{subtitle}
 %
-% A new command which sets a subtitle.  Newlines are allowed.
-% The default is empty.
-% In \HTML, this will appear in a \element{div} class |subtitle|.
-%
-% \DescribeMacro{\published} \marg{published}
-%
-% A new command which sets a publisher.
-% The default is empty.
-% In \HTML, this will appear in a \element{div} class |published|.
-%
-%
 % \DescribeMacro{\thanks} \marg{text}
 %
 % \cs{thanks} are allowed in the titlepage fields, and will be rendered
@@ -4269,6 +4478,11 @@
 % \limitsabstract
 %
 %
+% \subsubsection{\pkg{titling} and \pkg{authblk}}
+%
+% \limitstitlepage
+%
+%
 % \subsubsection{\pkg{appendix} package}
 %
 % \limitsappendix
@@ -4359,6 +4573,7 @@
 %
 % \subsection{Tabular}
 % \label{sec:limitstabular}
+% \changes{v0.39}{2017/08/30}{Docs: Reorganized tabular discussion.}
 % \limitstabular
 %
 %
@@ -4367,7 +4582,12 @@
 % \limitslongtable
 %
 %
+% \subsubsection{\pkg{supertabular} and \pkg{xtab} packages}
 %
+% \limitssupertabular
+%
+%
+%
 % 
 % \subsubsection{\pkg{float}, \pkg{trivfloat}, and/or \pkg{algorithmicx} together}
 %
@@ -4788,12 +5008,7 @@
 %		at \cref{sec:htmlsettings}.
 %	\end{itemize}
 %
-% \item [Misplaced alignment character \&:] \
-%	\begin{itemize}
-%	\item If using \env{tabular} inside a \cs{fbox} or other macro,
-%		use \cs{StartDefiningTabulars} before the definition, and
-%		\cs{EndDefiningTabulars} after.  See \cref{sec:limitstabular}
-%	\end{itemize}
+% \item [Tabular problems:] See \cref{sec:limitstabular}.
 %
 % \item [Obscure error messages:] ~
 %	\begin{itemize}
@@ -4968,10 +5183,6 @@
 % Packages with graphical output are allowed as-is, but must be nested inside a
 % \env{lateximage} environment to preserve the graphics.
 %
-% There is still room to improve the factoring of the code, and doing so will become
-% important if support for other output formats is added.  Rather than wait until the
-% code is pristine, the author felt it best to publish early and accept input before
-% pushing on towards a perhaps less-than-ideal solution.
 %
 %
 % Testing has primarily been done with the Iceweasel/Firefox browser.
@@ -5623,15 +5834,23 @@
 %
 % The following packages must be loaded after \pkg{lwarp}:
 %    \begin{macrocode}
+\LWR at loadafter{a4}
+\LWR at loadafter{a4wide}
+\LWR at loadafter{a5comb}
 \LWR at loadafter{abstract}
+\LWR at loadafter{addlines}
 \LWR at loadafter{afterpage}
 \LWR at loadafter{algorithmicx}
 \LWR at loadafter{alltt}
 \LWR at loadafter{amsthm}
+\LWR at loadafter{anysize}
 \LWR at loadafter{appendix}
 \LWR at loadafter{arabicfront}
 \LWR at loadafter{array}
+\LWR at loadafter{authblk}
 \LWR at loadafter{balance}
+\LWR at loadafter{bigdelim}
+\LWR at loadafter{bigstrut}
 \LWR at loadafter{bookmark}
 \LWR at loadafter{booktabs}
 \LWR at loadafter{boxedminipage}
@@ -5638,6 +5857,7 @@
 \LWR at loadafter{boxedminipage2e}
 \LWR at loadafter{ccaption}
 \LWR at loadafter{changepage}
+\LWR at loadafter{chngpage}
 \LWR at loadafter{chappg}
 \LWR at loadafter{color}
 \LWR at loadafter{crop}
@@ -5644,6 +5864,7 @@
 \LWR at loadafter{cutwin}
 \LWR at loadafter{dcolumn}
 \LWR at loadafter{draftwatermark}
+\LWR at loadafter{ebook}
 \LWR at loadafter{ellipsis}
 \LWR at loadafter{emptypage}
 \LWR at loadafter{enumerate}
@@ -5666,6 +5887,7 @@
 \LWR at loadafter{fncychap}
 \LWR at loadafter{ftnright}
 \LWR at loadafter{fullpage}
+\LWR at loadafter{fullwidth}
 \LWR at loadafter{geometry}
 \LWR at loadafter{glossaries}
 % \LWR at loadafter{graphics}% pre-loaded by xunicode
@@ -5728,8 +5950,10 @@
 \LWR at loadafter{siunitx}
 \LWR at loadafter{soul}
 \LWR at loadafter{subfig}
+\LWR at loadafter{supertabular}
 \LWR at loadafter{tabularx}
 \LWR at loadafter{tabulary}
+\LWR at loadafter{textarea}
 % \LWR at loadafter{textcomp}% maybe before lwarp with font packages
 \LWR at loadafter{textpos}
 \LWR at loadafter{theorem}
@@ -5738,10 +5962,12 @@
 \LWR at loadafter{titleps}
 \LWR at loadafter{titlesec}
 \LWR at loadafter{titletoc}
+\LWR at loadafter{titling}
 \LWR at loadafter{tocbibind}
 \LWR at loadafter{tocloft}
 \LWR at loadafter{transparent}
 \LWR at loadafter{trivfloat}
+\LWR at loadafter{typearea}
 \LWR at loadafter{ulem}
 \LWR at loadafter{upref}
 \LWR at loadafter{varioref}
@@ -5752,6 +5978,8 @@
 \LWR at loadafter{xfrac}
 \LWR at loadafter{xltxtra}
 \LWR at loadafter{xmpincl}
+\LWR at loadafter{xtab}
+\LWR at loadafter{zwpagelayout}
 %    \end{macrocode}
 
 
@@ -6003,7 +6231,13 @@
 \RequirePackage{xparse}
 %    \end{macrocode}
 
+% \DescribePackage{afterpackage}
+% Used to patch \pkg{titling} to add \cs{AddSubtitlePublished}.
 %    \begin{macrocode}
+\RequirePackage{afterpackage}
+%    \end{macrocode}
+
+%    \begin{macrocode}
 \end{warpall}
 %    \end{macrocode}
 
@@ -6175,12 +6409,6 @@
 \begin{warpall}
 %    \end{macrocode}
 
-% \DescribePackage{titling}
-%
-% Used for |\maketitle| and the title page.  See \cref{sec:titles}.
-%    \begin{macrocode}
-\RequirePackage{titling}
-%    \end{macrocode}
 
 % \DescribePackage{environ}
 %
@@ -6759,42 +6987,9 @@
 
 
 
-% \section{Textcomp}
-%
-% \codehtml
-%    \begin{macrocode}
-\begin{warpHTML}
-%    \end{macrocode}
-%
-%
-% If \pkg{textcomp} was loaded before \pkg{lwarp},
-% perhaps as part of the font-related packages,
-% explicitly load the lwarp patches now:
-%    \begin{macrocode}
-\@ifpackageloaded{textcomp}
-{
-\LWR at origRequirePackage{lwarp-textcomp}
-}
-%    \end{macrocode}
-% If \pkg{textcomp} is loaded after \pkg{warp},
-% \pkg{lwarp} will automatically load \pkg{lwarp-textcomp}
-% at that time.  Meanwhile, define a null version
-% of \cs{LWR at restoreorigtextcomp} until \pkg{textcomp} is
-% actually loaded, at which point \pkg{lwarp-textcomp} will
-% replaced \cs{LWR at restoreorigtextcomp}.
-%    \begin{macrocode}
-{
-\providecommand*{\LWR at restoreorigtextcomp}{}%
-}
-%    \end{macrocode}
 
-%    \begin{macrocode}
-\end{warpHTML}
-%    \end{macrocode}
 
 
-
-
 % \section{Accents}
 %
 % \limitsaccents
@@ -7467,6 +7662,7 @@
   padding: 1ex 1em 1ex 1em ;
 /*  font-weight: bold ; */
   font-size: 90% ;
+    text-align: left ;
 }
 
 div.abstract dl {line-height:1.5;}
@@ -7778,6 +7974,8 @@
 
 figcaption .minipage { margin:0 ; padding: 0 }
 
+div.minipage figure { border: none ; box-shadow: none ; }
+
 div.floatrow { text-align: center; }
 
 div.floatrow figure { display: inline-block ; margin: 1ex 2% ; }
@@ -7889,7 +8087,10 @@
 .tnoteitemheader {margin-right: 1em;}
 
 
+/* for bigdelim */
+.ldelim, .rdelim { font-size: 200% }
 
+
 /* center, flushleft, flushright environments */
 div.center{text-align:center;}
 div.center table {margin-left:auto;margin-right:auto;}
@@ -7952,6 +8153,12 @@
     margin: 3ex 0em 3ex 0em ;
 }
 
+div.oneauthor {
+    display: inline-block ;
+    margin: 3ex 1em 0ex 1em ;
+}
+
+/*
 div.author table {
     margin: 3ex auto 0ex auto ;
     background: none ;
@@ -7958,6 +8165,7 @@
 }
 
 div.author table tbody tr td { padding: .25ex ; }
+*/
 
 span.affiliation {font-size: .85em ; font-variant: small-caps; }
 
@@ -8452,12 +8660,18 @@
 
 
 
-.minipage {
+div.minipage {
     background-color: #eeeee7 ;
     border: 1px solid silver ;
     border-radius: 1ex ;
 }
 
+section.textbody > div.minipage {
+    box-shadow: 3px 3px 3px #808080 ;
+}
+
+div.fboxBlock div.minipage { box-shadow: none ; }
+
 .framed .minipage , .framedleftbar .minipage {
     border: none ;
     background: none ;
@@ -8987,7 +9201,7 @@
 
 -- Print the usage of the lwarpmk command:
 
-printversion = "v0.38"
+printversion = "v0.39"
 
 function printhelp ()
 print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
@@ -10629,7 +10843,7 @@
 
 
 % \begin{environment}{BlockClass} \oarg{style} \marg{class} \quad
-% High-level interface for div classes.
+% High-level interface for \element{div} classes.
 %
 % \qquad Ex: |\begin{BlockClass}{class}| text |\end{BlockClass}|
 %
@@ -11437,6 +11651,17 @@
     \protected at edef\@currentlabel
     {\csname p at mpfootnote\endcsname\@thefnmark}%
     \color at begingroup
+%    \end{macrocode}
+% Use paragraph tags if in a tabular data cell or a \env{lateximage}:
+%    \begin{macrocode}
+    \ifthenelse{%
+        \boolean{LWR at doingstartpars} \AND%
+        \cnttest{\value{LWR at lateximagedepth}}{=}{0}%
+    }%
+    {}%
+    {\LWR at htmltagc{\LWR at tagregularparagraph}}%
+%    \end{macrocode}
+%    \begin{macrocode}
     \@makefntext{%
         \ignorespaces#1%
     }%
@@ -11456,6 +11681,9 @@
 % \end{macro}
 %
 %
+%
+% \subsection{Printing pending footnotes}
+%
 % \begin{macro}{\LWR at printpendingfootnotes}
 % Enclose the footnotes in a class, print, then clear.
 %    \begin{macrocode}
@@ -12729,14 +12957,6 @@
 \mainmatter
 \LWR at origpagenumbering{arabic}
 %    \end{macrocode}
-% Set default titlepage thanks footnote marks.  See \cref{sec:titlehtml}.
-%    \begin{macrocode}
-\if at titlepage
-   \thanksmarkseries{arabic}
-\else
-   \thanksmarkseries{fnsymbol}
-\fi
-%    \end{macrocode}
 %
 % Patch the |itemize|, |enumerate|, and |description| environments and \cs{item}.
 % This works with the native \LaTeX\ environments, as well as
@@ -12868,102 +13088,91 @@
 
 
 
-% \section{Titles and the \protect\pkg{titling} package}
+% \section{Title page}
 % \label{sec:titles}
-% Supports and extends the \pkg{titling} package.
 %
-% Additional functions include \cs{published} and \cs{subtitle}, and the
-% \cs{author} command has an additional \cs{affiliation} command to provide
-% an affiliation and other additional information for each author in the
-% title page.  The affiliation information is removed when using \cs{theauthor}
-% in the main text.
+% \limitstitlepage
 %
+% \pkg{lwarp} provides for the \cs{author} macro an additional \cs{affiliation}
+% \margintag{affiliation}
+% macro to provide an affiliation and other additional information
+% for each author in the title page.
+% The affiliation information is removed when using
+% \pkg{titlingpage}'s \cs{theauthor} in the main text.
+%
 % The \pkg{titling} package maintains the definitions of \cs{thetitle},
+% \margintag{reusing titlepage information}
 % \cs{theauthor}, etc., after the title has been typeset.
 % These commands are to be used to refer to the document's title
 % and author, etc., in the main text.
 % These definitions
-% have the \cs{thanks} and \cs{affiliation} removed, and for author the
+% have the \cs{thanks} and \cs{affiliation} removed, and for \cs{author} the
 % \cs{and} is replaced to generate a simple inline list of authors separated
 % by commas.
+% Note: \cs{theauthor} does not work well
+% \watchout[\cs{theauthor}, \pkg{authblk}]
+% with \pkg{authblk} unless the traditional \LaTeX\ syntax is used.
 %
-% \cs{printtitle}, \cs{printauthor}, etc., are provided for use inside
-% the \env{titlepage} or \env{titlingpage} environments, and these retain
+% \cs{printtitle}, \cs{printauthor}, etc., are provided for use inside a custom
+% \margintag{custom titlepages}
+% \env{titlepage} or \env{titlingpage} environment, and these retain
 % the \cs{thanks} and \cs{affiliation}.
 %
-% Several additional hooks are provided in addition to \pkg{titling}:
-% \begin{description}
-% \ItemDescribeMacro{\maketitlehookaa} Between ``published'' and the title.
-% \ItemDescribeMacro{\maketitlehookaaa} Between the title and the subtitle.
-% \ItemDescribeMacro{\prepublished} Before the ``published'' field.
-% \ItemDescribeMacro{\postpublished} After the ``published'' field.
-% \ItemDescribeMacro{\presubtitle} Before the subtitle.
-% \ItemDescribeMacro{\postsubtitle} After the subtitle.
-% \end{description}
-%
 % \DescribeMacro{\printthanks}
 % \cs{printthanks} has been added to force the printing of thanks inside
 % a \env{titlingpage} environment when \cs{maketitle} is not used.
 %
 % Inside a \cs{titlepage} or \cs{titlingpage} environment, use
-% \cs{thanks} for footnotes, do not use \cs{footnote}.
-% \watchout[No footnotes!]
+% \watchout
+% \cs{thanks} instead of \cs{footnote} for acknowledgements, etc.
 %
-% At the end of the \env{titlingpage} environment, footnote marks are forced to
-% reset to zero.
 %
-% Inside a \env{titlingpage} environment with the |article| document class,
-% thanks marks will be |fnsymbol| instead of |arabic|.  |arabic| is usually
-% used when inside \env{titlepage} environments where the title page is
-% on its own page, but is not automatically used
-% inside a \env{titlingpage} environment.
+% \subsection{Setting the title, etc.}
 %
-% To force the thanks marks to
-% be |arabic|:
-% \begin{Verbatim}[gobble=2,frame=lines,obeytabs,tabsize=4]
-% \begin{titlingpage}
-% \thanksmarkseries{arabic}
-% ...
-% \end{Verbatim}
+% The following provide setting commands for both \HTML\ and print outputs.
 %
+% \DescribeMacro{\author} \marg{author}
+% \DescribeMacro{\and}
+% While using \cs{maketitle} and print mode,
+% the author is treated as a single-column \env{tabular}
+% and the \cs{and} feature finishes the current \env{tabular} then starts a new one for
+% the next author.  Each author thus is placed into its own \env{tabular}, and an
+% affiliation may be placed on its own line such as
 %
+% |\author{Name \\ Affiliation \and Second Name \\ Second Affiliation}|
 %
-% \subsection{Setting the title, etc.}
+% For \HTML, the entire author block is placed inside
+% a \element{div} of class \attribute{author},
+% and each individual author is inside a \element{div} of class \attribute{oneauthor}.
 %
-% The following provide setting commands for both \HTML\ and print outputs.
-%
-% \DescribeMacro{\@published}
 % \DescribeMacro{\@title}
-% \DescribeMacro{\@subtitle}
 % \DescribeMacro{\@author}
 % \DescribeMacro{\@date}
-% \cs{@title}, \cs{@subtitle}, \cs{@author}, etc.\ store the values
+% \cs{@title}, \cs{@author}, etc.\ store the values
 % as originally assigned, including any \cs{thanks}, \cs{and}, or \cs{affiliation}.
 % These are low-level macros intended to be used by other macros
 % only inside a \env{titlepage} or \env{titlingpage},
 % and are used by \cs{maketitle}.
-% The author is printed inside a single-column table,
-% which becomes multiple single-column tables if multiples authors are included.
+% The author is printed inside a single-column \env{tabular},
+% which becomes multiple single-column \env{tabular}s if multiples authors are included.
+% For \HTML\, these \env{tabular}s become side-by-side \element{div}s
+% of class \attribute{oneauthor}, all of which are combined into one \element{div}
+% of class \attribute{author}.
 %
-% \DescribeMacro{\printpublished}
 % \DescribeMacro{\printtitle}
-% \DescribeMacro{\printsubtitle}
 % \DescribeMacro{\printauthor}
 % \DescribeMacro{\printdate}
-% \cs{printtitle}, \cs{printsubtitle}, etc.\ are user-level macros intended to
-% be used in \env{titlepage} and \env{titlingpage} environments in cases where
+% \cs{printtitle}, etc.\ are user-level macros intended to
+% be used in custom \env{titlepage} or \env{titlingpage} environments in cases where
 % \cs{maketitle} is not desired.  These commands preserve the \cs{thanks}, etc.,
 % and should not be used in the main text.
-% The author is printed inside a single-column table,
-% which becomes multiple single-column tables if multiples authors are included.
 %
-% \DescribeMacro{\thepublished}
 % \DescribeMacro{\thetitle}
-% \DescribeMacro{\thesubtitle}
 % \DescribeMacro{\theauthor}
 % \DescribeMacro{\thedate}
-% \cs{thetitle}, \cs{thesubtitle}, \cs{theauthor}, etc.\ are user-level
-% sanitized versions which have removed the \cs{thanks} and \cs{affiliation},
+% \cs{thetitle}, \cs{theauthor}, and \cs{thedate} are available
+% if \pkg{titling} has been loaded, and are sanitized user-level
+% versions from which have been removed the \cs{thanks} and \cs{affiliation},
 % and \cs{and} is changed for inline text usage.
 % The author is printed inline without \cs{affiliation} or \cs{thanks},
 % with \cs{and} placing commas between multiple authors.
@@ -12977,173 +13186,105 @@
 % \begin{center}\textcopyright~2016 \theauthor\end{center}
 % }
 % \end{Verbatim}
-
-
 %
-% \DescribeMacro{\author} \marg{author}
-% \DescribeMacro{\and}
-% While using \cs{maketitle}, the author is treated as a single-column table
-% and the \cs{and} feature finishes the current table then starts a new one for
-% the next author.  Each author thus is placed into its own table, and an
-% affiliation may be placed on its own line such as
+% \cs{theauthor} does not work well if \pkg{authblk} is used.
+% \watchout[\cs{theauthor}]
+% If \cs{theauthor} is important, it is recommended to use the standard
+% \LaTeX\ syntax for \cs{author}, optionally with
+% \pkg{lwarp}'s \cs{affiliation} macro as well.
 %
-% |\author{Name \\ Affiliation \and Second Name \\ Second Affiliation}|
-%
 % After \cs{maketitle} has completed, \cs{theauthor} retains the definition of
+% \watchout[affiliations]
 % the author, but \cs{and} is changed to become a comma and a space, intending to
 % print the authors names separated by spaces.  This fails when affiliations are
 % included on their own table rows.
 %
-% A solution, provide here, is to define a macro \cs{affiliation} which
-% during \cs{maketitle} starts a new table row and adds the affiliation,
+% A solution, provide here, is to define a macro \cs{affiliation} which,
+% \margintag{\cs{affiliation}}
+% during \cs{maketitle}, starts a new row and adds the affiliation,
 % but after \cs{maketitle} is finished \cs{affiliation} is re-defined
-% to throw away its argument, thus printing only the author names
+% to discard its argument, thus printing only the author names
 % when \cs{author} is later used inline.
 %
 %
-% \begin{macro}{\affiliation} \marg{text}
 %
-% Adds the affiliation to the author for use in \cs{maketitle}.
-% Nullified when later used for inline use of \cs{theauthor}.
+% \subsection{Changes for \cs{affiliation}}
 %
-% \codehtml
-%    \begin{macrocode}
-\begin{warpHTML}
-\newrobustcmd{\affiliation}[1]{\\ \InlineClass{affiliation}{#1}}
-\end{warpHTML}
-%    \end{macrocode}
-% \codeprint
-%    \begin{macrocode}
-\begin{warpprint}
-\newrobustcmd{\affiliation}[1]{\\ \textsc{\small#1}}
-\end{warpprint}
-%    \end{macrocode}
-% \end{macro}
 %
+% \begin{macro}{\affiliation} \marg{text}
 %
+% Adds the affiliation to the author for use in \cs{maketitle}.
 %
-% The following are based on the original \pkg{titling} code:
+% Inside \env{titlepage}, this macro prints its argument.
+% Outside, it is null.
 %
-%
-%
 % \codeall
 %    \begin{macrocode}
 \begin{warpall}
+\newrobustcmd{\affiliation}[1]{}
+\end{warpall}
 %    \end{macrocode}
+% \end{macro}
 %
-% \begin{macro}{\author} \marg{text}
 %
-% Redefined to nullify \cs{affiliation}, etc.\ before printing the authors inline.
 %
-% \cs{@author} retains the entire author with its \cs{thanks}, while
-% \cs{theauthor} will have \cs{thanks} removed and \cs{and} simplified.
+% \codeprint
 %    \begin{macrocode}
-\renewcommand{\author}[1]{%
-\gdef\@author{#1}
-\begingroup
-  \renewcommand{\thanks}[1]{}
-  \renewcommand{\and}{\unskip, }
-  \renewcommand{\thanksmark}[1]{}
-  \renewcommand{\thanksgap}[1]{}
-  \renewcommand{\affiliation}[1]{}
-  \protected at xdef\theauthor{#1}
-\endgroup}
+\begin{warpprint}
 %    \end{macrocode}
-% \end{macro}
 %
-%
-% \begin{macro}{\published} \marg{text}
-% \changes{v0.13}{2016/03/23}{Default to empty published.}
 %    \begin{macrocode}
-\newcommand{\published}[1]{%
-\gdef\@published{#1}
-\begingroup
-  \renewcommand{\thanks}[1]{}
-  \renewcommand{\thanksmark}[1]{}
-  \renewcommand{\thanksgap}[1]{}
-  \protected at xdef\thepublished{#1}
-\endgroup
+\AtBeginEnvironment{titlepage}{
+\renewrobustcmd{\affiliation}[1]{\\ \textsc{\small#1}}
 }
-\newcommand{\@published}{}
-\newcommand{\thepublished}{}
-%    \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\subtitle} \marg{text}
-% \changes{v0.13}{2016/03/23}{Default to empty subtitle.}
-%    \begin{macrocode}
-\newcommand{\subtitle}[1]{%
-\gdef\@subtitle{#1}
-\begingroup
-  \renewcommand{\thanks}[1]{}
-  \renewcommand{\thanksmark}[1]{}
-  \renewcommand{\thanksgap}[1]{}
-  \protected at xdef\thesubtitle{#1}
-\endgroup
+
+\AtBeginDocument{
+\@ifpackageloaded{titling}{
+\AtBeginEnvironment{titlingpage}{
+\renewrobustcmd{\affiliation}[1]{\\ \textsc{\small#1}}
 }
-\newcommand{\@subtitle}{}
-\newcommand{\thesubtitle}{}
+}{}% titling loaded
+}% AtBeginDocument
 %    \end{macrocode}
-% \end{macro}
 %
-%
 %    \begin{macrocode}
-\end{warpall}
+\end{warpprint}
 %    \end{macrocode}
 %
 %
-% \subsection{Changes to HTML titlepage and titlingpage}
-%
 % \codehtml
 %    \begin{macrocode}
 \begin{warpHTML}
 %    \end{macrocode}
 %
+% \begin{environment}{titlepage}
+% Sets up a \element{div} of class \attribute{titlepage}.
 %
-% \begin{environment}{titlepage}
-% Sets up a titlepage div with a \LaTeX{} \PDF\ minipage inside.
+% \changes{v0.39}{2017/09/02}{Clear pending footnotes.}
+% \changes{v0.39}{2017/09/03}{Removed minipages.}
 %    \begin{macrocode}
 \renewenvironment*{titlepage}
 {
+\renewrobustcmd{\affiliation}[1]{\\ \InlineClass{affiliation}{##1}}
+\LWR at printpendingfootnotes
 \LWR at forcenewpage
-\BlockClass{titlepage}\LWR at subminipage
+\BlockClass{titlepage}
 }
-{\LWR at endsubminipage\endBlockClass}
-%    \end{macrocode}
-% \end{environment}
-%
-% \begin{environment}{titlingpage}
-%    \begin{macrocode}
-\renewenvironment*{titlingpage}
-{%
-%    \end{macrocode}
-% Start an \HTML\ titlepage div:
-%    \begin{macrocode}
-\begin{titlepage}
-%    \end{macrocode}
-% Prepare for a custom version of \cs{maketitle} inside the \env{titlingpage}:
-%    \begin{macrocode}
-\LWR at maketitlesetup
-\let\maketitle\LWR at titlingmaketitle
-}
 {
-%    \end{macrocode}
-% At the end of the environment,
-% end the \HTML\ titlepage div:
-%    \begin{macrocode}
-\end{titlepage}
-%    \end{macrocode}
-% Reset the footnote counter:
-%    \begin{macrocode}
-\@bscontmark
+\endBlockClass
+\LWR at printpendingfootnotes
 }
 %    \end{macrocode}
 % \end{environment}
 %
+%
 %    \begin{macrocode}
 \end{warpHTML}
 %    \end{macrocode}
-
+%
+%
+% \subsection{Printing the thanks}
+%
 % \codeall
 %    \begin{macrocode}
 \begin{warpall}
@@ -13156,13 +13297,6 @@
 \newcommand*{\printthanks}{\@thanks}
 %    \end{macrocode}
 %
-% \begin{environment}{titlingpage}
-% At the end of the titlingpage for both print and HTML,
-% reset footnote markers to zero.
-%    \begin{macrocode}
-\AtEndEnvironment{titlingpage}{\@bscontmark}
-%    \end{macrocode}
-% \end{environment}
 %
 %    \begin{macrocode}
 \end{warpall}
@@ -13170,7 +13304,6 @@
 
 
 
-
 % \subsection{Printing the title, etc.\ in HTML}
 %
 % \changes{v0.20}{2017/01/21}{Enhanced \pkg{titling} support.}
@@ -13186,83 +13319,6 @@
 %
 %
 %
-% Patch the pre/post title/author/date to add \HTML\ tags,
-% then initilize:
-%    \begin{macrocode}
-\newcommand{\prepublished}[1]{%
-\def\@bsprepublished{\BlockClass{published}#1}%
-}
-
-\newcommand{\postpublished}[1]{%
-\def\@bspostpublished{#1\endBlockClass}%
-}
-
-\renewcommand{\pretitle}[1]{%
-\def\@bspretitle{#1\LWR at stoppars\LWR at htmltag{h1}}%
-}
-
-\renewcommand{\posttitle}[1]{%
-\def\@bsposttitle{\LWR at htmltag{/h1}\LWR at startpars#1}%
-}
-
-\newcommand{\presubtitle}[1]{%
-\def\@bspresubtitle{\BlockClass{subtitle}#1}%
-}
-
-\newcommand{\postsubtitle}[1]{%
-\def\@bspostsubtitle{#1\endBlockClass}%
-}
-
-\renewcommand{\preauthor}[1]{%
-\def\@bspreauthor{\BlockClass{author}#1}%
-}
-
-\renewcommand{\postauthor}[1]{%
-\def\@bspostauthor{#1\endBlockClass}%
-}
-
-\renewcommand{\predate}[1]{%
-\def\@bspredate{#1\BlockClass{titledate}}%
-}
-
-\renewcommand{\postdate}[1]{%
-\def\@bspostdate{\endBlockClass#1}%
-}
-
-\prepublished{\begin{center}}
-\postpublished{\par\end{center}}
-
-\pretitle{\begin{center}}
-\posttitle{\par\end{center}}
-
-\presubtitle{\begin{center}}
-\postsubtitle{\par\end{center}}
-
-\preauthor{\begin{center}%
-\begin{tabular}[t]{c}%
-}
-\postauthor{\end{tabular}\par\end{center}}
-
-\predate{\begin{center}}
-\postdate{\par\end{center}}
-%    \end{macrocode}
-%
-%
-% \begin{macro}{\printpublished}
-% \changes{v0.15}{2015/04/05}{No div if empty.}
-%    \begin{macrocode}
-\newcommand*{\printpublished}{
-\ifthenelse{\equal{\thepublished}{}}
-{}
-{
-    \begin{BlockClass}{published}
-    \@published
-    \end{BlockClass}
-}
-}
-%    \end{macrocode}
-% \end{macro}
-
 % \begin{macro}{\printtitle}
 %    \begin{macrocode}
 \newcommand*{\printtitle}
@@ -13291,29 +13347,35 @@
 %    \end{macrocode}
 % \end{macro}
 
-% \begin{macro}{\printsubtitle}
-% \changes{v0.15}{2015/04/05}{No div if empty.}
+% \begin{macro}{\printauthor}
+%   \HTML\ version.
+%
+% \changes{v0.39}{2017/09/01}{Supports \protect\pkg{authblk} with
+% \element{div}s of class \attribute{oneauthor} instead of tabular.}
+% \changes{v0.39}{2017/09/03}{Removed minipages.}
+%
 %    \begin{macrocode}
-\newcommand*{\printsubtitle}{
-\ifthenelse{\equal{\thesubtitle}{}}
-{}
-{
-    \begin{BlockClass}{subtitle}
-    \@subtitle
-    \end{BlockClass}
-}
-}
+\newcommand*{\printauthor}{
 %    \end{macrocode}
-% \end{macro}
-
-% \begin{macro}{\printauthor}
+% The entire author block is contained in a \element{div} named \attribute{author}:
 %    \begin{macrocode}
-\newcommand*{\printauthor}{
 \begin{BlockClass}{author}
-\begin{tabular}{c}\@author\end{tabular}
+%    \end{macrocode}
+% \cs{and} finishes one author and starts the next:
+%    \begin{macrocode}
+\renewcommand{\and}{%
 \end{BlockClass}
+\begin{BlockClass}{oneauthor}
 }
 %    \end{macrocode}
+% Individual authors are contained in a \element{div} named \attribute{oneauthor}:
+%    \begin{macrocode}
+\begin{BlockClass}{oneauthor}
+\@author
+\end{BlockClass}
+\end{BlockClass}
+}
+%    \end{macrocode}
 % \end{macro}
 
 
@@ -13346,11 +13408,7 @@
 
 % \changes{v0.16}{2016/04/07}{\cs{titlingpage}: Improved print-output spacing.}
 % \changes{v0.16}{2016/04/07}{Test Suite: Improved titlingpage.}
-% \begin{macro}{\printpublished}
-%    \begin{macrocode}
-\newcommand*{\printpublished}{{\Large\scshape\@published}}
-%    \end{macrocode}
-% \end{macro}
+%
 
 % \begin{macro}{\printtitle}
 %    \begin{macrocode}
@@ -13358,13 +13416,8 @@
 %    \end{macrocode}
 % \end{macro}
 
-% \begin{macro}{\printsubtitle}
-%    \begin{macrocode}
-\newcommand*{\printsubtitle}{{\Large\itshape\@subtitle\bigskip}}
-%    \end{macrocode}
-% \end{macro}
-
 % \begin{macro}{\printauthor}
+%   Print mode.
 %    \begin{macrocode}
 \newcommand*{\printauthor}
     {{\large\begin{tabular}[t]{c}\@author\end{tabular}}}
@@ -13377,150 +13430,16 @@
 %    \end{macrocode}
 % \end{macro}
 %
-%
-% \subsection{\cs{maketitle} for print output}
-%
-%
-% \DescribeMacro{\maketitle}
-% From the \pkg{titling} package, patched to add the publisher and subtitle.
-%
 %    \begin{macrocode}
-\providecommand{\maketitle}{}
-\if at titlepage
-  \renewcommand{\maketitle}{\begin{titlepage}%
-    \let\footnotesize\small
-    \let\footnoterule\relax
-    \LetLtxMacro{\footnote}{\thanks}
-    \@bsmarkseries
-      \def\@makefnmark{\rlap{\@textsuperscript{%
-         \normalfont\@bsthanksheadpre \tamark \@bsthanksheadpost}}}%
-      \long\def\@makefntext##1{\makethanksmark ##1}
-    \null\vfil
-    \vskip 60\p@
-    \vspace*{\droptitle}
-    \maketitlehooka
-    \ifcsempty{@published}
-        {}
-        {{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa}
-    {\@bspretitle \@title \@bsposttitle}
-    \ifcsempty{@subtitle}
-        {}
-        {\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}}
-    \maketitlehookb
-    {\@bspreauthor \@author \@bspostauthor}
-    \maketitlehookc
-    {\@bspredate \@date \@bspostdate}
-    \maketitlehookd
-    \par
-    \@thanks
-    \vfil\null
-    \end{titlepage}%
-    \@bscontmark  %  \setcounter{footnote}{0}%
-%%%    \@bsmtitlempty
-  } % end titlepage defs
-\else
-  \renewcommand{\maketitle}{\par
-    \begingroup
-      \@bsmarkseries
-      \def\@makefnmark{\rlap{\@textsuperscript{%
-         \normalfont\@bsthanksheadpre \tamark \@bsthanksheadpost}}}%
-      \long\def\@makefntext##1{\makethanksmark ##1}
-      \if at twocolumn
-        \ifnum \col at number=\@ne
-          \@maketitle
-        \else
-          \twocolumn[\@maketitle]%
-        \fi
-      \else
-        \newpage
-        \global\@topnum\z@
-        \@maketitle
-      \fi
-      \thispagestyle{plain}\@thanks
-    \endgroup
-    \@bscontmark  %  \setcounter{footnote}{0}%
-%%%    \@bsmtitlempty
-  } % end non-titlepage
-
-  \def\@maketitle{%
-    \newpage
-    \null
-    \vskip 2em%
-          \vspace*{\droptitle}
-    \maketitlehooka
-    \ifcsempty{@published}
-        {}
-        {{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa}
-    {\@bspretitle \@title \@bsposttitle}
-    \ifcsempty{@subtitle}
-        {}
-        {\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}}
-    \maketitlehookb
-    {\@bspreauthor \@author \@bspostauthor}
-    \maketitlehookc
-    {\@bspredate \@date \@bspostdate}
-    \maketitlehookd
-    \par
-    \vskip 1.5em}
-\fi
-
-\providecommand{\maketitlehookaa}{}
-
-\providecommand{\maketitlehookaaa}{}
-
-\newcommand{\prepublished}[1]{%
-\def\@bsprepublished{#1}%
-}
-
-\newcommand{\postpublished}[1]{%
-\def\@bspostpublished{#1}%
-}
-
-\newcommand{\presubtitle}[1]{%
-\def\@bspresubtitle{#1}%
-}
+\end{warpprint}
 %    \end{macrocode}
 %
-% \DescribeMacro{\presubtitle} Hook after printing the subtitle.
-%    \begin{macrocode}
-\newcommand{\postsubtitle}[1]{%
-\def\@bspostsubtitle{#1}%
-}
-%    \end{macrocode}
 %
-% Initial settings:
 %
-%    \begin{macrocode}
-\if at titlepage
-\prepublished{
-\vspace*{-\baselineskip}\vspace*{-\medskipamount}\vspace*{-2em}
-\begin{center}}
-\postpublished{\par\end{center}\vskip 2em}
-
-\presubtitle{\unskip\begin{center}\unskip}
-\postsubtitle{\par\end{center}\vskip 2em}
-\else
-\prepublished{\begin{center}}
-\postpublished{\par\end{center}\vskip 0.5em}
-
-\presubtitle{\begin{center}\unskip}
-\postsubtitle{\par\end{center}\vskip 0.5em}
-\fi
-%    \end{macrocode}
-%
-%    \begin{macrocode}
-\end{warpprint}
-%    \end{macrocode}
-%
-%
-% \subsection{\protect\textbackslash{}maketitle for HTML output}
+% \subsection{\cs{maketitle} for HTML output}
 % \label{sec:titlehtml}
 %
-% An \HTML\ div of class |titlepage| is created, inside of which
-% a \LaTeX{} \PDF\ minipage is generated (without \HTML\ tags),
-% allowing the |\thanks| footnotes to be generated immediately at the end
-% of the title page during \HTML\ output.  This is desirable when
-% a large table of contents immediately follows the title.
+% An \HTML\ \element{div} of class \attribute{titlepage} is used.
 %
 % |\thanks| are a form of footnotes used in the title page.
 % See \cref{sec:footnotes} for other kinds of footnotes.
@@ -13532,21 +13451,30 @@
 \begin{warpHTML}
 %    \end{macrocode}
 %
-%\begin{macro}{\LWR at maketitlesetup} Patches \cs{thanks} macros to
-% use \LaTeX{} minipage footnotes.
 %
 %    \begin{macrocode}
-\newcommand*{\LWR at maketitlesetup}{%
+\if at titlepage
+\newcommand{\LWR at setfootnoteseries}{%
+    \renewcommand\thefootnote{\@arabic\c at footnote}%
+}
+\else
+\newcommand{\LWR at setfootnoteseries}{%
+    \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
+}
+\fi
 %    \end{macrocode}
-% Select which kind of footnote marks to use:
+%
+%
+%\begin{macro}{\LWR at maketitlesetup} Patches \cs{thanks} macros.
+%
 %    \begin{macrocode}
-\@bsmarkseries
-\@mpbsmarkseries
+\newcommand*{\LWR at maketitlesetup}{%
 %    \end{macrocode}
 %
 % Redefine the footnote mark:
 %
 %    \begin{macrocode}
+\LWR at setfootnoteseries%
 \def\@makefnmark{\textsuperscript{\thefootnote}}
 %    \end{macrocode}
 %
@@ -13565,7 +13493,7 @@
 %    \end{macrocode}
 % Make the footnote mark and some extra horizontal space for the tags:
 %    \begin{macrocode}
-\makethanksmark \LWR at orighspace{1in}
+\textsuperscript{\@thefnmark} \LWR at orighspace{1in}
 %    \end{macrocode}
 % \begin{center}
 % \begin{minipage}{.7\linewidth}
@@ -13586,7 +13514,7 @@
 % \begin{macro}{\@fnsymbol} \marg{counter}
 %
 % Re-defined to use an \HTML\ entity for the double vertical bar symbol.
-% The original definition used \cs{\textbar} which was not being found by \cmds{pdftotext}.
+% The original definition used \cs{\textbar} which was not being seen by \cmds{pdftotext}.
 %
 % \changes{v0.34}{2017/08/07}{Text symbols instead of math.}
 %
@@ -13598,7 +13526,11 @@
 %    \end{macrocode}
 % \end{macro}
 %
-%\begin{macro}{\maketitle} Creates an \HTML\ titlepage div
+%
+%
+%\begin{macro}{\maketitle}
+%   \HTML\ mode.
+%   Creates an \HTML\ titlepage div
 %	and typesets the title, etc.
 %
 % Code from the \pkg{titling} package is adapted, simplified, and
@@ -13607,7 +13539,7 @@
 %    \begin{macrocode}
 \renewcommand*{\maketitle}{%
 %    \end{macrocode}
-% An \HTML\ titlepage div is used for all classes.
+% An \HTML\ titlepage \element{div} is used for all classes.
 %    \begin{macrocode}
 \begin{titlepage}
 %    \end{macrocode}
@@ -13623,49 +13555,70 @@
 %    \begin{macrocode}
 \@thanks
 %    \end{macrocode}
-% Close the \HTML\ titlepage div:
+% Close the \HTML\ titlepage div and cleanup:
 %    \begin{macrocode}
 \end{titlepage}
-%    \end{macrocode}
-% Reset the footnote counter:
-%    \begin{macrocode}
-\@bscontmark
+\setcounter{footnote}{0}%
+\global\let\thanks\relax
+\global\let\maketitle\relax
+\global\let\@maketitle\relax
+\global\let\@thanks\@empty
+\global\let\@author\@empty
+\global\let\@date\@empty
+\global\let\@title\@empty
+\global\let\title\relax
+\global\let\author\relax
+\global\let\date\relax
+\global\let\and\relax
 }
 %    \end{macrocode}
 % \end{macro}
-
-% \begin{macro}{\@maketitle} Typesets the title, etc. for \HTML:
+%
+%
+% \begin{macro}{\@maketitle}
+%   \HTML\ mode.  Typesets the title, etc.:
+%
+% \changes{v0.39}{2017/09/01}{Supports \protect\pkg{authblk} with
+% \element{div}s of class \attribute{oneauthor} instead of tabular.}
+% \changes{v0.39}{2017/09/03}{Removed minipages.}
+% \changes{v0.39}{2017/09/04}{Native \protect\LaTeX\ version.}
+%
 %    \begin{macrocode}
 \DeclareDocumentCommand{\@maketitle}{}{%
-    \maketitlehooka
-    \ifcsempty{@published}
-        {}
-        {{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa}
-    {\@bspretitle \@title \@bsposttitle}
-    \ifcsempty{@subtitle}
-        {}
-        {\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}}
-    \maketitlehookb
-    {\@bspreauthor \@author \@bspostauthor}
-    \maketitlehookc
-    {\@bspredate \@date \@bspostdate}
-    \maketitlehookd
+    \LWR at stoppars\LWR at htmltag{h1}
+    \@title
+    \LWR at htmltag{/h1}\LWR at startpars
+    \begin{BlockClass}{author}
+        \renewcommand{\and}{
+            \end{BlockClass}
+            \begin{BlockClass}{oneauthor}
+        }
+        \begin{BlockClass}{oneauthor}
+            \@author
+        \end{BlockClass}
+    \end{BlockClass}
+    \begin{BlockClass}{titledate}
+    \@date
+    \end{BlockClass}
 }
 %    \end{macrocode}
 % \end{macro}
 
 
-%    \begin{macrocode}
-\providecommand{\maketitlehookaa}{}
-\providecommand{\maketitlehookaaa}{}
-%    \end{macrocode}
 
-
 % \begin{macro}{\LWR at titlingmaketitle}
 % \cs{maketitle} for use inside an \HTML\ \env{titlingpage} environment.
 %    \begin{macrocode}
 \newcommand*{\LWR at titlingmaketitle}{%
 %    \end{macrocode}
+% Keep pending footnotes out of the title block:
+%    \begin{macrocode}
+\@thanks
+%    \end{macrocode}
+% Set up special patches:
+%    \begin{macrocode}
+\LWR at maketitlesetup
+%    \end{macrocode}
 % Typeset the title, etc:
 %    \begin{macrocode}
 \@maketitle
@@ -13676,32 +13629,95 @@
 }
 %    \end{macrocode}
 % \end{macro}
+%
+%    \begin{macrocode}
+\end{warpHTML}
+%    \end{macrocode}
+%
+%
+%
+% \subsection{\cs{published} and \cs{subtitle}}
+%
+% \label{sec:publishedsubtitle}
+%
+% \changes{v0.39}{2017/09/05}{Titlepage \cs{published} and \cs{subtitle} removed.
+%   \cs{AddSubtitlePublished} restores.}
+%
+% To add \cs{subtitle} and \cs{published} to the titlepage,
+% \margintag{\cs{subtitle} and \cs{published}}
+% \index{subtitle}\index{published}\index{titlepage>subtitle and published}
+% load the \pkg{titling} package and use \cs{AddSubtitlePublished}
+% in the preamble.
+%
+% The default |lwarp.css| has definitions for the |published| and |subtitle| classes.
+%
+% After \pkg{titling} is loaded, \cs{AddSubtitlePublished} is created,
+% which when used then creates a number of additional macros,
+% and also assigns some of the \pkg{titling} hooks.
+% Do not use \cs{AddSubtitlePublished} if the user has patched the \pkg{titling}
+% \watchout[\pkg{titling} hooks]
+% hooks for some other reason.
+% Portions are marked \cs{warpprintonly} to reduce extra tags in \HTML.
+% Similarly, \env{BlockClass} has no effect in print mode.
+% Thus, the following may be marked \env{warpall}.
+%
+%
+% \codeall
+%    \begin{macrocode}
+\begin{warpall}
+%    \end{macrocode}
 
-
+% \begin{macro}{\AddSubtitlePublished}
+% Adds \cs{published} and \cs{subtitle}, and related.
 %
-% \begin{macro}{\thanksmarkseries} \marg{series}
+% \changes{v0.39}{2017/09/05}{Added.}
 %
-% Sets the type of footnote marks used by |\thanks|,
-% where type is `arabic', `roman', `fnsymbol', etc.  Modified to
-% use the \LaTeX{} \PDF\ minipage which is included with the title page.
 %    \begin{macrocode}
-\renewcommand{\thanksmarkseries}[1]{%
-\def\@mpbsmarkseries{%
-\renewcommand*{\thempfootnote}{\@nameuse{#1}{mpfootnote}}}%
-\def\@bsmarkseries{\renewcommand{\thefootnote}{\@nameuse{#1}{footnote}}}%
+\AfterPackage{titling}{
+\newcommand*{\AddSubtitlePublished}{%
+
+\newcommand{\@published}{}
+
+\newcommand{\published}[1]{\gdef\@published{##1}}
+
+\renewcommand*{\maketitlehooka}{\printpublished}
+
+\newcommand*{\printpublished}{%
+\warpprintonly{\begin{center}\unskip}%
+\begin{BlockClass}{published}%
+\warpprintonly{\large\itshape}%
+\@published%
+\end{BlockClass}%
+\warpprintonly{\end{center}}%
 }
+
+\newcommand{\@subtitle}{}
+
+\newcommand{\subtitle}[1]{\gdef\@subtitle{##1}}
+
+\renewcommand*{\maketitlehookb}{\printsubtitle}
+
+\newcommand*{\printsubtitle}{%
+\warpprintonly{\begin{center}\unskip}%
+\begin{BlockClass}{subtitle}%
+\warpprintonly{\Large\itshape}%
+\@subtitle%
+\end{BlockClass}%
+\warpprintonly{\end{center}}%
+}
+
+}% \AddSubtitlePublished
+}% AfterPackage
 %    \end{macrocode}
 % \end{macro}
-%
+
 %    \begin{macrocode}
-\end{warpHTML}
+\end{warpall}
 %    \end{macrocode}
 
 
 
 
-
-
 % \section{Abstract}
 %
 % The following code replaces the \LaTeX\ default,
@@ -14017,9 +14033,9 @@
 % A few minor changes are made to supply \HTML\ tags.
 %
 % \begin{itemize}
-% \item The entire theorem is placed into a div of class |theoremcontents|.
-% \item The label for each theorem is placed inside a span of class |theoremlabel|.
-% \item The contents are placed inside a div of class |theoremcontents|.
+% \item The entire theorem is placed into a \element{div} of class \attribute{theoremcontents}.
+% \item The label for each theorem is placed inside a \element{span} of class \attribute{theoremlabel}.
+% \item The contents are placed inside a \element{div} of class {theoremcontents}.
 % \end{itemize}
 
 % \codehtml
@@ -14253,7 +14269,8 @@
 % This is arguably the most complicated part of the entire package.
 % Numerous tricks are employed to handle the syntax which is involved.
 %
-% Limitations:
+% \subsection{Limitations}
+%
 % \limitstabular
 %
 % \changes{v0.20}{2017/01/07}{Added @, \protect\textless, \protect\textgreater\ columns.}
@@ -14455,6 +14472,7 @@
 % \changes{v0.33}{2017/06/20}{Add: Avoids error: \protect\texttt{misplaced alignment tab character \&}.}
 %    \begin{macrocode}
 \newcommand{\StartDefiningTabulars}{%
+\LWR at traceinfo{StartDefiningTabulars}
 \warpHTMLonly{\catcode`\&=\active}%
 }
 %    \end{macrocode}
@@ -14463,6 +14481,7 @@
 % \begin{macro}{\EndDefiningTabulars} Place after defining something with |&| in it.
 %    \begin{macrocode}
 \newcommand{\EndDefiningTabulars}{%
+\LWR at traceinfo{EndDefiningTabulars}
 \warpHTMLonly{\catcode`\&=4}%
 }
 %    \end{macrocode}
@@ -15450,7 +15469,7 @@
 
 
 
-% \subsubsection{High-level multicolumn interface}
+% \subsubsection{Multicolumn factored code}
 
 
 %    \begin{macrocode}
@@ -15458,17 +15477,20 @@
 %    \end{macrocode}
 
 
-% \begin{macro}{\LWR at domulticolumn} \marg{1: numcols} \marg{2: colspec} \marg{3: text}
+% \begin{macro}{\LWR at domulticolumn}
+%   \oarg{1: vpos} \oarg{2: \#rows} \marg{3: numcols} \marg{4: colspec} \marg{5: text}
 %
+% \changes{v0.39}{2017/08/30}{Add: Optional \protect\texttt{vpos} and \# rows.}
+%
 %    \begin{macrocode}
-\NewDocumentCommand{\LWR at domulticolumn}{m m +m}{%
-\LWR at traceinfo{lwr at domulticolumn -#1- -#2-}%
+\NewDocumentCommand{\LWR at domulticolumn}{o o m m +m}{%
+\LWR at traceinfo{lwr at domulticolumn -#1- -#2- -#3- -#4-}%
 %    \end{macrocode}
 % Remember the text to be inserted, and
 % remember that a valid column type was found:
 %    \begin{macrocode}
 \renewcommand{\LWR at multicoltext}{%
-#3%
+#5%
 \booltrue{LWR at validtablecol}%
 }%
 %    \end{macrocode}
@@ -15478,12 +15500,28 @@
 %    \end{macrocode}
 % Begin the opening table data tag:
 %    \begin{macrocode}
-\LWR at htmltag{td colspan="#1"
+\LWR at htmltag{td colspan="#3" %
+%    \end{macrocode}
+% 
+%    \begin{macrocode}
+\IfValueTF{#2}{ % rows?
+rowspan="#2" %
+%    \end{macrocode}
+% 
+%    \begin{macrocode}
+\IfValueT{#1}{% vpos?
+\ifstrequal{#1}{b}{style="vertical-align:bottom" }{}%
+\ifstrequal{#1}{t}{style="vertical-align:top" }{}%
+}% vpos?
+}{}% rows?
+%    \end{macrocode}
+% 
+%    \begin{macrocode}
  class="td%
 %    \end{macrocode}
 % Print the column type:
 %    \begin{macrocode}
-\LWR at parsemulticolumnalignment{#2}{\LWR at printmccoltype}%
+\LWR at parsemulticolumnalignment{#4}{\LWR at printmccoltype}%
 %    \end{macrocode}
 % If this column has a cmidrule, add ``rule'' to the end of the \HTML\ class tag.
 %
@@ -15496,13 +15534,45 @@
 "%
 }% end of the opening table data tag
 \global\boolfalse{LWR at intabularmetadata}%
-\LWR at parsemulticolumnalignment{#2}{\LWR at printmccoldata}%
+\LWR at parsemulticolumnalignment{#4}{\LWR at printmccoldata}%
 }
 %    \end{macrocode}
 % \end{macro}
 
 
+% \subsubsection{Multicolumn}
+
+% \begin{macro}{\LWR at htmlmulticolumn} \marg{numcols} \marg{alignment} \marg{text}
+%    \begin{macrocode}
+\NewDocumentCommand{\LWR at htmlmulticolumn}{m m +m}%
+{%
+%    \end{macrocode}
+% Figure out how many extra \HTML\ columns to add for |@| and |!| columns:
+%    \begin{macrocode}
+\LWR at tabularhtmlcolumns{\theLWR at tablecolspos}{#1}
+%    \end{macrocode}
+% Create the multicolumn tag:
+%    \begin{macrocode}
+\LWR at domulticolumn{\theLWR at tabhtmlcoltotal}{#2}{#3}%
+%    \end{macrocode}
+% Move to the next \LaTeX\ column:
+%    \begin{macrocode}
+\addtocounter{LWR at tablecolspos}{#1}%
+\addtocounter{LWR at tablecolspos}{-1}%
+%    \end{macrocode}
+% Skip any trailing |@| or |!| columns for this cell:
+%    \begin{macrocode}
+\booltrue{LWR at skipatbang}%
+}
+%    \end{macrocode}
+% \end{macro}
+%
+%
+%
+%
 % \subsubsection{Longtable captions}
+%
+% \pkg{longtable} captions use \cs{multicolumn}.
 
 % \DescribeBoolean{LWR at starredlongtable}
 % Per the \pkg{caption} pacakge, step the counter if |longtable*|.
@@ -15653,7 +15723,7 @@
 %    \end{macrocode}
 
 % \begin{macro}{\LWR at tabularhtmlcolumns}
-%	\marg{starting \LaTeX\ column} \marg{number \LaTeX\ columns}
+%   \marg{starting \LaTeX\ column} \marg{number \LaTeX\ columns}
 %
 % Compute the total number of \HTML\ columns being spanned, considering the
 % starting \LaTeX\ table column and the number of \LaTeX\ tabular columns being
@@ -15704,90 +15774,155 @@
 }
 %    \end{macrocode}
 % \end{macro}
-
-
-
-% \subsubsection{\textbackslash{}tabledatamulticolumntag}
-
-% \begin{macro}{\LWR at tabledatamulticolumntag} \marg{numcols} \marg{alignment} \marg{text}
+%
 %    \begin{macrocode}
-\NewDocumentCommand{\LWR at tabledatamulticolumntag}{m m +m}%
-{%
+\end{warpHTML}
 %    \end{macrocode}
-% Figure out how many extra \HTML\ columns to add for |@| and |!| columns:
+%
+%
+%
+%
+% \subsection{Multicolumnrow}
+%
+% \label{sec:printmultirow}
+%
+% A print-mode version is defined here, and is also used during \HTML\ output
+% while inside a \env{lateximage}.
+%
+% See \cref{sec:multirow} for the \HTML\ versions.
+%
+% \codeall
 %    \begin{macrocode}
-\LWR at tabularhtmlcolumns{\theLWR at tablecolspos}{#1}
+\begin{warpall}
 %    \end{macrocode}
-% Create the multicolumn tag:
+%
+% \begin{macro}{\multicolumnrow}
+%   \marg{1:cols} \marg{2:halign}
+%   \oarg{3:vpos} \marg{4:numrows} \oarg{5:bigstruts}
+%       \marg{6:width} \oarg{7:fixup} \marg{8:text}
+%
+% For discussion of the use of \cs{DeclareExpandableDocumentCommand}, see: \\
+%   \href
+%    {https://tex.stackexchange.com/questions/168434/problem-with-abbreviation-of-multirow-and-multicolumn-latex}
+%    {https://tex.stackexchange.com/questions/168434/\\%
+%       problem-with-abbreviation-of-multirow-and-multicolumn-latex}
+%
+% \changes{v0.39}{2017/08/31}{Added.}
+%
 %    \begin{macrocode}
-\LWR at domulticolumn{\theLWR at tabhtmlcoltotal}{#2}{#3}%
+\DeclareExpandableDocumentCommand{\LWR at origmulticolumnrow}{m m O{c} m O{0} m O{0pt} +m}{%
+\multicolumn{#1}{#2}{\@xmultirow[#3]{#4}[#5]{#6}[#7]{#8}}
+}
+
+\newcommand*{\multicolumnrow}{\LWR at origmulticolumnrow}
 %    \end{macrocode}
-% Move to the next \LaTeX\ column:
+% \end{macro}
+%
 %    \begin{macrocode}
-\addtocounter{LWR at tablecolspos}{#1}%
-\addtocounter{LWR at tablecolspos}{-1}%
+\end{warpall}
 %    \end{macrocode}
-% Skip any trailing |@| or |!| columns for this cell:
+%
+%
+%
+% \subsection{Utility macros inside a table}
+%
+% \codehtml
 %    \begin{macrocode}
-\booltrue{LWR at skipatbang}%
-}
+\begin{warpHTML}
 %    \end{macrocode}
-% \end{macro}
+%
+%    \begin{macrocode}
+\newcommand*{\LWR at donothing}{}
+\newcommand*{\LWR at domidrule}{\booltrue{LWR at doinghline}}
+\newcommand*{\LWR at dotbrule}{\booltrue{LWR at doingtbrule}}
+%    \end{macrocode}
 
+%    \begin{macrocode}
+\end{warpHTML}
+%    \end{macrocode}
 
 
-% \subsection{Multirow}
+% \subsection{Special-case tabular markers}
 
-% \DescribePackage{multirow}
+% \codeall
+%    \begin{macrocode}
+\begin{warpall}
+%    \end{macrocode}
+%
+% \begin{macro}{\TabularMacro}
+% Place this just before inserting a custom macro in a table data cell.
+% Doing so tells \pkg{lwarp} not to automatcally start a new \HTML\ table data cell yet.
+% See \cref{sec:limitstabular}.
+%
+% \changes{v0.39}{2017/08/29}{Added.}
+%
+%    \begin{macrocode}
+\let\TabularMacro\relax
+%    \end{macrocode}
+% \end{macro}
 
+%    \begin{macrocode}
+\end{warpall}
+%    \end{macrocode}
 
 
-% \begin{macro}{\LWR at tabledatamultirowtag}
-%	\marg{numrows} \oarg{bigstruts} \marg{width} \oarg{fixup} \marg{text}
-% \changes{v0.19}{2015/05/28}{Added optional args.}
+
+% \begin{macro}{\ResumeTabular} Used to resume tabular entries after resuming
+%   an environment.
+%
+% \changes{v0.39}{2017/08/29}{Added.}
+%
+% \limitsresumetabular
+% \bigskip
+%
+% \codehtml
 %    \begin{macrocode}
-\NewDocumentCommand{\LWR at tabledatamultirowtag}{m o m o m}%
-{%
-\LWR at maybenewtablerow%
+\begin{warpHTML}
 %    \end{macrocode}
-% Print the start of a new table data cell:
+
 %    \begin{macrocode}
-\LWR at htmltag{td rowspan="#1" class="td%
+\newcommand*{\ResumeTabular}{%
+\global\boolfalse{LWR at exitingtabular}%
+\LWR at getmynexttoken%
+}
 %    \end{macrocode}
-% Append this column's spec:
+% \end{macro}
+
 %    \begin{macrocode}
-\StrChar{\LWR at tablecolspec}{\theLWR at tablecolspos}%
+\end{warpHTML}
 %    \end{macrocode}
-% If this column has a cmidrule, add ``rule'' to the end of the \HTML\ class tag:
+
+
+
+% \codeprint
 %    \begin{macrocode}
-\ifthenelse{\equal{\LWR at getexparray{LWR at midrules}{\theLWR at tablecolspos}}{Y}}{rule}{}%
-"{}}
+\begin{warpprint}
 %    \end{macrocode}
-% While printing the text, redefine |\\| to generate a new line
+
 %    \begin{macrocode}
-\begingroup \LetLtxMacro{\\}{\LWR at endofline} #5 \endgroup
-\LWR at stoppars%
-\global\boolfalse{LWR at intabularmetadata}%
-}%
+\newcommand*{\ResumeTabular}{}
 %    \end{macrocode}
-% \end{macro}
 
-
-% \subsection{Utility macros inside a table}
 %    \begin{macrocode}
-\newcommand*{\LWR at donothing}{}
-\newcommand*{\LWR at domidrule}{\booltrue{LWR at doinghline}}
-\newcommand*{\LWR at dotbrule}{\booltrue{LWR at doingtbrule}}
+\end{warpprint}
 %    \end{macrocode}
 
 
+
 % \subsection{Checking for a new table cell}
 
+
+% \codehtml
+%    \begin{macrocode}
+\begin{warpHTML}
+%    \end{macrocode}
+
 % \begin{macro}{\LWR at tabledatacolumntag}
 % Open a new \HTML\ table cell unless the next token is for a macro
 % which does not create data, such as |\hline|, |\toprule|, etc:
 %
 % \changes{v0.34}{2017/08/08}{\pkg{booktabs}: Works inside \env{lateximage}.}
+% \changes{v0.39}{2017/08/29}{Don't start a data cell if see \cs{TabularMacro}.}
 %
 %    \begin{macrocode}
 \newbool{LWR at exitingtabular}
@@ -15819,6 +15954,8 @@
 {\let\mynext\LWR at donothing}{}%
 \ifthenelse{\isequivalentto{\LWR at mynexttoken}{\multirow}}%
 {\let\mynext\LWR at donothing}{}%
+\ifthenelse{\isequivalentto{\LWR at mynexttoken}{\multicolumnrow}}%
+{\let\mynext\LWR at donothing}{}%
 %    \end{macrocode}
 % if come to an |\mrowcell|, this is a cell to be skipped over
 %    \begin{macrocode}
@@ -15825,6 +15962,9 @@
 \ifthenelse{\isequivalentto{\LWR at mynexttoken}{\mrowcell}}%
 {\let\mynext\LWR at donothing}{}%
 %
+\ifthenelse{\isequivalentto{\LWR at mynexttoken}{\TabularMacro}}%
+{\let\mynext\LWR at donothing}{}%
+%
 \ifthenelse{\isequivalentto{\LWR at mynexttoken}{\hline}}%
 {\let\mynext\LWR at donothing}{}%
 %
@@ -15999,8 +16139,7 @@
 % so we do not want to look ahead for a possible data cell,
 % so do not want to use |\LWR at getmynexttoken|.
 %    \begin{macrocode}
-\LetLtxMacro{\multicolumn}{\LWR at tabledatamulticolumntag}%
-\LetLtxMacro{\multirow}{\LWR at tabledatamultirowtag}%
+\renewcommand{\multicolumn}{\LWR at htmlmulticolumn}%
 \renewcommand*{\mrowcell}{\global\booltrue{LWR at skippingmrowcell}}%
 \LetLtxMacro{\caption}{\LWR at longtabledatacaptiontag}%
 %    \end{macrocode}
@@ -17006,16 +17145,17 @@
 
 % \section{Table of Contents, LOF, LOT}
 %
-% This section controls the generation of the TOC, LOF, LOT.
+% This section controls the generation of the \TOC, \LOF, and \LOT.
 %
 % The |.toc|, |.lof|, and |.lot| files are named by the source code \cs{jobname}.
 %
-% In \HTML, the printed tables are placed inside a div of class |.toc|, |.lof|, or |.lot|.
+% In \HTML, the printed tables are placed inside a \element{div}
+%   of class \attribute{toc}, \attribute{lof}, or \attribute{lot}.
 %
-% A ``sidetoc'' is provided which prints a subset of the TOC on the side of each page other
+% A ``sidetoc'' is provided which prints a subset of the \TOC\ on the side of each page other
 % than the homepage.
 %
-% The regular \LaTeX{} infrastructure is used for TOC,
+% The regular \LaTeX{} infrastructure is used for \TOC,
 % along with some patches to generate \HTML\ output.
 
 % \codehtml
@@ -17247,7 +17387,7 @@
 \setcounter{tocdepth}{\value{SideTOCDepth}}
 
 %    \end{macrocode}
-% The title is placed into a div of class |sidetoctitle|, and may
+% The title is placed into a \element{div} of class \attribute{sidetoctitle}, and may
 % contain paragraphs.
 %    \begin{macrocode}
 \begin{BlockClass}{sidetoctitle}
@@ -17254,7 +17394,7 @@
 \sidetocname
 \end{BlockClass}
 %    \end{macrocode}
-% The table of contents is placed into a div of class |sidetoccontents|.
+% The table of contents is placed into a \element{div} of class \attribute{sidetoccontents}.
 %    \begin{macrocode}
 \begin{BlockClass}{sidetoccontents}
 \LinkHome
@@ -17804,21 +17944,20 @@
 %
 %
 %
-% \begin{macro}{\LWR at restoreorigrelsize} Patched by \pkg{lwarp-relsize} if loaded.
-%    \begin{macrocode}
-\newcommand*{\LWR at restoreorigrelsize}{}
-%    \end{macrocode}
-% \end{macro}
 %
-%
-%
 % \begin{macro}{\LWR at restoreorigformatting}
 % While producing \SVG\ math or a \env{lateximage},
 %	use regular \LaTeX\ formatting instead of \HTML\ tags.
+%
+% Various packages add to this macro using \cs{appto}.
+%
 % \label{sec:restoreorigformatting}
+%
 % \changes{v0.34}{2017/08/05}{Improved font control.}
 % \changes{v0.34}{2017/08/08}{\pkg{booktabs}: Works inside \env{lateximage}.}
 % \changes{v0.36}{2017/08/16}{\pkg{siunitx}: Improved super/subscripts in a \env{lateximage}.}
+% \changes{v0.39}{2017/09/01}{Appended with \cs{appto} instead of calling various macros.}
+%
 %    \begin{macrocode}
 \newcommand*{\LWR at restoreorigformatting}{%
 \LWR at traceinfo{LWR at restoreorigformatting}%
@@ -17878,12 +18017,8 @@
 \LetLtxMacro{\minipage}{\LWR at origminipage}%
 \let\endminipage\LWR at endminipage%
 \LetLtxMacro{\parbox}{\LWR at origparbox}%
-\LWR at restoreorigxcolor%
-\LWR at restoremoreorigxcolor%
 %
-\LWR at restoreorigtextcomp%
 \LWR at restoreorigaccents%
-\LWR at restoreorigrelsize%
 %
 \LWR at FBcancel%
 }
@@ -18927,11 +19062,34 @@
 
 
 
+% \section{Textcomp}
+%
+% \codehtml
+%    \begin{macrocode}
+\begin{warpHTML}
+%    \end{macrocode}
+%
+%
+% If \pkg{textcomp} was loaded before \pkg{lwarp},
+% perhaps as part of the font-related packages,
+% explicitly load the lwarp patches now:
+%    \begin{macrocode}
+\@ifpackageloaded{textcomp}
+{
+\LWR at origRequirePackage{lwarp-textcomp}
+}
+{}
+%    \end{macrocode}
 
+%    \begin{macrocode}
+\end{warpHTML}
+%    \end{macrocode}
 
 
 
 
+
+
 % \section{Siunitx}
 % \label{sec:siunitx}
 
@@ -19585,33 +19743,7 @@
 %    \end{macrocode}
 
 
-% \section{Xcolor defaults}
-%
-% The following are used when \pkg{xcolor} is not loaded:
 
-% \subsection{Defaults without \protect\pkg{xcolor}}
-% \label{sec:xcolordefaults}
-%
-% \codeall
-%
-%    \begin{macrocode}
-\begin{warpall}
-%    \end{macrocode}
-
-% The following is used if \pkg{xcolor} is not loaded, and is
-% replaced when \pkg{lwarp-xcolor} is loaded.
-%
-% If \pkg{xcolor} is not loaded, there is no \pkg{xcolor} formatting to restore:
-%    \begin{macrocode}
-\newcommand*{\LWR at restoreorigxcolor}{}
-\newcommand*{\LWR at restoremoreorigxcolor}{}
-%    \end{macrocode}
-
-%    \begin{macrocode}
-\end{warpall}
-%    \end{macrocode}
-
-
 % \subsection{\protect\pkg{xcolor} print-mode additions}
 % \label{sec:xcolorpatches}
 %
@@ -19619,7 +19751,7 @@
 % These are defined inside \env{warpall} because they are also used
 % for \HTML\ while inside a \env{lateximage}.
 % They are defined \cs{AtBeginDocument} so that the \pkg{xcolor} originals
-% may first be saved for reuse.
+% may first be loaded and saved for reuse.
 %
 % The framed versions are modified to allow a background color of |none|, in which
 % case only the frame is drawn, allowing the background page color to show.
@@ -19781,13 +19913,13 @@
 %    \end{macrocode}
 % \end{environment}
 
-% \begin{macro}{\LWR at restoremoreorigxcolor}
+% \begin{macro}{\LWR at restoreorigprintxcolor}
 % Used to activate print-mode additions for \pkg{xcolor}.
 % In print mode, this is used immediately following.
 % In \HTML\ mode, this is used inside a \env{lateximage}.
 %    \begin{macrocode}
-\renewcommand*{\LWR at restoremoreorigxcolor}{%
-\LWR at traceinfo{LWR at restoremoreorigxcolorformatting}%
+\newcommand*{\LWR at restoreorigprintxcolor}{%
+\LWR at traceinfo{LWR at restoreorigprintxcolor}%
 \LetLtxMacro\colorboxBlock\LWRprint at colorboxBlock%
 \LetLtxMacro\fcolorbox\LWRprint at fcolorbox%
 \LetLtxMacro\fcolorboxBlock\LWRprint at fcolorboxBlock%
@@ -19794,15 +19926,19 @@
 \LetLtxMacro\fcolorminipage\LWRprint at fcolorminipage%
 \LetLtxMacro\endfcolorminipage\endLWRprint at fcolorminipage%
 }
+
+\appto{\LWR at restoreorigformatting}{%
+\LWR at restoreorigprintxcolor%
+}
 %    \end{macrocode}
 % \end{macro}
 %
 % If print mode, immediately activate the print-mode enhancements for \pkg{xcolor}:
 %    \begin{macrocode}
-\warpprintonly{\LWR at restoremoreorigxcolor}
+\warpprintonly{\LWR at restoreorigprintxcolor}
 
 \LWR at traceinfo{xcolor patches done}
-}{}% xcolor
+}{}% xcolor loaded
 }% AtBeginDocument
 %    \end{macrocode}
 %
@@ -20032,7 +20168,7 @@
 % \begin{macro}{\LWR at endminipage}
 % Used to close a minipage.
 %
-% Copied the \LaTeX{} definition and modified to create a |mpfootnotes| div class:
+% Copied the \LaTeX{} definition and modified to create a \element{div} of class  \attribute{mpfootnotes}:
 %    \begin{macrocode}
 \def\LWR at endminipage{%
     \par
@@ -21536,19 +21672,116 @@
 %
 % \changes{v0.20}{2016/12/12}{Code factored into independent \texttt{lwarp\_html} files.}
 %
+% \titleformat{\part}[hang]
+%     {\hrule\nopagebreak[4]\large\ttfamily\bfseries}{}{0pt}{}[\marginpar{\hfill{}File\,\thepart}]
+% \titlespacing*{\part}{0pt}{*4}{0ex}
+% 
+% \titleformat{\section}[hang]
+%     {\LARGE\sffamily\bfseries}{}{0pt}{}[\marginpar{\hfill\textsection\,\thesection \qquad Package}]
+% \titlespacing*{\section}{0pt}{0ex}{0ex}
 %
+% \titleformat{\subsection}[hang]
+%     {\large\rmfamily\bfseries}{}{0pt}{}[\marginpar{\hfill\textsection\,\thesubsection}]
+% \titlespacing*{\subsection}{0pt}{0ex}{0ex}
 %
+% \renewcommand{\bottomtitlespace}{.5\textheight}
 %
 %
 % \clearpage
 %
+%
+%
 % \iffalse
+%<*a4>
+% \fi
+%
+% \part{lwarp-a4.sty}
+%
+% \section{a4}
+%
+% \DescribePackage{a4}
+% \pkg{a4} is emulated.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{a4}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{a4}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\newcommand*{\WideMargins}{}
+%    \end{macrocode}
+%
+% \iffalse
+%</a4>
+% \fi
+%
+%
+%
+%
+% \iffalse
+%<*a4wide>
+% \fi
+%
+% \part{lwarp-a4wide.sty}
+%
+% \section{a4wide}
+%
+% \DescribePackage{a4wide}
+% \pkg{a4wide} is emulated.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{a4wide}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{a4wide}
+%    \end{macrocode}
+%
+%
+% \iffalse
+%</a4wide>
+% \fi
+%
+%
+%
+% \iffalse
+%<*a5comb>
+% \fi
+%
+% \part{lwarp-a5comb.sty}
+%
+% \section{a5comb}
+%
+% \DescribePackage{a5comb}
+% \pkg{a5comb} is emulated.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{a5comb}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{a5comb}
+%    \end{macrocode}
+%
+%
+% \iffalse
+%</a5comb>
+% \fi
+%
+%
+%
+%
+%
+% \iffalse
 %<*abstract>
 % \fi
 %
 % \part{lwarp-abstract.sty}
 %
-% \section{Abstract}
+% \section{abstract}
 %
 % \credits{Peter Wilson}
 %
@@ -21641,15 +21874,49 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
+%<*addlines>
+% \fi
+%
+% \part{lwarp-addlines.sty}
+%
+% \section{addlines}
+%
+% \DescribePackage{addlines}
+% \pkg{addlines} is emulated.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{addlines}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{addlines}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\newcommand*\addlines[1][1]{}
+\let\addline\addlines
+\newcommand*\removelines[1][1]{}
+\let\removeline\removelines
+%    \end{macrocode}
+%
+% \iffalse
+%</addlines>
+% \fi
+%
+%
+%
+%
+%
+% \iffalse
 %<*afterpage>
 % \fi
 %
 % \part{lwarp-afterpage.sty}
 %
-% \section{Afterpage}
+% \section{afterpage}
 %
 % \DescribePackage{afterpage} Emulated.
 %
@@ -21672,7 +21939,6 @@
 %
 %
 %
-% \clearpage
 %
 % \iffalse
 %<*algorithmicx>
@@ -21680,7 +21946,7 @@
 %
 % \part{lwarp-algorithmicx.sty}
 %
-% \section{Algorithmicx}
+% \section{algorithmicx}
 % \label{sec:algorithmicx}
 %
 % \DescribePackage{algorithmicx}
@@ -21732,6 +21998,7 @@
 %
 %
 %
+%
 % \iffalse
 %<*alltt>
 % \fi
@@ -21738,7 +22005,7 @@
 %
 % \part{lwarp-alltt.sty}
 
-% \section{Alltt}
+% \section{alltt}
 %
 % \DescribePackage{alltt}
 % \pkg{alltt} is patched for use by \pkg{lwarp}.
@@ -21768,7 +22035,6 @@
 %
 %
 %
-% \clearpage
 %
 % \iffalse
 %<*amsthm>
@@ -21776,7 +22042,7 @@
 
 % \part{lwarp-amsthm.sty}
 
-% \section{AMSthm}
+% \section{amsthm}
 %
 % \credits{Publications Technical Group --- American Mathematical Society}
 %
@@ -21923,16 +22189,47 @@
 %
 %
 %
-% \clearpage
+% \iffalse
+%<*anysize>
+% \fi
 %
+% \part{lwarp-anysize.sty}
+%
+% \section{anysize}
+%
+% \DescribePackage{anysize}
+% \pkg{anysize} is emulated.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{anysize}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{anysize}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\def\papersize#1#2{}
+\def\marginsize#1#2#3#4{}
+%    \end{macrocode}
+%
 % \iffalse
+%</anysize>
+% \fi
+%
+%
+%
+%
+%
+%
+% \iffalse
 %<*appendix>
 % \fi
 %
 % \part{lwarp-appendix.sty}
-
-% \section{Appendix}
 %
+% \section{appendix}
+%
 % \DescribePackage{appendix}
 % \pkg{appendix} is patched for use by \pkg{lwarp}.
 %
@@ -21945,7 +22242,7 @@
 %    \begin{macrocode}
 \LWR at ProvidesPackagePass{appendix}
 %    \end{macrocode}
-
+%
 %    \begin{macrocode}
 \renewcommand*{\@chap at pppage}{%
 \part*{\appendixpagename}
@@ -21960,9 +22257,8 @@
  \addappheadtotoc
  \fi
 }
-
 %    \end{macrocode}
-
+%
 % \iffalse
 %</appendix>
 % \fi
@@ -21970,7 +22266,6 @@
 %
 %
 %
-% \clearpage
 %
 % \iffalse
 %<*arabicfront>
@@ -21978,7 +22273,7 @@
 %
 % \part{lwarp-arabicfront.sty}
 %
-% \section{Arabicfront}
+% \section{arabicfront}
 %
 % \DescribePackage{arabicfront}
 % \pkg{arabicfront} is ignored.
@@ -21998,14 +22293,69 @@
 %
 %
 %
+% \iffalse
+%<*authblk>
+% \fi
 %
+% \part{lwarp-authblk.sty}
+%
+% \section{authblk}
+%
+% \DescribePackage{authblk}
+% \pkg{authblk} is patched for \HTML.
+%
+% \changes{v0.39}{2017/08/31}{\pkg{authblk}: Added.}
+%
+% \limitstitlepage
+%
+% \credits{Patrick W. Daly}
+%
+% \codehtml
+%
+% Require that \pkg{authblk} be loaded before \pkg{titling}:
+%    \begin{macrocode}
+\@ifpackageloaded{titling}{
+\PackageError{lwarp-authblk}
+{Package authblk must be loaded before titling}
+{Titling appends authblk's author macro, so authblk must be loaded first.}
+}
+{}
+%    \end{macrocode}
+%
+% Load \pkg{authblk}:
+%    \begin{macrocode}
+\LWR at ProvidesPackagePass{authblk}
+%    \end{macrocode}
+%
+% Patch to add a class for the affiliation:
+%    \begin{macrocode}
+\LetLtxMacro\LWRAB at affil\affil
+
+\renewcommand{\affil}[2][]{%
+\LWRAB at affil[#1]{\protect\InlineClass{affiliation}{#2}}
+}
+%    \end{macrocode}
+% Create an \HTML\ break for an \cs{authorcr}:
+%    \begin{macrocode}
+\renewcommand*{\authorcr}{\protect\LWR at newlinebr}
+%    \end{macrocode}
+%
+%
+%
 % \iffalse
+%</authblk>
+% \fi
+%
+%
+%
+%
+% \iffalse
 %<*balance>
 % \fi
 %
 % \part{lwarp-balance.sty}
 %
-% \section{Balance}
+% \section{balance}
 %
 % \DescribePackage{balance} Emulated.
 %
@@ -22031,17 +22381,113 @@
 %
 %
 %
+% \iffalse
+%<*bigdelim>
+% \fi
 %
+% \part{lwarp-bigdelim.sty}
 %
-% \clearpage
+% \section{bigdelim}
 %
+% \DescribePackage{bigdelim}
+% \pkg{bigdelim} is used as-is for print or \env{lateximage}, and
+% patched for \HTML.
+%
+% The delimiters are displayed in \HTML\
+% by printing the delimiter, the text, and a thick border across the side of
+% the \cs{multirow} which indicates the actual height of the delimiter.
+% The delimiter character is given a \element{span} class of \attribute{ldelim} or
+% \attribute{rdelim}, and the default \CSS\ sets this to \attribute{font-size:200\%}
+%
+% \changes{v0.39}{2017/08/31}{\pkg{bigdelim}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackagePass{bigdelim}
+%    \end{macrocode}
+%
+% Remember the print-mode versions:
+%    \begin{macrocode}
+\LetLtxMacro\LWR at origldelim\ldelim
+\LetLtxMacro\LWR at origrdelim\rdelim
+%    \end{macrocode}
+%
+% \marg{1:delimiter} \marg{2:\#rows} \marg{3:width} \oarg{4:text}
+% \marginpar{\hfill\cs{ldelim}}\marginpar{\hfill\cs{rdelim}}
+%    \begin{macrocode}
+\RenewDocumentCommand{\ldelim}{m m m O{}}{%
+\renewcommand{\LWR at multirowborder}{right}%
+\multirow{#2}{#3}{#4 \InlineClass{ldelim}{#1}}%
+}
+
+\RenewDocumentCommand{\rdelim}{m m m O{}}{%
+\renewcommand{\LWR at multirowborder}{left}%
+\multirow{#2}{#3}{\InlineClass{rdelim}{#1} #4}%
+}
+%    \end{macrocode}
+% When entering a \env{lateximage}, restore the print-mode versions:
+%    \begin{macrocode}
+\appto{\LWR at restoreorigformatting}{%
+\LetLtxMacro{\ldelim}{\LWR at origldelim}%
+\LetLtxMacro{\rdelim}{\LWR at origrdelim}%
+}
+%    \end{macrocode}
+%
+%
 % \iffalse
+%</bigdelim>
+% \fi
+%
+%
+%
+%
+%
+% \iffalse
+%<*bigstrut>
+% \fi
+%
+% \part{lwarp-bigstrut.sty}
+%
+% \section{bigstrut}
+%
+% \DescribePackage{bigstrut}
+% \pkg{bigstrut} is used as-is for print or \env{lateximage}, and
+% patched for \HTML.
+%
+% \changes{v0.39}{2017/08/31}{\pkg{bigstrut}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackagePass{bigstrut}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\LetLtxMacro\LWR at origbigstrut\bigstrut
+
+\renewcommand\bigstrut[1][x]{}
+
+\appto{\LWR at restoreorigformatting}{%
+\LetLtxMacro{\bigstrut}{\LWR at origbigstrut}%
+}
+%    \end{macrocode}
+%
+%
+% \iffalse
+%</bigstrut>
+% \fi
+%
+%
+%
+%
+% \iffalse
 %<*bookmark>
 % \fi
 
 % \part{lwarp-bookmark.sty}
 
-% \section{Bookmark}
+% \section{bookmark}
 %
 % \DescribePackage{bookmark}
 % \pkg{bookmark} is emulated during \HTML\ output, and
@@ -22055,7 +22501,7 @@
 %    \begin{macrocode}
 \LWR at ProvidesPackageDrop{bookmark}
 %    \end{macrocode}
-
+%
 %    \begin{macrocode}
 \newcommand*{\bookmarksetup}[1]{}
 \newcommand*{\bookmarksetupnext}[1]{}
@@ -22064,7 +22510,7 @@
 \newcommand*{\bookmarkget}[1]{}
 \newcommand{\BookmarkAtEnd}[1]{}
 %    \end{macrocode}
-
+%
 % \iffalse
 %</bookmark>
 % \fi
@@ -22072,14 +22518,13 @@
 %
 %
 %
-%
 % \iffalse
 %<*booktabs>
 % \fi
-
+%
 % \part{lwarp-booktabs.sty}
-
-% \section{Booktabs}
+%
+% \section{booktabs}
 % \label{sec:booktabs}
 %
 %
@@ -22108,7 +22553,7 @@
 \LetLtxMacro\LWR at origmorecmidrules\morecmidrules
 \LetLtxMacro\LWR at origspecialrule\specialrule
 %    \end{macrocode}
-
+%
 % \iffalse
 %</booktabs>
 % \fi
@@ -22116,9 +22561,9 @@
 %
 %
 %
-% \clearpage
 %
 %
+%
 % \iffalse
 %<*boxedminipage>
 % \fi
@@ -22125,7 +22570,7 @@
 %
 % \part{lwarp-boxedminipage.sty}
 %
-% \section{Boxedminipage}
+% \section{boxedminipage}
 %
 % \DescribePackage{boxedminipage}
 % \pkg{boxedminipage} is superceded by \pkg{boxedminipage2e}.
@@ -22150,7 +22595,7 @@
 
 % \part{lwarp-boxedminipage2e.sty}
 
-% \section{Boxedminipage2e}
+% \section{boxedminipage2e}
 %
 % \DescribePackage{boxedminipage2e}
 % \pkg{boxedminipage2e} is emulated.
@@ -22182,8 +22627,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*caption2>
 % \fi
@@ -22190,7 +22635,7 @@
 %
 % \part{lwarp-caption2.sty}
 %
-% \section{Caption2}
+% \section{caption2}
 %
 % \DescribePackage{caption2}
 % \pkg{caption2} is not used.
@@ -22210,8 +22655,6 @@
 %
 %
 %
-% \clearpage
-%
 % \iffalse
 %<*ccaption>
 % \fi
@@ -22218,7 +22661,7 @@
 
 % \part{lwarp-ccaption.sty}
 
-% \section{Ccaption}
+% \section{ccaption}
 %
 % \DescribePackage{ccaption}
 % \pkg{ccaption} is not used.
@@ -22239,6 +22682,8 @@
 %
 %
 %
+%
+%
 % \iffalse
 %<*changepage>
 % \fi
@@ -22245,7 +22690,7 @@
 
 % \part{lwarp-changepage.sty}
 
-% \section{Changepage}
+% \section{changepage}
 %
 % \DescribePackage{changepage}
 % \pkg{changepage} is ignored.
@@ -22274,15 +22719,43 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
+%<*chngpage>
+% \fi
+%
+% \part{lwarp-chngpage.sty}
+%
+% \section{chngpage}
+%
+% \DescribePackage{chngpage}
+% \pkg{chngpage} is superceded by \pkg{changepage}.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{chngpage}: Prevented.}
+%
+% \codehtml
+%    \begin{macrocode}
+\LWR at loadnever{chngpage}{changepage}
+%    \end{macrocode}
+%
+% \iffalse
+%</chngpage>
+% \fi
+%
+%
+%
+%
+%
+%
+%
+% \iffalse
 %<*chappg>
 % \fi
 %
 % \part{lwarp-chappg.sty}
 %
-% \section{Chappg}
+% \section{chappg}
 %
 % \DescribePackage{chappg}
 % \pkg{chappg} is ignored.
@@ -22307,9 +22780,9 @@
 %
 %
 %
-% \clearpage
 %
 %
+%
 % \iffalse
 %<*color>
 % \fi
@@ -22316,7 +22789,7 @@
 %
 % \part{lwarp-color.sty}
 %
-% \section{Color}
+% \section{color}
 %
 % \DescribePackage{color}  Allowed but ignored.
 % \pkg{xcolor} is then required as well.
@@ -22347,7 +22820,7 @@
 %
 % \part{lwarp-crop.sty}
 %
-% \section{Crop}
+% \section{crop}
 %
 % \DescribePackage{crop} Emulated.
 %
@@ -22371,8 +22844,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*cutwin>
 % \fi
@@ -22379,7 +22852,7 @@
 %
 % \part{lwarp-cutwin.sty}
 %
-% \section{Cutwin}
+% \section{cutwin}
 %
 % \DescribePackage{cutwin} Emulated.
 %
@@ -22435,7 +22908,7 @@
 %
 % \part{lwarp-dcolumn.sty}
 %
-% \section{Dcolumn}
+% \section{dcolumn}
 % \label{sec:dcolumn}
 %
 % \changes{v0.22}{2017/02/24}{\pkg{dcolumn}: Added.}
@@ -22456,8 +22929,6 @@
 %
 %
 %
-% \clearpage
-%
 % \iffalse
 %<*draftwatermark>
 % \fi
@@ -22464,7 +22935,7 @@
 
 % \part{lwarp-draftwatermark.sty}
 
-% \section{Draftwatermark}
+% \section{draftwatermark}
 % \label{sec:draftwatermark}
 %
 % \changes{v0.20}{2017/01/11}{\pkg{draftwatermark}: Added.}
@@ -22496,13 +22967,54 @@
 %
 %
 %
+%
+%
+%
 % \iffalse
+%<*ebook>
+% \fi
+%
+% \part{lwarp-ebook.sty}
+%
+% \section{ebook}
+%
+% \DescribePackage{ebook}
+% \pkg{ebook} is emulated.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{ebook}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{ebook}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\setcounter{secnumdepth}{0}
+\setcounter{tocdepth}{2}
+
+\providecommand{\pagefill}[1][0.001mm]{\noindent}
+
+\providecommand{\ebook}{
+\setcounter{secnumdepth}{0}
+\setcounter{tocdepth}{2}
+}
+%    \end{macrocode}
+%
+% \iffalse
+%</ebook>
+% \fi
+%
+%
+%
+%
+% \iffalse
 %<*ellipsis>
 % \fi
 
 % \part{lwarp-ellipsis.sty}
 
-% \section{Ellipsis}
+% \section{ellipsis}
 % \label{sec:ellipsis}
 %
 % \changes{v0.25}{2017/03/16}{\pkg{ellipsis}: Added.}
@@ -22524,8 +23036,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*emptypage>
 % \fi
@@ -22532,7 +23044,7 @@
 
 % \part{lwarp-emptypage.sty}
 
-% \section{Emptypage}
+% \section{emptypage}
 %
 % \DescribePackage{emptypage}
 % \pkg{emptypage} is ignored.
@@ -22553,8 +23065,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*endnotes>
 % \fi
@@ -22561,7 +23073,7 @@
 
 % \part{lwarp-endnotes.sty}
 %
-% \section{Endnotes}
+% \section{endnotes}
 %
 % \credits{John Lavagnino}
 %
@@ -22599,8 +23111,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*enumerate>
 % \fi
@@ -22607,7 +23119,7 @@
 %
 % \part{lwarp-enumerate.sty}
 %
-% \section{Enumerate}
+% \section{enumerate}
 % \label{sec:enumerate}
 %
 % \DescribePackage{enumerate}
@@ -22635,8 +23147,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*enumitem>
 % \fi
@@ -22643,7 +23155,7 @@
 %
 % \part{lwarp-enumitem.sty}
 %
-% \section{Enumitem}
+% \section{enumitem}
 % \label{sec:enumitem}
 %
 % \DescribePackage{enumitem}
@@ -22694,8 +23206,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*epigraph>
 % \fi
@@ -22702,7 +23214,7 @@
 
 % \part{lwarp-epigraph.sty}
 
-% \section{Epigraph}
+% \section{epigraph}
 % \label{sec:epigraph}
 %
 %
@@ -22760,7 +23272,7 @@
 \newcommand*{\undodrop}{}
 \newcommand{\cleartoevenpage}[1][]{}
 %    \end{macrocode}
-
+%
 % \iffalse
 %</epigraph>
 % \fi
@@ -22768,13 +23280,15 @@
 %
 %
 %
+%
+%
 % \iffalse
 %<*eso-pic>
 % \fi
-
+%
 % \part{lwarp-eso-pic.sty}
 
-% \section{Eso-pic}
+% \section{eso-pic}
 % \label{sec:eso-pic}
 %
 % \changes{v0.20}{2017/01/11}{\pkg{eso-pic}: Added.}
@@ -22815,7 +23329,6 @@
 %
 %
 %
-% \clearpage
 %
 % \iffalse
 %<*everypage>
@@ -22823,7 +23336,7 @@
 
 % \part{lwarp-everypage.sty}
 
-% \section{Everypage}
+% \section{everypage}
 % \label{sec:everypage}
 %
 % \changes{v0.20}{2017/01/11}{\pkg{everypage}: Added.}
@@ -22849,8 +23362,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*everyshi>
 % \fi
@@ -22857,7 +23370,7 @@
 %
 % \part{lwarp-everyshi.sty}
 %
-% \section{Everyshi}
+% \section{everyshi}
 %
 % \DescribePackage{everyshi} Emulated.
 %
@@ -22890,7 +23403,7 @@
 
 % \part{lwarp-extramarks.sty}
 
-% \section{Extramarks}
+% \section{extramarks}
 %
 % \DescribePackage{extramarks}
 % \pkg{extramarks} is not used.
@@ -22925,8 +23438,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*fancybox>
 % \fi
@@ -22933,7 +23446,7 @@
 %
 % \part{lwarp-fancybox.sty}
 %
-% \section{Fancybox}
+% \section{fancybox}
 % \label{sec:fancybox}
 %
 % \credits{Timothy Van Zandt}
@@ -23107,7 +23620,7 @@
 
 % \part{lwarp-fancyhdr.sty}
 
-% \section{Fancyhdr}
+% \section{fancyhdr}
 %
 % \DescribePackage{fancyhdr}
 % \pkg{fancyhdr} is nullified.
@@ -23152,8 +23665,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*fancyvrb>
 % \fi
@@ -23160,7 +23673,7 @@
 %
 % \part{lwarp-fancyvrb.sty}
 %
-% \section{Fancyvrb}
+% \section{fancyvrb}
 % \label{sec:fancyvrb}
 %
 % \credits{Timothy Van Zandt}
@@ -23456,8 +23969,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*figcaps>
 % \fi
@@ -23464,7 +23977,7 @@
 %
 % \part{lwarp-figcaps.sty}
 %
-% \section{Figcaps}
+% \section{figcaps}
 %
 % \DescribePackage{figcaps} Emulated.
 %
@@ -23501,7 +24014,7 @@
 %
 % \part{lwarp-fix2col.sty}
 %
-% \section{Fix2col}
+% \section{fix2col}
 %
 % \DescribePackage{fix2col}
 % \pkg{fix2col} is ignored.
@@ -23522,8 +24035,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*float>
 % \fi
@@ -23530,7 +24043,7 @@
 
 % \part{lwarp-float.sty}
 
-% \section{Float and \cs{newfloat}}
+% \section{float and \cs{newfloat}}
 % \label{sec:newfloat}
 % \label{sec:float}
 %
@@ -23620,8 +24133,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*floatflt>
 % \fi
@@ -23628,7 +24141,7 @@
 %
 % \part{lwarp-floatflt.sty}
 %
-% \section{Floatflt}
+% \section{floatflt}
 %
 % \DescribePackage{floatflt} Emulated.
 %
@@ -23674,8 +24187,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*floatpag>
 % \fi
@@ -23682,7 +24195,7 @@
 %
 % \part{lwarp-floatpag.sty}
 %
-% \section{Floatpag}
+% \section{floatpag}
 %
 % \DescribePackage{floatpag} Emulated.
 %
@@ -23707,8 +24220,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*floatrow>
 % \fi
@@ -23715,7 +24228,7 @@
 
 % \part{lwarp-floatrow.sty}
 
-% \section{Floatrow}
+% \section{floatrow}
 % \label{sec:floatrow}
 %
 % \DescribePackage{floatrow}
@@ -24047,8 +24560,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*flushend>
 % \fi
@@ -24055,7 +24568,7 @@
 %
 % \part{lwarp-flushend.sty}
 %
-% \section{Flushend}
+% \section{flushend}
 %
 % \DescribePackage{flushend} Emulated.
 %
@@ -24084,8 +24597,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*fncychap>
 % \fi
@@ -24092,7 +24605,7 @@
 
 % \part{lwarp-fncychap.sty}
 
-% \section{Fncychap}
+% \section{fncychap}
 %
 % \DescribePackage{fncychap}
 % \pkg{fncychap} is ignored.
@@ -24139,8 +24652,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*fontenc>
 % \fi
@@ -24147,7 +24660,7 @@
 %
 % \part{lwarp-fontenc.sty}
 %
-% \section{Fontenc}
+% \section{fontenc}
 %
 % \DescribePackage{fontenc}
 % Error if \pkg{fontenc} is loaded after \pkg{lwarp}.
@@ -24179,7 +24692,7 @@
 %
 % \part{lwarp-fontspec.sty}
 %
-% \section{Fontspec}
+% \section{fontspec}
 %
 % \DescribePackage{fontspec}
 % Error if \pkg{fontspec} is loaded after \pkg{lwarp}.
@@ -24205,8 +24718,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*footmisc>
 % \fi
@@ -24213,7 +24726,7 @@
 %
 % \part{lwarp-footmisc.sty}
 %
-% \section{Footmisc}
+% \section{footmisc}
 % \label{sec:footmisc}
 %
 % \credits{Robin Fairbairns}
@@ -24279,8 +24792,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*footnote>
 % \fi
@@ -24287,7 +24800,7 @@
 %
 % \part{lwarp-footnote.sty}
 %
-% \section{Footnote}
+% \section{footnote}
 %
 % \DescribePackage{footnote}
 % \pkg{footnote} is used with minor patches.
@@ -24362,7 +24875,7 @@
 
 % \part{lwarp-footnotehyper.sty}
 
-% \section{Footnotehyper}
+% \section{footnotehyper}
 %
 % \DescribePackage{footnotehyper}
 % \pkg{footnotehyper} is a \pkg{hyperref}-safe version of \pkg{footnote}.
@@ -24387,8 +24900,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*framed>
 % \fi
@@ -24395,7 +24908,7 @@
 
 % \part{lwarp-framed.sty}
 %
-% \section{Framed}
+% \section{framed}
 %
 % \credits{Donald Arseneau}
 %
@@ -24545,8 +25058,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*ftnright>
 % \fi
@@ -24553,7 +25066,7 @@
 
 % \part{lwarp-ftnright.sty}
 
-% \section{Ftnright}
+% \section{ftnright}
 %
 % \DescribePackage{ftnright}
 % \pkg{ftnright} is ignored.
@@ -24583,7 +25096,7 @@
 %
 % \part{lwarp-fullpage.sty}
 %
-% \section{Fullpage}
+% \section{fullpage}
 %
 % \DescribePackage{fullpage} Emulated.
 %
@@ -24603,15 +25116,55 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
+%<*fullwidth>
+% \fi
+%
+% \part{lwarp-fullwidth.sty}
+%
+% \section{fullwidth}
+%
+% \DescribePackage{fullwidth}
+% \pkg{fullwidth} is emulated.
+%
+% A minipage is used, of no \HTML\ width.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{fullwidth}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{fullwidth}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\newenvironment*{fullwidth}[1][]{%
+\minipagefullwidth%
+\minipage{\linewidth}%
+}
+{%
+\endminipage%
+}
+%    \end{macrocode}
+%
+% \iffalse
+%</fullwidth>
+% \fi
+%
+%
+%
+%
+%
+%
+% \iffalse
 %<*geometry>
 % \fi
 
 % \part{lwarp-geometry.sty}
 
-% \section{Geometry}
+% \section{geometry}
 %
 % \DescribePackage{geometry}
 % \pkg{geometry} is preloaded by \pkg{lwarp}, but must be nullified
@@ -24641,8 +25194,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*glossaries>
 % \fi
@@ -24649,7 +25202,7 @@
 %
 % \part{lwarp-glossaries.sty}
 
-% \section{Glossaries}
+% \section{glossaries}
 %
 % \DescribePackage{glossaries}
 % \limitsglossaries
@@ -24694,8 +25247,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*graphics>
 % \fi
@@ -24702,7 +25255,7 @@
 
 % \part{lwarp-graphics.sty}
 
-% \section{Graphics}
+% \section{graphics}
 %
 % \DescribePackage{graphics}
 % \pkg{graphics} is emulated.
@@ -24728,7 +25281,7 @@
 
 % \part{lwarp-graphicx.sty}
 
-% \section{Graphicx}
+% \section{graphicx}
 %
 % \DescribePackage{graphicx}
 % \pkg{graphicx} is emulated.
@@ -24747,8 +25300,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*grffile>
 % \fi
@@ -24755,7 +25308,7 @@
 %
 % \part{lwarp-grffile.sty}
 %
-% \section{Grffile}
+% \section{grffile}
 %
 % \DescribePackage{grffile}
 % \limitsgrffile
@@ -24786,8 +25339,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*hyperref>
 % \fi
@@ -24794,7 +25347,7 @@
 
 % \part{lwarp-hyperref.sty}
 
-% \section{Hyperref}
+% \section{hyperref}
 %
 % \DescribePackage{hyperref}
 % \pkg{hyperref} is emulated during \HTML\ output, and
@@ -25130,8 +25683,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*hyperxmp>
 % \fi
@@ -25138,7 +25691,7 @@
 %
 % \part{lwarp-hyperxmp.sty}
 %
-% \section{Hyperxmp}
+% \section{hyperxmp}
 %
 % \DescribePackage{hyperxmp} Emulated.
 %
@@ -25159,8 +25712,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*idxlayout>
 % \fi
@@ -25167,7 +25720,7 @@
 %
 % \part{lwarp-idxlayout.sty}
 %
-% \section{Idxlayout}
+% \section{idxlayout}
 %
 % \DescribePackage{idxlayout} Emulated.
 %
@@ -25208,8 +25761,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*indentfirst>
 % \fi
@@ -25216,7 +25769,7 @@
 
 % \part{lwarp-indentfirst.sty}
 
-% \section{Indentfirst}
+% \section{indentfirst}
 %
 % \DescribePackage{indentfirst}
 % \pkg{indentfirst} is ignored.
@@ -25244,7 +25797,7 @@
 %
 % \part{lwarp-inputenc.sty}
 %
-% \section{Inputenc}
+% \section{inputenc}
 %
 % \DescribePackage{inputenc}
 % Error if \pkg{inputenc} is loaded after \pkg{lwarp}.
@@ -25270,8 +25823,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*keyfloat>
 % \fi
@@ -25278,7 +25831,7 @@
 
 % \part{lwarp-keyfloat.sty}
 
-% \section{Keyfloat}
+% \section{keyfloat}
 % \label{sec:keyfloat}
 %
 % \DescribePackage{keyfloat}
@@ -25428,8 +25981,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*layout>
 % \fi
@@ -25436,7 +25989,7 @@
 
 % \part{lwarp-layout.sty}
 
-% \section{Layout}
+% \section{layout}
 %
 % \DescribePackage{layout}
 % \pkg{layout} is ignored.
@@ -25467,7 +26020,7 @@
 
 % \part{lwarp-letterspace.sty}
 
-% \section{Letterspace}
+% \section{letterspace}
 %
 % \DescribePackage{letterspace}
 % \pkg{letterspace} is a subset of microtype, which is pre-loaded by \pkg{lwarp}.
@@ -25496,8 +26049,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*lettrine>
 % \fi
@@ -25504,7 +26057,7 @@
 %
 % \part{lwarp-lettrine.sty}
 %
-% \section{Lettrine}
+% \section{lettrine}
 %
 % \credits{Daniel Flipo}
 %
@@ -25547,9 +26100,7 @@
 \newif\ifLettrineRealHeight
 
 \newcommand*{\LettrineTextFont}{\scshape}
-
 \newcommand*{\LettrineFontHook}{}
-
 \newcommand*{\LettrineFont}[1]{\InlineClass{lettrine}{#1}}
 \newcommand*{\LettrineFontEPS}[1]{\includegraphics[height=1.5ex]{#1}}
 %    \end{macrocode}
@@ -25562,8 +26113,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*lips>
 % \fi
@@ -25570,7 +26121,7 @@
 
 % \part{lwarp-lips.sty}
 
-% \section{Lips}
+% \section{lips}
 % \label{sec:lips}
 %
 % \changes{v0.25}{2017/03/16}{\pkg{lips}: Added.}
@@ -25606,8 +26157,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*listings>
 % \fi
@@ -25614,7 +26165,7 @@
 
 % \part{lwarp-listings.sty}
 
-% \section{Listings}
+% \section{listings}
 % \label{sec:listings}
 %
 % \credits{Carsten Heinz, Brooks Moses, Jobst Hoffmann}
@@ -25853,8 +26404,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*longtable>
 % \fi
@@ -25861,7 +26412,7 @@
 
 % \part{lwarp-longtable.sty}
 
-% \section{Longtable}
+% \section{longtable}
 % \label{sec:longtable}
 %
 %
@@ -25943,8 +26494,12 @@
 %
 %
 %
-% \clearpage
 %
+%
+%
+%
+%
+%
 % \iffalse
 %<*lscape>
 % \fi
@@ -25951,7 +26506,7 @@
 
 % \part{lwarp-lscape.sty}
 
-% \section{Lscape}
+% \section{lscape}
 %
 % \DescribePackage{lscape}
 % \pkg{lscape} is nullified.
@@ -25981,7 +26536,7 @@
 
 % \part{lwarp-ltcaption.sty}
 
-% \section{Ltcaption}
+% \section{ltcaption}
 % \label{sec:ltcaption}
 %
 %
@@ -26016,8 +26571,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*marginfit>
 % \fi
@@ -26024,7 +26579,7 @@
 %
 % \part{lwarp-marginfit.sty}
 %
-% \section{Marginfit}
+% \section{marginfit}
 %
 % \DescribePackage{marginfit} Emulated.
 %
@@ -26051,7 +26606,7 @@
 %
 % \part{lwarp-marginfix.sty}
 %
-% \section{Marginfix}
+% \section{marginfix}
 %
 % \DescribePackage{marginfix} Emulated.
 %
@@ -26085,8 +26640,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*marginnote>
 % \fi
@@ -26093,7 +26648,7 @@
 %
 % \part{lwarp-marginnote.sty}
 %
-% \section{Marginnote}
+% \section{marginnote}
 %
 % \DescribePackage{marginnote} Emulated.
 %
@@ -26131,7 +26686,7 @@
 
 % \part{lwarp-mcaption.sty}
 
-% \section{Mcaption}
+% \section{mcaption}
 %
 % \DescribePackage{mcaption}
 % \pkg{mcaption} is nullified.
@@ -26158,8 +26713,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*mdframed>
 % \fi
@@ -26166,7 +26721,7 @@
 
 % \part{lwarp-mdframed.sty}
 
-% \section{Mdframed}
+% \section{mdframed}
 % \label{sec:mdframed}
 %
 %
@@ -26191,7 +26746,8 @@
 % \element{div} of class |md<environmentname>|, or |mdframed| otherwise.
 %
 % Frame titles are placed into a \element{span} of class |mdframedtitle|.
-% Subtitles are in a \element{span} of class |mdframedsubtitle|, and likewise for subsubtitles.
+% Subtitles are in a \element{span} of class |mdframedsubtitle|,
+% and likewise for subsubtitles.
 %
 % Pre-existing hooks are used to patch extra functions before and after the frames.
 %
@@ -26657,8 +27213,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*metalogo>
 % \fi
@@ -26665,7 +27221,7 @@
 %
 % \part{lwarp-metalogo.sty}
 %
-% \section{Metalogo}
+% \section{metalogo}
 %
 % \DescribePackage{metalogo}
 % \pkg{metalogo} is ignored.
@@ -26695,8 +27251,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*microtype>
 % \fi
@@ -26703,7 +27259,7 @@
 
 % \part{lwarp-microtype.sty}
 
-% \section{Microtype}
+% \section{microtype}
 %
 % \DescribePackage{microtype}
 % \pkg{microtype} is pre-loaded by \pkg{lwarp}.
@@ -26759,8 +27315,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*moreverb>
 % \fi
@@ -26767,7 +27323,7 @@
 %
 % \part{lwarp-moreverb.sty}
 %
-% \section{Moreverb}
+% \section{moreverb}
 % \label{sec:moreverb}
 %
 %
@@ -26878,8 +27434,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*mparhack>
 % \fi
@@ -26886,7 +27442,7 @@
 %
 % \part{lwarp-mparhack.sty}
 %
-% \section{Mparhack}
+% \section{mparhack}
 %
 % \DescribePackage{mparhack} Emulated.
 %
@@ -26906,8 +27462,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*multicol>
 % \fi
@@ -26914,7 +27470,7 @@
 
 % \part{lwarp-multicol.sty}
 
-% \section{Multicol}
+% \section{multicol}
 % \label{sec:multicol}
 %
 %
@@ -26941,17 +27497,17 @@
 %    \begin{macrocode}
 \NewDocumentEnvironment{multicols}{s m o}
 %    \end{macrocode}
-% \HTML\ div class to contain everything:
+% \HTML\ \element{div} class to contain everything:
 %    \begin{macrocode}
 {
 \LWR at forcenewpage
 \BlockClass{multicols}
 %    \end{macrocode}
-% Optional \HTML\ div class for the heading:
+% Optional \HTML\ \element{div} class for the heading:
 %    \begin{macrocode}
 \IfValueTF{#3}{\begin{BlockClass}{multicolsheading}#3\end{BlockClass}}{}}
 %    \end{macrocode}
-% When done with the environment, close the div:
+% When done with the environment, close the \element{div}:
 %    \begin{macrocode}
 {\endBlockClass}
 %    \end{macrocode}
@@ -26990,8 +27546,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*multirow>
 % \fi
@@ -26998,18 +27554,143 @@
 
 % \part{lwarp-multirow.sty}
 
-% \section{Multirow}
+% \section{multirow}
 % \label{sec:multirow}
 %
 % \DescribePackage{multirow}
 % \pkg{multirow} is emulated during \HTML\ output, and
-% the \pkg{multirow} package is ignored.
-
+% used as-is while inside a \env{lateximage}.
+%
+% In a \env{lateximage}, the original print-mode versions are temporarily restored
+% by \cs{LWR at restoreorigformatting}.
+%
+% See \cref{sec:printmultirow} for the print-mode versions.
+%
 % \codehtml
 %    \begin{macrocode}
-\LWR at ProvidesPackageDrop{multirow}
+\LWR at ProvidesPackagePass{multirow}
 %    \end{macrocode}
-
+%
+% Remember the print-mode version:
+%    \begin{macrocode}
+\LetLtxMacro\LWR at origmultirow\multirow
+%    \end{macrocode}
+%
+% \begin{macro}{\LWR at multirowborder}
+% Set to |left| or |right| to create a thick border for the cell,
+% for use by \pkg{bigdelim}:
+%    \begin{macrocode}
+\newcommand{\LWR at multirowborder}{}
+%    \end{macrocode}
+% \end{macro}
+%
+%
+% \subsection{Multirow}
+%
+% \begin{macro}{\LWR at tabledatamultirowtag}
+%   \oarg{vpos} \marg{numrows} \oarg{bigstruts} \marg{width} \oarg{fixup} \marg{text}
+% \changes{v0.19}{2015/05/28}{Added optional args.}
+% \changes{v0.39}{2017/08/30}{Add: New optional \protect\texttt{vpos} argument.}
+% \changes{v0.39}{2017/08/30}{Add: Supports left/right border for \pkg{bigdelim}.}
+% \changes{v0.39}{2017/08/30}{Fix: Long text argument.}
+%    \begin{macrocode}
+\RenewDocumentCommand{\multirow}{O{c} m o m o +m}%
+{%
+\LWR at traceinfo{*** multirow #1 #2 #4}
+\LWR at maybenewtablerow%
+%    \end{macrocode}
+% Print the start of a new table data cell:
+%    \begin{macrocode}
+\LWR at htmltag{td rowspan="#2" %
+%    \end{macrocode}
+% The vertical alignment, if given:
+%    \begin{macrocode}
+\IfValueT{#1}{%
+\ifstrequal{#1}{b}{style="vertical-align:bottom" }{}%
+\ifstrequal{#1}{t}{style="vertical-align:top" }{}%
+}%
+%    \end{macrocode}
+% The left/right border, if given:
+%    \begin{macrocode}
+\ifdefvoid{\LWR at multirowborder}{}{%
+style="border-\LWR at multirowborder: 2px solid black" %
+}
+%    \end{macrocode}
+% A class adds the column spec and the rule:
+%    \begin{macrocode}
+class="td%
+%    \end{macrocode}
+% Append this column's spec:
+%    \begin{macrocode}
+\StrChar{\LWR at tablecolspec}{\theLWR at tablecolspos}%
+%    \end{macrocode}
+% If this column has a cmidrule, add ``rule'' to the end of the \HTML\ class tag:
+%    \begin{macrocode}
+\ifthenelse{\equal{\LWR at getexparray{LWR at midrules}{\theLWR at tablecolspos}}{Y}}{rule}{}%
+"{}}
+%    \end{macrocode}
+% While printing the text, redefine |\\| to generate a new line
+%    \begin{macrocode}
+\begingroup \LetLtxMacro{\\}{\LWR at endofline} #6 \endgroup
+\LWR at stoppars%
+\global\boolfalse{LWR at intabularmetadata}%
+\renewcommand{\LWR at multirowborder}{}%
+\LWR at traceinfo{*** multirow done}%
+}%
+%    \end{macrocode}
+% \end{macro}
+%
+%
+% \subsection{Combined multicolumn and multirow}
+% \label{sec:multicolumnmultirow}
+%
+% \limitsmulticolumnrow
+% \index{multicolumn>with multirow}
+% \index{multirow>with multicolumn}
+% \index{tabular>multicolumn with multirow}
+%
+%
+% \begin{macro}{\multicolumnrow}
+%   \marg{1:cols} \marg{2:halign}
+%   \oarg{3:vpos} \marg{4:numrows} \oarg{5:bigstruts}
+%       \marg{6:width} \oarg{7:fixup} \marg{8:text}
+%
+% \changes{v0.39}{2017/08/30}{Added.}
+%
+%    \begin{macrocode}
+\RenewDocumentCommand{\multicolumnrow}{m m O{} m O{} m O{} +m}{%
+%    \end{macrocode}
+% Figure out how many extra \HTML\ columns to add for |@| and |!| columns:
+%    \begin{macrocode}
+\LWR at tabularhtmlcolumns{\theLWR at tablecolspos}{#1}
+%    \end{macrocode}
+% Create the multicolumn/multirow tag:
+%    \begin{macrocode}
+\begingroup\LetLtxMacro{\\}{\LWR at endofline}%
+\LWR at domulticolumn[#3][#4]{\theLWR at tabhtmlcoltotal}{#2}{#8}%
+\endgroup%
+%    \end{macrocode}
+% Move to the next \LaTeX\ column:
+%    \begin{macrocode}
+\addtocounter{LWR at tablecolspos}{#1}%
+\addtocounter{LWR at tablecolspos}{-1}%
+%    \end{macrocode}
+% Skip any trailing |@| or |!| columns for this cell:
+%    \begin{macrocode}
+\booltrue{LWR at skipatbang}%
+}
+%    \end{macrocode}
+% \end{macro}
+%
+%
+%    \begin{macrocode}
+\appto{\LWR at restoreorigformatting}{%
+\LetLtxMacro\multirow\LWR at origmultirow%
+\renewcommand{\multicolumnrow}{\LWR at origmulticolumnrow}%
+}
+%    \end{macrocode}
+%
+%
 % \iffalse
 %</multirow>
 % \fi
@@ -27016,6 +27697,8 @@
 %
 %
 %
+%
+%
 % \iffalse
 %<*nameref>
 % \fi
@@ -27022,7 +27705,7 @@
 
 % \part{lwarp-nameref.sty}
 
-% \section{Nameref}
+% \section{nameref}
 %
 % \DescribePackage{nameref}
 % \pkg{nameref} is emulated by \pkg{lwarp}.
@@ -27047,8 +27730,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*needspace>
 % \fi
@@ -27055,7 +27738,7 @@
 
 % \part{lwarp-needspace.sty}
 
-% \section{Needspace}
+% \section{needspace}
 %
 % \DescribePackage{needspace}
 % \pkg{needspace} is not used during \HTML\ conversion.
@@ -27085,7 +27768,7 @@
 %
 % \part{lwarp-newclude.sty}
 %
-% \section{Newclude}
+% \section{newclude}
 %
 % \DescribePackage{newclude}
 % Error if \pkg{newclude} is loaded after \pkg{lwarp}.
@@ -27112,8 +27795,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*newunicodechar>
 % \fi
@@ -27120,7 +27803,7 @@
 %
 % \part{lwarp-newunicodechar.sty}
 %
-% \section{Newunicodechar}
+% \section{newunicodechar}
 %
 % \DescribePackage{newunicodechar}
 % Error if \pkg{newunicodechar} is loaded after \pkg{lwarp}.
@@ -27152,7 +27835,7 @@
 
 % \part{lwarp-nextpage.sty}
 
-% \section{Nextpage}
+% \section{nextpage}
 %
 % \DescribePackage{nextpage}
 % \pkg{nextpage} is nullified.
@@ -27179,8 +27862,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*nonumonpart>
 % \fi
@@ -27187,7 +27870,7 @@
 %
 % \part{lwarp-nonumonpart.sty}
 %
-% \section{Nonumonpart}
+% \section{nonumonpart}
 %
 % \DescribePackage{nonumonpart}
 % \pkg{nonumonpart} is ignored.
@@ -27213,7 +27896,7 @@
 %
 % \part{lwarp-nopageno.sty}
 %
-% \section{Nopageno}
+% \section{nopageno}
 %
 % \DescribePackage{nopageno}
 % \pkg{nopageno} is ignored.
@@ -27236,8 +27919,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*nowidow>
 % \fi
@@ -27244,7 +27927,7 @@
 
 % \part{lwarp-nowidow.sty}
 
-% \section{Nowidow}
+% \section{nowidow}
 %
 % \DescribePackage{nowidow}
 % \pkg{nowidow} is not used during \HTML\ conversion.
@@ -27284,8 +27967,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*ntheorem>
 % \fi
@@ -27292,7 +27975,7 @@
 
 % \part{lwarp-ntheorem.sty}
 %
-% \section{Ntheorem}
+% \section{ntheorem}
 %
 % \label{sec:ntheorem}
 %
@@ -27858,8 +28541,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*pagenote>
 % \fi
@@ -27866,7 +28549,7 @@
 
 % \part{lwarp-pagenote.sty}
 
-% \section{Pagenote}
+% \section{pagenote}
 %
 % \DescribePackage{pagenote}
 % \limitspagenote
@@ -27895,7 +28578,7 @@
 %
 % \part{lwarp-paralist.sty}
 %
-% \section{Paralist}
+% \section{paralist}
 % \label{sec:paralist}
 %
 % \DescribePackage{paralist}
@@ -27926,8 +28609,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*parskip>
 % \fi
@@ -27934,7 +28617,7 @@
 
 % \part{lwarp-parskip.sty}
 
-% \section{Parskip}
+% \section{parskip}
 %
 % \DescribePackage{parskip}
 % \pkg{parskip} is ignored.
@@ -27964,7 +28647,7 @@
 %
 % \part{lwarp-pdflscape.sty}
 %
-% \section{Pdflscape}
+% \section{pdflscape}
 %
 % \DescribePackage{pdflscape} Emulated.
 %
@@ -27986,8 +28669,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*pdfsync>
 % \fi
@@ -27994,7 +28677,7 @@
 %
 % \part{lwarp-pdfsync.sty}
 %
-% \section{Pdfsync}
+% \section{pdfsync}
 %
 % \DescribePackage{pdfsync} Emulated.
 %
@@ -28025,7 +28708,7 @@
 %
 % \part{lwarp-placeins.sty}
 %
-% \section{Placeins}
+% \section{placeins}
 %
 % \DescribePackage{placeins}
 % \pkg{placeins} is not used during \HTML\ conversion.
@@ -28051,8 +28734,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*prelim2e>
 % \fi
@@ -28059,7 +28742,7 @@
 %
 % \part{lwarp-prelim2e.sty}
 %
-% \section{Prelim2e}
+% \section{prelim2e}
 %
 % \DescribePackage{prelim2e} Emulated.
 %
@@ -28085,8 +28768,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*ragged2e>
 % \fi
@@ -28093,7 +28776,7 @@
 %
 % \part{lwarp-ragged2e.sty}
 %
-% \section{Ragged2e}
+% \section{ragged2e}
 %
 % \DescribePackage{ragged2e}
 % \pkg{ragged2e} is not used during \HTML\ conversion.
@@ -28140,8 +28823,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*realscripts>
 % \fi
@@ -28148,7 +28831,7 @@
 %
 % \part{lwarp-realscripts.sty}
 %
-% \section{Realscripts}
+% \section{realscripts}
 %
 % \DescribePackage{realscripts}
 % \pkg{realscripts} is emulated.
@@ -28207,8 +28890,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*relsize>
 % \fi
@@ -28215,7 +28898,7 @@
 %
 % \part{lwarp-relsize.sty}
 
-% \section{Relsize}
+% \section{relsize}
 %
 % \DescribePackage{relsize}
 % \pkg{relsize} is patched for use by \pkg{lwarp}.
@@ -28239,7 +28922,7 @@
 \LetLtxMacro\LWR at origtextsmaller\textsmaller
 \let\LWR at textscale\textscale
 
-\renewcommand*{\LWR at restoreorigrelsize}{%
+\appto{\LWR at restoreorigformatting}{%
 \let\relsize\LWR at origrelsize%
 \LetLtxMacro\larger\LWR at origlarger%
 \LetLtxMacro\smaller\LWR at origsmaller%
@@ -28279,8 +28962,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*romanbar>
 % \fi
@@ -28287,7 +28970,7 @@
 %
 % \part{lwarp-romanbar.sty}
 
-% \section{Romanbar}
+% \section{romanbar}
 %
 % \DescribePackage{romanbar}
 % \pkg{romanbar} is patched for use by \pkg{lwarp}.
@@ -28322,7 +29005,7 @@
 %
 % \part{lwarp-romanbarpagenumber.sty}
 %
-% \section{Romanbarpagenumber}
+% \section{romanbarpagenumber}
 %
 % \DescribePackage{romanbarpagenumber}
 % \pkg{romanbarpagenumber} is ignored.
@@ -28342,8 +29025,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*rotating>
 % \fi
@@ -28350,7 +29033,7 @@
 
 % \part{lwarp-rotating.sty}
 
-% \section{Rotating}
+% \section{rotating}
 %
 % \DescribePackage{rotating}
 % \pkg{rotating} is emulated during \HTML\ output, and
@@ -28387,8 +29070,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*rotfloat>
 % \fi
@@ -28395,7 +29078,7 @@
 
 % \part{lwarp-rotfloat.sty}
 
-% \section{Rotfloat}
+% \section{rotfloat}
 %
 % \DescribePackage{rotfloat}
 % \pkg{rotfloat} is emulated during \HTML\ output, and
@@ -28451,8 +29134,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*savetrees>
 % \fi
@@ -28459,7 +29142,7 @@
 %
 % \part{lwarp-savetrees.sty}
 %
-% \section{Savetrees}
+% \section{savetrees}
 %
 % \DescribePackage{savetrees} Emulated.
 %
@@ -28487,7 +29170,7 @@
 %
 % \part{lwarp-scalefnt.sty}
 
-% \section{Scalefnt}
+% \section{scalefnt}
 %
 % \DescribePackage{scalefnt}
 % \pkg{scalefnt} is ignored.
@@ -28512,8 +29195,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*setspace>
 % \fi
@@ -28520,7 +29203,7 @@
 
 % \part{lwarp-setspace.sty}
 
-% \section{Setspace}
+% \section{setspace}
 %
 % \DescribePackage{setspace}
 % \pkg{setspace} is not used during \HTML\ conversion.
@@ -28587,7 +29270,7 @@
 
 % \part{lwarp-shadow.sty}
 
-% \section{Shadow}
+% \section{shadow}
 %
 % \DescribePackage{shadow}
 % \pkg{shadow} is emulated.
@@ -28620,8 +29303,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*showidx>
 % \fi
@@ -28628,7 +29311,7 @@
 
 % \part{lwarp-showidx.sty}
 
-% \section{Showidx}
+% \section{showidx}
 %
 % \DescribePackage{showidx}
 % \pkg{showidx} is ignored.
@@ -28656,7 +29339,7 @@
 
 % \part{lwarp-showkeys.sty}
 
-% \section{Showkeys}
+% \section{showkeys}
 %
 % \DescribePackage{showkeys}
 % \pkg{showkeys} is ignored.
@@ -28682,8 +29365,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*sidecap>
 % \fi
@@ -28690,7 +29373,7 @@
 
 % \part{lwarp-sidecap.sty}
 
-% \section{Sidecap}
+% \section{sidecap}
 %
 % \DescribePackage{sidecap}
 % \pkg{sidecap} is nullified.
@@ -28742,8 +29425,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*sidenotes>
 % \fi
@@ -28750,7 +29433,7 @@
 %
 % \part{lwarp-sidenotes.sty}
 %
-% \section{Sidenotes}
+% \section{sidenotes}
 %
 % \credits{Andy Thomas, Oliver Schebaum}
 %
@@ -28840,8 +29523,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*siunitx>
 % \fi
@@ -28848,7 +29531,7 @@
 %
 % \part{lwarp-siunitx.sty}
 
-% \section{Siunitx}
+% \section{siunitx}
 %
 % \DescribePackage{siunitx}
 % \pkg{siunitx} is patched for use by \pkg{lwarp}.
@@ -28883,8 +29566,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*soul>
 % \fi
@@ -28891,7 +29574,7 @@
 %
 % \part{lwarp-soul.sty}
 %
-% \section{Soul}
+% \section{soul}
 %
 % \credits{Melchior FRANZ}
 %
@@ -28989,8 +29672,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*subfig>
 % \fi
@@ -28997,7 +29680,7 @@
 
 % \part{lwarp-subfig.sty}
 %
-% \section{Subfig}
+% \section{subfig}
 %
 % \credits{Steven Douglas Cochran}
 %
@@ -29288,15 +29971,104 @@
 %
 %
 %
-% \clearpage
 %
+%
+%
 % \iffalse
+%<*supertabular>
+% \fi
+
+% \part{lwarp-supertabular.sty}
+
+% \section{supertabular}
+% \label{sec:supertabular}
+%
+%
+% \DescribePackage{supertabular}
+% \pkg{supertabular} is emulated during \HTML\ output.
+%
+% \changes{v0.39}{2017/08/30}{\pkg{supertabular}: Added.}
+%
+% \codehtml
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{supertabular}
+%    \end{macrocode}
+%
+% \limitssupertabular
+%
+%
+%    \begin{macrocode}
+\newcommand{\LWRST at firsthead}{}
+
+\newcommand{\tablefirsthead}[1]{%
+    \long\gdef\LWRST at firsthead{#1}%
+}
+
+\newcommand{\tablehead}[1]{}
+\newcommand{\tabletail}[1]{}
+
+\newcommand{\LWRST at lasttail}{}
+
+\newcommand{\tablelasttail}[1]{%
+    \long\gdef\LWRST at lasttail{#1}%
+}
+
+\newcommand{\tablecaption}[2][]{%
+    \long\gdef\LWRST at caption{\caption[#1]{#2}}%
+}
+
+\let\topcaption\tablecaption
+\let\bottomcaption\tablecaption
+
+\global\let\LWRST at caption\relax
+
+\newcommand*{\shrinkheight}[1]{}
+
+\NewDocumentEnvironment{supertabular}{s o m}
+{
+\LWR at traceinfo{supertabular}
+\table
+\LWRST at caption
+\begin{tabular}{#3}
+\TabularMacro\ifdefvoid{\LWRST at firsthead}%
+{\LWR at getmynexttoken}%
+{\expandafter\LWR at getmynexttoken\LWRST at firsthead}%
+}
+{%
+\ifdefvoid{\LWRST at lasttail}%
+{}%
+{%
+\TabularMacro\ResumeTabular%
+\LWRST at lasttail%
+}%
+\end{tabular}
+\endtable
+\LWR at traceinfo{supertabular done}
+}
+
+\NewDocumentEnvironment{mpsupertabular}{s o m}
+{\minipage{\linewidth}\supertabular{#3}}
+{\endsupertabular\endminipage}
+%    \end{macrocode}
+
+
+% \iffalse
+%</supertabular>
+% \fi
+%
+%
+%
+%
+%
+%
+%
+% \iffalse
 %<*syntonly>
 % \fi
 %
 % \part{lwarp-syntonly.sty}
 %
-% \section{Syntonly}
+% \section{syntonly}
 %
 % \DescribePackage{syntonly} Emulated.
 %
@@ -29326,8 +30098,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*tabularx>
 % \fi
@@ -29334,7 +30106,7 @@
 
 % \part{lwarp-tabularx.sty}
 
-% \section{Tabularx}
+% \section{tabularx}
 %
 % \DescribePackage{tabularx}
 % \pkg{tabularx} is emulated by \pkg{lwarp}.
@@ -29365,8 +30137,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*tabulary>
 % \fi
@@ -29373,7 +30145,7 @@
 
 % \part{lwarp-tabulary.sty}
 
-% \section{Tabulary}
+% \section{tabulary}
 %
 % \DescribePackage{tabulary}
 % \pkg{tabulary} is emulated by \pkg{lwarp}.
@@ -29410,17 +30182,50 @@
 %
 %
 %
+% \iffalse
+%<*textarea>
+% \fi
 %
+% \part{lwarp-textarea.sty}
 %
-% \clearpage
+% \section{textarea}
 %
+% \DescribePackage{textarea}
+% \pkg{textarea} is emulated.
+%
+% \changes{v0.39}{2017/08/27}{\pkg{textarea}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{textarea}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\newcommand\StartFromTextArea{}
+\newcommand\StartFromHeaderArea{}
+\newcommand*\RestoreTextArea{}
+\newcommand*\ExpandTextArea[1][*]{}
+\let\NCC at restoretextarea\@empty
+%    \end{macrocode}
+%
 % \iffalse
+%</textarea>
+% \fi
+%
+%
+%
+%
+%
+%
+%
+% \iffalse
 %<*textcomp>
 % \fi
 %
 % \part{lwarp-textcomp.sty}
 
-% \section{Textcomp}
+% \section{textcomp}
 %
 % \DescribePackage{textcomp}
 % \pkg{textcomp} is patched for use by \pkg{lwarp}.
@@ -29496,12 +30301,9 @@
 }
 %    \end{macrocode}
 %
-% \begin{macro}{\LWR at restoreorigtextcomp}
-% Called from \cs{restoreoriginalformatting} when a \env{lateximage} is begun.
+% When a \env{lateximage} is begun:
 %    \begin{macrocode}
-\let\LWR at restoreorigtextcomp\relax
-
-\newcommand*{\LWR at restoreorigtextcomp}{%
+\appto{\LWR at restoreorigformatting}{%
 \let\textdegree\LWR at origtextdegree%
 \let\textcelsius\LWR at origtextcelsius%
 \let\textohm\LWR at origtextohm%
@@ -29522,7 +30324,6 @@
 \LetLtxMacro\textcircled\LWR at origtextcircled%
 }
 %    \end{macrocode}
-% \end{macro}
 %
 %
 % \iffalse
@@ -29533,8 +30334,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*textpos>
 % \fi
@@ -29541,7 +30342,7 @@
 
 % \part{lwarp-textpos.sty}
 
-% \section{Textpos}
+% \section{textpos}
 % \label{sec:textpos}
 %
 % \changes{v0.20}{2017/01/11}{\pkg{textpos}: Added.}
@@ -29581,8 +30382,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*theorem>
 % \fi
@@ -29589,7 +30390,7 @@
 
 % \part{lwarp-theorem.sty}
 %
-% \section{Theorem}
+% \section{theorem}
 %
 % \credits{Frank Mittelbach}
 %
@@ -29803,8 +30604,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*threeparttable>
 % \fi
@@ -29811,7 +30612,7 @@
 
 % \part{lwarp-threeparttable.sty}
 
-% \section{Threeparttable}
+% \section{threeparttable}
 % \label{sec:threeparttable}
 %
 %
@@ -29881,8 +30682,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*tikz>
 % \fi
@@ -29889,7 +30690,7 @@
 
 % \part{lwarp-tikz.sty}
 %
-% \section{Tikz}
+% \section{tikz}
 %
 % \DescribePackage{tikz}
 % \pkg{tikz} is supported.
@@ -29969,8 +30770,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*titleps>
 % \fi
@@ -29977,7 +30778,7 @@
 
 % \part{lwarp-titleps.sty}
 
-% \section{Titleps}
+% \section{titleps}
 %
 % \DescribePackage{titleps}
 % \pkg{titleps} is loaded and used by \pkg{lwarp} during \HTML\ output.
@@ -30167,7 +30968,7 @@
 %
 % \part{lwarp-titleref.sty}
 %
-% \section{Titleref}
+% \section{titleref}
 %
 % \DescribePackage{titleref}
 % \pkg{titleref} is superceded by \pkg{hyperref} and \pkg{nameref}.
@@ -30188,8 +30989,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*titlesec>
 % \fi
@@ -30196,7 +30997,7 @@
 
 % \part{lwarp-titlesec.sty}
 
-% \section{Titlesec}
+% \section{titlesec}
 %
 % \DescribePackage{titlesec}
 % \pkg{titlesec} is emulated.
@@ -30290,22 +31091,16 @@
 % ^^A \end{macro}
 
 % ^^A \begin{macro}{\iftitlemeasuring} \marg{true} \marg{false}
+% ^^A \begin{macro}{\assignpagestyle} \marg{command} \marg{pagestyle}
+% ^^A \begin{macro}{\titleclass} \marg{name} \oarg{startlevel} \marg{class} \oarg{cmd}
 %    \begin{macrocode}
 \newcommand{\iftitlemeasuring}[2]{#2}
-%    \end{macrocode}
-% ^^A \end{macro}
-
-% ^^A \begin{macro}{\assignpagestyle} \marg{command} \marg{pagestyle}
-%    \begin{macrocode}
 \newcommand{\assignpagestyle}[2]{#2}
-%    \end{macrocode}
-% ^^A \end{macro}
-
-% ^^A \begin{macro}{\titleclass} \marg{name} \oarg{startlevel} \marg{class} \oarg{cmd}
-%    \begin{macrocode}
 \NewDocumentCommand{\titleclass}{m o m o}
 %    \end{macrocode}
 % ^^A \end{macro}
+% ^^A \end{macro}
+% ^^A \end{macro}
 
 % \iffalse
 %</titlesec>
@@ -30315,8 +31110,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*titletoc>
 % \fi
@@ -30323,7 +31118,7 @@
 
 % \part{lwarp-titletoc.sty}
 
-% \section{Titletoc}
+% \section{titletoc}
 %
 % \DescribePackage{titletoc}
 % \pkg{titletoc} is emulated.
@@ -30436,8 +31231,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*titling>
 % \fi
@@ -30444,18 +31239,17 @@
 
 % \part{lwarp-titling.sty}
 
-% \section{Titling}
+% \section{titling}
 %
 % \DescribePackage{titling}
-% \pkg{titling} is used by \pkg{lwarp}.
-% The following patches are not needed by \pkg{lwarp},
-% but are required if the user requests \pkg{titling}.
 %
+% \limitstitlepage
+%
 % The various \pkg{titling} footnote restyling commands have no effect.
 %
 % \changes{v0.20}{2017/01/22}{\pkg{titling}: Improved compatibility.}
+% \changes{v0.39}{2017/09/05}{\pkg{titling}: Improved compatibility.}
 %
-%
 % Pass all options to \pkg{lwarp-titling}:
 
 % \codehtml
@@ -30465,38 +31259,270 @@
 %
 %
 % Patch \cs{@bsmtitlempty}:
+% \marginpar{\hfill\cs{@bsmtitlempty}}
 %    \begin{macrocode}
 \let\LWR at orig@bsmtitlempty\@bsmtitlempty
 \renewcommand*{\@bsmtitlempty}{%
 \LWR at orig@bsmtitlempty%
-\global\let\published\relax%
-\global\let\subtitle\relax%
 }
 %    \end{macrocode}
 %
 %
 % Patch \cs{keepthetitle}:
+% \marginpar{\hfill\cs{keepthetitle}}
 %    \begin{macrocode}
 \let\LWR at origkeepthetitle\keepthetitle
 \renewcommand*{\keepthetitle}{%
 \LWR at orig@keepthetitle%
-\global\let\@published\@empty%
-\global\let\@subtitle\@empty%
 }
 %    \end{macrocode}
 %
 %
 % Patch \cs{killtitle}:
+% \marginpar{\hfill\cs{killtitle}}
 %    \begin{macrocode}
 \let\LWR at origkilltitle\killtitle
 \renewcommand*{\killtitle}{%
 \LWR at orig@killtitle%
-\global\let\thepublished\relax%
-\global\let\thesubtitle\relax%
 }
 %    \end{macrocode}
 %
 %
+%
+% \begin{environment}{titlingpage}
+%
+% \changes{v0.39}{2017/09/02}{Clear pending footnotes.}
+%    \begin{macrocode}
+\renewenvironment*{titlingpage}
+{%
+%    \end{macrocode}
+% Start an \HTML\ titlepage div:
+%    \begin{macrocode}
+\LWR at printpendingfootnotes
+\begin{titlepage}
+%    \end{macrocode}
+% Prepare for a custom version of \cs{maketitle} inside the \env{titlingpage}:
+%    \begin{macrocode}
+\LWR at maketitlesetup
+\let\maketitle\LWR at titlingmaketitle
+}
+{
+%    \end{macrocode}
+% At the end of the environment,
+% end the \HTML\ titlepage div:
+%    \begin{macrocode}
+\end{titlepage}
+}
+%    \end{macrocode}
+% \end{environment}
+%
+%
+%
+% Patch the pre/post title/author/date to add \HTML\ tags,
+% then initilize:
+%
+% \changes{v0.39}{2017/09/03}{\pkg{titling}: Removed extraneous \protect\env{center} environments.}
+%    \begin{macrocode}
+
+\pretitle{}
+\posttitle{}
+
+\preauthor{}
+\postauthor{}
+
+\predate{}
+\postdate{}
+%    \end{macrocode}
+%
+%
+%
+%\begin{macro}{\LWR at maketitlesetup} Patches \cs{thanks} macros.
+%
+%    \begin{macrocode}
+\renewcommand*{\LWR at maketitlesetup}{%
+%    \end{macrocode}
+%
+% Redefine the footnote mark:
+%
+%    \begin{macrocode}
+\def\@makefnmark{\textsuperscript{\@thefnmark}}
+%    \end{macrocode}
+%
+% \begin{center}
+% \begin{minipage}{.7\linewidth}
+% \cs{thefootnote} \goesto\ \cs{nameuse}\{arabic\}\{footnote\}, or
+%
+% \cs{thefootnote} \goesto\  \cs{nameuse}\{fnsymbol\}\{footnote\}
+% \end{minipage}
+% \end{center}
+%
+% Redefine the footnote text:
+%
+%    \begin{macrocode}
+\long\def\@makefntext##1{%
+%    \end{macrocode}
+% Make the footnote mark and some extra horizontal space for the tags:
+%    \begin{macrocode}
+\makethanksmark \LWR at orighspace{1in}
+%    \end{macrocode}
+% \begin{center}
+% \begin{minipage}{.7\linewidth}
+% \cs{makethanksmark} \goesto\  \cs{thanksfootmark} \goesto\  \cs{tamark} \goesto\
+%
+% \hfill \cs{@thefnmark} \goesto\  \cs{itshape} a (or similar)
+% \end{minipage}
+% \end{center}
+%
+% Print the text:
+%    \begin{macrocode}
+##1%
+}%
+}
+%    \end{macrocode}
+% \end{macro}
+%
+%
+%\begin{macro}{\maketitle}
+%   \HTML\ mode.
+%   Creates an \HTML\ titlepage div
+%   and typesets the title, etc.
+%
+% Code from the \pkg{titling} package is adapted, simplified, and
+% modified for \HTML\ output.
+%
+%    \begin{macrocode}
+\renewcommand*{\maketitle}{%
+%    \end{macrocode}
+% An \HTML\ titlepage \element{div} is used for all classes.
+%    \begin{macrocode}
+\begin{titlepage}
+%    \end{macrocode}
+% Select which kind of footnote marks to use:
+%    \begin{macrocode}
+\@bsmarkseries
+%    \end{macrocode}
+% Set up special patches:
+%    \begin{macrocode}
+\LWR at maketitlesetup
+%    \end{macrocode}
+% Typeset the title, etc:
+%    \begin{macrocode}
+\@maketitle
+%    \end{macrocode}
+% Immediately generate any |\thanks| footnotes:
+%    \begin{macrocode}
+\@thanks
+%    \end{macrocode}
+% Close the \HTML\ titlepage div:
+%    \begin{macrocode}
+\end{titlepage}
+%    \end{macrocode}
+% Reset the footnote counter:
+%    \begin{macrocode}
+\@bscontmark
+}
+%    \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\@maketitle}
+%  Typesets the title, etc.  Patched for \HTML.
+%
+% \changes{v0.39}{2017/09/01}{Supports \protect\pkg{authblk} with
+% \element{div}s of class \attribute{oneauthor} instead of tabular.}
+% \changes{v0.39}{2017/09/03}{Removed minipages.}
+% \changes{v0.39}{2017/09/04}{\pkg{titling} version.}
+%
+%    \begin{macrocode}
+\DeclareDocumentCommand{\@maketitle}{}{%
+    \maketitlehooka
+    {
+        \LWR at stoppars\LWR at htmltag{h1}
+        \@bspretitle \@title \@bsposttitle
+        \LWR at htmltag{/h1}\LWR at startpars
+    }
+    \maketitlehookb
+    {
+        \begin{BlockClass}{author}
+        \renewcommand{\and}{
+            \end{BlockClass}
+            \begin{BlockClass}{oneauthor}
+        }
+        \begin{BlockClass}{oneauthor}
+        \@bspreauthor \@author  \@bspostauthor
+        \end{BlockClass}
+        \end{BlockClass}
+    }
+    \maketitlehookc
+    {
+        \begin{BlockClass}{titledate}
+        \@bspredate \@date \@bspostdate
+        \end{BlockClass}
+    }
+    \maketitlehookd
+}
+%    \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\LWR at titlingmaketitle}
+% \cs{maketitle} for use inside an \HTML\ \env{titlingpage} environment.
+%    \begin{macrocode}
+\renewcommand*{\LWR at titlingmaketitle}{%
+%    \end{macrocode}
+% Keep pending footnotes out of the title block:
+%    \begin{macrocode}
+\@thanks
+%    \end{macrocode}
+% Select which kind of footnote marks to use:
+%    \begin{macrocode}
+\@bsmarkseries
+%    \end{macrocode}
+% Set up special patches:
+%    \begin{macrocode}
+\LWR at maketitlesetup
+%    \end{macrocode}
+% Typeset the title, etc:
+%    \begin{macrocode}
+\@maketitle
+%    \end{macrocode}
+% Immediately generate any |\thanks| footnotes:
+%    \begin{macrocode}
+\@thanks
+%    \end{macrocode}
+% Reset the footnote counter:
+%    \begin{macrocode}
+\@bscontmark
+}
+%    \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \begin{macro}{\thanksmarkseries} \marg{series}
+% \changes{v0.39}{2017/09/03}{Removed minipage footnotes.}
+%
+% Sets the type of footnote marks used by |\thanks|,
+% where type is `arabic', `roman', `fnsymbol', etc.
+%    \begin{macrocode}
+\renewcommand{\thanksmarkseries}[1]{%
+\def\@bsmarkseries{\renewcommand{\thefootnote}{\@nameuse{#1}{footnote}}}%
+}
+%    \end{macrocode}
+% \end{macro}
+%
+%
+% Set default titlepage thanks footnote marks.  See \cref{sec:titlehtml}.
+%    \begin{macrocode}
+\if at titlepage
+   \thanksmarkseries{arabic}
+\else
+   \thanksmarkseries{fnsymbol}
+\fi
+%    \end{macrocode}
+%
+%
+%
 % \iffalse
 %</titling>
 % \fi
@@ -30504,8 +31530,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*tocbibind>
 % \fi
@@ -30512,7 +31538,7 @@
 %
 % \part{lwarp-tocbibind.sty}
 
-% \section{Tocbibind}
+% \section{tocbibind}
 %
 % \DescribePackage{tocbibind}
 % \pkg{tocbibind} is patched for use by \pkg{lwarp}.
@@ -30567,8 +31593,8 @@
 
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*tocloft>
 % \fi
@@ -30575,7 +31601,7 @@
 
 % \part{lwarp-tocloft.sty}
 
-% \section{Tocloft}
+% \section{tocloft}
 %
 % \DescribePackage{tocloft}
 % \pkg{tocloft} is emulated.
@@ -30904,8 +31930,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*transparent>
 % \fi
@@ -30912,7 +31938,7 @@
 %
 % \part{lwarp-transparent.sty}
 %
-% \section{Transparent}
+% \section{transparent}
 %
 % \credits{Heiko Oberdiek}
 %
@@ -30950,8 +31976,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*trivfloat>
 % \fi
@@ -30958,7 +31984,7 @@
 
 % \part{lwarp-trivfloat.sty}
 
-% \section{Trivfloat}
+% \section{trivfloat}
 % \label{sec:trivfloat}
 %
 % \DescribePackage{trivfloat}
@@ -31062,15 +32088,50 @@
 %
 %
 %
-% \clearpage
+% \iffalse
+%<*typearea>
+% \fi
 %
+% \part{lwarp-typearea.sty}
+%
+% \section{typearea}
+%
+% \DescribePackage{typearea}
+% \pkg{typearea} is emulated.
+%
+% \changes{v0.39}{2017/08/28}{\pkg{typearea}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{typearea}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\newcommand*\typearea[2][\z@]{}
+\newcommand*{\recalctypearea}{}
+\@ifundefined{footheight}{\newlength\footheight}{}
+\newcommand*\areaset[3][\z@]{}
+%    \end{macrocode}
+%
 % \iffalse
+%</typearea>
+% \fi
+%
+%
+%
+%
+%
+%
+%
+%
+% \iffalse
 %<*ulem>
 % \fi
 %
 % \part{lwarp-ulem.sty}
 %
-% \section{Ulem}
+% \section{ulem}
 %
 % \credits{Donald Arseneau}
 %
@@ -31167,8 +32228,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*upref>
 % \fi
@@ -31175,7 +32236,7 @@
 %
 % \part{lwarp-upref.sty}
 %
-% \section{Upref}
+% \section{upref}
 %
 % \DescribePackage{upref} Ignored.
 %
@@ -31196,8 +32257,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*verse>
 % \fi
@@ -31204,7 +32265,7 @@
 %
 % \part{lwarp-verse.sty}
 %
-% \section{Verse}
+% \section{verse}
 %
 % \credits{Peter Wilson}
 %
@@ -31282,8 +32343,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*wallpaper>
 % \fi
@@ -31290,7 +32351,7 @@
 
 % \part{lwarp-wallpaper.sty}
 
-% \section{Wallpaper}
+% \section{wallpaper}
 % \label{sec:wallpaper}
 %
 % \changes{v0.20}{2017/01/11}{\pkg{wallpaper}: Added.}
@@ -31331,8 +32392,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*wrapfig>
 % \fi
@@ -31339,7 +32400,7 @@
 
 % \part{lwarp-wrapfig.sty}
 
-% \section{Wrapfig}
+% \section{wrapfig}
 % \label{sec:wrapfig}
 %
 % \changes{v0.20}{2017/01/11}{\pkg{wrapfig}: Added.}
@@ -31423,8 +32484,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*xcolor>
 % \fi
@@ -31431,7 +32492,7 @@
 
 % \part{lwarp-xcolor.sty}
 
-% \section{Xcolor}
+% \section{xcolor}
 % \label{sec:xcolor}
 %
 % \DescribePackage{xcolor}
@@ -31458,16 +32519,12 @@
 % are temporary as \env{lateximage} is used.
 %
 % \begin{description}
-% \item [When \pkg{lwarp} is loaded in print or HTML mode:] \hfill
-%	\cs{LWR at restoreorigxcolor} and
-%   \cs{LWR at restoremoreorigxcolor} are defined as null.
-%	\Cref{sec:xcolordefaults}
 % \item [When \pkg{xcolor} is loaded in print mode:] \
 %	No special actions are taken at the time that \pkg{xcolor} is loaded in
 %	print mode, but see \cs{AtBeginDocument} below.
 % \item [When \pkg{lwarp-xcolor} is loaded in HTML mode:] \
 %	\pkg{xcolor}'s original definitions are saved for later restoration.
-%	\cs{LWR at restoreorigxcolor} is defined to restore these definitions
+%	\cs{LWR at restoreorigformatting} is appended to restore these definitions
 %	for use inside a \env{lateximage}.
 %	New \HTML-mode definitions are created for \cs{textcolor}, \cs{pagecolor},
 %	\cs{nopagecolor}, \cs{colorbox}, \cs{colorboxBlock}, \cs{fcolorbox},
@@ -31481,11 +32538,11 @@
 %	macros will already have been created by \pkg{lwarp-xcolor} if it has been loaded.
 %
 %   For use inside an \HTML\ \env{lateximage},
-%   \cs{LWR at restoremoreorigxcolor} is defined to temporarily set these functions
+%   \cs{LWR at restoreorigformatting} is appended to temporarily set these functions
 %   to their print-mode versions.
 % \item [In a \env{lateximage} in HTML mode:] \
-%	\cs{LWR at restoreorigxcolor} and \\ \cs{LWR at restoremoreorigxcolor} are used to
-%	temporarily restore the print-mode definitions of \pkg{xcolor}'s functions.
+%	\cs{LWR at restoreorigformatting} temporarily restores the
+%   print-mode definitions of \pkg{xcolor}'s functions.
 %	See \cs{LWR at restoreorigformatting} on page \pageref{sec:restoreorigformatting}.
 % \end{description}
 %
@@ -31594,10 +32651,9 @@
 %
 %
 % Inside a \env{lateximage} the following gets restored to their print-mode actions:
-% \margintag{\cs{LWR at restoreorigxcolor}}
+% \margintag{\cs{LWR at restoreorigformatting}}
 %    \begin{macrocode}
-\renewcommand*{\LWR at restoreorigxcolor}{%
-\LWR at traceinfo{LWR at restoreorigxcolorformatting}%
+\appto{\LWR at restoreorigformatting}{%
 \LetLtxMacro\textcolor\LWRprint at textcolor%
 \LetLtxMacro\pagecolor\LWRprint at pagecolor%
 \LetLtxMacro\nopagecolor\LWRprint at nopagecolor%
@@ -31906,8 +32962,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*xfrac>
 % \fi
@@ -31914,7 +32970,7 @@
 
 % \part{lwarp-xfrac.sty}
 
-% \section{Xfrac}
+% \section{xfrac}
 % \label{sec:xfrac}
 %
 % \DescribePackage{xfrac} Supported by adding \pkg{xfrac} instances.
@@ -32066,8 +33122,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*xltxtra>
 % \fi
@@ -32074,7 +33130,7 @@
 %
 % \part{lwarp-xltxtra.sty}
 %
-% \section{Xltxtra}
+% \section{xltxtra}
 %
 %
 % \DescribePackage{xltxtra}
@@ -32120,8 +33176,8 @@
 %
 %
 %
-% \clearpage
 %
+%
 % \iffalse
 %<*xmpincl>
 % \fi
@@ -32128,7 +33184,7 @@
 %
 % \part{lwarp-xmpincl.sty}
 %
-% \section{Xmpincl}
+% \section{xmpincl}
 %
 % \DescribePackage{xmpincl} Emulated.
 %
@@ -32154,13 +33210,205 @@
 %
 %
 %
+% \iffalse
+%<*xtab>
+% \fi
+
+% \part{lwarp-xtab.sty}
+
+% \section{xtab}
+% \label{sec:xtab}
 %
 %
+% \DescribePackage{xtab}
+% \pkg{xtab} is emulated during \HTML\ output.
 %
+% \changes{v0.39}{2017/08/30}{\pkg{xtabular}: Added.}
 %
+% \codehtml
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{xtab}
+%    \end{macrocode}
+%
+% \limitssupertabular
+%
+%
+%    \begin{macrocode}
+\newcommand{\LWRXT at firsthead}{}
+
+\newcommand{\tablefirsthead}[1]{%
+    \long\gdef\LWRXT at firsthead{#1}%
+}
+
+\newcommand{\tablehead}[1]{}
+
+\newcommand{\tablelasthead}[1]{}
+
+\newcommand{\notablelasthead}{}
+
+\newcommand{\tabletail}[1]{}
+
+\newcommand{\LWRXT at lasttail}{}
+
+\newcommand{\tablelasttail}[1]{%
+    \long\gdef\LWRXT at lasttail{#1}%
+}
+
+\newcommand{\tablecaption}[2][]{%
+    \long\gdef\LWRXT at caption{\caption[#1]{#2}}%
+}
+
+\let\topcaption\tablecaption
+\let\bottomcaption\tablecaption
+
+\global\let\LWRXT at caption\relax
+
+\newcommand*{\shrinkheight}[1]{}
+
+\newcommand*{\xentrystretch}[1]{}
+
+\NewDocumentEnvironment{xtabular}{s o m}
+{
+\LWR at traceinfo{xtabular}
+\table
+\LWRXT at caption
+\begin{tabular}{#3}
+\TabularMacro\ifdefvoid{\LWRXT at firsthead}%
+{\LWR at getmynexttoken}%
+{\expandafter\LWR at getmynexttoken\LWRXT at firsthead}%
+}
+{%
+\ifdefvoid{\LWRXT at lasttail}%
+{}%
+{%
+\TabularMacro\ResumeTabular%
+\LWRXT at lasttail%
+}%
+\end{tabular}
+\endtable
+\LWR at traceinfo{xtabular done}
+}
+
+\NewDocumentEnvironment{mpxtabular}{s o m}
+{\minipage{\linewidth}\xtabular{#3}}
+{\endxtabular\endminipage}
+%    \end{macrocode}
+
+
+% \iffalse
+%</xtab>
+% \fi
+%
+%
+%
+%
+%
+%
+% \iffalse
+%<*zwpagelayout>
+% \fi
+%
+% \part{lwarp-zwpagelayout.sty}
+%
+% \section{zwpagelayout}
+%
+% \DescribePackage{zwpagelayout}
+% \pkg{zwpagelayout} is ignored.
+%
+% \changes{v0.39}{2017/08/28}{\pkg{zwpagelayout}: Added.}
+%
+% \codehtml
+%
+%    \begin{macrocode}
+\LWR at ProvidesPackageDrop{zwpagelayout}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\def\noBboxes{}
+\@onlypreamble\noBboxes
+
+\expandafter\ifx\csname definecolor\endcsname\relax \else
+  \definecolor{cmykblack}{cmyk}{0,0,0,1}
+  \definecolor{grblack}{gray}{0}
+%   \ifzwpl at redefineblack
+%     \definecolor{black}{cmyk}{0,0,0,1}\color{black}
+%   \fi
+  \definecolor{cmykred}{cmyk}{0,1,1,0}
+  \definecolor{cmykgreen}{cmyk}{1,0,1,0}
+  \definecolor{cmykblue}{cmyk}{1,1,0,0}
+  \definecolor{rgbred}{rgb}{1,0,0}
+  \definecolor{rgbgreen}{rgb}{0,1,0}
+  \definecolor{rgbblue}{rgb}{0,0,1}
+%   \ifzwpl at redefinetocmyk
+%     \definecolor{red}{cmyk}{0,1,1,0}
+%     \definecolor{green}{cmyk}{1,0,1,0}
+%     \definecolor{blue}{cmyk}{1,1,0,0}
+%   \fi
+\fi
+
+\let\OverprintXeTeXExtGState\relax
+
+\DeclareRobustCommand\SetOverprint{\ignorespaces}
+\DeclareRobustCommand\SetKnockout{\ignorespaces}
+\DeclareRobustCommand\textoverprint[1]{{\SetOverprint#1}}
+\DeclareRobustCommand\textknockout[1]{{\SetKnockout#1}}
+
+\def\SetPDFminorversion#1{}
+\@onlypreamble\SetPDFminorversion
+
+\newcommand*\Vcorr{}
+
+\DeclareRobustCommand\vb[1][]{}
+\NewDocumentCommand{\NewOddPage}{* o}{}
+\NewDocumentCommand{\NewEvenPage}{* o}{}
+\def\SetOddPageMessage#{\gdef\ZW at oddwarning}
+\def\SetEvenPageMessage#{\gdef\Z@@evenwarning}
+\def\ZW at oddwarning{Empty page inserted}\let\ZW at evenwarning\ZW at oddwarning
+
+\def\clap#1{#1}
+
+\def\CropFlap{2in}
+\def\CropSpine{1in}
+\def\CropXSpine{1in}
+\def\CropXtrim{.25in}
+\def\CropYtrim{.25in}
+\def\UserWidth{5in}
+\def\UserLeftMargin{1in}
+\def\UserRightMargin{1in}
+\def\UserTopMargin{1in}
+\def\UserBotMargin{1in}
+\def\thePageNumber{\#\,\arabic{page}}
+\ifXeTeX
+\def\ifcaseZWdriver{\ifcase2}
+\else
+\def\ifcaseZWdriver{\ifcase1}
+\fi
+\DeclareRobustCommand\ZWifdriver[2]{}
+%    \end{macrocode}
+%
+% \iffalse
+%</zwpagelayout>
+% \fi
+%
+%
+%
+%
+%
+%
+%
+%
+%
 % \clearpage
 % \renewcommand*{\partname}{}
 % \renewcommand*{\thepart}{}
+%
+% \titleformat{\part}[hang]
+%     {\needspace{15\baselineskip}\LARGE\rmfamily\bfseries}{}{0pt}{}
+%
+% \titleformat{\section}[hang]
+%     {\Large\rmfamily\bfseries}{}{0pt}{}[\marginpar{\hfill\textsection\,\thesection}\smallskip\hrule]
+% 
+%
 % \part{Change History and Index}
 % \label{sec:changehistory}
 %

Modified: trunk/Master/texmf-dist/source/latex/lwarp/lwarp.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/lwarp/lwarp.ins	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/source/latex/lwarp/lwarp.ins	2017-09-05 21:57:29 UTC (rev 45224)
@@ -33,14 +33,22 @@
 \askforoverwritefalse
 \generate{
 \file{lwarp.sty}{\from{lwarp.dtx}{package}}
+\file{lwarp-a4.sty}{\from{lwarp.dtx}{a4}}
+\file{lwarp-a4wide.sty}{\from{lwarp.dtx}{a4wide}}
+\file{lwarp-a5comb.sty}{\from{lwarp.dtx}{a5comb}}
 \file{lwarp-abstract.sty}{\from{lwarp.dtx}{abstract}}
+\file{lwarp-addlines.sty}{\from{lwarp.dtx}{addlines}}
 \file{lwarp-afterpage.sty}{\from{lwarp.dtx}{afterpage}}
 \file{lwarp-algorithmicx.sty}{\from{lwarp.dtx}{algorithmicx}}
 \file{lwarp-alltt.sty}{\from{lwarp.dtx}{alltt}}
 \file{lwarp-amsthm.sty}{\from{lwarp.dtx}{amsthm}}
+\file{lwarp-anysize.sty}{\from{lwarp.dtx}{anysize}}
 \file{lwarp-appendix.sty}{\from{lwarp.dtx}{appendix}}
 \file{lwarp-arabicfront.sty}{\from{lwarp.dtx}{arabicfront}}
+\file{lwarp-authblk.sty}{\from{lwarp.dtx}{authblk}}
 \file{lwarp-balance.sty}{\from{lwarp.dtx}{balance}}
+\file{lwarp-bigdelim.sty}{\from{lwarp.dtx}{bigdelim}}
+\file{lwarp-bigstrut.sty}{\from{lwarp.dtx}{bigstrut}}
 \file{lwarp-bookmark.sty}{\from{lwarp.dtx}{bookmark}}
 \file{lwarp-booktabs.sty}{\from{lwarp.dtx}{booktabs}}
 \file{lwarp-boxedminipage.sty}{\from{lwarp.dtx}{boxedminipage}}
@@ -47,6 +55,7 @@
 \file{lwarp-boxedminipage2e.sty}{\from{lwarp.dtx}{boxedminipage2e}}
 \file{lwarp-ccaption.sty}{\from{lwarp.dtx}{ccaption}}
 \file{lwarp-changepage.sty}{\from{lwarp.dtx}{changepage}}
+\file{lwarp-chngpage.sty}{\from{lwarp.dtx}{chngpage}}
 \file{lwarp-chappg.sty}{\from{lwarp.dtx}{chappg}}
 \file{lwarp-color.sty}{\from{lwarp.dtx}{color}}
 \file{lwarp-crop.sty}{\from{lwarp.dtx}{crop}}
@@ -53,6 +62,7 @@
 \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-ebook.sty}{\from{lwarp.dtx}{ebook}}
 \file{lwarp-ellipsis.sty}{\from{lwarp.dtx}{ellipsis}}
 \file{lwarp-emptypage.sty}{\from{lwarp.dtx}{emptypage}}
 \file{lwarp-endnotes.sty}{\from{lwarp.dtx}{endnotes}}
@@ -82,6 +92,7 @@
 \file{lwarp-framed.sty}{\from{lwarp.dtx}{framed}}
 \file{lwarp-ftnright.sty}{\from{lwarp.dtx}{ftnright}}
 \file{lwarp-fullpage.sty}{\from{lwarp.dtx}{fullpage}}
+\file{lwarp-fullwidth.sty}{\from{lwarp.dtx}{fullwidth}}
 \file{lwarp-geometry.sty}{\from{lwarp.dtx}{geometry}}
 \file{lwarp-glossaries.sty}{\from{lwarp.dtx}{glossaries}}
 \file{lwarp-graphicx.sty}{\from{lwarp.dtx}{graphicx}}
@@ -146,9 +157,11 @@
 \file{lwarp-siunitx.sty}{\from{lwarp.dtx}{siunitx}}
 \file{lwarp-soul.sty}{\from{lwarp.dtx}{soul}}
 \file{lwarp-subfig.sty}{\from{lwarp.dtx}{subfig}}
+\file{lwarp-supertabular.sty}{\from{lwarp.dtx}{supertabular}}
 \file{lwarp-syntonly.sty}{\from{lwarp.dtx}{syntonly}}
 \file{lwarp-tabularx.sty}{\from{lwarp.dtx}{tabularx}}
 \file{lwarp-tabulary.sty}{\from{lwarp.dtx}{tabulary}}
+\file{lwarp-textarea.sty}{\from{lwarp.dtx}{textarea}}
 \file{lwarp-textcomp.sty}{\from{lwarp.dtx}{textcomp}}
 \file{lwarp-textpos.sty}{\from{lwarp.dtx}{textpos}}
 \file{lwarp-theorem.sty}{\from{lwarp.dtx}{theorem}}
@@ -163,6 +176,7 @@
 \file{lwarp-tocloft.sty}{\from{lwarp.dtx}{tocloft}}
 \file{lwarp-transparent.sty}{\from{lwarp.dtx}{transparent}}
 \file{lwarp-trivfloat.sty}{\from{lwarp.dtx}{trivfloat}}
+\file{lwarp-typearea.sty}{\from{lwarp.dtx}{typearea}}
 \file{lwarp-ulem.sty}{\from{lwarp.dtx}{ulem}}
 \file{lwarp-upref.sty}{\from{lwarp.dtx}{upref}}
 \file{lwarp-verse.sty}{\from{lwarp.dtx}{verse}}
@@ -172,6 +186,8 @@
 \file{lwarp-xfrac.sty}{\from{lwarp.dtx}{xfrac}}
 \file{lwarp-xltxtra.sty}{\from{lwarp.dtx}{xltxtra}}
 \file{lwarp-xmpincl.sty}{\from{lwarp.dtx}{xmpincl}}
+\file{lwarp-xtab.sty}{\from{lwarp.dtx}{xtab}}
+\file{lwarp-zwpagelayout.sty}{\from{lwarp.dtx}{zwpagelayout}}
 }
 \Msg{*********************************************************}
 \Msg{*}

Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,23 @@
+%%
+%% This is file `lwarp-a4.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `a4')
+%% 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 at ProvidesPackageDrop{a4}
+\newcommand*{\WideMargins}{}
+
+\endinput
+%%
+%% End of file `lwarp-a4.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4wide.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4wide.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4wide.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-a4wide.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `a4wide')
+%% 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 at ProvidesPackageDrop{a4wide}
+
+\endinput
+%%
+%% End of file `lwarp-a4wide.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a4wide.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a5comb.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a5comb.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a5comb.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-a5comb.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `a5comb')
+%% 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 at ProvidesPackageDrop{a5comb}
+
+\endinput
+%%
+%% End of file `lwarp-a5comb.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-a5comb.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-addlines.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-addlines.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-addlines.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,26 @@
+%%
+%% This is file `lwarp-addlines.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `addlines')
+%% 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 at ProvidesPackageDrop{addlines}
+\newcommand*\addlines[1][1]{}
+\let\addline\addlines
+\newcommand*\removelines[1][1]{}
+\let\removeline\removelines
+
+\endinput
+%%
+%% End of file `lwarp-addlines.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-addlines.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-anysize.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-anysize.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-anysize.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,24 @@
+%%
+%% This is file `lwarp-anysize.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `anysize')
+%% 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 at ProvidesPackageDrop{anysize}
+\def\papersize#1#2{}
+\def\marginsize#1#2#3#4{}
+
+\endinput
+%%
+%% End of file `lwarp-anysize.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-anysize.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-appendix.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-appendix.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-appendix.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -15,9 +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 at ProvidesPackagePass{appendix}
-
 \renewcommand*{\@chap at pppage}{%
 \part*{\appendixpagename}
  \if at dotoc@pp
@@ -32,8 +30,6 @@
  \fi
 }
 
-
-
 \endinput
 %%
 %% End of file `lwarp-appendix.sty'.

Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,34 @@
+%%
+%% This is file `lwarp-authblk.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `authblk')
+%% 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.
+\@ifpackageloaded{titling}{
+\PackageError{lwarp-authblk}
+{Package authblk must be loaded before titling}
+{Titling appends authblk's author macro, so authblk must be loaded first.}
+}
+{}
+\LWR at ProvidesPackagePass{authblk}
+\LetLtxMacro\LWRAB at affil\affil
+
+\renewcommand{\affil}[2][]{%
+\LWRAB at affil[#1]{\protect\InlineClass{affiliation}{#2}}
+}
+\renewcommand*{\authorcr}{\protect\LWR at newlinebr}
+
+\endinput
+%%
+%% End of file `lwarp-authblk.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-authblk.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigdelim.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigdelim.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigdelim.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,37 @@
+%%
+%% This is file `lwarp-bigdelim.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `bigdelim')
+%% 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 at ProvidesPackagePass{bigdelim}
+\LetLtxMacro\LWR at origldelim\ldelim
+\LetLtxMacro\LWR at origrdelim\rdelim
+\RenewDocumentCommand{\ldelim}{m m m O{}}{%
+\renewcommand{\LWR at multirowborder}{right}%
+\multirow{#2}{#3}{#4 \InlineClass{ldelim}{#1}}%
+}
+
+\RenewDocumentCommand{\rdelim}{m m m O{}}{%
+\renewcommand{\LWR at multirowborder}{left}%
+\multirow{#2}{#3}{\InlineClass{rdelim}{#1} #4}%
+}
+\appto{\LWR at restoreorigformatting}{%
+\LetLtxMacro{\ldelim}{\LWR at origldelim}%
+\LetLtxMacro{\rdelim}{\LWR at origrdelim}%
+}
+
+\endinput
+%%
+%% End of file `lwarp-bigdelim.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigdelim.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigstrut.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigstrut.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigstrut.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,29 @@
+%%
+%% This is file `lwarp-bigstrut.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `bigstrut')
+%% 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 at ProvidesPackagePass{bigstrut}
+\LetLtxMacro\LWR at origbigstrut\bigstrut
+
+\renewcommand\bigstrut[1][x]{}
+
+\appto{\LWR at restoreorigformatting}{%
+\LetLtxMacro{\bigstrut}{\LWR at origbigstrut}%
+}
+
+\endinput
+%%
+%% End of file `lwarp-bigstrut.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bigstrut.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -19,7 +19,6 @@
 
 
 \LWR at ProvidesPackageDrop{bookmark}
-
 \newcommand*{\bookmarksetup}[1]{}
 \newcommand*{\bookmarksetupnext}[1]{}
 \newcommand*{\bookmark}[2][]{}
@@ -27,7 +26,6 @@
 \newcommand*{\bookmarkget}[1]{}
 \newcommand{\BookmarkAtEnd}[1]{}
 
-
 \endinput
 %%
 %% End of file `lwarp-bookmark.sty'.

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -15,8 +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 at ProvidesPackagePass{booktabs}
 \LetLtxMacro\LWR at origtoprule\toprule
 \LetLtxMacro\LWR at origmidrule\midrule
@@ -26,7 +24,6 @@
 \LetLtxMacro\LWR at origmorecmidrules\morecmidrules
 \LetLtxMacro\LWR at origspecialrule\specialrule
 
-
 \endinput
 %%
 %% End of file `lwarp-booktabs.sty'.

Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-chngpage.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-chngpage.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-chngpage.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-chngpage.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `chngpage')
+%% 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 at loadnever{chngpage}{changepage}
+
+\endinput
+%%
+%% End of file `lwarp-chngpage.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-chngpage.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-ebook.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-ebook.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-ebook.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,31 @@
+%%
+%% This is file `lwarp-ebook.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `ebook')
+%% 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 at ProvidesPackageDrop{ebook}
+\setcounter{secnumdepth}{0}
+\setcounter{tocdepth}{2}
+
+\providecommand{\pagefill}[1][0.001mm]{\noindent}
+
+\providecommand{\ebook}{
+\setcounter{secnumdepth}{0}
+\setcounter{tocdepth}{2}
+}
+
+\endinput
+%%
+%% End of file `lwarp-ebook.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-ebook.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -56,7 +56,6 @@
 \newcommand*{\undodrop}{}
 \newcommand{\cleartoevenpage}[1][]{}
 
-
 \endinput
 %%
 %% End of file `lwarp-epigraph.sty'.

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -18,7 +18,6 @@
 
 
 
-
 \LWR at ProvidesPackageDrop{eso-pic}
 
 \newcommand*{\LenToUnit}{}

Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fullwidth.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fullwidth.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fullwidth.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,29 @@
+%%
+%% This is file `lwarp-fullwidth.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `fullwidth')
+%% 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 at ProvidesPackageDrop{fullwidth}
+\newenvironment*{fullwidth}[1][]{%
+\minipagefullwidth%
+\minipage{\linewidth}%
+}
+{%
+\endminipage%
+}
+
+\endinput
+%%
+%% End of file `lwarp-fullwidth.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-fullwidth.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -40,9 +40,7 @@
 \newif\ifLettrineRealHeight
 
 \newcommand*{\LettrineTextFont}{\scshape}
-
 \newcommand*{\LettrineFontHook}{}
-
 \newcommand*{\LettrineFont}[1]{\InlineClass{lettrine}{#1}}
 \newcommand*{\LettrineFontEPS}[1]{\includegraphics[height=1.5ex]{#1}}
 

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -17,10 +17,45 @@
 %% version 2005/12/01 or later.
 
 
+\LWR at ProvidesPackagePass{multirow}
+\LetLtxMacro\LWR at origmultirow\multirow
+\newcommand{\LWR at multirowborder}{}
+\RenewDocumentCommand{\multirow}{O{c} m o m o +m}%
+{%
+\LWR at traceinfo{*** multirow #1 #2 #4}
+\LWR at maybenewtablerow%
+\LWR at htmltag{td rowspan="#2" %
+\IfValueT{#1}{%
+\ifstrequal{#1}{b}{style="vertical-align:bottom" }{}%
+\ifstrequal{#1}{t}{style="vertical-align:top" }{}%
+}%
+\ifdefvoid{\LWR at multirowborder}{}{%
+style="border-\LWR at multirowborder: 2px solid black" %
+}
+class="td%
+\StrChar{\LWR at tablecolspec}{\theLWR at tablecolspos}%
+\ifthenelse{\equal{\LWR at getexparray{LWR at midrules}{\theLWR at tablecolspos}}{Y}}{rule}{}%
+"{}}
+\begingroup \LetLtxMacro{\\}{\LWR at endofline} #6 \endgroup
+\LWR at stoppars%
+\global\boolfalse{LWR at intabularmetadata}%
+\renewcommand{\LWR at multirowborder}{}%
+\LWR at traceinfo{*** multirow done}%
+}%
+\RenewDocumentCommand{\multicolumnrow}{m m O{} m O{} m O{} +m}{%
+\LWR at tabularhtmlcolumns{\theLWR at tablecolspos}{#1}
+\begingroup\LetLtxMacro{\\}{\LWR at endofline}%
+\LWR at domulticolumn[#3][#4]{\theLWR at tabhtmlcoltotal}{#2}{#8}%
+\endgroup%
+\addtocounter{LWR at tablecolspos}{#1}%
+\addtocounter{LWR at tablecolspos}{-1}%
+\booltrue{LWR at skipatbang}%
+}
+\appto{\LWR at restoreorigformatting}{%
+\LetLtxMacro\multirow\LWR at origmultirow%
+\renewcommand{\multicolumnrow}{\LWR at origmulticolumnrow}%
+}
 
-\LWR at ProvidesPackageDrop{multirow}
-
-
 \endinput
 %%
 %% End of file `lwarp-multirow.sty'.

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-relsize.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-relsize.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-relsize.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -25,7 +25,7 @@
 \LetLtxMacro\LWR at origtextsmaller\textsmaller
 \let\LWR at textscale\textscale
 
-\renewcommand*{\LWR at restoreorigrelsize}{%
+\appto{\LWR at restoreorigformatting}{%
 \let\relsize\LWR at origrelsize%
 \LetLtxMacro\larger\LWR at origlarger%
 \LetLtxMacro\smaller\LWR at origsmaller%

Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-supertabular.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-supertabular.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-supertabular.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,76 @@
+%%
+%% This is file `lwarp-supertabular.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `supertabular')
+%% 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 at ProvidesPackageDrop{supertabular}
+\newcommand{\LWRST at firsthead}{}
+
+\newcommand{\tablefirsthead}[1]{%
+    \long\gdef\LWRST at firsthead{#1}%
+}
+
+\newcommand{\tablehead}[1]{}
+\newcommand{\tabletail}[1]{}
+
+\newcommand{\LWRST at lasttail}{}
+
+\newcommand{\tablelasttail}[1]{%
+    \long\gdef\LWRST at lasttail{#1}%
+}
+
+\newcommand{\tablecaption}[2][]{%
+    \long\gdef\LWRST at caption{\caption[#1]{#2}}%
+}
+
+\let\topcaption\tablecaption
+\let\bottomcaption\tablecaption
+
+\global\let\LWRST at caption\relax
+
+\newcommand*{\shrinkheight}[1]{}
+
+\NewDocumentEnvironment{supertabular}{s o m}
+{
+\LWR at traceinfo{supertabular}
+\table
+\LWRST at caption
+\begin{tabular}{#3}
+\TabularMacro\ifdefvoid{\LWRST at firsthead}%
+{\LWR at getmynexttoken}%
+{\expandafter\LWR at getmynexttoken\LWRST at firsthead}%
+}
+{%
+\ifdefvoid{\LWRST at lasttail}%
+{}%
+{%
+\TabularMacro\ResumeTabular%
+\LWRST at lasttail%
+}%
+\end{tabular}
+\endtable
+\LWR at traceinfo{supertabular done}
+}
+
+\NewDocumentEnvironment{mpsupertabular}{s o m}
+{\minipage{\linewidth}\supertabular{#3}}
+{\endsupertabular\endminipage}
+
+
+\endinput
+%%
+%% End of file `lwarp-supertabular.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-supertabular.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textarea.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textarea.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textarea.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,27 @@
+%%
+%% This is file `lwarp-textarea.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `textarea')
+%% 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 at ProvidesPackageDrop{textarea}
+\newcommand\StartFromTextArea{}
+\newcommand\StartFromHeaderArea{}
+\newcommand*\RestoreTextArea{}
+\newcommand*\ExpandTextArea[1][*]{}
+\let\NCC at restoretextarea\@empty
+
+\endinput
+%%
+%% End of file `lwarp-textarea.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textarea.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -62,9 +62,7 @@
 \renewcommand*{\textcircled}[1]{%
 \InlineClass[border: 1px solid \LWR at currenttextcolor]{textcircled}{#1}%
 }
-\let\LWR at restoreorigtextcomp\relax
-
-\newcommand*{\LWR at restoreorigtextcomp}{%
+\appto{\LWR at restoreorigformatting}{%
 \let\textdegree\LWR at origtextdegree%
 \let\textcelsius\LWR at origtextcelsius%
 \let\textohm\LWR at origtextohm%

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -51,9 +51,7 @@
 \newcommand*{\ttl at row}[2][]{}
 
 \newcommand{\iftitlemeasuring}[2]{#2}
-
 \newcommand{\assignpagestyle}[2]{#2}
-
 \NewDocumentCommand{\titleclass}{m o m o}
 
 

Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -22,22 +22,94 @@
 \let\LWR at orig@bsmtitlempty\@bsmtitlempty
 \renewcommand*{\@bsmtitlempty}{%
 \LWR at orig@bsmtitlempty%
-\global\let\published\relax%
-\global\let\subtitle\relax%
 }
 \let\LWR at origkeepthetitle\keepthetitle
 \renewcommand*{\keepthetitle}{%
 \LWR at orig@keepthetitle%
-\global\let\@published\@empty%
-\global\let\@subtitle\@empty%
 }
 \let\LWR at origkilltitle\killtitle
 \renewcommand*{\killtitle}{%
 \LWR at orig@killtitle%
-\global\let\thepublished\relax%
-\global\let\thesubtitle\relax%
 }
+\renewenvironment*{titlingpage}
+{%
+\LWR at printpendingfootnotes
+\begin{titlepage}
+\LWR at maketitlesetup
+\let\maketitle\LWR at titlingmaketitle
+}
+{
+\end{titlepage}
+}
 
+\pretitle{}
+\posttitle{}
+
+\preauthor{}
+\postauthor{}
+
+\predate{}
+\postdate{}
+\renewcommand*{\LWR at maketitlesetup}{%
+\def\@makefnmark{\textsuperscript{\@thefnmark}}
+\long\def\@makefntext##1{%
+\makethanksmark \LWR at orighspace{1in}
+##1%
+}%
+}
+\renewcommand*{\maketitle}{%
+\begin{titlepage}
+\@bsmarkseries
+\LWR at maketitlesetup
+\@maketitle
+\@thanks
+\end{titlepage}
+\@bscontmark
+}
+\DeclareDocumentCommand{\@maketitle}{}{%
+    \maketitlehooka
+    {
+        \LWR at stoppars\LWR at htmltag{h1}
+        \@bspretitle \@title \@bsposttitle
+        \LWR at htmltag{/h1}\LWR at startpars
+    }
+    \maketitlehookb
+    {
+        \begin{BlockClass}{author}
+        \renewcommand{\and}{
+            \end{BlockClass}
+            \begin{BlockClass}{oneauthor}
+        }
+        \begin{BlockClass}{oneauthor}
+        \@bspreauthor \@author  \@bspostauthor
+        \end{BlockClass}
+        \end{BlockClass}
+    }
+    \maketitlehookc
+    {
+        \begin{BlockClass}{titledate}
+        \@bspredate \@date \@bspostdate
+        \end{BlockClass}
+    }
+    \maketitlehookd
+}
+\renewcommand*{\LWR at titlingmaketitle}{%
+\@thanks
+\@bsmarkseries
+\LWR at maketitlesetup
+\@maketitle
+\@thanks
+\@bscontmark
+}
+\renewcommand{\thanksmarkseries}[1]{%
+\def\@bsmarkseries{\renewcommand{\thefootnote}{\@nameuse{#1}{footnote}}}%
+}
+\if at titlepage
+   \thanksmarkseries{arabic}
+\else
+   \thanksmarkseries{fnsymbol}
+\fi
+
 \endinput
 %%
 %% End of file `lwarp-titling.sty'.

Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-typearea.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-typearea.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-typearea.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,26 @@
+%%
+%% This is file `lwarp-typearea.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `typearea')
+%% 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 at ProvidesPackageDrop{typearea}
+\newcommand*\typearea[2][\z@]{}
+\newcommand*{\recalctypearea}{}
+\@ifundefined{footheight}{\newlength\footheight}{}
+\newcommand*\areaset[3][\z@]{}
+\endinput
+%%
+%% End of file `lwarp-typearea.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-typearea.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -30,8 +30,7 @@
 \LetLtxMacro\LWRorigprint at fcolorbox\fcolorbox
 \LetLtxMacro\LWRorigprint at fcolorboxBlock\fcolorbox
 \LetLtxMacro\LWRorigprint at boxframe\boxframe
-\renewcommand*{\LWR at restoreorigxcolor}{%
-\LWR at traceinfo{LWR at restoreorigxcolorformatting}%
+\appto{\LWR at restoreorigformatting}{%
 \LetLtxMacro\textcolor\LWRprint at textcolor%
 \LetLtxMacro\pagecolor\LWRprint at pagecolor%
 \LetLtxMacro\nopagecolor\LWRprint at nopagecolor%

Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,83 @@
+%%
+%% This is file `lwarp-xtab.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `xtab')
+%% 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 at ProvidesPackageDrop{xtab}
+\newcommand{\LWRXT at firsthead}{}
+
+\newcommand{\tablefirsthead}[1]{%
+    \long\gdef\LWRXT at firsthead{#1}%
+}
+
+\newcommand{\tablehead}[1]{}
+
+\newcommand{\tablelasthead}[1]{}
+
+\newcommand{\notablelasthead}{}
+
+\newcommand{\tabletail}[1]{}
+
+\newcommand{\LWRXT at lasttail}{}
+
+\newcommand{\tablelasttail}[1]{%
+    \long\gdef\LWRXT at lasttail{#1}%
+}
+
+\newcommand{\tablecaption}[2][]{%
+    \long\gdef\LWRXT at caption{\caption[#1]{#2}}%
+}
+
+\let\topcaption\tablecaption
+\let\bottomcaption\tablecaption
+
+\global\let\LWRXT at caption\relax
+
+\newcommand*{\shrinkheight}[1]{}
+
+\newcommand*{\xentrystretch}[1]{}
+
+\NewDocumentEnvironment{xtabular}{s o m}
+{
+\LWR at traceinfo{xtabular}
+\table
+\LWRXT at caption
+\begin{tabular}{#3}
+\TabularMacro\ifdefvoid{\LWRXT at firsthead}%
+{\LWR at getmynexttoken}%
+{\expandafter\LWR at getmynexttoken\LWRXT at firsthead}%
+}
+{%
+\ifdefvoid{\LWRXT at lasttail}%
+{}%
+{%
+\TabularMacro\ResumeTabular%
+\LWRXT at lasttail%
+}%
+\end{tabular}
+\endtable
+\LWR at traceinfo{xtabular done}
+}
+
+\NewDocumentEnvironment{mpxtabular}{s o m}
+{\minipage{\linewidth}\xtabular{#3}}
+{\endxtabular\endminipage}
+
+\endinput
+%%
+%% End of file `lwarp-xtab.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-xtab.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-zwpagelayout.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-zwpagelayout.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-zwpagelayout.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -0,0 +1,74 @@
+%%
+%% This is file `lwarp-zwpagelayout.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx  (with options: `zwpagelayout')
+%% 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 at ProvidesPackageDrop{zwpagelayout}
+\def\noBboxes{}
+\@onlypreamble\noBboxes
+
+\expandafter\ifx\csname definecolor\endcsname\relax \else
+  \definecolor{cmykblack}{cmyk}{0,0,0,1}
+  \definecolor{grblack}{gray}{0}
+  \definecolor{cmykred}{cmyk}{0,1,1,0}
+  \definecolor{cmykgreen}{cmyk}{1,0,1,0}
+  \definecolor{cmykblue}{cmyk}{1,1,0,0}
+  \definecolor{rgbred}{rgb}{1,0,0}
+  \definecolor{rgbgreen}{rgb}{0,1,0}
+  \definecolor{rgbblue}{rgb}{0,0,1}
+\fi
+
+\let\OverprintXeTeXExtGState\relax
+
+\DeclareRobustCommand\SetOverprint{\ignorespaces}
+\DeclareRobustCommand\SetKnockout{\ignorespaces}
+\DeclareRobustCommand\textoverprint[1]{{\SetOverprint#1}}
+\DeclareRobustCommand\textknockout[1]{{\SetKnockout#1}}
+
+\def\SetPDFminorversion#1{}
+\@onlypreamble\SetPDFminorversion
+
+\newcommand*\Vcorr{}
+
+\DeclareRobustCommand\vb[1][]{}
+\NewDocumentCommand{\NewOddPage}{* o}{}
+\NewDocumentCommand{\NewEvenPage}{* o}{}
+\def\SetOddPageMessage#{\gdef\ZW at oddwarning}
+\def\SetEvenPageMessage#{\gdef\Z@@evenwarning}
+\def\ZW at oddwarning{Empty page inserted}\let\ZW at evenwarning\ZW at oddwarning
+
+\def\clap#1{#1}
+
+\def\CropFlap{2in}
+\def\CropSpine{1in}
+\def\CropXSpine{1in}
+\def\CropXtrim{.25in}
+\def\CropYtrim{.25in}
+\def\UserWidth{5in}
+\def\UserLeftMargin{1in}
+\def\UserRightMargin{1in}
+\def\UserTopMargin{1in}
+\def\UserBotMargin{1in}
+\def\thePageNumber{\#\,\arabic{page}}
+\ifXeTeX
+\def\ifcaseZWdriver{\ifcase2}
+\else
+\def\ifcaseZWdriver{\ifcase1}
+\fi
+\DeclareRobustCommand\ZWifdriver[2]{}
+\endinput
+%%
+%% End of file `lwarp-zwpagelayout.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp-zwpagelayout.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty	2017-09-05 21:56:47 UTC (rev 45223)
+++ trunk/Master/texmf-dist/tex/latex/lwarp/lwarp.sty	2017-09-05 21:57:29 UTC (rev 45224)
@@ -17,7 +17,7 @@
 %% version 2005/12/01 or later.
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{lwarp}
-    [2017/08/27 v0.38  Allows LaTeX to directly produce HTML5 output.]
+    [2017/09/05 v0.39  Allows LaTeX to directly produce HTML5 output.]
 
 
 
@@ -196,15 +196,23 @@
 For a possible alternative, see package(s) #2.}
 }
 
+\LWR at loadafter{a4}
+\LWR at loadafter{a4wide}
+\LWR at loadafter{a5comb}
 \LWR at loadafter{abstract}
+\LWR at loadafter{addlines}
 \LWR at loadafter{afterpage}
 \LWR at loadafter{algorithmicx}
 \LWR at loadafter{alltt}
 \LWR at loadafter{amsthm}
+\LWR at loadafter{anysize}
 \LWR at loadafter{appendix}
 \LWR at loadafter{arabicfront}
 \LWR at loadafter{array}
+\LWR at loadafter{authblk}
 \LWR at loadafter{balance}
+\LWR at loadafter{bigdelim}
+\LWR at loadafter{bigstrut}
 \LWR at loadafter{bookmark}
 \LWR at loadafter{booktabs}
 \LWR at loadafter{boxedminipage}
@@ -211,6 +219,7 @@
 \LWR at loadafter{boxedminipage2e}
 \LWR at loadafter{ccaption}
 \LWR at loadafter{changepage}
+\LWR at loadafter{chngpage}
 \LWR at loadafter{chappg}
 \LWR at loadafter{color}
 \LWR at loadafter{crop}
@@ -217,6 +226,7 @@
 \LWR at loadafter{cutwin}
 \LWR at loadafter{dcolumn}
 \LWR at loadafter{draftwatermark}
+\LWR at loadafter{ebook}
 \LWR at loadafter{ellipsis}
 \LWR at loadafter{emptypage}
 \LWR at loadafter{enumerate}
@@ -239,6 +249,7 @@
 \LWR at loadafter{fncychap}
 \LWR at loadafter{ftnright}
 \LWR at loadafter{fullpage}
+\LWR at loadafter{fullwidth}
 \LWR at loadafter{geometry}
 \LWR at loadafter{glossaries}
 \LWR at loadafter{grffile}
@@ -297,8 +308,10 @@
 \LWR at loadafter{siunitx}
 \LWR at loadafter{soul}
 \LWR at loadafter{subfig}
+\LWR at loadafter{supertabular}
 \LWR at loadafter{tabularx}
 \LWR at loadafter{tabulary}
+\LWR at loadafter{textarea}
 \LWR at loadafter{textpos}
 \LWR at loadafter{theorem}
 \LWR at loadafter{threeparttable}
@@ -306,10 +319,12 @@
 \LWR at loadafter{titleps}
 \LWR at loadafter{titlesec}
 \LWR at loadafter{titletoc}
+\LWR at loadafter{titling}
 \LWR at loadafter{tocbibind}
 \LWR at loadafter{tocloft}
 \LWR at loadafter{transparent}
 \LWR at loadafter{trivfloat}
+\LWR at loadafter{typearea}
 \LWR at loadafter{ulem}
 \LWR at loadafter{upref}
 \LWR at loadafter{varioref}
@@ -320,6 +335,8 @@
 \LWR at loadafter{xfrac}
 \LWR at loadafter{xltxtra}
 \LWR at loadafter{xmpincl}
+\LWR at loadafter{xtab}
+\LWR at loadafter{zwpagelayout}
 
 
 
@@ -374,6 +391,8 @@
 
 \RequirePackage{xparse}
 
+\RequirePackage{afterpackage}
+
 \end{warpall}
 
 \begin{warpHTML}
@@ -425,8 +444,6 @@
 
 \begin{warpall}
 
-\RequirePackage{titling}
-
 \RequirePackage{environ}
 
 \end{warpall}
@@ -697,17 +714,6 @@
 \end{warpHTML}
 
 \begin{warpHTML}
-\@ifpackageloaded{textcomp}
-{
-\LWR at origRequirePackage{lwarp-textcomp}
-}
-{
-\providecommand*{\LWR at restoreorigtextcomp}{}%
-}
-
-\end{warpHTML}
-
-\begin{warpHTML}
 \AtBeginDocument{
 \LetLtxMacro{\LWR at origt}{\t}
 \ifPDFTeX
@@ -1238,6 +1244,7 @@
   padding: 1ex 1em 1ex 1em ;
 /*  font-weight: bold ; */
   font-size: 90% ;
+    text-align: left ;
 }
 
 div.abstract dl {line-height:1.5;}
@@ -1531,6 +1538,8 @@
 
 figcaption .minipage { margin:0 ; padding: 0 }
 
+div.minipage figure { border: none ; box-shadow: none ; }
+
 div.floatrow { text-align: center; }
 
 div.floatrow figure { display: inline-block ; margin: 1ex 2% ; }
@@ -1639,6 +1648,9 @@
 
 .tnoteitemheader {margin-right: 1em;}
 
+/* for bigdelim */
+.ldelim, .rdelim { font-size: 200% }
+
 /* center, flushleft, flushright environments */
 div.center{text-align:center;}
 div.center table {margin-left:auto;margin-right:auto;}
@@ -1695,6 +1707,12 @@
     margin: 3ex 0em 3ex 0em ;
 }
 
+div.oneauthor {
+    display: inline-block ;
+    margin: 3ex 1em 0ex 1em ;
+}
+
+/*
 div.author table {
     margin: 3ex auto 0ex auto ;
     background: none ;
@@ -1701,6 +1719,7 @@
 }
 
 div.author table tbody tr td { padding: .25ex ; }
+*/
 
 span.affiliation {font-size: .85em ; font-variant: small-caps; }
 
@@ -2145,12 +2164,18 @@
     text-shadow: 1px 1px 2px #808080;
 }
 
-.minipage {
+div.minipage {
     background-color: #eeeee7 ;
     border: 1px solid silver ;
     border-radius: 1ex ;
 }
 
+section.textbody > div.minipage {
+    box-shadow: 3px 3px 3px #808080 ;
+}
+
+div.fboxBlock div.minipage { box-shadow: none ; }
+
 .framed .minipage , .framedleftbar .minipage {
     border: none ;
     background: none ;
@@ -2575,7 +2600,7 @@
 
 -- Print the usage of the lwarpmk command:
 
-printversion = "v0.38"
+printversion = "v0.39"
 
 function printhelp ()
 print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
@@ -3925,6 +3950,12 @@
     \protected at edef\@currentlabel
     {\csname p at mpfootnote\endcsname\@thefnmark}%
     \color at begingroup
+    \ifthenelse{%
+        \boolean{LWR at doingstartpars} \AND%
+        \cnttest{\value{LWR at lateximagedepth}}{=}{0}%
+    }%
+    {}%
+    {\LWR at htmltagc{\LWR at tagregularparagraph}}%
     \@makefntext{%
         \ignorespaces#1%
     }%
@@ -4487,11 +4518,6 @@
 \LWR at htmltag{section class="textbody"{}}
 \mainmatter
 \LWR at origpagenumbering{arabic}
-\if at titlepage
-   \thanksmarkseries{arabic}
-\else
-   \thanksmarkseries{fnsymbol}
-\fi
 \LWR at patchlists
 \catcode`\$=\active
 \LWR at startpars
@@ -4541,138 +4567,40 @@
 
 \end{warpHTML}
 
-
-\begin{warpHTML}
-\newrobustcmd{\affiliation}[1]{\\ \InlineClass{affiliation}{#1}}
-\end{warpHTML}
+\begin{warpall}
+\newrobustcmd{\affiliation}[1]{}
+\end{warpall}
 \begin{warpprint}
-\newrobustcmd{\affiliation}[1]{\\ \textsc{\small#1}}
-\end{warpprint}
-\begin{warpall}
-\renewcommand{\author}[1]{%
-\gdef\@author{#1}
-\begingroup
-  \renewcommand{\thanks}[1]{}
-  \renewcommand{\and}{\unskip, }
-  \renewcommand{\thanksmark}[1]{}
-  \renewcommand{\thanksgap}[1]{}
-  \renewcommand{\affiliation}[1]{}
-  \protected at xdef\theauthor{#1}
-\endgroup}
-\newcommand{\published}[1]{%
-\gdef\@published{#1}
-\begingroup
-  \renewcommand{\thanks}[1]{}
-  \renewcommand{\thanksmark}[1]{}
-  \renewcommand{\thanksgap}[1]{}
-  \protected at xdef\thepublished{#1}
-\endgroup
+\AtBeginEnvironment{titlepage}{
+\renewrobustcmd{\affiliation}[1]{\\ \textsc{\small#1}}
 }
-\newcommand{\@published}{}
-\newcommand{\thepublished}{}
-\newcommand{\subtitle}[1]{%
-\gdef\@subtitle{#1}
-\begingroup
-  \renewcommand{\thanks}[1]{}
-  \renewcommand{\thanksmark}[1]{}
-  \renewcommand{\thanksgap}[1]{}
-  \protected at xdef\thesubtitle{#1}
-\endgroup
+
+\AtBeginDocument{
+\@ifpackageloaded{titling}{
+\AtBeginEnvironment{titlingpage}{
+\renewrobustcmd{\affiliation}[1]{\\ \textsc{\small#1}}
 }
-\newcommand{\@subtitle}{}
-\newcommand{\thesubtitle}{}
-\end{warpall}
+}{}% titling loaded
+}% AtBeginDocument
+\end{warpprint}
 \begin{warpHTML}
 \renewenvironment*{titlepage}
 {
+\renewrobustcmd{\affiliation}[1]{\\ \InlineClass{affiliation}{##1}}
+\LWR at printpendingfootnotes
 \LWR at forcenewpage
-\BlockClass{titlepage}\LWR at subminipage
+\BlockClass{titlepage}
 }
-{\LWR at endsubminipage\endBlockClass}
-\renewenvironment*{titlingpage}
-{%
-\begin{titlepage}
-\LWR at maketitlesetup
-\let\maketitle\LWR at titlingmaketitle
-}
 {
-\end{titlepage}
-\@bscontmark
+\endBlockClass
+\LWR at printpendingfootnotes
 }
 \end{warpHTML}
-
 \begin{warpall}
 \newcommand*{\printthanks}{\@thanks}
-\AtEndEnvironment{titlingpage}{\@bscontmark}
 \end{warpall}
 
 \begin{warpHTML}
-\newcommand{\prepublished}[1]{%
-\def\@bsprepublished{\BlockClass{published}#1}%
-}
-
-\newcommand{\postpublished}[1]{%
-\def\@bspostpublished{#1\endBlockClass}%
-}
-
-\renewcommand{\pretitle}[1]{%
-\def\@bspretitle{#1\LWR at stoppars\LWR at htmltag{h1}}%
-}
-
-\renewcommand{\posttitle}[1]{%
-\def\@bsposttitle{\LWR at htmltag{/h1}\LWR at startpars#1}%
-}
-
-\newcommand{\presubtitle}[1]{%
-\def\@bspresubtitle{\BlockClass{subtitle}#1}%
-}
-
-\newcommand{\postsubtitle}[1]{%
-\def\@bspostsubtitle{#1\endBlockClass}%
-}
-
-\renewcommand{\preauthor}[1]{%
-\def\@bspreauthor{\BlockClass{author}#1}%
-}
-
-\renewcommand{\postauthor}[1]{%
-\def\@bspostauthor{#1\endBlockClass}%
-}
-
-\renewcommand{\predate}[1]{%
-\def\@bspredate{#1\BlockClass{titledate}}%
-}
-
-\renewcommand{\postdate}[1]{%
-\def\@bspostdate{\endBlockClass#1}%
-}
-
-\prepublished{\begin{center}}
-\postpublished{\par\end{center}}
-
-\pretitle{\begin{center}}
-\posttitle{\par\end{center}}
-
-\presubtitle{\begin{center}}
-\postsubtitle{\par\end{center}}
-
-\preauthor{\begin{center}%
-\begin{tabular}[t]{c}%
-}
-\postauthor{\end{tabular}\par\end{center}}
-
-\predate{\begin{center}}
-\postdate{\par\end{center}}
-\newcommand*{\printpublished}{
-\ifthenelse{\equal{\thepublished}{}}
-{}
-{
-    \begin{BlockClass}{published}
-    \@published
-    \end{BlockClass}
-}
-}
-
 \newcommand*{\printtitle}
 {
 \LWR at stoppars
@@ -4690,21 +4618,17 @@
 \LWR at startpars
 }
 
-\newcommand*{\printsubtitle}{
-\ifthenelse{\equal{\thesubtitle}{}}
-{}
-{
-    \begin{BlockClass}{subtitle}
-    \@subtitle
-    \end{BlockClass}
-}
-}
-
 \newcommand*{\printauthor}{
 \begin{BlockClass}{author}
-\begin{tabular}{c}\@author\end{tabular}
+\renewcommand{\and}{%
 \end{BlockClass}
+\begin{BlockClass}{oneauthor}
 }
+\begin{BlockClass}{oneauthor}
+\@author
+\end{BlockClass}
+\end{BlockClass}
+}
 
 \newcommand*{\printdate}{%
 \begin{BlockClass}{titledate}
@@ -4716,136 +4640,29 @@
 
 \begin{warpprint}
 
-\newcommand*{\printpublished}{{\Large\scshape\@published}}
 
 \newcommand*{\printtitle}{{\Huge\@title}}
 
-\newcommand*{\printsubtitle}{{\Large\itshape\@subtitle\bigskip}}
-
 \newcommand*{\printauthor}
     {{\large\begin{tabular}[t]{c}\@author\end{tabular}}}
 
 \newcommand*{\printdate}{{\small\textit{\@date}}}
-\providecommand{\maketitle}{}
+\end{warpprint}
+\begin{warpHTML}
 \if at titlepage
-  \renewcommand{\maketitle}{\begin{titlepage}%
-    \let\footnotesize\small
-    \let\footnoterule\relax
-    \LetLtxMacro{\footnote}{\thanks}
-    \@bsmarkseries
-      \def\@makefnmark{\rlap{\@textsuperscript{%
-         \normalfont\@bsthanksheadpre \tamark \@bsthanksheadpost}}}%
-      \long\def\@makefntext##1{\makethanksmark ##1}
-    \null\vfil
-    \vskip 60\p@
-    \vspace*{\droptitle}
-    \maketitlehooka
-    \ifcsempty{@published}
-        {}
-        {{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa}
-    {\@bspretitle \@title \@bsposttitle}
-    \ifcsempty{@subtitle}
-        {}
-        {\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}}
-    \maketitlehookb
-    {\@bspreauthor \@author \@bspostauthor}
-    \maketitlehookc
-    {\@bspredate \@date \@bspostdate}
-    \maketitlehookd
-    \par
-    \@thanks
-    \vfil\null
-    \end{titlepage}%
-    \@bscontmark  %  \setcounter{footnote}{0}%
-%%%    \@bsmtitlempty
-  } % end titlepage defs
+\newcommand{\LWR at setfootnoteseries}{%
+    \renewcommand\thefootnote{\@arabic\c at footnote}%
+}
 \else
-  \renewcommand{\maketitle}{\par
-    \begingroup
-      \@bsmarkseries
-      \def\@makefnmark{\rlap{\@textsuperscript{%
-         \normalfont\@bsthanksheadpre \tamark \@bsthanksheadpost}}}%
-      \long\def\@makefntext##1{\makethanksmark ##1}
-      \if at twocolumn
-        \ifnum \col at number=\@ne
-          \@maketitle
-        \else
-          \twocolumn[\@maketitle]%
-        \fi
-      \else
-        \newpage
-        \global\@topnum\z@
-        \@maketitle
-      \fi
-      \thispagestyle{plain}\@thanks
-    \endgroup
-    \@bscontmark  %  \setcounter{footnote}{0}%
-%%%    \@bsmtitlempty
-  } % end non-titlepage
-
-  \def\@maketitle{%
-    \newpage
-    \null
-    \vskip 2em%
-          \vspace*{\droptitle}
-    \maketitlehooka
-    \ifcsempty{@published}
-        {}
-        {{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa}
-    {\@bspretitle \@title \@bsposttitle}
-    \ifcsempty{@subtitle}
-        {}
-        {\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}}
-    \maketitlehookb
-    {\@bspreauthor \@author \@bspostauthor}
-    \maketitlehookc
-    {\@bspredate \@date \@bspostdate}
-    \maketitlehookd
-    \par
-    \vskip 1.5em}
-\fi
-
-\providecommand{\maketitlehookaa}{}
-
-\providecommand{\maketitlehookaaa}{}
-
-\newcommand{\prepublished}[1]{%
-\def\@bsprepublished{#1}%
+\newcommand{\LWR at setfootnoteseries}{%
+    \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
 }
-
-\newcommand{\postpublished}[1]{%
-\def\@bspostpublished{#1}%
-}
-
-\newcommand{\presubtitle}[1]{%
-\def\@bspresubtitle{#1}%
-}
-\newcommand{\postsubtitle}[1]{%
-\def\@bspostsubtitle{#1}%
-}
-\if at titlepage
-\prepublished{
-\vspace*{-\baselineskip}\vspace*{-\medskipamount}\vspace*{-2em}
-\begin{center}}
-\postpublished{\par\end{center}\vskip 2em}
-
-\presubtitle{\unskip\begin{center}\unskip}
-\postsubtitle{\par\end{center}\vskip 2em}
-\else
-\prepublished{\begin{center}}
-\postpublished{\par\end{center}\vskip 0.5em}
-
-\presubtitle{\begin{center}\unskip}
-\postsubtitle{\par\end{center}\vskip 0.5em}
 \fi
-\end{warpprint}
-\begin{warpHTML}
 \newcommand*{\LWR at maketitlesetup}{%
-\@bsmarkseries
-\@mpbsmarkseries
+\LWR at setfootnoteseries%
 \def\@makefnmark{\textsuperscript{\thefootnote}}
 \long\def\@makefntext##1{%
-\makethanksmark \LWR at orighspace{1in}
+\textsuperscript{\@thefnmark} \LWR at orighspace{1in}
 ##1%
 }%
 }
@@ -4860,40 +4677,84 @@
 \@maketitle
 \@thanks
 \end{titlepage}
-\@bscontmark
+\setcounter{footnote}{0}%
+\global\let\thanks\relax
+\global\let\maketitle\relax
+\global\let\@maketitle\relax
+\global\let\@thanks\@empty
+\global\let\@author\@empty
+\global\let\@date\@empty
+\global\let\@title\@empty
+\global\let\title\relax
+\global\let\author\relax
+\global\let\date\relax
+\global\let\and\relax
 }
-
 \DeclareDocumentCommand{\@maketitle}{}{%
-    \maketitlehooka
-    \ifcsempty{@published}
-        {}
-        {{\@bsprepublished \@published \@bspostpublished}\maketitlehookaa}
-    {\@bspretitle \@title \@bsposttitle}
-    \ifcsempty{@subtitle}
-        {}
-        {\maketitlehookaaa{\@bspresubtitle \@subtitle \@bspostsubtitle}}
-    \maketitlehookb
-    {\@bspreauthor \@author \@bspostauthor}
-    \maketitlehookc
-    {\@bspredate \@date \@bspostdate}
-    \maketitlehookd
+    \LWR at stoppars\LWR at htmltag{h1}
+    \@title
+    \LWR at htmltag{/h1}\LWR at startpars
+    \begin{BlockClass}{author}
+        \renewcommand{\and}{
+            \end{BlockClass}
+            \begin{BlockClass}{oneauthor}
+        }
+        \begin{BlockClass}{oneauthor}
+            \@author
+        \end{BlockClass}
+    \end{BlockClass}
+    \begin{BlockClass}{titledate}
+    \@date
+    \end{BlockClass}
 }
 
-\providecommand{\maketitlehookaa}{}
-\providecommand{\maketitlehookaaa}{}
-
 \newcommand*{\LWR at titlingmaketitle}{%
+\@thanks
+\LWR at maketitlesetup
 \@maketitle
 \@thanks
 }
+\end{warpHTML}
+\begin{warpall}
 
-\renewcommand{\thanksmarkseries}[1]{%
-\def\@mpbsmarkseries{%
-\renewcommand*{\thempfootnote}{\@nameuse{#1}{mpfootnote}}}%
-\def\@bsmarkseries{\renewcommand{\thefootnote}{\@nameuse{#1}{footnote}}}%
+\AfterPackage{titling}{
+\newcommand*{\AddSubtitlePublished}{%
+
+\newcommand{\@published}{}
+
+\newcommand{\published}[1]{\gdef\@published{##1}}
+
+\renewcommand*{\maketitlehooka}{\printpublished}
+
+\newcommand*{\printpublished}{%
+\warpprintonly{\begin{center}\unskip}%
+\begin{BlockClass}{published}%
+\warpprintonly{\large\itshape}%
+\@published%
+\end{BlockClass}%
+\warpprintonly{\end{center}}%
 }
-\end{warpHTML}
 
+\newcommand{\@subtitle}{}
+
+\newcommand{\subtitle}[1]{\gdef\@subtitle{##1}}
+
+\renewcommand*{\maketitlehookb}{\printsubtitle}
+
+\newcommand*{\printsubtitle}{%
+\warpprintonly{\begin{center}\unskip}%
+\begin{BlockClass}{subtitle}%
+\warpprintonly{\Large\itshape}%
+\@subtitle%
+\end{BlockClass}%
+\warpprintonly{\end{center}}%
+}
+
+}% \AddSubtitlePublished
+}% AfterPackage
+
+\end{warpall}
+
 \begin{warpHTML}
 
 \providecommand*{\abstractname}{Abstract}
@@ -5190,9 +5051,11 @@
 \end{warpHTML}
 \begin{warpall}
 \newcommand{\StartDefiningTabulars}{%
+\LWR at traceinfo{StartDefiningTabulars}
 \warpHTMLonly{\catcode`\&=\active}%
 }
 \newcommand{\EndDefiningTabulars}{%
+\LWR at traceinfo{EndDefiningTabulars}
 \warpHTMLonly{\catcode`\&=4}%
 }
 
@@ -5584,24 +5447,40 @@
 
 \newcommand{\LWR at multicoltext}{}
 
-\NewDocumentCommand{\LWR at domulticolumn}{m m +m}{%
-\LWR at traceinfo{lwr at domulticolumn -#1- -#2-}%
+\NewDocumentCommand{\LWR at domulticolumn}{o o m m +m}{%
+\LWR at traceinfo{lwr at domulticolumn -#1- -#2- -#3- -#4-}%
 \renewcommand{\LWR at multicoltext}{%
-#3%
+#5%
 \booltrue{LWR at validtablecol}%
 }%
 \LWR at maybenewtablerow%
-\LWR at htmltag{td colspan="#1"
+\LWR at htmltag{td colspan="#3" %
+\IfValueTF{#2}{ % rows?
+rowspan="#2" %
+\IfValueT{#1}{% vpos?
+\ifstrequal{#1}{b}{style="vertical-align:bottom" }{}%
+\ifstrequal{#1}{t}{style="vertical-align:top" }{}%
+}% vpos?
+}{}% rows?
  class="td%
-\LWR at parsemulticolumnalignment{#2}{\LWR at printmccoltype}%
+\LWR at parsemulticolumnalignment{#4}{\LWR at printmccoltype}%
 \ifthenelse{\equal{\LWR at getexparray{LWR at midrules}{\theLWR at tablecolspos}}{Y}}{rule}{}%
 "%
 }% end of the opening table data tag
 \global\boolfalse{LWR at intabularmetadata}%
-\LWR at parsemulticolumnalignment{#2}{\LWR at printmccoldata}%
+\LWR at parsemulticolumnalignment{#4}{\LWR at printmccoldata}%
 }
 
 
+\NewDocumentCommand{\LWR at htmlmulticolumn}{m m +m}%
+{%
+\LWR at tabularhtmlcolumns{\theLWR at tablecolspos}{#1}
+\LWR at domulticolumn{\theLWR at tabhtmlcoltotal}{#2}{#3}%
+\addtocounter{LWR at tablecolspos}{#1}%
+\addtocounter{LWR at tablecolspos}{-1}%
+\booltrue{LWR at skipatbang}%
+}
+
 \newbool{LWR at starredlongtable}
 \boolfalse{LWR at starredlongtable}
 \providecommand*{\LTcaptype}{table}
@@ -5694,36 +5573,45 @@
     \ifdefempty{\LWR at atbangspec}{}{\addtocounter{LWR at tabhtmlcoltotal}{1}}%
 }{}%
 }
+\end{warpHTML}
+\begin{warpall}
+\DeclareExpandableDocumentCommand{\LWR at origmulticolumnrow}{m m O{c} m O{0} m O{0pt} +m}{%
+\multicolumn{#1}{#2}{\@xmultirow[#3]{#4}[#5]{#6}[#7]{#8}}
+}
 
+\newcommand*{\multicolumnrow}{\LWR at origmulticolumnrow}
+\end{warpall}
+\begin{warpHTML}
+\newcommand*{\LWR at donothing}{}
+\newcommand*{\LWR at domidrule}{\booltrue{LWR at doinghline}}
+\newcommand*{\LWR at dotbrule}{\booltrue{LWR at doingtbrule}}
 
-\NewDocumentCommand{\LWR at tabledatamulticolumntag}{m m +m}%
-{%
-\LWR at tabularhtmlcolumns{\theLWR at tablecolspos}{#1}
-\LWR at domulticolumn{\theLWR at tabhtmlcoltotal}{#2}{#3}%
-\addtocounter{LWR at tablecolspos}{#1}%
-\addtocounter{LWR at tablecolspos}{-1}%
-\booltrue{LWR at skipatbang}%
+\end{warpHTML}
+
+
+\begin{warpall}
+\let\TabularMacro\relax
+
+\end{warpall}
+
+\begin{warpHTML}
+
+\newcommand*{\ResumeTabular}{%
+\global\boolfalse{LWR at exitingtabular}%
+\LWR at getmynexttoken%
 }
 
+\end{warpHTML}
 
+\begin{warpprint}
 
-\NewDocumentCommand{\LWR at tabledatamultirowtag}{m o m o m}%
-{%
-\LWR at maybenewtablerow%
-\LWR at htmltag{td rowspan="#1" class="td%
-\StrChar{\LWR at tablecolspec}{\theLWR at tablecolspos}%
-\ifthenelse{\equal{\LWR at getexparray{LWR at midrules}{\theLWR at tablecolspos}}{Y}}{rule}{}%
-"{}}
-\begingroup \LetLtxMacro{\\}{\LWR at endofline} #5 \endgroup
-\LWR at stoppars%
-\global\boolfalse{LWR at intabularmetadata}%
-}%
+\newcommand*{\ResumeTabular}{}
 
-\newcommand*{\LWR at donothing}{}
-\newcommand*{\LWR at domidrule}{\booltrue{LWR at doinghline}}
-\newcommand*{\LWR at dotbrule}{\booltrue{LWR at doingtbrule}}
+\end{warpprint}
 
 
+\begin{warpHTML}
+
 \newbool{LWR at exitingtabular}
 
 \newcommand*{\LWR at tabledatacolumntag}%
@@ -5738,8 +5626,12 @@
 {\let\mynext\LWR at donothing}{}%
 \ifthenelse{\isequivalentto{\LWR at mynexttoken}{\multirow}}%
 {\let\mynext\LWR at donothing}{}%
+\ifthenelse{\isequivalentto{\LWR at mynexttoken}{\multicolumnrow}}%
+{\let\mynext\LWR at donothing}{}%
 \ifthenelse{\isequivalentto{\LWR at mynexttoken}{\mrowcell}}%
 {\let\mynext\LWR at donothing}{}%
+\ifthenelse{\isequivalentto{\LWR at mynexttoken}{\TabularMacro}}%
+{\let\mynext\LWR at donothing}{}%
 \ifthenelse{\isequivalentto{\LWR at mynexttoken}{\hline}}%
 {\let\mynext\LWR at donothing}{}%
 \ifthenelse{\isequivalentto{\LWR at mynexttoken}{\toprule}}%
@@ -5814,8 +5706,7 @@
 \DeclareDocumentCommand{\addlinespace}{o}{}
 \DeclareDocumentCommand{\morecmidrules}{}{}
 \DeclareDocumentCommand{\specialrule}{m m m}{\LWR at domidrule\LWR at getmynexttoken}
-\LetLtxMacro{\multicolumn}{\LWR at tabledatamulticolumntag}%
-\LetLtxMacro{\multirow}{\LWR at tabledatamultirowtag}%
+\renewcommand{\multicolumn}{\LWR at htmlmulticolumn}%
 \renewcommand*{\mrowcell}{\global\booltrue{LWR at skippingmrowcell}}%
 \LetLtxMacro{\caption}{\LWR at longtabledatacaptiontag}%
 \global\boolfalse{LWR at tableparcell}%
@@ -6510,7 +6401,6 @@
     }
 }{}% not eq > 0
 }
-\newcommand*{\LWR at restoreorigrelsize}{}
 \newcommand*{\LWR at restoreorigformatting}{%
 \LWR at traceinfo{LWR at restoreorigformatting}%
 \LetLtxMacro{\hspace}{\LWR at orighspace}%
@@ -6569,11 +6459,7 @@
 \LetLtxMacro{\minipage}{\LWR at origminipage}%
 \let\endminipage\LWR at endminipage%
 \LetLtxMacro{\parbox}{\LWR at origparbox}%
-\LWR at restoreorigxcolor%
-\LWR at restoremoreorigxcolor%
-\LWR at restoreorigtextcomp%
 \LWR at restoreorigaccents%
-\LWR at restoreorigrelsize%
 \LWR at FBcancel%
 }
 
@@ -7081,8 +6967,17 @@
 
 \end{warpHTML}
 
+\begin{warpHTML}
+\@ifpackageloaded{textcomp}
+{
+\LWR at origRequirePackage{lwarp-textcomp}
+}
+{}
 
+\end{warpHTML}
 
+
+
 \begin{warpHTML}
 
 \PassOptionsToPackage{
@@ -7385,15 +7280,7 @@
 
 \end{warpHTML}
 
-
 \begin{warpall}
-
-\newcommand*{\LWR at restoreorigxcolor}{}
-\newcommand*{\LWR at restoremoreorigxcolor}{}
-
-\end{warpall}
-
-\begin{warpall}
 \AtBeginDocument{
 \@ifpackageloaded{xcolor}{
 \LWR at traceinfo{patching xcolor}
@@ -7480,8 +7367,8 @@
 \LWR at traceinfo{*** finished end fcolorminipage}%
 }
 
-\renewcommand*{\LWR at restoremoreorigxcolor}{%
-\LWR at traceinfo{LWR at restoremoreorigxcolorformatting}%
+\newcommand*{\LWR at restoreorigprintxcolor}{%
+\LWR at traceinfo{LWR at restoreorigprintxcolor}%
 \LetLtxMacro\colorboxBlock\LWRprint at colorboxBlock%
 \LetLtxMacro\fcolorbox\LWRprint at fcolorbox%
 \LetLtxMacro\fcolorboxBlock\LWRprint at fcolorboxBlock%
@@ -7488,10 +7375,14 @@
 \LetLtxMacro\fcolorminipage\LWRprint at fcolorminipage%
 \LetLtxMacro\endfcolorminipage\endLWRprint at fcolorminipage%
 }
-\warpprintonly{\LWR at restoremoreorigxcolor}
 
+\appto{\LWR at restoreorigformatting}{%
+\LWR at restoreorigprintxcolor%
+}
+\warpprintonly{\LWR at restoreorigprintxcolor}
+
 \LWR at traceinfo{xcolor patches done}
-}{}% xcolor
+}{}% xcolor loaded
 }% AtBeginDocument
 \end{warpall}
 



More information about the tex-live-commits mailing list