summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/lwarp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/lwarp')
-rw-r--r--Master/texmf-dist/source/latex/lwarp/lwarp.dtx3488
-rw-r--r--Master/texmf-dist/source/latex/lwarp/lwarp.ins12
2 files changed, 2167 insertions, 1333 deletions
diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
index 67e54f5c022..e49d34f4402 100644
--- a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
+++ b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
@@ -1,7 +1,7 @@
%
% \iffalse meta-comment
%
-% Copyright 2016-2018 Brian Dunn
+% Copyright 2016-2019 Brian Dunn
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -16,7 +16,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lwarp}
-%<package> [2018/12/22 v0.65 Allows LaTeX to directly produce HTML5 output.]
+%<package> [2019/02/08 v0.66 Allows LaTeX to directly produce HTML5 output.]
%
%<*driver>
\documentclass{ltxdoc}
@@ -24,10 +24,11 @@
\usepackage{lmodern}
% \usepackage{libertine}
\usepackage[space]{erewhon}
-% \usepackage[varqu,varl]{inconsolata} % typewriter
-% \usepackage{roboto}
+\usepackage[varqu,varl]{inconsolata} % typewriter
+\usepackage{roboto}
+% \usepackage{sourcesanspro}
% \usepackage{cabin}
-\usepackage[tabular,semibold]{sourcesanspro}
+% \usepackage[tabular,semibold]{sourcesanspro}
\usepackage[T1]{fontenc}
@@ -130,11 +131,21 @@
\definecolor{codecolor}{rgb}{0,.4,.2}
\definecolor{overviewcolor}{rgb}{0,.2,.4}
+\usepackage[
+ left=2in,
+ right=1.5in,
+ top=1.5in,
+ bottom=1in
+]{geometry}
\usepackage{graphicx}
\graphicspath{{images/}}
+
\usepackage{metalogo}
+
+\makeatletter
+\@ifpackageloaded{erewhon}{
% for erewhon:
\setlogokern{Te}{-.08em}
\setlogokern{eX}{-0.04em}
@@ -143,6 +154,9 @@
\setlogokern{Xe}{-.04em}
\setlogokern{eL}{-.06em}
\setlogodrop{0.27ex}
+}{}
+\makeatother
+
\usepackage{enumitem}
@@ -182,70 +196,7 @@
\pagestyle{pageheadfoot}
-
-
-\usepackage{dtxdescribe}
-
-
-\DeclareRobustCommand{\thinskip}{\hskip 0.16667em\relax}
-\def\endash{–}
-\def\emdash{—}
-% \def\d@sh#1#2{\unskip#1\thinskip#2\thinskip\ignorespaces}
-% \def\dash{\d@sh\nobreak\endash}
-% \def\Dash{\d@sh\nobreak\emdash}
-\newcommand{\thinbrspace}{\hspace{.16667em}\penalty\exhyphenpenalty\hspace{0pt}}
-\newrobustcmd{\Dash}{\unskip\thinspace\textemdash\thinbrspace}
-\newrobustcmd{\dash}{\unskip\thinspace\mbox{--}\thinbrspace}
-\newrobustcmd{\Slash}{\unskip\thinspace/\thinbrspace}
-
-
-\newcommand{\ItemDescribeMacro}[1]{%
-\item[\cmd{#1}:]%
-\setlength{\parskip}{1.5ex}%
-\DescribeMacro{#1}%
-}
-
-\newcommand{\ItemDescribeEnv}[1]{%
-\item[\env{#1}:]%
-\setlength{\parskip}{1.5ex}%
-\DescribeEnv{#1}%
-}
-
-\newcommand{\ItemDescribeOption}[1]{%
-\item[\texttt{#1}:]%
-\setlength{\parskip}{1.5ex}%
-\DescribeOption{#1}%
-}
-
-\newcommand{\ItemDescribeCounter}[1]{%
-\item[\texttt{#1}:]%
-\setlength{\parskip}{1.5ex}%
-\DescribeCounter{#1}%
-}
-
-\newcommand{\ItemDescribeBoolean}[1]{%
-\item[\texttt{#1}:]%
-\setlength{\parskip}{1.5ex}%
-\DescribeBoolean{#1}%
-}
-
-% A macro which is not indexed:
-\makeatletter
-\newenvironment{noindmacro}[1]
-{
-\setlength{\parskip}{\marginparpush}
-\leavevmode\par\DTXD@margintag{}{\cmd{#1}}{}}
-{\unskip}
-\makeatother
-
-% An environment which is not indexed:
-\makeatletter
-\newenvironment{noindenvironment}[1]
-{
-\setlength{\parskip}{\marginparpush}
-\leavevmode\par\DTXD@margintag{}{#1}{Env}}
-{\unskip}
-\makeatother
+\usepackage{dtxdescribe}[2019/01/11]
\usepackage{splitidx}
@@ -281,24 +232,6 @@ Keywords={LaTeX, HTML, conversion}%
}}
-\pdfstringdefDisableCommands{
-\def\quad{ }
-\def\\{ }
-\def\pkg#1{#1}
-\def\cs#1{\textbackslash#1}
-\def\env#1{#1}
-\def\,{ }
-\def\prog#1{#1}
-\def\LuaLaTeX{LuaLaTeX}
-\def\XeLaTeX{XeLaTeX}
-\def\TeX{TeX}
-\def\LaTeX{LaTeX}
-\def\Dash{ --- }
-\def\dash{ -- }
-\def\element#1{#1}
-\def\attribute#1{#1}
-}
-
\usepackage{cleveref}
@@ -306,55 +239,19 @@ Keywords={LaTeX, HTML, conversion}%
\renewcommand{\partname}{Package}
\renewcommand*{\thepart}{\arabic{part}}
-
-\providerobustcmd*{\lmacro}[1]{\textbackslash#1}
-\providerobustcmd*{\cmds}[1]{\mbox{\texttt{\textbf{\textsl{#1}}}}}
-\providerobustcmd*{\env}[1]{\mbox{\texttt{#1}}}
-\providerobustcmd*{\ctr}[1]{\mbox{\texttt{#1}}}
-\providerobustcmd*{\bool}[1]{\mbox{\texttt{#1}}}
-
-% \providerobustcmd*{\pkg}[1]{\mbox{\textbf{\textsf{#1}}}}
-% \providerobustcmd*{\prog}[1]{\mbox{\textbf{\textsf{#1}}}}
-\providerobustcmd*{\pkg}[1]{\mbox{\textsf{#1}}}
-\providerobustcmd*{\prog}[1]{\mbox{\textsf{\textsl{#1}}}}
-
-\providerobustcmd*{\progcode}[1]{\mbox{\texttt{#1}}}
-\providerobustcmd*{\optn}[1]{\mbox{\texttt{#1}}}
-\providerobustcmd*{\filenm}[1]{\mbox{\texttt{#1}}}
-
-\providerobustcmd*{\brand}[1]{\textsc{#1}}
-
-\newrobustcmd{\acro}[1]{\textsc{\lowercase{#1}}}
-\newrobustcmd{\element}[1]{\texttt{<#1>}}
-\newrobustcmd{\attribute}[1]{\mbox{\texttt{#1}}}
-\newrobustcmd{\UI}[1]{\textbf{\textsf{#1}}}
-
-\newrobustcmd{\supregistered}{\textsuperscript{\textregistered}}
-
-\newrobustcmd{\TOC}{\acro{TOC}}
-\newrobustcmd{\LOF}{\acro{LOF}}
-\newrobustcmd{\LOT}{\acro{LOT}}
-
-\newrobustcmd{\HTML}{\acro{HTML}}
-\newrobustcmd{\HTMLfive}{\HTML\textsc{5}}
-\newrobustcmd{\CSS}{\acro{CSS}}
-\newrobustcmd{\CSSthree}{\CSS\textsc{3}}
-\newrobustcmd{\EPUB}{\acro{EPUB}}
-\newrobustcmd{\ODT}{\acro{ODT}}
-\newrobustcmd{\SVG}{\acro{SVG}}
-\newrobustcmd{\PNG}{\acro{PNG}}
-\newrobustcmd{\GIF}{\acro{GIF}}
-\newrobustcmd{\JPG}{\acro{JPG}}
-\newrobustcmd{\EPS}{\acro{EPS}}
-\newrobustcmd{\PDF}{\acro{PDF}}
-\newrobustcmd{\DVI}{\acro{DVI}}
-\newrobustcmd{\tikz}{Ti\textit{k}z}
-\newrobustcmd{\MathML}{Math\acro{ML}}
-\newrobustcmd{\CTAN}{\acro{CTAN}}
-\newrobustcmd{\TDS}{\acro{TDS}}
-\newrobustcmd{\UTF}{\acro{UTF}}
-
-\newcommand{\spslash}{\unskip\kern.085em/\hspace{.085em}\penalty\exhyphenpenalty\hspace{0pt}}
+\renewenvironment{abstract}
+ {
+ \addvspace{\bigskipamount}
+ \begin{center}
+ \textbf{\abstractname}
+ \end{center}
+% \small
+ \setlength{\parindent}{2em}
+ \setlength{\parskip}{0ex}
+ }
+ {
+ \addvspace{\bigskipamount}
+ }
\makeatletter
\newcommand*{\rulebreak}{%
@@ -362,8 +259,6 @@ Keywords={LaTeX, HTML, conversion}%
}
\makeatother
-\newcommand{\DescribeDefault}[1]{\margintag{\footnotesize \textgreen{Default: \texttt{#1}}}}
-
\newcommand{\goesto}{$\Rightarrow$}
\newcommand{\credits}[1]{{\footnotesize(\textit{Emulates or patches code by} \textsc{#1}.)}}
@@ -375,78 +270,15 @@ Keywords={LaTeX, HTML, conversion}%
\newcommand*{\testthis}{\textcolor{blue}{Please send bug reports!}\watchout[Not fully tested!]}
-\newcommand*{\fquad}{\hspace*{1em}}
-\newcommand*{\fqquad}{\hspace*{2em}}
-\newcommand*{\fqqquad}{\hspace*{3em}}
-
\newcommand{\textred}[1]{\textcolor{red}{#1}}
\newcommand{\textgreen}[1]{\textcolor{green!50!black}{#1}}
\newcommand{\textblue}[1]{\textcolor{blue!70!black}{#1}}
-\newcommand{\userentry}[1]{%
-\par
-\fqquad\begin{minipage}{\linewidth-2em}
-{\footnotesize Enter~$\Rightarrow$}\quad\texttt{#1}
-\end{minipage}
-\par
-}
-
-\newenvironment{sourcedisplay}
-{
-\leavevmode
-\par
-\fqquad\minipage{\linewidth-2em}
-\ttfamily
-}
-{%
-\endminipage
-\par
-}
-
-\newenvironment{UIdisplay}
-{
-\leavevmode
-\par
-\fqquad\minipage{\linewidth-2em}
-\sffamily\bfseries
-}
-{
-\endminipage
-\par
-}
-
-\newenvironment{docsidebar}[1][]
-{%
-\ifblank{#1}{}{\medskip}%
-\hfill\minipage{.9\linewidth}%
-\setlength{\parskip}{1.5ex}%
-\ifblank{#1}{}{\textit{#1}}%
-\leavevmode\smallskip\hrule%
-}
-{\smallskip\hrule\endminipage\hspace*{\fill}\bigskip}
-
\newcommand{\pdflatexonly}{
\textred{Only pre-loaded if \prog{pdflatex} is being used.}
\marginpar{\raggedleft\textblue{\prog{pdflatex} only:}}
}
-% From package dtxdescribe:
-% \makeatletter
-% \renewcommand{\watchout}[1][]{%
-% \@ifundefined{@captype}{% not float?
-% % \@bsphack%
-% \marginpar{\raggedleft%
-% \textcolor{red!50!black}{\warningsign\normalsize\quad#1}}%
-% % \@esphack%
-% \ignorespaces%
-% }{}% not float?
-% }
-% \makeatother
-
-% \newcommand{\margintag}[1]{%
-% \marginpar{\raggedleft\textblue{#1}}%
-% }
-
% \trouble[watchout phrase]{index entry}
\newcommand*{\trouble}[2][]{%
@@ -469,6 +301,7 @@ the \nameref{sec:indextrb} if something doesn't work.
The \nameref{sec:indexidx} contains automated entries for each package, macro, environment,
counter, boolean, and other objects; individually and also sorted by category.
A \nameref{sec:troubleshooting} section is also available.
+\smallskip
\hrule
\end{minipage}\margintag{Need help?}
}
@@ -567,7 +400,7 @@ but does not require that \pkg{hyperref} be loaded by the document.
Do not place a comment with a \texttt{\%} character between arguments
\trouble[comments between arguments]{hyperref=\pkg{hyperref}>comments between arguments}
-for \cs{hyperref}, etc., as it is neutralized for inclusion in \HTML\ \acro{URL}s.
+for \cs{hyperref}, etc., as it is neutralized for inclusion in \HTML\ \URL{}s.
\pkg{lwarp} can also load \pkg{url}, but \pkg{url} should not be used at the
same time as \pkg{hyperref}, since they both define the \cs{url} command.
@@ -583,7 +416,7 @@ automatically load \pkg{backref}, so \pkg{backref} must be loaded explicitly.
\newcommand{\limitsabstract}{%
If using the \optn{number} option with file splits,
-\trouble[missing \acro{TOC}]{abstract>missing \acro{TOC}}
+\trouble[missing \TOC]{abstract>missing \TOC}
be sure to place the table of contents before the abstract.
The \optn{number} option causes a section break which
may cause a file split, which would put a table of contents out
@@ -607,28 +440,12 @@ See \cref{sec:publishedsubtitle}.
\newcommand{\limitsappendix}{%
During \HTML\ conversion, the option \optn{toc} without
-\trouble[incorrect \acro{TOC} link]{appendix>incorrect \acro{TOC} link}
-the option \optn{page} results in a \acro{TOC} link to
+\trouble[incorrect \TOC\ link]{appendix>incorrect \TOC\ link}
+the option \optn{page} results in a \TOC\ link to
whichever section was before the \texttt{appendices} environment.
It is recommended to use both \texttt{toc} and also \texttt{page} at the same time.
}
-\newcommand{\limitsxindylanguage}{%
-The \pkg{lwarp} package option
-\DescribeOption{xindyLanguage}
-\DescribeDefault{english}
-\optn{xindyLanguage} sets the language used by \prog{xindy}.
-This is passed to \prog{xindy} using its \optn{-L} option
-when using \cmds{lwarpmk printindex} and \cmds{lwarpmk htmlindex}.
-
-The option
-\DescribeOption{xindyCodepage}
-\DescribeDefault{utf8}
-\optn{xindycodepage} sets the codepage used by \prog{xindy}.
-This is passed to \prog{xindy} using its \optn{-C} option
-when using \cmds{lwarpmk printindex} and \cmds{lwarpmk htmlindex}.
-}
-
\newcommand{\limitspdftotextenc}{%
The option
\DescribeOption{pdftotextEnc}
@@ -664,14 +481,14 @@ To do so, add to the start of the \filenm{.bib} file the following:
\DescribeOption[lwarpmk]{htmlglossary}
\prog{lwarpmk} has the commands \texttt{lwarpmk printglossary} and
\texttt{lwarpmk htmlglossary}, which process the glossaries created by the
-\pkg{glossaries} package using that package's \cmds{makeglossaries} command.
+\pkg{glossaries} package using that package's \prog{makeglossaries} program.
The shell command to execute is set by the \pkg{lwarp} option \optn{GlossaryCmd},
which defaults to \cmds{makeglossaries}.
The print or \HTML\ glossary filename is appended to this command.
In some situations it may be required to modify the default command,
-\trouble[\cmds{makeglossaries} not found]{makeglossaries=\prog{makeglossaries}>not found}
+\trouble[\prog{makeglossaries} not found]{makeglossaries=\prog{makeglossaries}>not found}
\trouble{glossaries=\pkg{glossaries}>makeglossaries=\prog{makeglossaries} not found}
such as to add the \cmds{perl} command in front:
\begin{sourcedisplay}
@@ -687,11 +504,11 @@ To set the language to use for processing glossaries with \prog{xindy}:
\fquad\ GlossaryCmd=\{makeglossaries \textred{-L english}\}, \\
] \{lwarp\}
\end{sourcedisplay}
-Other options for \cmds{makeglossaries} may be set as well.
+Other options for \prog{makeglossaries} may be set as well.
The glossaries may be placed in a numbered or unnumbered section, given
-\margintag{placement and \acro{TOC} options}
-a \acro{TOC} entry, and placed inline or on their own \HTML\ page:
+\margintag{placement and \TOC\ options}
+a \TOC\ entry, and placed inline or on their own \HTML\ page:
\begin{description}
\item [Numbered section, on its own \HTML\ page:]
@@ -736,8 +553,8 @@ though the page number is currently ignored.
\newcommand{\limitstocbibind}{%
An index may be placed inline with other \HTML\ text, or on its own \HTML\ page:
-\margintag{placement and \acro{TOC} options}
-\gindex{index>placement and \acro{TOC} options}
+\margintag{placement and \TOC\ options}
+\gindex{index>placement and \TOC\ options}
\gindex{index>table of contents}
\begin{description}
@@ -771,7 +588,7 @@ An index may be placed inline with other \HTML\ text, or on its own \HTML\ page:
\DescribePackage{tocbibind}
The \pkg{tocbibind}
- package may be used to automatically place an entry in the \acro{TOC}.
+ package may be used to automatically place an entry in the \TOC.
\begin{sourcedisplay}
\cs{usepackage}[nottoc]\{tocbibind\} \\
\dots \\
@@ -854,7 +671,7 @@ allowing other packages to work with it.
}
\newcommand*{\limitsendnotes}{%
-To place the endnotes in the \acro{TOC}, use:
+To place the endnotes in the \TOC, use:
\margintag{table of contents}
\begin{sourcedisplay}
\cs{usepackage}\{endnotes\} \\
@@ -1062,6 +879,16 @@ loading \pkg{lwarp}:
\cs{usepackage\{package\_name\}}
\end{sourcedisplay}
+\pkg{memoir} emulates a number of packages, and declares a version date for each
+\trouble[version numbers]{memoir=\pkg{memoir}>version clash}
+\trouble{package>version numbers with \pkg{memoir}}
+\trouble{version numbers>with \pkg{memoir}}
+which often does not match the date of the corresponding freestanding package.
+This can cause warnings about incorrect version numbers.
+Since \pkg{lwarp} is intended to support the freestanding packages,
+which are often newer than the date declared by \pkg{memoir}, it is hoped that
+\pkg{memoir} will update and change its emulated version numbers to match.
+
\cs{verbfootnote} is not supported.
\cs{newfootnoteseries}, etc. are not supported.
@@ -1091,16 +918,11 @@ but it will only work for print output.
\pkg{lwarp} provides \cs{attribution}, which
works for both print and \HTML\ output. To combine the two so that
\cs{attrib} is used for print and \cs{attribution} is used for \HTML:
-
-\begin{docsidebar}
-\raggedright
-\ttfamily
-\cs{begin}\{warpHTML\}
-
-\cs{let}\cs{attrib}\cs{attribution}
-
+\begin{sourcedisplay}
+\cs{begin}\{warpHTML\} \\
+\cs{let}\cs{attrib}\cs{attribution} \\
\cs{end}\{warpHTML\}
-\end{docsidebar}
+\end{sourcedisplay}
\DescribeLength{\vleftskip}
\DescribeLength{\vleftmargini}
@@ -1149,6 +971,10 @@ which defaults to:
\newcommand{\limitsmath}{%
+
+\subsubsection{Math in section names}
+\limitsmathinsectionnames
+
\subsubsection{Rendering tradeoffs}
Math may be rendered
@@ -1381,6 +1207,20 @@ Examples:
%\end{sourcedisplay}
%}
+\newcommand*{\limitsmathinsectionnames}{
+if using named files, in section names use paren math \texttt{\textbackslash(x+y\textbackslash)}
+\trouble[math in section names]{filename>math in}
+\trouble{sectioning>math in name}
+\trouble{math>section name}
+\trouble{math>file name}
+instead of dollar math \texttt{\$x+y\$}.
+(Dollar math works, but appears in the filename.)
+Or, use a short name for the \TOC\ entry without the math, or use
+\begin{sourcedisplay}
+\cs{section}\{\cs{texorpdfstring}\{\$1+2=3\$\}\{text description\}\}
+\end{sourcedisplay}
+}
+
\newcommand{\limitschemfig}{%
If using \cs{polymerdelim} to add delimiters to a \cs{chemfig},
wrap both inside a single \env{lateximage}:
@@ -1429,6 +1269,8 @@ It is recommended to use \pkg{cleveref} instead of \pkg{ntheorem}'s
}
\newcommand{\limitsgraphics}{%
+\limitsincludegraphicsscale
+
For \cs{includegraphics} with \filenm{.pdf} or \filenm{.eps} files,
\gindex{graphics>formats}
\gindex{includegraphics=\cs{includegraphics}>using}
@@ -1514,7 +1356,7 @@ enclose them inside \env{warpHTML} environments.
For font-proportional image sizes, use \texttt{ex} or \texttt{em}.
For fixed-sized images, use
\texttt{cm}, \texttt{mm}, \texttt{in}, \texttt{pt}, or \texttt{pc}.
-Use the keys \optn{width=.5\lmacro{linewidth}},
+Use the keys \optn{width=.5\cs{linewidth}},
or similar for \cs{textwidth} or \cs{textheight}
to give fixed-sized images proportional to a 6 by 9 inch text area.
Do not use the \optn{scale} option, since it is not well supported by \HTML\ browsers.
@@ -1547,6 +1389,19 @@ unlike \LaTeX{}, so expect some
ugly results for scaling and rotating.
}
+\newcommand*{\limitsincludegraphicsscale}{
+Avoid using the \cs{includegraphics} \optn{scale} option. Change:
+\trouble[\optn{scale}]{scale=\optn{scale} (\cs{includegraphics} option)}
+\trouble{includegraphics=\cs{includegraphics}>scale=\optn{scale}}
+\trouble{graphics>scale=\optn{scale} option}
+\begin{sourcedisplay}
+\cs{includegraphics}[scale=<xx>]\{\,\dots\}
+\end{sourcedisplay} to:
+\begin{sourcedisplay}
+\cs{includegraphics}[width=<yy>\textbackslash{linewidth}]\{\,\dots\}
+\end{sourcedisplay}
+}
+
\newcommand{\limitssvgimages}{%
When a math expression, \env{picture}, or \tikz\ environment is added or
\trouble[adding/removing]{SVG image>out of order}
@@ -1744,7 +1599,7 @@ following, especially if working with environments, macros inside tabulars,
multirows, \texttt{*} column specifiers, \pkg{siunitx} \texttt{S} columns,
or the packages \pkg{multirow}, \pkg{longtable}, \pkg{supertabular}, or \pkg{xtab}.
\begin{description}
-\item [Defining environments:] \
+\item [Defining macros and environments:] \
\begin{itemize}
\item When defining environments or macros which include \env{tabular} and
\trouble[Misplaced alignment tab character \&]%
@@ -1984,7 +1839,7 @@ Keep the \cs{endfirsthead} row, which is still relevent to \HTML\ output.
\begin{sourcedisplay}
\cs{begin}\{warpprint\} \ldots\ \cs{end}\{warpprint\}
\end{sourcedisplay}
-or place it inside \cs{warpingprintonly}.
+or place it inside \cs{warpprintonly}.
\pkg{longtable} is not supported inside a \env{lateximage}.%
\watchout[lateximage]
@@ -2081,57 +1936,73 @@ the page will be corrupted.
}
\newcommand{\limitsminipage}{%
-A line of text with an inline minipage
+A line of text with an inline \env{minipage}
\trouble[inline]{minipage>inline}
-or parbox will have the minipage or parbox placed onto its own line,
+or \cs{parbox} will have the \env{minipage} or \cs{parbox} placed onto its own line,
because a paragraph is a block element and cannot be made \attribute{inline-block}.
-Minipages and parboxes will be placed side-by-side in \HTML\
+\env{minipage}s and \cs{parbox}es will be placed side-by-side in \HTML\
\margintag{placement}
unless you place a \cs{newline} between them.
-Side-by-side minipages may be separated by \cs{quad}, \cs{qquad}, \cs{enskip},
+Side-by-side \env{minipage}s may be separated by \cs{quad}, \cs{qquad}, \cs{enskip},
\margintag{side-by-side}
\cs{hspace}, \cs{hfill}, or a \cs{rule}.
When inside a \env{center} environment, the result is
similar in print and \HTML. Paragraph tags are suppressed between
-side-by-side minipages and these spacing commands, but not at the start or end
+side-by-side \env{minipage}s and these spacing commands, but not at the start or end
of the paragraph.
-There is limited support for minipages inside an \HTML\ \element{span}.
-\margintag{in a span}
-\trouble{minipage>in a span}
+There is limited support for \env{minipage}s inside an \HTML\ \element{span}.
+\trouble[minipage in a span]{minipage>in a span}
An \HTML\ \element{div} cannot appear inside a \element{span}.
-While in a \element{span}, minipages, and parboxes, and any enclosed lists
+While in a \element{span}, \env{minipage}s, and \cs{parbox}es, and any enclosed lists
have limited \HTML\ tags, resulting in an ``inline'' format, without markup
except for \HTML\ breaks.
Use \cs{newline} or \cs{par} for an \HTML\ break.
When using \cs{linewidth}, \cs{textwidth}, and \cs{textheight},
-\margintag{size}
-widths and heights are scaled proportionally to a 6\texttimes{}9 inch text area.
+\trouble[minipage size]{minipage>size}
+widths and heights in \HTML\ are scaled proportionally to a 6\texttimes{}9 inch text area,
+and inside a \env{multicols} \cs{linewidth} is divided by the specified number
+of columns.
-A minipage of width exactly \cs{linewidth} is automatically
-given no \HTML\ width.
-\margintag{no-width minipages}
+If a \env{minipage} or \cs{parbox} is assigned a width of exactly \cs{linewidth},
+\margintag{if width is \cs{linewidth}}
+in \HTML\ it is automatically given no \HTML\ width,
+thus allowed to fill the line as needed, similar to how it appears in print output.
A new macro \cs{minipagefullwidth} requests
-\margintag{full-width minipages}
-that the next minipage be generated
+\margintag{full-width if \HTML}
+that, during \HTML\ output, the next single \env{minipage} or \cs{parbox} be generated
without an \HTML\ \attribute{width} attribute, allowing it to be the full width of
-the display rather than the fixed width given.
-
-Nested minipages adopt their parent's text alignment in \HTML,
-whereas in regular \LaTeX{} \PDF\ output they do not.
+the display rather than the declared print-output width. This may be useful where
+the printed version's width makes no sense in \HTML.
+
+Inside a \env{tabular} or \env{multicols} environment,
+\trouble[\env{tabular}, \env{multicols}]{minipage>tabular=\env{tabular}, width in}
+\trouble{minipage>multicols=\env{multicols}, width in}
+where the width depends on the browser window,
+\cs{minipagefullwidth} is effectively used by default for
+every \env{minipage} or \cs{parbox} inside the environment.
+\DescribeMacro{\UseMinipageWidths}
+\DescribeMacro{\IgnoreMinipageWidths}
+\cs{UseMinipageWidths} may be used to tell \pkg{lwarp} to honor the specified
+widths of all following \env{minipage}s and \cs{parboxes} until the end
+of the local scope, and \cs{IgnoreMinipageWidths} may be used to tell \pkg{lwarp} to
+ignore the specified widths.
+
+Nested \env{minipage}s adopt their parent's text alignment in \HTML,
\trouble[text alignment]{minipage>alignment}
-Use a \env{flushleft} or similar environment in the child minipage
+whereas in regular \LaTeX{} \PDF\ output they do not.
+Use a \env{flushleft} or similar environment in the child \env{minipage}
to force a text alignment.
}
\newcommand{\limitsfancybox}{%
\pkg{fancybox}'s documentation has an example \env{FramedEqn} environment
\margintag{framed equation example}
-which combines math, \cs{Sbox}, a minipage, and an \cs{fbox}.
+which combines math, \cs{Sbox}, a \env{minipage}, and an \cs{fbox}.
This combination requires that the entire
environment be enclosed inside a \env{lateximage}, which is done by
adding \cs{lateximage} at the very start of \env{FramedEqn}'s beginning code, and
@@ -2242,7 +2113,7 @@ and likewise for subsubtitles.
\newcommand{\limitscaption}{%
To pass options to caption, select the options before loading \pkg{lwarp}:
-\trouble[options]{caption>options}
+\trouble[options]{caption=\pkg{caption}>options}
\begin{sourcedisplay}
\cs{documentclass}\{article\} \\
\dots \\
@@ -2255,13 +2126,17 @@ To pass options to caption, select the options before loading \pkg{lwarp}:
To ensure proper float numbering, set caption positions
such as:
-\trouble[numbering]{caption>numbering}
+\trouble[numbering]{caption=\pkg{caption}>numbering}
+\trouble{subcaption=\pkg{subcaption}>numbering}
\begin{sourcedisplay}
+\cs{captionsetup}[figure]\{position=bottom\} \\
+\cs{captionsetup}[subfigure]\{position=bottom\} \\
\cs{captionsetup}[table]\{position=top\} \\
-\cs{captionsetup}[figure]\{position=bottom\}
+\cs{captionsetup}[subtable]\{position=top\}
\end{sourcedisplay}
-Similarly for \pkg{subtable}, \pkg{subfigure},
-and \pkg{longtable}.
+Similarly for \pkg{longtable}.
+These positions depend on where the user places the \cs{caption} command
+inside each float.
}
\newcommand{\limitscombiningfloats}{%
@@ -2432,15 +2307,14 @@ the \HTML\ version should work as well using \pkg{lwarp}.
\pkg{newclude} modifies \cs{label} in a non-adaptive way, so
\pkg{newclude} must be loaded before \pkg{lwarp} is loaded:
\trouble[loading]{newclude=\pkg{newclude}}
-
-\begin{docsidebar}
+\begin{sourcedisplay}
\raggedright
\cs{documentclass\{article\}} \\
\ldots <font setup> \\
\cs{usepackage\{newclude\}} \\
\cs{usepackage[warpHTML]\{lwarp\}} \\
\ldots
-\end{docsidebar}
+\end{sourcedisplay}
}
\newcommand{\limitstodonotes}{%
@@ -2567,7 +2441,7 @@ This boolean may be tested by the user for later use.
%<*package>
% \fi
%
-% \CheckSum{27403}
+% \CheckSum{27831}
%
% \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
@@ -2614,7 +2488,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.18}{2016/04/23}{File: lwarp.css: Improved \TOC\ outline display.}
% \changes{v0.18}{2016/05/13}{Test Suite: Verse package}
% \changes{v0.19}{2016/06/08}{\ 2016/06/08}
-% \changes{v0.19}{2016/05/25}{File: \filenm{lwarp\_mathjax.txt} added.}
+% \changes{v0.19}{2016/05/25}{File: \filenm{lwarp_mathjax.txt} added.}
% \changes{v0.19}{2016/06/01}{File: \filenm{lwarp.css}: \attribute{tnoteitemheader} added.}
% \changes{v0.20}{2017/02/09}{\ 2017/02/09}
% \changes{v0.20}{2016/06/27}{Test Suite: \HTML\ meta descriptions.}
@@ -2675,6 +2549,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.63}{2018/12/03}{\ 2018/12/03}
% \changes{v0.64}{2018/12/08}{\ 2018/12/08}
% \changes{v0.65}{2018/12/22}{\ 2018/12/22}
+% \changes{v0.66}{2019/02/08}{\ 2019/02/08}
@@ -2687,85 +2562,105 @@ This boolean may be tested by the user for later use.
%
%
% \thispagestyle{empty}
+% \newgeometry{margin=1in}
%
% \begin{center}
% \includegraphics[width=.3\linewidth]{lwarp_logo.pdf}
%
-% \bigskip
-%
-% {\Huge The \textbf{lwarp} package}
+% {\Huge The \pkg{lwarp} package}
%
-% \smallskip
-%
-% {\Large \textup{\LaTeX{} to HTML}}
-%
-% \bigskip
+% {\Large \LaTeX\ to \HTML}
%
% \fileversion{} \Dash \filedate
%
-% \bigskip
-%
-% {\small\textcopyright{} 2016--2018} Brian Dunn\\ \small \texttt{bd@BDTechConcepts.com}
+% {\small\textcopyright{} 2016--2019} Brian Dunn\\ \small \texttt{bd@BDTechConcepts.com}
%
-%
-% ^^A % \title{The \pkg{lwarp} package\thanks{This document
-% ^^A % corresponds to \pkg{lwarp}~\fileversion,
-% ^^A % dated \filedate.}}
-% ^^A % \author{{\small\textcopyright{} 2016--2018} Brian Dunn\\ \small \texttt{bd@BDTechConcepts.com}}
-% ^^A % \published{}
-% ^^A % \subtitle{\textup{\LaTeX{} to HTML5}}
-% ^^A %
-% ^^A % \maketitle
-%
-% \vfill
+% \end{center}
%
% \begin{abstract}
% \noindent
-% The \pkg{lwarp} package allows \LaTeX\ to directly produce \HTMLfive\ output,
-% using external utility programs only for the final conversion of text and images.
-% Math may be represented by \SVG\ files or \brand{MathJax}.
+% The \pkg{lwarp} package converts \LaTeX\ to \HTML\ by using \LaTeX\ to process the
+% user's document and directly generate \HTML\ tags. External utility programs are only
+% used for the final conversion of text and images. Math may be represented
+% by \SVG\ images or MathJax. Hundreds of \LaTeX\ packages are supported.
+%
+% Documents may be produced by \DVI\ or \PDF\ \LaTeX, Lua\LaTeX, \XeLaTeX;
+% by several CJK engines, classes, and packages;
+% or by customized systems such as \pkg{perltex} and \pkg{pythontex}.
+% A \prog{texlua} script automates compilation, index,
+% glossary, and batch image processing, and also supports \prog{latexmk}.
+% Configuration is semi-automatic at the first manual compile. Support files
+% are self-generated. Print and \HTML\ versions of each document may coexist.
+%
+% Assistance is provided for \HTML\ import into \EPUB\ conversion software and
+% word processors.
+%
+% Requirements include the commonly-available \brand{Poppler} utilities
+% (included with \brand{MiKTeX}) and \brand{Perl}.
+% Detailed installation instructions are included for each of the
+% major operating systems and \TeX\ distributions.
+%
+% A quick-start tutorial is provided, as well as extensive documentation
+% for special cases, a general index, and a troubleshooting index.
+% Automatic testing of package load order and image generation offers
+% useful advice for resolving errors.
+%
+% \SVG\ math and many other generated images
+% include \LaTeX\ expressions in the \attribute{alt} tags.
+% \brand{MathJax} may be used with advanced equation numbering
+% under the direct control of \pkg{lwarp}.
+%
+% Complicated tables are supported, which copy/paste well into \brand{LibreOffice Writer}.
+%
+% Supported classes and packages include \pkg{memoir} and \pkg{koma-script},
+% \pkg{cleveref}, \pkg{caption}, \pkg{mdframed}, \pkg{siunitx},
+% and many popular packages for tabulars, floats, graphics, theorems, the title page,
+% bibliography, indexing, footnotes, and editorial work.
+%
+% \TeX\ is a self-modifying tokenized macro-expansion language.
+% Since \pkg{lwarp} is written directly in \LaTeX, it is able to interpret the document's
+% meaning at a deeper level than external conversions which merely approximate \TeX.
+% \HTML5 and \CSS3 are leveraged to provide advanced features such as
+% \pkg{booktabs} trim, multicolumns, side-by-side minipages, and
+% \brand{JavaScript}-free navigation.
+%
+% ^^A The \pkg{lwarp} package allows \LaTeX\ to directly produce \HTMLfive\ output,
+% ^^A using external utility programs only for the final conversion of text and images.
+% ^^A Math may be represented by \SVG\ files or \brand{MathJax}.
%
-% Documents may be produced by pdf\LaTeX, \LuaLaTeX, or \XeLaTeX.
-% A \prog{texlua} script removes the need for system utilities such as \prog{make} and \prog{gawk},
-% and also supports \prog{xindy} and \prog{latexmk}. Configuration is automatic at the
-% first manual compile.
+% ^^A Documents may be produced by pdf\LaTeX, \LuaLaTeX, or \XeLaTeX.
+% ^^A A \prog{texlua} script removes the need for system utilities such as \prog{make} and \prog{gawk},
+% ^^A and also supports \prog{xindy} and \prog{latexmk}. Configuration is automatic at the
+% ^^A first manual compile.
%
-% Print and \HTML\ versions of each document may coexist, each with its own
-% set of auxiliary files. Support files are self-generated on request.
-% Assistance is provided for import into \EPUB\ conversion software and word processors.
+% ^^A Print and \HTML\ versions of each document may coexist, each with its own
+% ^^A set of auxiliary files. Support files are self-generated on request.
+% ^^A Assistance is provided for import into \EPUB\ conversion software and word processors.
%
-% A modular package-loading system uses the \pkg{lwarp} version of a package for
-% \HTML\ when available.
-% More than 300 \LaTeX\ packages are supported with these
-% high-level source-compatibility replacements, and many others work as-is.
+% ^^A A modular package-loading system uses the \pkg{lwarp} version of a package for
+% ^^A \HTML\ when available.
+% ^^A More than 300 \LaTeX\ packages are supported with these
+% ^^A high-level source-compatibility replacements, and many others work as-is.
%
-% A tutorial is provided to quickly introduce the user to the major components
-% of the package.
+% ^^A A tutorial is provided to quickly introduce the user to the major components
+% ^^A of the package.
%
-% \bigskip
+% \end{abstract}
%
% \begin{center}
+% \setlength{\parskip}{1ex}
% \color{blue}
-% To update existing projects, see \cref{sec:updates}: \nameref{sec:updates}.
-%
-% \bigskip
-%
% For a list of supported features, see \cref{tab:supported}: \nameref{tab:supported}.
-% \end{center}
%
-% \bigskip
+% To update existing projects, see \cref{sec:updates}: \nameref{sec:updates}.
%
-% \noindent
-% \textcolor{red!30!black}{\bfseries
-% Note that this is still a ``beta'' version of \pkg{lwarp},
-% and some things may change in response to user feedback and
-% further project development.
-% }
+% \color{red!30!black}\bfseries
+% \pkg{Lwarp} is still in development. Changes are likely.
%
-% \bigskip
+% \end{center}
%
-% \footnotesize
% \begin{description}
+% \footnotesize
% \item[License:] \
%
% This work may be distributed and/or modified under the
@@ -2778,17 +2673,12 @@ This boolean may be tested by the user for later use.
% \end{description}
%
%
-% \end{abstract}
%
-% \vspace*{\fill}
-% \vspace*{\fill}
-% \vspace*{\fill}
+% \clearpage
%
-% \end{center}
+% \restoregeometry
%
-% \clearpage
-%
-% \section{Supporting \protect\TeX\ development}
+% \section{Support \protect\TeX\ development}
% \label{sec:supportinglatex}
% \changes{v0.42}{2017/10/30}{Docs: Added support page.}
%
@@ -2874,7 +2764,76 @@ This boolean may be tested by the user for later use.
%
% \begin{description}
% \needspace{2\baselineskip}
-% \item[v0.65:] \CSS\ layout, \attribute{alt} tags, Japanese. PENDING
+% \item[v0.66:] \pkg{xr}, multiple projects, image names/directory, \HTML\ formatting
+% \begin{itemize}
+% \item \newlwarpmkconf
+% \item Adds options \optn{ImagesDirectory} and \optn{ImagesName}
+% \margintag{\env{lateximage}}
+% to assign directory and name prefixes for \env{lateximage} images.
+% The new defaults include the jobname, allowing the image directories for
+% multiple projects to coexist.
+% \item To reuse existing \filenm{lateximage} directories, add \pkg{lwarp} options
+% \watchout[existing projects]
+% \begin{sourceverb}
+% \usepackage[
+% ImagesDirectory={lateximages},
+% ImagesName={lateximage-}
+% ]{lwarp}
+% \end{sourceverb}
+% If not reused, the existing \filenm{lateximages} directory and
+% \filenm{lateximages.txt} file may be removed.
+% \item Added \cs{FilenameLimit} to control the maximum length of the
+% \margintag{filenames}
+% filenames generated by \pkg{lwarp}.
+% \item Improved filename generation
+% \watchout[Possible filename changes]
+% when special characters or macros are used in section names.
+% \item Fix for \cmds{lwarpmk cleanlimages} with \brand{Windows}.
+% \margintag{\brand{Windows}}
+% \item Fixes for floats in the home page.
+% \margintag{floats}
+% \item Improved \CSS\ for definition lists, table notes.
+% \margintag{lists, table notes}
+% \item \env{tabular}: Fixes for \cs{par} in column specifier,
+% minipage inside \env{tabular}.
+% \margintag{\env{tabular}}
+% \item Indexing: Fix for a long line of multiple entries.
+% \margintag{indexing}
+% \item \cs{minipagefullwidth}: Fix for global changes.
+% \margintag{\env{minipage}}
+% \item Added \cs{UseMinipageWidths} and \cs{IgnoreMinipageWidths}.
+% See \cref{sec:minipages}.
+% \item Improved \cs{fbox}, \cs{fboxBlock}, \cs{fminipage} to use current text color.
+% \margintag{colors}
+% \item Improved \HTML\ output formatting.
+% \margintag{\HTML}
+% \item Added discussion regarding invalid \HTML. See \cref{sec:invalidhtml}.
+% \margintag{docs}
+% \item Added discussion regarding math in section names,
+% \cs{imagegraphics} \optn{scale} option. See \cref{sec:convertexisting}.
+% \item Added discussion regarding international languages in section names.
+% See \cref{sec:international}.
+% \item \pkg{caption}: Fix for options clash.
+% \margintag{packages}
+% \item \pkg{xr}, \pkg{xr-hyper}: Now compatible.
+% \item \pkg{subcaption}: Improved horizontal spacing.
+% \item \pkg{multicol}: Fix for minipage inside \env{multicols}.
+% \item \pkg{multicolrule}: Updated for v1.2.
+% \item \pkg{tocbasic}: Minor update.
+% \item \pkg{acronym}: Fix for acronym in float caption.
+% \item \pkg{kotexutf}: Patch with \prog{pdflatex} and new
+% \pkg{lwarp} labels.
+% \item \pkg{extramarks}, \pkg{fancyhdr}: Updated for v3.10.
+% \item \pkg{memoir}: Added docs regarding version numbers. See \cref{sec:limitsmemoir}.
+% \item \pkg{zref}: No longer required.
+% \item Added \pkg{ar}, \pkg{ed}, \pkg{indentfirst}, \pkg{nameauth}, \pkg{truncate}.
+% \item Verified to work as-is with \pkg{changelog}.
+% \item Prevented \pkg{colortab}, \pkg{epsf}, \pkg{hyper},
+% \pkg{picinpar}, \pkg{picins},
+% \pkg{sistyle}, \pkg{ucs}.
+% \end{itemize}
+% \needspace{2\baselineskip}
+% \item[v0.65:] \CSS\ layout, \attribute{alt} tags, Japanese.
% \begin{itemize}
% \item Moved the side\TOC\ to the left side,
% \margintag{page layout}
@@ -3264,10 +3223,10 @@ This boolean may be tested by the user for later use.
% \margintag{floats with \cs{centering}, etc.}
% and their \pkg{ragged2e} equivalents,
% when placed directly after:
-% \begin{sourcedisplay}
-% \cs{begin}\{floattype\} \\
-% \cs{centering}
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% \begin{floattype}
+% \centering
+% \end{sourceverb}
% \item \pkg{tikz}: \cs{pgfpicture}, fit, align, font.
% \margintag{misc. fixes}
% \item \pkg{ragged2e}: \cs{centering} etc.
@@ -3297,7 +3256,7 @@ This boolean may be tested by the user for later use.
% \needspace{2\baselineskip}
% \item[v0.52:] Improved footnotes, \SVG\ math.
% \begin{itemize}
-% \item Improved install instructions regarding \filenm{lwarp\_baseline\_marker.png}.
+% \item Improved install instructions regarding \filenm{lwarp_baseline_marker.png}.
% \margintag{documentation}
% \item Added documentation regarding footnotes in section headings,
% and footnotes with \cs{VerbatimFootnotes}
@@ -3309,7 +3268,7 @@ This boolean may be tested by the user for later use.
% \margintag{SVG math}
% when generating \env{lateximage}s.
% \item Added user-adjustable \SVG\ math font scaling. See \cref{sec:mathfontscale}.
-% \item Added warnings if \filenm{lwarp\_baseline\_marker.png} is not present, or
+% \item Added warnings if \filenm{lwarp_baseline_marker.png} is not present, or
% if \pkg{graphicx} or \pkg{graphics} is not loaded.
% \item Improved \cs{ensuremath} hashing expansion.
% \item Fix: \env{equation*} with \env{split}.
@@ -3326,7 +3285,7 @@ This boolean may be tested by the user for later use.
% \item Fix: \cs{FileDepth}, misc. others, when input encoding is not \optn{utf8}.
% \item Fix: \cs{texorpdfstring} in a section name.
% \item \pkg{hyperref} emulation: Fix for \progcode{\#}, \progcode{\%}, \margintag{packages}
-% \progcode{\&}, \progcode{\~}, \progcode{\_} characters in \acro{URL}s.
+% \progcode{\&}, \progcode{\~}, \progcode{\_} characters in \URL{}s.
% \item \pkg{fancybox}, \pkg{fancyvrb}: Initial support for \cs{VerbatimFootnotes}.
% \item \pkg{nicefrac}: Added with fix for \cs{ensuremath}.
% \item \pkg{graphicx}: Fix for option defaults. Added v1.1a/b options.
@@ -3460,7 +3419,7 @@ This boolean may be tested by the user for later use.
% \needspace{2\baselineskip}
% \item[v0.45:] \
% \begin{itemize}
-% \item Improved \prog{MikTeX} install instructions.
+% \item Improved \prog{MiKTeX} install instructions.
% \margintag{documentation}
% \item Improved graphics and \pkg{epstopdf} instructions.
% \item Updates to the \nameref{sec:introduction}.
@@ -3498,7 +3457,7 @@ This boolean may be tested by the user for later use.
% Fixed web page title if \cs{HTMLTitle} empty and no \cs{title} given and
% not using \pkg{titling} package.
% \item Fixed web page author if \cs{HTMLauthor} is empty and \cs{author} is not given.
-% \item If using \prog{pdflatex}, automatically loads T1 and \acro{UTF}-8 encodings.
+% \item If using \prog{pdflatex}, automatically loads T1 and \UTF-8 encodings.
% \margintag{encodings}
% (Additional \pkg{fontenc} encodings may be loaded after \pkg{lwarp}.)
% \item Added \env{list} and \env{trivlist} environments, \pkg{hang}.\margintag{lists}
@@ -3559,7 +3518,7 @@ This boolean may be tested by the user for later use.
% been renamed |WPMarkFloats|.}
% \item New booleans control whether to place additional
% marks around minipages, at the table of contents,
-% at the \acro{LOF} and \acro{LOT}, and whether to
+% at the \LOF\ and \LOT, and whether to
% print math as \LaTeX\ source for copy/paste into the
% \prog{LibreOffice Writer TeXMaths} extension.
% \item Improved formatting for numerous objects.
@@ -3676,7 +3635,7 @@ This boolean may be tested by the user for later use.
% \item Added \cs{ForceHTMLPage} and \cs{ForceHTMLTOC} to force
% \margintag{starred sections}
% a starred sectional unit onto its own \HTML\ page
-% and with its own \acro{TOC} entry.
+% and with its own \TOC\ entry.
% See \cref{sec:forcesectionstar}.
% \item Modified the tutorial to use the new \cs{ForceHTMLPage}
% \margintag{updated tutorial}
@@ -3835,9 +3794,9 @@ This boolean may be tested by the user for later use.
% have been combined with \pkg{lwarp}.
%
% To modify existing documents, remove from the document source:
-% \begin{sourcedisplay}
-% \cs{usepackage}\{lwarp-newproject\}
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% \usepackage{lwarp-newproject}
+% \end{sourceverb}
%
% The \pkg{lwarp} package now produces the configuration files during
% print output, and also accepts the option \optn{lwarpmk} if desired.
@@ -3872,13 +3831,13 @@ This boolean may be tested by the user for later use.
% \needspace{2\baselineskip}
% \item Per the above changes, in existing documents,
% modify the package load of \pkg{lwarp}, such as:
-% \begin{Verbatim}[tabsize=4,gobble=2]
+% \begin{sourceverb}
% \usepackage[
% HomeHTMLFilename=index,
% HTMLFilename={},
% xindyLanguage=english
% ]{lwarp}
-% \end{Verbatim}
+% \end{sourceverb}
%
% \item The file |lwarp_html.xdy| has been renamed |lwarp.xdy|.
% To update each document's project:
@@ -4262,9 +4221,7 @@ This boolean may be tested by the user for later use.
% ^^A *supported features
%
% \begin{longtable}{>{\raggedright}p{.3\linewidth}p{.6\linewidth}}
-% \caption{\protect\LaTeX--\acro{HTML} generation ---
-% \pkg{lwarp} package ---
-% Supported features\label{tab:supported}} \endfirsthead
+% \caption{\LaTeX\ \pkg{lwarp} package --- Supported features\label{tab:supported}} \endfirsthead
% \warpprintonly{\multicolumn{2}{c}{\pkg{lwarp} Supported Functions --- continued} \\
% Category & Status \\ \toprule \endhead}
%
@@ -4341,7 +4298,7 @@ This boolean may be tested by the user for later use.
% Sectioning: & Adds \progcode{FileDepth} for splitting the \HTML\ output.
% Files may be numbered sequentially or named according to section name.
% Common short words and punctuation are removed from the filenames.
-% \pkg{anonchap}, \pkg{bsheaders}, \pkg{fncychap}, \pkg{quotchap},
+% \pkg{anonchap}, \pkg{bsheaders}, \pkg{fncychap}, \pkg{indentfirst}, \pkg{quotchap},
% \pkg{section}, \pkg{sectionbreak}, \pkg{sectsty}, \pkg{titlesec}.
%
% Tested to work as-is: \pkg{secdot}.\\
@@ -4372,7 +4329,7 @@ This boolean may be tested by the user for later use.
% Cross-references: &
% \pkg{bookmark}, \pkg{breakurl}, \pkg{cleveref}, \pkg{fancyref},
% \pkg{hypdestopt}, \pkg{hyperref}, \pkg{prettyref},
-% \pkg{titleref}, \pkg{url}, \pkg{varioref}, \pkg{xurl}. \\
+% \pkg{titleref}, \pkg{url}, \pkg{varioref}, \pkg{xr}, \pkg{xr-hyper}, \pkg{xurl}. \\
%
% \midrule
%
@@ -4501,7 +4458,7 @@ This boolean may be tested by the user for later use.
% \pkg{lua-check-hyphen}, \pkg{luacolor},
% \pkg{magaz}, \pkg{nowidow}, \pkg{pdfrender}, \pkg{realscripts}, \pkg{relsize},
% \pkg{scalefnt}, \pkg{soul}, \pkg{soulpos}, \pkg{soulutf8},
-% \pkg{textfit}, \pkg{thinsp}, \pkg{trimclip},
+% \pkg{textfit}, \pkg{thinsp}, \pkg{trimclip}, \pkg{truncate},
% \pkg{ulem}, \pkg{underscore}, \pkg{uspace},
% \pkg{widows-and-orphans}, \pkg{xellipsis}. \\
%
@@ -4542,7 +4499,8 @@ This boolean may be tested by the user for later use.
% \midrule
%
% Science and engineering: &
-% \pkg{algorithm2e}, \pkg{algorithmicx}, \pkg{axodraw2}, \pkg{bitpattern}, \pkg{bytefield},
+% \pkg{algorithm2e}, \pkg{algorithmicx}, \pkg{ar},
+% \pkg{axodraw2}, \pkg{bitpattern}, \pkg{bytefield},
% \pkg{chemfig}, \pkg{chemformula}, \pkg{chemgreek}, \pkg{chemmacros}, \pkg{chemnum},
% \pkg{listings}, \pkg{mhchem}, \pkg{phfqit}, \pkg{register}.
%
@@ -4556,8 +4514,8 @@ This boolean may be tested by the user for later use.
%
% \midrule
%
-% Arts and humanities: & \pkg{forest}, \pkg{musicography}, \pkg{octave},
-% \pkg{schemata}, \pkg{semantic-markup}, \pkg{vowel}, \pkg{xpiano}.
+% Arts and humanities: & \pkg{forest}, \pkg{musicography}, \pkg{nameauth},
+% \pkg{octave}, \pkg{schemata}, \pkg{semantic-markup}, \pkg{vowel}, \pkg{xpiano}.
%
% Tested to work as-is:
% \pkg{phonrule}, \pkg{piano}, \pkg{tikz-dependency}. \\
@@ -4565,10 +4523,13 @@ This boolean may be tested by the user for later use.
% \midrule
%
% Editorial: & \pkg{changebar},
-% \pkg{easy-todo}, \pkg{errata}, \pkg{fixme},
+% \pkg{easy-todo}, \pkg{ed}, \pkg{errata}, \pkg{fixme},
% \pkg{fixmetodonotes},
% \pkg{pdfcomment}, \pkg{pdfmarginpar},
-% \pkg{todo}, \pkg{todonotes}, \pkg{tram}, \pkg{xechangebar}. \\
+% \pkg{todo}, \pkg{todonotes}, \pkg{tram}, \pkg{xechangebar}.
+%
+% Tested to work as-is:
+% \pkg{changelog} \\
%
% \midrule
%
@@ -4882,8 +4843,8 @@ This boolean may be tested by the user for later use.
% \changes{v0.62}{2018/11/03}{Docs: \prog{MiKTeX Console}}
% \item For older versions of MiK\TeX,
% to install \pkg{lwarp} the first time,
-% use the \prog{MikTeX Package Manager (Admin)}.
-% To update \pkg{lwarp}, use \prog{MikTeX Update (Admin)}.
+% use the \prog{MiKTeX Package Manager (Admin)}.
+% To update \pkg{lwarp}, use \prog{MiKTeX Update (Admin)}.
% \item Either way, also update the package \pkg{miktex-misc}, which will install and
% update the \prog{lwarpmk} executable.
% \end{enumerate}
@@ -4908,9 +4869,9 @@ This boolean may be tested by the user for later use.
% In the \UI{Settings} window, \UI{Roots} tab, look for a local \TDS\ root.
% \end{description}
% This should be something like:
-% \begin{sourcedisplay}
-% |/usr/local/texlive/texmf-local/|
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% /usr/local/texlive/texmf-local/
+% \end{sourceverb}
% \item Unpack the archive in the \TDS\ local directory.
% \item Renew the cache:
% \userentry{mktexlsr} \quad —\,or\,—
@@ -4939,17 +4900,17 @@ This boolean may be tested by the user for later use.
% \end{Verbatim}
% \item Copy the |.sty| files somewhere such as the \TeX\ Live local tree
% found in the previous \CTAN\ \TDS\ section, under the subdirectory:
-% \begin{sourcedisplay}
-% |<texlocal>/tex/latex/local/lwarp|
-% \end{sourcedisplay}
-% \item Copy \filenm{lwarp\_baseline\_marker.png} and \filenm{lwarp\_baseline\_marker.eps}
+% \begin{sourceverb}
+% <texlocal>/tex/latex/local/lwarp
+% \end{sourceverb}
+% \item Copy \filenm{lwarp_baseline_marker.png} and \filenm{lwarp_baseline_marker.eps}
% to the same place as the \filenm{.sty} files.
% \changes{v0.52}{2018/03/24}{Docs: Improved install instructions.}
% \item Copy the documentation \filenm{lwarp.pdf} to a \filenm{source} directory in the local tree,
% such as:
-% \begin{sourcedisplay}
-% |<texlocal>/doc/local/lwarp|
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% <texlocal>/doc/local/lwarp
+% \end{sourceverb}
% \item Renew the cache:
% \userentry{mktexlsr} \quad —\,or\,—
% \userentry{texhash}
@@ -4967,8 +4928,8 @@ This boolean may be tested by the user for later use.
% document source files. The resultant |*.sty| and \filenm{lwarpmk.lua} files
% may be used as-is, so long as they are in the same directory
% as the document source.
-% The files \filenm{lwarp\_baseline\_marker.png} and
-% \filenm{lwarp\_baseline\_marker.eps} must also be copied as well.
+% The files \filenm{lwarp_baseline_marker.png} and
+% \filenm{lwarp_baseline_marker.eps} must also be copied as well.
% \changes{v0.52}{2018/03/24}{Docs: Improved install instructions.}
% This approach is especially useful if
% you would like to temporarily test\margintag{Just testing!}\
@@ -5014,14 +4975,14 @@ This boolean may be tested by the user for later use.
% \item Locate the \TeX\ Live binaries:
% \userentry{kpsewhich -var-value TEXMFROOT}
% This will be something like:
-% \begin{sourcedisplay}
-% |/usr/local/texlive/<year>|
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% /usr/local/texlive/<year>
+% \end{sourceverb}
% The binaries are then located in the |bin/<arch>| directory
% under the root:
-% \begin{sourcedisplay}
-% |/usr/local/texlive/<year>/bin/<architecture>/|
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% /usr/local/texlive/<year>/bin/<architecture>/
+% \end{sourceverb}
% In this directory you will find programs
% such as \prog{pdflatex} and \prog{makeindex}.
% \item In the binaries directory,
@@ -5041,16 +5002,15 @@ This boolean may be tested by the user for later use.
% \item [\brand{Windows} MiK\TeX:] Create a new |lwarpmk.bat| file:
% \begin{enumerate}
% \item Locate the MiK\TeX\ binaries. These will be in a directory such as:
-% \begin{sourcedisplay}
-% |C:\Program Files\MiKTeX 2.9\miktex\bin\x64|
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% C:\Program Files\MiKTeX 2.9\miktex\bin\x64
+% \end{sourceverb}
% In this directory you will find programs
% such as |pdflatex.exe| and |makeindex.exe|.
% \item Create a new file named |lwarpmk.bat| containing:
-% \begin{sourcedisplay}
-% {\footnotesize
-% |texlua "C:\Program Files\MiKTeX 2.9\scripts\lwarp\lwarp.texlua" %*|}
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% texlua "C:\Program Files\MiKTeX 2.9\scripts\lwarp\lwarp.texlua" %*
+% \end{sourceverb}
% This will call the copy of \filenm{lwarpmk.lua}
% which is in the |scripts| directory of the distribution.
% \end{enumerate}
@@ -5063,9 +5023,9 @@ This boolean may be tested by the user for later use.
% \begin{enumerate}
% \item When compiling the tutorial in \cref{sec:tutorial},
% use the \optn{lwarpmk} option for the \pkg{lwarp} package:
-% \begin{sourcedisplay}
-% |\usepackage[lwarpmk]{lwarp}|
-% \end{sourcedisplay}
+% \begin{sourceverb}
+% \usepackage[lwarpmk]{lwarp}
+% \end{sourceverb}
% \item When the tutorial is compiled with \prog{pdflatex}, the file \filenm{lwarpmk.lua}
% will be generated along with the other configuration files.
% \item \filenm{lwarpmk.lua} may be used for this project:
@@ -5117,7 +5077,7 @@ This boolean may be tested by the user for later use.
% \item [To install \prog{xindy}, \prog{latexmk}, and \prog{pdfcrop}:] \
%
% The \TeX\ utilities \prog{xindy}, \prog{latexmk}, and \prog{pdfcrop} may be installed
-% in \prog{TexLive} with \prog{tlmgr}, installed by \prog{MikTeX}, provided by
+% in \prog{TexLive} with \prog{tlmgr}, installed by \prog{MiKTeX}, provided by
% your operating system's package manager, or downloaded from the \prog{CTAN} archive:
% \changes{v0.45}{2017/11/30}{Docs: Improved install instructions.}
% \begin{sourcedisplay}
@@ -5204,7 +5164,7 @@ This boolean may be tested by the user for later use.
%
% \subsection{Starting a new project}
%
-% \changes{v0.21}{2017/02/23}{File: \filenm{lwarp\_tutorial.txt} added.}
+% \changes{v0.21}{2017/02/23}{File: \filenm{lwarp_tutorial.txt} added.}
%
% \begin{enumerate}
%
@@ -5781,6 +5741,7 @@ This boolean may be tested by the user for later use.
%
% \changes{v0.48}{2018/02/05}{Docs: Converting an existing document.}
% \changes{v0.51}{2018/03/04}{Docs: Updated Converting an existing document.}
+% \changes{v0.66}{2019/02/07}{Docs: Updated Converting an existing document.}
%
% To convert an existing document for use with \pkg{lwarp}:
% \begin{enumerate}
@@ -5802,13 +5763,8 @@ This boolean may be tested by the user for later use.
% ^^A \cs{includegraphics}\{filename\}
% ^^A \end{sourcedisplay}
% ^^A Other image formats may have a file extension.
-% \item Avoid the \optn{scale} option. Change:
-% \begin{sourcedisplay}
-% \cs{includegraphics}[scale=<xx>]
-% \end{sourcedisplay} to:
-% \begin{sourcedisplay}
-% \cs{includegraphics}[width=<yy>\textbackslash{linewidth}]
-% \end{sourcedisplay}
+% \item \limitsmathinsectionnames
+% \item \limitsincludegraphicsscale
% \item Possible changes to \env{tabular} environments include
% |*| columns, \pkg{multirow}, \pkg{longtable}, \pkg{supertabular}, \pkg{xtab},
% \pkg{bigdelim}. See \cref{sec:limitstabular}.
@@ -6097,6 +6053,7 @@ This boolean may be tested by the user for later use.
% \DescribePackage{lwarp}
% \gindex{lwarp=\pkg{lwarp}>loading}
% \gindex{lwarp=\pkg{lwarp}>options}
+% \pkg{lwarp} package options are as follows:
%
% \begin{description}
%
@@ -6229,7 +6186,7 @@ This boolean may be tested by the user for later use.
% \trouble[xindy]{xindy=\pkg{xindy}>options>PrintIndexCmd=\optn{PrintIndexCmd}}
% be sure to assign an \prog{xindy}
% language and codepage with the |-L| and |-C| \prog{xindy} options, as the
-% \prog{lwarp} \optn{xindyLanguage} and \optn{xindyCodepage} options are not
+% \pkg{lwarp} \optn{xindyLanguage} and \optn{xindyCodepage} options are not
% used for the \optn{PrintIndexCmd} option when it is set manually.
%
% This option is stored in the configuration files \filenm{lwarpmk.conf}
@@ -6269,7 +6226,7 @@ This boolean may be tested by the user for later use.
% \trouble[xindy]{xindy=\pkg{xindy}>options>HTMLIndexCmd=\optn{HTMLIndexCmd}}
% be sure to assign an \prog{xindy}
% language and codepage with the |-L| and |-C| \prog{xindy} options, as the
-% \prog{lwarp} \optn{xindyLanguage} and \optn{xindyCodepage} options are not
+% \pkg{lwarp} \optn{xindyLanguage} and \optn{xindyCodepage} options are not
% used for the \optn{HTMLIndexCmd} option when it is set manually.
%
% As with \optn{PrintIndexCmd}, to generate complicated indexes it may be
@@ -6304,7 +6261,7 @@ This boolean may be tested by the user for later use.
% \trouble[xindy]{xindy=\pkg{xindy}>options>LatexmkIndexCmd=\optn{LatexmkIndexCmd}}
% be sure to assign an \prog{xindy}
% language and codepage with the |-L| and |-C| \prog{xindy} options, as the
-% \prog{lwarp} \optn{xindyLanguage} and \optn{xindyCodepage} options are not
+% \pkg{lwarp} \optn{xindyLanguage} and \optn{xindyCodepage} options are not
% used for the \optn{LatexmkIndexCmd} option when it is set manually.
%
%
@@ -6392,6 +6349,7 @@ This boolean may be tested by the user for later use.
% FileDepth & Sectioning depth of the file splits. \\
% CombineHigherDepths & Combine higher section levels. \\
% FileSectionNames & Use section names for file names, else use numbers. \\
+% \cs{FilenameLimit} & Maximum length of the generated filenames. \\
% \midrule
% FootnoteDepth & Sectioning depth of footnotes. \\
% \midrule
@@ -6598,6 +6556,12 @@ This boolean may be tested by the user for later use.
% so the rest of the filename must be sufficiently unique to avoid name collisions.
% \gindex{file>unique names}
%
+% \ItemDescribeMacro{\FilenameLimit} \DescribeDefault{80}
+% \gindex{file>name length}
+% The maximum length of the filenames generated by \pkg{lwarp}.
+% ``\filenm{.html}'' is added to this length.
+% Redefine with \cs{newcommand}.
+%
% \ItemDescribeCounter{FootnoteDepth} \DescribeDefault{3}
% Determines where to place pending footnotes.
% |3| places footnotes before each break down to the \cs{subsubsection} level.
@@ -6847,7 +6811,7 @@ This boolean may be tested by the user for later use.
% Note that |sample_project.css| is overwritten whenever \pkg{lwarp}
% is loaded in print mode.
% It is therefore important to rename the file
-% \trouble[Rename it!]{sample=\filenm{sample\_projects.css}>overwritten}
+% \trouble[Rename it!]{sample=\filenm{sample_projects.css}>overwritten}
% to something like |<project>.css| before
% using it, so that your own changes are not overwritten.
%
@@ -7143,6 +7107,19 @@ This boolean may be tested by the user for later use.
% \end{sourcedisplay}
% \end{description}
%
+%
+% \subsubsection{Invalid \HTML}
+% \label{sec:invalidhtml}
+%
+% \trouble{HTML>invalid}
+% \trouble{HTML>validation}
+% Additionally, some objects are valid \LaTeX, but invalid \HTML.
+% An example is a tabular inside \cs{textbf}, since \HTML\ does not allow a table
+% inside a span. \pkg{lwarp} will create the table, and the browser may support it,
+% but the result is technically invalid.
+%
+%
+%
% \subsection{Formatting}
%
% \subsubsection{Text formatting}
@@ -7192,7 +7169,7 @@ This boolean may be tested by the user for later use.
% \trouble{list>empty item}
%
%
-% \subsubsection{Filenames and \acro{URL}s in lists or footnotes}
+% \subsubsection{Filenames and \URL{}s in lists or footnotes}
%
% \gindex{underscore>filename}\gindex{file>underscore in name}
% \gindex{list>filename}
@@ -7425,41 +7402,41 @@ This boolean may be tested by the user for later use.
% bibliographies, and the index.
% See the following sections where applicable.
% Continue here if interested in the reason for adding these commands to \pkg{lwarp}.
-% \trouble{endnotes>\HTML\ page and \TOC}
-% \trouble{glossaries=\pkg{glossaries}>\HTML\ page and \TOC}
-% \trouble{bibliography>\HTML\ page and \TOC}
-% \trouble{index>\HTML\ page and \TOC}
-% \gindex{endnotes>\HTML\ page and \TOC}
-% \gindex{glossaries=\pkg{glossaries}>\HTML\ page and \TOC}
-% \gindex{bibliography>\HTML\ page and \TOC}
-% \gindex{index>\HTML\ page and \TOC}
+% \trouble{endnotes>HTML=\HTML\ page and \TOC}
+% \trouble{glossaries=\pkg{glossaries}>HTML=\HTML\ page and \TOC}
+% \trouble{bibliography>HTML=\HTML\ page and \TOC}
+% \trouble{index>HTML=\HTML\ page and \TOC}
+% \gindex{endnotes>HTML=\HTML\ page and \TOC}
+% \gindex{glossaries=\pkg{glossaries}>HTML=\HTML\ page and \TOC}
+% \gindex{bibliography>HTML=\HTML\ page and \TOC}
+% \gindex{index>HTML=\HTML\ page and \TOC}
%
% Some packages use \cs{chapter*} or \cs{section*} to introduce reference
% material such as notes or lists, often to be placed in the back matter of a book.
% These starred sections are placed inline instead of on their own \HTML\ pages,
-% and they are not given \acro{TOC} entries.
+% and they are not given \TOC\ entries.
%
% \pkg{lwarp} provides a method to cause a starred section to be on its own \HTML\ page,
% subject to \texttt{FileDepth}, and also a method to cause the starred section
-% to have its own \acro{TOC} entry during \HTML\ output.
+% to have its own \TOC\ entry during \HTML\ output.
%
% \DescribeMacro{\ForceHTMLPage}
% To place a starred section on its own \HTML\ page, use \cs{ForceHTMLPage} just before
% the \cs{chapter*} or \cs{section*}. \pkg{lwarp} will create a new page for the
% starred sectional unit.
%
-% A starred sectional unit does not have a \acro{TOC} entry unless one is placed
+% A starred sectional unit does not have a \TOC\ entry unless one is placed
% manually. The typical method using \cs{phantomsection} and \cs{addcontentsline}
% works for inline text but fails when the new starred section is given its own
-% webpage after the \acro{TOC} entry is created, or when creating an \EPUB\ where
-% the \acro{TOC} entry will point to the page before the starred section.
-% If the starred section has its own \HTML\ page but no correct \acro{TOC} entry
+% webpage after the \TOC\ entry is created, or when creating an \EPUB\ where
+% the \TOC\ entry will point to the page before the starred section.
+% If the starred section has its own \HTML\ page but no correct \TOC\ entry
% \trouble[inaccessible \HTML\ page]{HTML>inaccessible pages>starred section}
% \trouble{sectioning>starred section}
% pointing to that page, the page will be inaccessible unless some other link is created.
%
% \DescribeMacro{\ForceHTMLTOC}
-% To automatically force the \HTML\ version of the document to have a \acro{TOC} entry
+% To automatically force the \HTML\ version of the document to have a \TOC\ entry
% for a starred section, use \cs{ForceHTMLTOC} just before
% the \cs{chapter*} or \cs{section*},
% and place \cs{phantomsection} and \cs{addcontentsline} inside a \env{warpprint}
@@ -7515,6 +7492,7 @@ This boolean may be tested by the user for later use.
% \limitsbibtex
%
%
+% \needspace{10\baselineskip}
% \subsubsection{\pkg{glossaries} package}
% \label{sec:glossaries}
%
@@ -7548,7 +7526,7 @@ This boolean may be tested by the user for later use.
% \margintag{manual processing}
% without the use of \prog{lwarpmk}, but adjustments will be required to
% process \HTML\ indexes as well. In general, \filenm{*.idx} and \filenm{*.ind} files
-% will be accompanied by \filenm{*\_html.idx} and \filenm{*\_html.ind} files.
+% will be accompanied by \filenm{*_html.idx} and \filenm{*_html.ind} files.
%
% If using a custom indexing style file,
% \margintag{custom index style}
@@ -7593,7 +7571,7 @@ This boolean may be tested by the user for later use.
% \end{sourcedisplay}
% The usual \filenm{.idx} and \filenm{.ind} files will be used,
% along with the new \filenm{lwarp.ist} style file.
-% When creating the \HTML\ index, ``\filenm{\_html}'' is automatically appended
+% When creating the \HTML\ index, ``\filenm{_html}'' is automatically appended
% to each of the names.
%
% \prog{lwarpmk} will use \prog{latexmk} if specified, in which case
@@ -7657,7 +7635,7 @@ This boolean may be tested by the user for later use.
% \end{sourcedisplay}
% \emph{For \brand{Windows}, replace the two ``;'' characters with ``\&''.}\watchout[\brand{Windows}]
%
-% When creating the \HTML\ index, ``\filenm{\_html}'' is automatically appended
+% When creating the \HTML\ index, ``\filenm{_html}'' is automatically appended
% to the index filenames.
%
% Use \userentry{lwarpmk printindex} \userentry{lwarpmk htmlindex}
@@ -7698,7 +7676,7 @@ This boolean may be tested by the user for later use.
% \cs{makeindex} \\
% \cs{newindex}[Second Index]\{secondname\} \\
% \end{sourcedisplay}
-% When creating the \HTML\ index, ``\filenm{\_html}'' is automatically appended
+% When creating the \HTML\ index, ``\filenm{_html}'' is automatically appended
% to each of the names.
%
% Use \userentry{lwarpmk printindex} \userentry{lwarpmk htmlindex}
@@ -7723,7 +7701,7 @@ This boolean may be tested by the user for later use.
% \cs{makeindex} \\
% \cs{newindex}[Second Index]\{secondname\} \\
% \end{sourcedisplay}
-% When creating the \HTML\ index, ``\filenm{\_html}'' is automatically appended
+% When creating the \HTML\ index, ``\filenm{_html}'' is automatically appended
% to each of the names.
%
% Use \userentry{lwarpmk printindex} \userentry{lwarpmk htmlindex}
@@ -7804,9 +7782,9 @@ This boolean may be tested by the user for later use.
% For the first compile, use
% \watchout[enable shell escape]
% \userentry{pdflatex \textred{-\/-shell-escape} projectname.tex}
-% \userentry{pdflatex \textred{-\/-enable-write18} projectname.tex \quad \textrm{(MikTeX)}}
+% \userentry{pdflatex \textred{-\/-enable-write18} projectname.tex \quad \textrm{(MiKTeX)}}
% or similar with \prog{xelatex} or \prog{lualatex}.
-% \prog{lwarp} will remember that shell escape was used.
+% \pkg{lwarp} will remember that shell escape was used.
%
% \prog{imakeidx} will automatically execute \prog{splitindex},
% and will also use \prog{makeindex} to compile the indexes.
@@ -7839,9 +7817,9 @@ This boolean may be tested by the user for later use.
% For the first compile, use
% \watchout[enable shell escape]
% \userentry{pdflatex \textred{-\/-shell-escape} projectname.tex}
-% \userentry{pdflatex \textred{-\/-enable-write18} projectname.tex \quad \textrm{(MikTeX)}}
+% \userentry{pdflatex \textred{-\/-enable-write18} projectname.tex \quad \textrm{(MiKTeX)}}
% or similar with \prog{xelatex} or \prog{lualatex}.
-% \prog{lwarp} will remember that shell escape was used.
+% \pkg{lwarp} will remember that shell escape was used.
%
% \prog{imakeidx} will automatically execute \prog{splitindex} if selected,
% and will also use \prog{xindy} to compile the indexes.
@@ -7900,7 +7878,7 @@ This boolean may be tested by the user for later use.
%
% \texttt{<projectname>} is the \cs{jobname}:
% if compiling ``\filenm{name.tex}'', use the filenames \filenm{name.idx} and
-% \filenm{name\_html.idx}.
+% \filenm{name_html.idx}.
%
% Use \userentry{lwarpmk printindex} \userentry{lwarpmk htmlindex}
% to compile the indexes.
@@ -7967,7 +7945,7 @@ This boolean may be tested by the user for later use.
%
% \texttt{<projectname>} is the \cs{jobname}:
% if compiling ``\filenm{name.tex}'', use the filenames \filenm{name.idx} and
-% \filenm{name\_html.idx}.
+% \filenm{name_html.idx}.
%
% Use \userentry{lwarpmk printindex} \userentry{lwarpmk htmlindex}
% to compile the indexes.
@@ -8045,7 +8023,7 @@ This boolean may be tested by the user for later use.
%
% \texttt{<projectname>} is the \cs{jobname}:
% if compiling ``\filenm{name.tex}'', use the filenames \filenm{name.idx} and
-% \filenm{name\_html.idx}.
+% \filenm{name_html.idx}.
%
% Use \userentry{lwarpmk printindex} \userentry{lwarpmk htmlindex}
% to compile the indexes.
@@ -8178,7 +8156,7 @@ This boolean may be tested by the user for later use.
% see \filenm{lwarp.xdy} for \cs{textbf} and \cs{textit} as examples.
%
%
-% \subsubsection{Index positions, \acro{TOC}, \pkg{tocbibind}}
+% \subsubsection{Index positions, \TOC, \pkg{tocbibind}}
% \limitstocbibind
%
% \limitstocloft
@@ -8189,6 +8167,7 @@ This boolean may be tested by the user for later use.
%
% \changes{v0.42}{2017/10/30}{Docs: Reorganized math limitations}
% \label{sec:limitsmath}
+%
% \limitsmath
%
% \subsubsection{Catcode changes}
@@ -8209,7 +8188,7 @@ This boolean may be tested by the user for later use.
% \gindex{math>display with complicated objects}
% \gindex{math>dynamic}
% \gindex{dynamic math}
-% \trouble{math>\tikz}
+% \trouble{math>tikz=\tikz}
% \trouble{tikz>in math}
% \trouble{MathJax=\brand{MathJax}>errors}
% \trouble{HTML>alt tags}
@@ -8402,10 +8381,33 @@ This boolean may be tested by the user for later use.
% \subsection{\brand{Memoir} class}
% \label{sec:limitsmemoir}
%
+% \changes{v0.66}{2019/02/06}{\pkg{memoir}: Docs re: version numbers.}
+%
% \DescribeClass{memoir}
% \limitsmemoir
%
%
+% \subsection{International languages}
+% \label{sec:international}
+%
+% If using \prog{pdflatex} with the setting |\booltrue{FileSectionNames}|,
+% \trouble[section and file names]{sectioning>international language}
+% \trouble{filename>corrupted}
+% \trouble{filename>international, \UTF-8}
+% \gindex{international>section names}
+% \gindex{foreign>section names}
+% \gindex{section>international languages}
+% \gindex{file>international languages}
+% non-\acro{ASCII} text in section names can result in corrupted \HTML\ file names.
+% \prog{pdflatex} may be used if setting |\boolfalse{FileSectionNames}|, in which case
+% \HTML\ file numbers will be generated.
+%
+% For correct \HTML\ file names, use \prog{xelatex}, \prog{lualatex},
+% or dedicated document classes \Slash engines.
+%
+% (As of this writing, this warning is only relevent to the \pkg{kotex} package.)
+%
+%
% \subsection{Miscellaneous packages}
%
% \subsubsection{\pkg{verse} and \pkg{memoir}}
@@ -8428,7 +8430,6 @@ This boolean may be tested by the user for later use.
%
% \DescribePackage{babel}
% ^^A \limitsbabelone
-%
% \limitsbabeltwo
%
%
@@ -8469,7 +8470,7 @@ This boolean may be tested by the user for later use.
% See \cref{sec:mhchem}.
%
%
-% \subsubsection{xparse}
+% \subsubsection{\pkg{xparse} package}
%
% \changes{v0.45}{2017/12/09}{Docs: \pkg{xparse} warnings.}
% \DescribePackage{xparse}
@@ -8477,6 +8478,13 @@ This boolean may be tested by the user for later use.
% \gindex{xparse=\pkg{xparse}>warnings}
%
%
+% \subsubsection{\pkg{kotex} package}
+%
+% \DescribePackage{kotex}
+% See \cref{sec:international} regarding \prog{pdflatex} and
+% Korean section names.
+% \trouble[Korean section names]{filename>Korean}
+%
%
% \clearpage
%
@@ -8504,9 +8512,9 @@ This boolean may be tested by the user for later use.
% \begin{description}
% \item [\optn{PrintLatexCmd}] should be set to shell commands which take \filenm{project.tex}
% and generate \filenm{project.pdf}.
-% \item[\optn{HTMLLatexCmd}] should be set to take \filenm{project\_html.tex} and
-% generate \filenm{project\_html.pdf}.
-% \prog{lwarpmk} will then take \filenm{project\_html.pdf} and
+% \item[\optn{HTMLLatexCmd}] should be set to take \filenm{project_html.tex} and
+% generate \filenm{project_html.pdf}.
+% \prog{lwarpmk} will then take \filenm{project_html.pdf} and
% automatically convert it and generate \filenm{project.html}.
% \end{description}
%
@@ -8582,10 +8590,10 @@ This boolean may be tested by the user for later use.
% using it.
% \begin{description}
% \item[\cmds{latexmk project.tex}] would create \filenm{project.pdf} as normal.
-% \item[\cmds{latexmk project\_html.tex}] would create \filenm{project\_html.pdf},
+% \item[\cmds{latexmk project\_html.tex}] would create \filenm{project_html.pdf},
% then
% \item [\cmds{lwarpmk pdftohtml project\_html.pdf}] would take
-% \filenm{project\_html.pdf} and convert it to \filenm{project.html}.
+% \filenm{project_html.pdf} and convert it to \filenm{project.html}.
% \end{description}
%
% \prog{latexmk} may simplify the use of packages such as \pkg{sagetex}.
@@ -8670,15 +8678,15 @@ This boolean may be tested by the user for later use.
% |\usepackage{lwarp}| must be used, and it generates \filenm{lwarpmk.conf}
% when the print version is created.
%
-% To generate \HTML, first have \filenm{project\_html.tex} be compiled to
-% generate \filenm{project\_html.pdf}.
+% To generate \HTML, first have \filenm{project_html.tex} be compiled to
+% generate \filenm{project_html.pdf}.
% This must be in \PDF\ format.
-% Finally, have \filenm{project\_html.pdf} be converted to \HTML\ using
+% Finally, have \filenm{project_html.pdf} be converted to \HTML\ using
% \cmds{lwarpmk pdftohtml project\_html.pdf},
% and convert \SVG\ math with \cmds{lwarpmk limages}.
%
%
-% \subsection{\acro{UTF}-8 locale}
+% \subsection{\UTF-8 locale}
% \label{sec:utf8locale}
% \gindex{locale}
% \gindex{UTF-8>locale}
@@ -8736,8 +8744,8 @@ This boolean may be tested by the user for later use.
% A special boolean is provided to simplify the process of
% converting \pkg{lwarp} \HTML\ output to \EPUB:
%
+% \begin{docsidebar}[\bool{FormatEPUB}]
% \DescribeBoolean{FormatEPUB} \DescribeDefault{false}
-% \begin{docsidebar}[\texttt{FormatEPUB}]
% \raggedright
% |FormatEPUB| changes \HTML\ output for easy \EPUB\ conversion
% via an external program. Removes per-file headers, footers, and nav.
@@ -8776,7 +8784,7 @@ This boolean may be tested by the user for later use.
% do a breadth-first search of the files.
% For \prog{Calibre}, this option is found in
% \begin{UIdisplay}
-% \textsf{Preferences $\to$ Plugins $\to$ File type plugins $\to$ \HTML\ to Zip}
+% Preferences $\to$ Plugins $\to$ File type plugins $\to$ \HTML\ to Zip
% \end{UIdisplay}
% Check the box \textsf{Add linked files in breadth first order.}
% Set the document encoding as |utf-8|\trouble[encoding]{EPUB>encoding},
@@ -8793,8 +8801,8 @@ This boolean may be tested by the user for later use.
% which is \HTML\ heading level \element{h3}.
% For \prog{Calibre}, this option is found in
% \begin{UIdisplay}
-% \textsf{Preferences $\to$ Conversion (Common Options) $\to$
-% Structure Detection $\to$ Detect chapters at (XPath expression)}
+% Preferences $\to$ Conversion (Common Options) $\to$
+% Structure Detection $\to$ Detect chapters at (XPath expression)
% \end{UIdisplay}
% Select the ``magic wand'' to the right of this entry box, and set
% the first entry
@@ -8804,7 +8812,7 @@ This boolean may be tested by the user for later use.
% to ``h4''. (Or ``h3'' for document classes with \cs{chapter}s.)
% The \textsf{Detect chapters at} field should then show
% \begin{UIdisplay}
-% //h:h4 \qquad \textrm{---\,or\,---} \qquad //h:h3
+% //h:h4 \qquad \textmd{\textrm{---\,or\,---}} \qquad //h:h3
% \end{UIdisplay}
%
% This option is also available on the main tool bar at the \textsf{Convert books}
@@ -8857,9 +8865,8 @@ This boolean may be tested by the user for later use.
%
% A special boolean is provided to simplify the process of
% converting \pkg{lwarp} \HTML\ output to \EPUB:
-%
+% \begin{docsidebar}[\bool{FormatWP}]
% \DescribeBoolean{FormatWP} \DescribeDefault{false}
-% \begin{docsidebar}[\texttt{FormatWP}]
% \raggedright
% Changes \HTML\ output for easier conversion
% by a word processor.
@@ -8953,8 +8960,8 @@ This boolean may be tested by the user for later use.
% to word-processor frames and captions.
% }
%
+% \begin{docsidebar}[\bool{WPMarkFloats}]
% \DescribeBoolean{WPMarkFloats} \DescribeDefault{false}
-% \begin{docsidebar}[\texttt{WPMarkFloats}]
% \raggedright
% \describeWPMarkFloats
% \end{docsidebar}
@@ -8972,8 +8979,8 @@ This boolean may be tested by the user for later use.
% to word-processor frames.
% }
%
+% \begin{docsidebar}[\bool{WPMarkMinipages}]
% \DescribeBoolean{WPMarkMinipages} \DescribeDefault{false}
-% \begin{docsidebar}[\texttt{WPMarkMinipages}]
% \raggedright
% \describeWPMarkMinipages
% \end{docsidebar}
@@ -8985,13 +8992,13 @@ This boolean may be tested by the user for later use.
% === table of contents === \\
% \end{sourcedisplay}
% where the Table of Contents would have been.
-% This helps identify where to insert the actual \acro{TOC}.
+% This helps identify where to insert the actual \TOC.
%
-% \emph{If set |false|, the actual \acro{TOC} is printed instead.}
+% \emph{If set |false|, the actual \TOC\ is printed instead.}
% }
%
+% \begin{docsidebar}[\bool{WPMarkTOC}]
% \DescribeBoolean{WPMarkTOC} \DescribeDefault{true}
-% \begin{docsidebar}[\texttt{WPMarkTOC}]
% \raggedright
% \describeWPMarkTOC
% \end{docsidebar}
@@ -9009,8 +9016,8 @@ This boolean may be tested by the user for later use.
% \emph{If set |false|, the actual lists are printed instead.}
% }
%
+% \begin{docsidebar}[\bool{WPMarkLOFT}]
% \DescribeBoolean{WPMarkLOFT} \DescribeDefault{false}
-% \begin{docsidebar}[\texttt{WPMarkLOFT}]
% \raggedright
% \describeWPMarkLOFT
% \end{docsidebar}
@@ -9022,12 +9029,12 @@ This boolean may be tested by the user for later use.
% This is useful for cut/paste into the \prog{LibreOffice Writer TeXMaths} extension.
% }
%
-% \DescribeBoolean{WPMarkMath} \DescribeDefault{false}
-% \DescribeProgram{TeXMaths}
+% \begin{docsidebar}[\bool{WPMarkMath}]
% \trouble{TeXMaths}
% \trouble{siunitx>with TeXMaths}
% \margintag{siunitx}
-% \begin{docsidebar}[\texttt{WPMarkMath}]
+% \DescribeBoolean{WPMarkMath} \DescribeDefault{false}
+% \DescribeProgram{TeXMaths}
% \raggedright
% \describeWPMarkMath
%
@@ -9053,9 +9060,9 @@ This boolean may be tested by the user for later use.
% See \cref{tab:WPsectionheadings} on \cpageref{tab:WPsectionheadings}.
% }
%
+% \begin{docsidebar}[\bool{WPTitleHeading}]
% \DescribeBoolean{WPTitleHeading} \DescribeDefault{false}
% \margintag{section headings}
-% \begin{docsidebar}[\texttt{WPTitleHeading}]
% \raggedright
% \describeWPTitleHeading
% \end{docsidebar}
@@ -9109,7 +9116,7 @@ This boolean may be tested by the user for later use.
% \item Set |\booltrue{WPMarkTOC}| and |\boolfalse{WPMarkLOFT}|
% \item Use \pkg{lwarp} to generate the \HTML\ document.
% \item Copy/paste from the \HTML\ document into an empty \prog{LibreOffice Writer} document.
-% \item Manually insert a \brand{LibreOffice} \acro{TOC} in the \brand{LibreOffice} document.
+% \item Manually insert a \brand{LibreOffice} \TOC\ in the \brand{LibreOffice} document.
% \item Manually add frames around each float, adding a caption which is cut/pasted from
% each float's simulated caption.
% \item Manually create cross references.
@@ -9137,7 +9144,7 @@ This boolean may be tested by the user for later use.
% Cross references are not actual \brand{LibreOffice} linked cross references.
%
% The List of Figures and List of Tables are not linked.
-% The pasted pseudo \acro{LOF} and \acro{LOT} match the numbering
+% The pasted pseudo \LOF\ and \LOT\ match the numbering
% of the \LaTeX\ and \HTML\ versions.
%
% Equation numbering is not automatic, but the equation numbers in \SVG\ math
@@ -9631,7 +9638,7 @@ This boolean may be tested by the user for later use.
% \trouble{cross reference>incorrect link}
% \trouble{reference>\% character between arguments}
% arguments of \cs{hyperref}, etc., as this character is among those which
-% is neutralized for inclusion in \HTML\ \acro{URL}s.
+% is neutralized for inclusion in \HTML\ \URL{}s.
%
% \item [Em-dashes or En-dashes in listing captions and titles:] \
%
@@ -9715,8 +9722,8 @@ This boolean may be tested by the user for later use.
% \subsection{Compiling the \filenm{lwarp.dtx} file}
%
% \begin{description}
-% \item [\filenm{lwarp\_tutorial.tex}:] Copy or link \filenm{lwarp\_tutorial.txt}
-% from the \acro{TDS} |doc| directory to the |source| directory,
+% \item [\filenm{lwarp_tutorial.tex}:] Copy or link \filenm{lwarp_tutorial.txt}
+% from the \TDS\ |doc| directory to the |source| directory,
% or wherever you wish to compile the documentation.
% This file is included verbatim in the documentation, but is in the \filenm{doc}
% directory so that it may be found by \prog{texdoc} and copied by the user.
@@ -9997,7 +10004,7 @@ This boolean may be tested by the user for later use.
%
% \clearpage
%
-% \section{Detecting the \TeX\ Engine — \prog{pdflatex}, \prog{lualatex}, \prog{xelatex}}
+% \section{Detecting the \TeX\ engine — \prog{pdflatex}, \prog{lualatex}, \prog{xelatex}}
%
% \changes{v0.16}{2016/04/07}{Added XeLaTeX, LuaLaTeX support.}
% See: \url{http://tex.stackexchange.com/a/47579}.
@@ -10270,6 +10277,8 @@ For a possible alternative, see class(es) #2.}
% \changes{v0.54}{2018/09/26}{Never load \pkg{aecompl}.}
% \changes{v0.62}{2018/11/18}{Added early checks for \pkg{CJK}, \pkg{CJKutf8}.}
% \changes{v0.65}{2018/12/15}{Added early checks for \pkg{jarticle}, \pkg{tarticle}, and related.}
+% \changes{v0.66}{2019/01/04}{Added early checks for \pkg{colortab}, \pkg{epsf}, \pkg{hyper},
+% \pkg{picinpar}, \pkg{picins}, \pkg{sistyle}, \pkg{ucs}.}
%
% \begin{macrocode}
\LWR@earlyclassloadnever{jarticle}{ujarticle}
@@ -10302,9 +10311,16 @@ For a possible alternative, see class(es) #2.}
% \end{macrocode}
% Others:
% \begin{macrocode}
+\LWR@earlyloadnever{colortab}{colortbl}
+\LWR@earlyloadnever{epsf}{graphicx}
\LWR@earlyloadnever{fancyheadings}{fancyhdr}
\LWR@earlyloadnever{glossary}{glossaries}
+\LWR@earlyloadnever{hyper}{hyperref}
+\LWR@earlyloadnever{picinpar}{floatflt, wrapfig}
+\LWR@earlyloadnever{picins}{floatflt, wrapfig}
+\LWR@earlyloadnever{sistyle}{siunitx}
\LWR@earlyloadnever{t1enc}{fontenc, inputenc, inputenx}
+\LWR@earlyloadnever{ucs}{inputenc, inputencx}
\LWR@earlyloadnever{wasysym}{textcomp, amssymb, amsfonts, mnsymbol, fdsymbol}
% \end{macrocode}
%
@@ -10344,6 +10360,7 @@ For a possible alternative, see class(es) #2.}
\LWR@loadafter{anonchap}
\LWR@loadafter{anysize}
\LWR@notmemoirloadafter{appendix}
+\LWR@loadafter{ar}
\LWR@loadafter{arabicfront}
\LWR@notmemoirloadafter{array}
\LWR@loadafter{arydshln}
@@ -10409,6 +10426,7 @@ For a possible alternative, see class(es) #2.}
\LWR@loadafter{draftwatermark}
\LWR@loadafter{easy-todo}
\LWR@loadafter{ebook}
+\LWR@loadafter{ed}
\LWR@loadafter{ellipsis}
\LWR@loadafter{embrac}
\LWR@loadafter{emptypage}
@@ -10485,7 +10503,6 @@ For a possible alternative, see class(es) #2.}
\LWR@loadafter{idxlayout}
\LWR@loadafter{ifoddpage}
\LWR@loadafter{imakeidx}
-\LWR@loadafter{indentfirst}
\LWR@notmemoirloadafter{index}
% inputenc must be loaded before lwarp
% inputenx must be loaded before lwarp
@@ -10531,6 +10548,7 @@ For a possible alternative, see class(es) #2.}
\LWR@loadafter{multirow}
\LWR@loadafter{multitoc}
\LWR@loadafter{musicography}
+\LWR@loadafter{nameauth}
\LWR@loadafter{nameref}
\LWR@loadafter{natbib}
\LWR@notmemoirloadafter{nccfancyhdr}
@@ -10629,6 +10647,7 @@ For a possible alternative, see class(es) #2.}
\LWR@loadafter{srctex}
\LWR@loadafter{stabular}
\LWR@notltjloadafter{stfloats}
+\LWR@loadafter{subcaption}
\LWR@loadafter{subfig}
\LWR@loadafter{subfigure}
\LWR@loadafter{supertabular}
@@ -10663,6 +10682,7 @@ For a possible alternative, see class(es) #2.}
\LWR@loadafter{transparent}
\LWR@loadafter{trimclip}
\LWR@loadafter{trivfloat}
+\LWR@loadafter{truncate}
\LWR@loadafter{turnthepage}
\LWR@loadafter{twoup}
% \end{macrocode}
@@ -10747,16 +10767,16 @@ For a possible alternative, see class(es) #2.}
% \end{macrocode}
%
%
-% \section{pdf\LaTeX\ T1 and \acro{UTF}-8 encoding}
+% \section{pdf\LaTeX\ T1 and \UTF-8 encoding}
%
-% When using pdf\LaTeX, \pkg{lwarp} requires T1 encoding, and recommends \acro{UTF}-8 encoding.
+% When using pdf\LaTeX, \pkg{lwarp} requires T1 encoding, and recommends \UTF-8 encoding.
%
% If some other input encoding is already defined, \pkg{lwarp} will
% try to use it instead, and hope for the best.
%
-% \XeLaTeX\ and Lua\LaTeX\ are both \acro{UTF}-8 by nature.
+% \XeLaTeX\ and Lua\LaTeX\ are both \UTF-8 by nature.
%
-% \changes{v0.44}{2017/11/16}{If pdfLaTeX, require T1 and \acro{UTF}-8 encoding.}
+% \changes{v0.44}{2017/11/16}{If pdfLaTeX, require T1 and \UTF-8 encoding.}
% \changes{v0.52}{2018/03/26}{If pdfLaTeX, allow other input encoding.}
% \changes{v0.63}{2018/11/25}{p\TeX: Encoding.}
%
@@ -10904,6 +10924,25 @@ For a possible alternative, see class(es) #2.}
% \end{macro}
%
%
+% \begin{macro}{\LWR@firstoffour} \marg{first} \marg{second} \marg{third} \marg{fourth}
+% \changes{v0.63}{2019/01/25}{Added.}
+% \begin{macro}{\LWR@secondoffour} \marg{first} \marg{second} \marg{third} \marg{fourth}
+% \begin{macro}{\LWR@thirdoffour} \marg{first} \marg{second} \marg{third} \marg{fourth}
+% \begin{macro}{\LWR@fourthoffour} \marg{first} \marg{second} \marg{third} \marg{fourth}
+%
+% Expands to the nth of the four arguments.
+% Used for extra cross referencing.
+%
+% \begin{macrocode}
+\long\def\LWR@firstoffour#1#2#3#4{#1}
+\long\def\LWR@secondoffour#1#2#3#4{#2}
+\long\def\LWR@thirdoffour#1#2#3#4{#3}
+\long\def\LWR@fourthoffour#1#2#3#4{#4}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
%
%
% \section{Operating-System portability}
@@ -10953,6 +10992,30 @@ For a possible alternative, see class(es) #2.}
% \end{macrocode}
%
%
+% The literal |{| character.
+% The ampersand is temporarily set to the begin group character during the
+% definition of the leftbrace macro.
+% \begin{macrocode}
+\catcode`\&=1
+\catcode`\{=12
+\def\LWRleftbrace&{}
+\catcode`\{=1
+\catcode`\&=4
+% \end{macrocode}
+%
+%
+% The literal |}| character.
+% The ampersand is temporarily set to the end group character during the
+% definition of the leftbrace macro.
+% \begin{macrocode}
+\catcode`\&=2
+\catcode`\}=12
+\def\LWRrightbrace{}&
+\catcode`\}=2
+\catcode`\&=4
+% \end{macrocode}
+%
+%
% The literal |#| character:
% \begin{macrocode}
\catcode`\#=12
@@ -11130,8 +11193,8 @@ For a possible alternative, see class(es) #2.}
% \changes{v0.19}{2016/05/25}{Options: mathsvg and mathjax}
% \DescribeOption{mathsvg}
% Option \optn{mathsvg} selects \SVG\ math display:
-% \gindex{math>\optn{mathsvg} option}
-% \gindex{SVG>\optn{mathsvg} option}
+% \gindex{math>mathsvg=\optn{mathsvg} option}
+% \gindex{SVG>mathsvg=\optn{mathsvg} option}
% If the \optn{mathsvg} option is given, boolean |mathjax| is false,
% and may be used for \cs{ifbool} tests.
% \begin{macrocode}
@@ -11149,7 +11212,7 @@ For a possible alternative, see class(es) #2.}
%
% \DescribeOption{mathjax}
% Option \optn{mathjax} selects \brand{MathJax} math display:
-% \gindex{math>\optn{mathjax} option}
+% \gindex{math>mathjax=\optn{mathjax} option}
% \gindex{MathJax=\brand{MathJax}>mathjax=\optn{mathjax} option}
% If the \optn{mathjax} option is given, boolean |mathjax| is true, may be used for \cs{ifbool} tests.
% \begin{macrocode}
@@ -11167,7 +11230,7 @@ For a possible alternative, see class(es) #2.}
% ^^A \DescribeOption{mathKaTeX}
% ^^A Option \optn{mathKaTeX} selects Ka\TeX\ math display:
-% ^^A \gindex{math>\optn{mathKaTeX} option}
+% ^^A \gindex{math>mathKaTeX=\optn{mathKaTeX} option}
% ^^A \gindex{KaTeX=Ka\TeX>mathKaTeX=\optn{mathKaTeX} option}
% ^^A If the \optn{mathKaTeX} option is given, boolean |mathKaTeX| is true,
% ^^A may be used for \cs{ifbool} tests.
@@ -11185,6 +11248,7 @@ For a possible alternative, see class(es) #2.}
% \DescribeOption{BaseJobname}
+% \DescribeDefault{\cs{jobname}}
% Option \optn{BaseJobname} sets the \cs{BaseJobname} for this document.
%
% This is the \cs{jobname} of the printed version, even if currently
@@ -11196,8 +11260,30 @@ For a possible alternative, see class(es) #2.}
% \end{macrocode}
+% \DescribeOption{ImagesDirectory}
+% \DescribeDefault{\cs{jobname}-images}
+% Option \optn{ImagesDirectory} sets the name of the directory
+% to use for the \env{lateximages}.
+%
+% \changes{v0.66}{2019/01/27}{Added option \optn{ImagesDirectory}.}
+% \begin{macrocode}
+\DeclareStringOption[\BaseJobname-images]{ImagesDirectory}
+% \end{macrocode}
+
+
+% \DescribeOption{ImagesName}
+% \DescribeDefault{image-}
+% Option \optn{ImagesName} sets the prefix
+% to use for the \env{lateximages}.
+%
+% \changes{v0.66}{2019/01/27}{Added option \optn{ImagesName}.}
+% \begin{macrocode}
+\DeclareStringOption[image-]{ImagesName}
+% \end{macrocode}
+
+
% \DescribeOption{makeindexStyle} Selects a custom |.ist| file.
-% The default is |lwarp.ist|.
+% \DescribeDefault{lwarp.ist}
% A customized file should be based on |lwarp.ist|, and must retain
% the lines related to \cs{hyperindexref}.
%
@@ -11209,7 +11295,7 @@ For a possible alternative, see class(es) #2.}
% \DescribeOption{xindyStyle} Selects a custom |.xdy| file.
-% The default is |lwarp.xdy|.
+% \DescribeDefault{lwarp.xdy}
% A customized file should be based on |lwarp.xdy|, and must retain
% the line
% \begin{Verbatim}[gobble=2]
@@ -11225,6 +11311,7 @@ For a possible alternative, see class(es) #2.}
% \DescribeOption{xindyLanguage} Sets the \pkg{xindy} language to be assigned
+% \DescribeDefault{english}
% in \prog{lwarpmk}'s configuration files. This is then used by \prog{lwarpmk} while
% processing the index and glossary.
%
@@ -11238,6 +11325,7 @@ For a possible alternative, see class(es) #2.}
% \DescribeOption{xindyCodepage} Sets the \pkg{xindy} codepage to be assigned
+% \DescribeDefault{utf8}
% in \prog{lwarpmk}'s configuration files. This is then used by \prog{lwarpmk} while
% processing the index.
% ^^A and glossary.
@@ -11295,7 +11383,7 @@ For a possible alternative, see class(es) #2.}
-% \DescribeOption{HomeHTMLFilename} \DescribeDefault{\cs{\BaseJobname}}
+% \DescribeOption{HomeHTMLFilename} \DescribeDefault{\cs{BaseJobname}}
% The filename of the homepage.
% The default is the jobname.
% This option is stored into \cs{LWR@HomeHTMLFilename},
@@ -11443,6 +11531,11 @@ For a possible alternative, see class(es) #2.}
% \end{macrocode}
+
+
+% \subsection{Additional options support}
+
+
% Assign the \cs{BaseJobname} if the user hasn't provided one:
% \begin{macrocode}
\providecommand*{\BaseJobname}{\LWR@BaseJobname}
@@ -11452,15 +11545,52 @@ For a possible alternative, see class(es) #2.}
% Defaults unless already over-ridden by the user:
% \begin{macrocode}
\ifcsempty{LWR@HomeHTMLFilename}{
-\newcommand*{\HomeHTMLFilename}{\BaseJobname}
+ \newcommand*{\HomeHTMLFilename}{\BaseJobname}
}{
-\csedef{HomeHTMLFilename}{\LWR@HomeHTMLFilename}
+ \csedef{HomeHTMLFilename}{\LWR@HomeHTMLFilename}
}
\csedef{HTMLFilename}{\LWR@HTMLFilename}
% \end{macrocode}
%
%
+% Special handling for underscores in labels and filenames.
+%
+% \begin{macro}{\LWR@sanitized} The sanitized version of what was given
+% to \cs{LWR@sanitize}.
+% Characters are set to their detokenized versions.
+% Required for underscores in labels and filenames.
+% \begin{macrocode}
+\newcommand*{\LWR@sanitized}{}
+% \end{macrocode}
+% \end{macro}
+
+% \begin{macro}{\LWR@sanitize} \marg{text}
+%
+% Sanitizes the text and returns the result in \cs{LWR@sanitized}.
+% \begin{macrocode}
+\newcommand*{\LWR@sanitize}[1]{%
+\edef\LWR@sanitized{#1}%
+\edef\LWR@sanitized{\detokenize\expandafter{\LWR@sanitized}}%
+}
+% \end{macrocode}
+% \end{macro}
+
+
+% Sanitize some string options to neutralize underscores.
+% \changes{v0.66}{2019/01/28}{Sanitize filenames.}
+% \begin{macrocode}
+\LWR@sanitize{\LWR@BaseJobname}
+\edef\LWR@BaseJobname{\LWR@sanitized}
+
+\LWR@sanitize{\LWR@ImagesDirectory}
+\edef\LWR@ImagesDirectory{\LWR@sanitized}
+
+\LWR@sanitize{\LWR@ImagesName}
+\edef\LWR@ImagesName{\LWR@sanitized}
+% \end{macrocode}
+%
+%
%
% \cs{LWR@PrintIndexCmd} and \cs{LWR@HTMLIndexCmd} are tested to see if they are empty.
% If so, they are set to a reasonable defaults for a single index using \prog{makeindex},
@@ -12007,8 +12137,13 @@ For a possible alternative, see class(es) #2.}
% \DescribePackage{xstring}
+% There was a short-term bug in \pkg{xstring} regarding \cs{IfInteger} which affected
+% \pkg{lwarp}'s index generation. The updated version is requested here.
+% \trouble[index]{index>xstring=\pkg{xstring} bug}
+% \trouble{index>numbers, not links}
+% \trouble{xstring=\pkg{xstring}}
% \begin{macrocode}
-\RequirePackage{xstring}
+\RequirePackage{xstring}[2019/02/01]
% \end{macrocode}
@@ -12030,14 +12165,8 @@ For a possible alternative, see class(es) #2.}
% \end{macrocode}
-% \DescribePackage{zref}
-% Used for cross-references.
-% \begin{macrocode}
-\RequirePackage{zref}
-% \end{macrocode}
-
-
-% \changes{v0.40}{2017/09/07}{No longer preloads \pkg{xfrac}.}
+% \changes{v0.40}{2017/09/07}{\pkg{xfrac}: No longer preloaded.}
+% \changes{v0.66}{2019/01/27}{\pkg{zref}: No longer used.}
% \DescribePackage{printlen}
@@ -12130,6 +12259,8 @@ For a possible alternative, see class(es) #2.}
% \changes{v0.63}{2018/12/02}{Added to reduce number of \filenm{lwarp-*} files.}
% \changes{v0.64}{2018/12/07}{Prevented \pkg{bitfield}, \pkg{doublespace},
% \pkg{newthm}, \pkg{rplain}, \pkg{si}.}
+% \changes{v0.66}{2019/01/04}{Prevented \pkg{colortab}, \pkg{epsf}, \pkg{hyper}, \pkg{picinpar},
+% \pkg{picins}, \pkg{sistyle}, \pkg{ucs}.}
%
% The following should never be loaded:
% \begin{macrocode}
@@ -12140,13 +12271,20 @@ For a possible alternative, see class(es) #2.}
\LWR@checkloadnever{#1}{boxedminipage}{boxedminipage2e}
\LWR@checkloadnever{#1}{caption2}{caption}
\LWR@checkloadnever{#1}{ccaption}{caption}
+\LWR@checkloadnever{#1}{colortab}{colortbl}
\LWR@checkloadnever{#1}{doublespace}{setspace}
+\LWR@checkloadnever{#1}{epsf}{graphicx}
\LWR@checkloadnever{#1}{fancyheadings}{fancyhdr}
\LWR@checkloadnever{#1}{glossary}{glossaries}
+\LWR@checkloadnever{#1}{hyper}{hyperref}
\LWR@checkloadnever{#1}{newthm}{ntheorem}
+\LWR@checkloadnever{#1}{picinpar}{floatflt, wrapfig}
+\LWR@checkloadnever{#1}{picins}{floatflt, wrapfig}
\LWR@checkloadnever{#1}{rplain}{fancyhdr}
\LWR@checkloadnever{#1}{si}{siunitx}
+\LWR@checkloadnever{#1}{sistyle}{siunitx}
\LWR@checkloadnever{#1}{t1enc}{fontenc, inputenc, inputenx}
+\LWR@checkloadnever{#1}{ucs}{inputenc, inputencx}
\LWR@checkloadnever{#1}{wasysym}{textcomp, amssymb, amsfonts, mnsymbol, fdsymbol}
% \end{macrocode}
%
@@ -12212,7 +12350,7 @@ For a possible alternative, see class(es) #2.}
{% yes filename was found
% \end{macrocode}
% Check if the package should be loaded before \pkg{lwarp},
-% or never at all:
+% or never at all:
% \begin{macrocode}
\LWR@checkloadfilename{\LWR@strresulttwo}%
% \end{macrocode}
@@ -12374,8 +12512,10 @@ For a possible alternative, see class(es) #2.}
% \DescribePackage{caption}
% \changes{v0.47}{2018/01/29}{\pkg{caption}: Also loads \pkg{lwarp-caption}.}
+% \changes{v0.66}{2018/12/29}{\pkg{caption}: Fix for options clash.}
% \begin{macrocode}
-\RequirePackage{caption}%
+\LWR@origRequirePackage{caption}
+\AtBeginDocument{\RequirePackage{lwarp-caption}}%
% \end{macrocode}
% \begin{macrocode}
@@ -13115,6 +13255,9 @@ For a possible alternative, see class(es) #2.}
\let\LWR@origllap\llap
\let\LWR@origrlap\rlap
\let\LWR@orighfilneg\hfilneg
+\let\LWR@orighspace\hspace
+
+\let\LWR@origrule\rule
\let\LWR@origmedskip\medskip
\let\LWR@origbigskip\bigskip
@@ -13291,7 +13434,7 @@ For a possible alternative, see class(es) #2.}
-% \section{Configuration Files}
+% \section{Configuration files}
% \changes{v0.20}{2016/12/20}{\pkg{lwarp-newproject}: Added.}
% \changes{v0.30}{2017/04/27}{\pkg{lwarp-newproject} removed, and combined with \pkg{lwarp}.}
@@ -13331,7 +13474,7 @@ For a possible alternative, see class(es) #2.}
% \end{macrocode}
-% \subsection{\filenm{project\_html.tex}}
+% \subsection{\filenm{project_html.tex}}
%
% \DescribeFile{project_html.tex} Used to allow an \HTML\ version of the
% document to exist alongside the print version.
@@ -13367,7 +13510,7 @@ For a possible alternative, see class(es) #2.}
% Incremented by one each time the configuration file format changes.
% (This is NOT the same as the \pkg{lwarp} version number.)
% \begin{macrocode}
-\newcommand*{\LWR@lwarpconfversion}{1}% also in lwarpmk.lua
+\newcommand*{\LWR@lwarpconfversion}{2}% also in lwarpmk.lua
% \end{macrocode}
% \end{macro}
%
@@ -13392,7 +13535,7 @@ For a possible alternative, see class(es) #2.}
% Used to form the basic compilation command for a document, adding
% the optional shell escape.
%
-% Engine is \prog{pdflatex}, etc. Suffix is empty or \filenm{\_html}
+% Engine is \prog{pdflatex}, etc. Suffix is empty or \filenm{_html}
% \begin{macrocode}
\newcommand*{\LWR@compilecmd}[2]{%
#1 \LWR@shellescapecmd \jobname#2%
@@ -13405,7 +13548,7 @@ For a possible alternative, see class(es) #2.}
%
% Adds to the compilation command.
%
-% Cmd is \prog{dvipdfmx}, etc. Suffix is empty or \filenm{\_html}
+% Cmd is \prog{dvipdfmx}, etc. Suffix is empty or \filenm{_html}
% \changes{v0.61}{2018/10/06}{Removed spaces.}
% \begin{macrocode}
\newcommand*{\LWR@addcompilecmd}[2]{%
@@ -13422,7 +13565,7 @@ For a possible alternative, see class(es) #2.}
\newcommand*{\LWR@unknownengine}{%
\PackageError{lwarp}
{Unknown LaTeX engine.}
- {Lwarp only knows about pdflatex, dvi latex, xelatex, and lualatex.}
+ {Lwarp only knows about pdflatex, dvi latex, xelatex, lualatex, and upLateX.}
}
% \end{macrocode}
% \end{macro}
@@ -13696,6 +13839,7 @@ For a possible alternative, see class(es) #2.}
%
% \changes{v0.59}{2018/08/21}{Compilation commands now preassigned by \pkg{lwarp} instead
% of being computed by \prog{lwarpmk}.}
+% \changes{v0.66}{2019/01/27}{Added \optn{ImagesDirectory} and \optn{ImagesName}.}
% \begin{macrocode}
\newcommand{\LWR@writeconf}[1]{
\ifcsdef{LWR@quickfile}{}{\newwrite{\LWR@quickfile}}
@@ -13709,6 +13853,8 @@ For a possible alternative, see class(es) #2.}
\immediate\write\LWR@quickfile{sourcename = [[\jobname]]}
\immediate\write\LWR@quickfile{homehtmlfilename = [[\HomeHTMLFilename]]}
\immediate\write\LWR@quickfile{htmlfilename = [[\HTMLFilename]]}
+\immediate\write\LWR@quickfile{imagesdirectory = [[\LWR@ImagesDirectory]]}
+\immediate\write\LWR@quickfile{imagesname = [[\LWR@ImagesName]]}
\immediate\write\LWR@quickfile{latexmk = [[\ifbool{LWR@latexmk}{true}{false}]]}
\immediate\write\LWR@quickfile{printlatexcmd = [[\LWR@PrintLatexCmd]]}
\immediate\write\LWR@quickfile{HTMLlatexcmd = [[\LWR@HTMLLatexCmd]]}
@@ -13821,6 +13967,7 @@ For a possible alternative, see class(es) #2.}
% \changes{v0.65}{2018/12/09}{\filenm{lwarp.css}: Side\TOC to left for improved \cs{marginpar}s.}
% \changes{v0.65}{2018/12/09}{\filenm{lwarp.css}: Added \cs{sishape}, \cs{textsi}.}
% \changes{v0.65}{2018/12/18}{\filenm{lwarp.css}: Improved \CSS\ for page layout.}
+% \changes{v0.66}{2019/01/02}{\filenm{lwarp.css}: Improved \CSS\ for definition lists.}
%
% ^^A *lwarp.css
%
@@ -14294,12 +14441,12 @@ div.titlepage div.mpfootnotes {
-ol {
+ul, ol {
margin: 1ex 1em 1ex 0em;
line-height: 1.2;
}
-ul, body dir, body menu {
+body dir, body menu {
margin: 3ex 1em 3ex 0em;
line-height: 1.2;
}
@@ -14522,7 +14669,7 @@ div.wpminipage { border: 1px solid green ; margin: .5ex ; padding: .5ex ;}
.mdframed p { padding: 0ex .5em 0ex .5em ; }
-.mdframed dl { padding: 0ex .5em 0ex .5em ; }
+.mdframed dl { padding: 1ex .5em 0ex .5em ; }
.mdframedtitle {
padding: .5ex 0pt 0pt 0pt ;
@@ -14591,13 +14738,20 @@ dl {
}
dl dt {
- margin-top: 1ex;
- margin-left: 1em ;
+ display: block ;
+ float:left ;
font-weight: bold;
+ padding-right: 1em ;
}
+dl dd { display: block ; }
+
+dl dd:after { content: "" ; display: block ; clear: both }
+
dl dd p { margin-top: 0em; }
+dd ul, dd ol, dd dl { clear: both ; padding-top: 1ex }
+
nav {
font-family: "URW Classico", Optima, "Linux Biolinum O",
@@ -14834,7 +14988,7 @@ td.tdb , td.tdbrule , td.tdB , td.tdBrule
.tnotes {
margin: 0ex 5% 1ex 5% ;
padding: 0.5ex 1em 0.5ex 1em;
- font-size:.85em;
+ font-size:.80em;
text-align: left ;
}
@@ -15311,7 +15465,7 @@ span.sidetocthetitle { display: none }
-% \subsection{\filenm{lwarp\_sagebrush.css}}
+% \subsection{\filenm{lwarp_sagebrush.css}}
% \DescribeFile{lwarp_sagebrush.css}
% An optional \CSS\ which may be used for
@@ -15320,7 +15474,7 @@ span.sidetocthetitle { display: none }
% If used, this must be present both when compiling the project
% and also when distributing the \HTML\ files.
%
-% \changes{v0.65}{2018/12/09}{\filenm{lwarp\_sagebrush.css}: Side\TOC to left for improved \cs{marginpar}s.}
+% \changes{v0.65}{2018/12/09}{\filenm{lwarp_sagebrush.css}: Side\TOC to left for improved \cs{marginpar}s.}
%
% ^^A *lwarp_sagebrush.css
%
@@ -15579,7 +15733,7 @@ nav.sidetoc a:hover {
-% \subsection{\filenm{lwarp\_formal.css}}
+% \subsection{\filenm{lwarp_formal.css}}
% \DescribeFile{lwarp_formal.css}
% An optional \CSS\ which may be used for
@@ -15588,8 +15742,9 @@ nav.sidetoc a:hover {
% If used, this must be present both when compiling the project
% and also when distributing the \HTML\ files.
%
-% \changes{v0.62}{2018/11/10}{\filenm{lwarp\_formal.css}: Fix: Font for verse.}
-% \changes{v0.65}{2018/12/09}{\filenm{lwarp\_formal.css}: Side\TOC to left for improved \cs{marginpar}s.}
+% \changes{v0.62}{2018/11/10}{\filenm{lwarp_formal.css}: Fix: Font for verse.}
+% \changes{v0.65}{2018/12/09}{\filenm{lwarp_formal.css}: Side\TOC to left for improved \cs{marginpar}s.}
+% \changes{v0.66}{2019/01/02}{\filenm{lwarp_formal.css}: Improved \CSS\ for table notes.}
%
% ^^A *lwarp_formal.css
%
@@ -15739,6 +15894,8 @@ div.figurecaption , .lstlisting {
.tnotes {
background: #fffcf5 ;
+ border-top: 1px solid silver ;
+ border-bottom: 1px solid silver ;
}
.theorem {
@@ -15798,7 +15955,7 @@ nav.botnavigation {
-% \subsection{\filenm{sample\_project.css}}
+% \subsection{\filenm{sample_project.css}}
% \DescribeFile{sample_project.css}
% The project-specific \CSS\ file. Use with \cs{CSSFilename}.
@@ -15841,7 +15998,7 @@ nav.botnavigation {
%
% The page compositor line is for \pkg{memoir}'s \cs{specialindex}.
%
-% \changes{v0.58}{2018/06/17}{\filenm{lwarp\_html.ist}: Added.}
+% \changes{v0.58}{2018/06/17}{\filenm{lwarp_html.ist}: Added.}
%
% ^^A *lwarp.ist
%
@@ -15888,7 +16045,7 @@ page_compositor "."
% \href{https://tex.stackexchange.com/questions/80300/how-can-i-convince-hyperref-and-xindy-to-play-together-nicely}
% {https://tex.stackexchange.com/questions/80300/ \\ \fqquad\ how-can-i-convince-hyperref-and-xindy-to-play-together-nicely}
%
-% \changes{v0.30}{2017/04/28}{File: \filenm{lwarp\_html.xdy} renamed to \filenm{lwarp.xdy}.}
+% \changes{v0.30}{2017/04/28}{File: \filenm{lwarp_html.xdy} renamed to \filenm{lwarp.xdy}.}
% \changes{v0.30}{2017/04/26}{Fix: \filenm{lwarp.xdy} only written in print mode.}
% \changes{v0.58}{2018/06/19}{\filenm{lwarp.xdy}: Requires \filenm{makeindex.xdy}.}
% \changes{v0.58}{2018/06/21}{\filenm{lwarp.xdy}: Supports bold, italic.}
@@ -15925,7 +16082,7 @@ page_compositor "."
% \end{macrocode}
-% \subsection{\filenm{lwarp\_one\_limage.cmd}}
+% \subsection{\filenm{lwarp_one_limage.cmd}}
%
% \DescribeFile{lwarp_one_limage.cmd}
% Used by \pkg{lwarp} to help make \env{lateximage}s when using \brand{Windows}.
@@ -15937,34 +16094,47 @@ page_compositor "."
% The arguments are each of the three fields from \filenm{lateximages.txt},
% and also the base name of the source file.
%
-% \prog{MikTeX} does not allow file \filenm{lwarp\_one\_limage.cmd} to be
-% created directly by \prog{lwarpmk}, so \filenm{lwarp\_one\_limage.txt} is created instead,
-% then copied to \filenm{lwarp\_one\_limage.cmd} by \prog{lwarpmk}.
+% \prog{MiKTeX} does not allow file \filenm{lwarp_one_limage.cmd} to be
+% created directly by \prog{lwarpmk}, so \filenm{lwarp_one_limage.txt} is created instead,
+% then copied to \filenm{lwarp_one_limage.cmd} by \prog{lwarpmk}.
% This occurs each time \prog{lwarpmk} used to create \env{lateximage}s.
%
-% \changes{v0.50}{2018/02/27}{\filenm{lwarp\_one\_limage.txt}: Added.}
-% \changes{v0.51}{2018/03/16}{\filenm{lwarp\_one\_limage.txt}: \prog{pdftocairo} \optn{-noshrink} added.}
+% \changes{v0.50}{2018/02/27}{\filenm{lwarp_one_limage.txt}: Added.}
+% \changes{v0.51}{2018/03/16}{\filenm{lwarp_one_limage.txt}: \prog{pdftocairo} \optn{-noshrink} added.}
+% \changes{v0.66}{2019/01/30}{\filenm{lwarp_one_limage.txt}: Image directory and prefix.}
%
% ^^A *lwarp_one_limage.txt
%
% \codeconfig
% \begin{macrocode}
\begin{LWRwriteconf}
-\begin{filecontents*}{lwarp_one_limage.txt}
-@echo off
-pdfseparate -f %1 -l %1 %4_html.pdf lateximages\lateximagetemp-%%d.pdf
-pdfcrop --hires lateximages\lateximagetemp-%1.pdf lateximages\%3.pdf
-pdftocairo -svg -noshrink lateximages\%3.pdf lateximages\%3.svg
-del lateximages\%3.pdf
-del lateximages\lateximagetemp-%1.pdf
-exit
-\end{filecontents*}
+\immediate\openout\LWR@quickfile=lwarp_one_limage.txt
+\immediate\write\LWR@quickfile{%
+ pdfseparate -f \LWRpercent 1 -l \LWRpercent 1 \LWRpercent 4_html.pdf %
+ \LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent\LWRpercent d.pdf%
+}
+\immediate\write\LWR@quickfile{%
+ pdfcrop --hires \LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent 1.pdf %
+ \LWR@ImagesDirectory\OSPathSymbol\LWRpercent 3.pdf%
+}
+\immediate\write\LWR@quickfile{%
+ pdftocairo -svg -noshrink \LWR@ImagesDirectory\OSPathSymbol\LWRpercent 3.pdf %
+ \LWR@ImagesDirectory\OSPathSymbol\LWRpercent 3.svg%
+}
+\immediate\write\LWR@quickfile{%
+ del \LWR@ImagesDirectory\OSPathSymbol\LWRpercent 3.pdf%
+}
+\immediate\write\LWR@quickfile{%
+ del \LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent 1.pdf%
+}
+\immediate\write\LWR@quickfile{exit}
+\immediate\closeout\LWR@quickfile
\end{LWRwriteconf}
% \end{macrocode}
-% \subsection{\filenm{lwarp\_mathjax.txt}}
+% \subsection{\filenm{lwarp_mathjax.txt}}
% \DescribeFile{lwarp_mathjax.txt}
% Used by \pkg{lwarp} when using \brand{MathJax}.
@@ -15973,15 +16143,15 @@ exit
% but does not need to be present when distributing
% the resulting \HTML\ files.
%
-% \changes{v0.28}{2017/04/11}{File: \filenm{lwarp\_mathjax.txt}: Updated \protect\acro{CDN} repository.}
-% \changes{v0.30}{2017/04/26}{Fix: \filenm{lwarp\_mathjax.txt}: Only written in print mode.}
-% \changes{v0.34}{2017/07/27}{File: \filenm{lwarp\_mathjax.txt}: Version change.}
-% \changes{v0.42}{2017/10/16}{File: \filenm{lwarp\_mathjax.txt}: Updated \pkg{siunitx} script.}
-% \changes{v0.45}{2017/12/21}{File: \filenm{lwarp\_mathjax.txt}: Allow \brand{MathJax} inside \env{tabbing}.}
-% \changes{v0.45}{2018/01/23}{File: \filenm{lwarp\_mathjax.txt}: Allow \brand{MathJax} inside \env{verse}.}
-% \changes{v0.59}{2018/07/13}{File: \filenm{lwarp\_mathjax.txt}: Updated to MathJax v2.7.4.}
-% \changes{v0.59}{2018/07/16}{File: \filenm{lwarp\_mathjax.txt}: Fix: Removed chapter number from tagged non-numeric MathJax equations.}
-% \changes{v0.62}{2018/11/05}{File: \filenm{lwarp\_mathjax.txt}: Removed inoperable \pkg{siunitx} extension.}
+% \changes{v0.28}{2017/04/11}{File: \filenm{lwarp_mathjax.txt}: Updated \protect\acro{CDN} repository.}
+% \changes{v0.30}{2017/04/26}{Fix: \filenm{lwarp_mathjax.txt}: Only written in print mode.}
+% \changes{v0.34}{2017/07/27}{File: \filenm{lwarp_mathjax.txt}: Version change.}
+% \changes{v0.42}{2017/10/16}{File: \filenm{lwarp_mathjax.txt}: Updated \pkg{siunitx} script.}
+% \changes{v0.45}{2017/12/21}{File: \filenm{lwarp_mathjax.txt}: Allow \brand{MathJax} inside \env{tabbing}.}
+% \changes{v0.45}{2018/01/23}{File: \filenm{lwarp_mathjax.txt}: Allow \brand{MathJax} inside \env{verse}.}
+% \changes{v0.59}{2018/07/13}{File: \filenm{lwarp_mathjax.txt}: Updated to MathJax v2.7.4.}
+% \changes{v0.59}{2018/07/16}{File: \filenm{lwarp_mathjax.txt}: Fix: Removed chapter number from tagged non-numeric MathJax equations.}
+% \changes{v0.62}{2018/11/05}{File: \filenm{lwarp_mathjax.txt}: Removed inoperable \pkg{siunitx} extension.}
%
%
% ^^A *lwarp_mathjax.txt
@@ -16104,7 +16274,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-
-% ^^A \subsection{\filenm{lwarp\_KaTeX.txt}}
+% ^^A \subsection{\filenm{lwarp_KaTeX.txt}}
% ^^A \DescribeFile{lwarp_KaTeX.txt}
% ^^A Used by \pkg{lwarp} when using Ka\TeX.
@@ -16113,7 +16283,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-
% ^^A but does not need to be present when distributing
% ^^A the resulting \HTML\ files.
%
-% ^^A \changes{v0.59}{2018/11/03}{File: \filenm{lwarp\_KaTeX.txt}: Added.}
+% ^^A \changes{v0.59}{2018/11/03}{File: \filenm{lwarp_KaTeX.txt}: Added.}
%
%
% ^^A ^^A *lwarp_KaTeX.txt
@@ -16204,6 +16374,8 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-
% \changes{v0.59}{2018/08/05}{\prog{lwarpmk}: Double insead of single-dashed \optn{-\/-shell-escape} option.}
% \changes{v0.59}{2018/08/21}{\prog{lwarpmk}: Consolidated compiling options into \optn{printlatexcmd} and \optn{HTMLlatexcmd}.}
% \changes{v0.59}{2018/09/06}{\prog{lwarpmk}: Added \cmds{lwarpmk epstopdf}.}
+% \changes{v0.66}{2019/01/27}{\prog{lwarpmk}: Added \optn{ImagesDirectory} and \optn{ImagesName}.}
+% \changes{v0.66}{2019/01/30}{\prog{lwarpmk}: Fix for \cmds{cleanlimages}.}%
%
% The following is only generated if the \optn{lwarpmk} option
% was given to \pkg{lwarp}.
@@ -16219,8 +16391,8 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-
-- Copyright 2016-2018 Brian Dunn
-printversion = "v0.65"
-requiredconfversion = "1" -- also at *lwarpmk.conf
+printversion = "v0.66"
+requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
@@ -16324,6 +16496,8 @@ end
-- Additional defaults:
confversion = "0"
opsystem = "Unix"
+imagesdirectory = "lateximages"
+imagesname = "image-"
latexmk = "false"
printlatexcmd = ""
HTMLlatexcmd = ""
@@ -16385,6 +16559,8 @@ elseif ( cvarname == "opsystem" ) then
elseif ( cvarname == "sourcename" ) then sourcename = cvalue
elseif ( cvarname == "homehtmlfilename" ) then homehtmlfilename = cvalue
elseif ( cvarname == "htmlfilename" ) then htmlfilename = cvalue
+elseif ( cvarname == "imagesdirectory" ) then imagesdirectory = cvalue
+elseif ( cvarname == "imagesname" ) then imagesname = cvalue
elseif ( cvarname == "latexmk" ) then latexmk = cvalue
elseif ( cvarname == "printlatexcmd" ) then printlatexcmd = cvalue
elseif ( cvarname == "HTMLlatexcmd" ) then HTMLlatexcmd = cvalue
@@ -16612,16 +16788,15 @@ end -- checkhtmlpdfexists
function warnlimages ()
--
--- Warning of a missing lateximages.txt file:
---
+-- Warning of a missing <sourcename>-images.txt file:
print ("lwarpmk: ===")
- print ("lwarpmk: \"lateximages.txt\" does not exist.")
+ print ("lwarpmk: \"" .. sourcename .. "-images.txt\" does not exist.")
print ("lwarpmk: Your project does not use SVG math or other lateximages,")
print ("lwarpmk: or the file has been deleted somehow.")
print ("lwarpmk: Use \"lwarpmk html\" to recompile your project")
- print ("lwarpmk: and recreate \"lateximages.txt\".")
+ print ("lwarpmk: and recreate \"" .. sourcename .. "-images.txt\".")
print ("lwarpmk: If your project does not use SVG math or other lateximages,")
- print ("lwarpmk: then \"lateximages.txt\" will never exist, and")
+ print ("lwarpmk: then \"" .. sourcename .. "-images.txt\" will never exist, and")
print ("lwarpmk: \"lwarpmk limages\" will not be necessary.")
print ("lwarpmk: ===")
end -- warnlimages
@@ -16629,18 +16804,18 @@ end -- warnlimages
function checklimages ()
--
--- Check lateximages.txt to see if need to recompile first.
+-- Check <sourcename>.txt to see if need to recompile first.
-- If any entry has a page number of zero, then there were incorrect images.
--
-print ("lwarpmk: Checking for a valid lateximages.txt file.")
-local limagesfile = io.open("lateximages.txt", "r")
+print ("lwarpmk: Checking for a valid " .. sourcename .. "-images.txt file.")
+local limagesfile = io.open(sourcename .. "-images.txt", "r")
if ( limagesfile == nil ) then
warnlimages ()
os.exit(1)
end
-- Track warning to recompile if find a page 0
local pagezerowarning = false
--- Scan lateximages.txt
+-- Scan <sourcename>.txt
for line in limagesfile:lines() do
-- lwimgpage is the page number in the PDF which has the image
-- lwimghash is true if this filename is a hash
@@ -16674,20 +16849,20 @@ executecheckerror (
cmdgroupopenname ..
"pdfseparate -f " .. lwimgpage .. " -l " .. lwimgpage .. " " ..
sourcename .."_html.pdf " ..
- "lateximages" .. dirslash .."lateximagetemp-%d" .. ".pdf" ..
+ imagesdirectory .. dirslash .."lateximagetemp-%d" .. ".pdf" ..
seqname ..
-- Crop the image:
- "pdfcrop --hires lateximages" .. dirslash .. "lateximagetemp-" ..
+ "pdfcrop --hires " .. imagesdirectory .. dirslash .. "lateximagetemp-" ..
lwimgpage .. ".pdf " ..
- "lateximages" .. dirslash .. lwimgname .. ".pdf" ..
+ imagesdirectory .. dirslash .. lwimgname .. ".pdf" ..
seqname ..
-- Convert the image to svg:
- "pdftocairo -svg -noshrink lateximages" .. dirslash .. lwimgname .. ".pdf " ..
- "lateximages" .. dirslash .. lwimgname ..".svg" ..
+ "pdftocairo -svg -noshrink " .. imagesdirectory .. dirslash .. lwimgname .. ".pdf " ..
+ imagesdirectory .. dirslash .. lwimgname ..".svg" ..
seqname ..
-- Remove the temporary files:
- rmname .. " lateximages" .. dirslash .. lwimgname .. ".pdf" .. seqname ..
- rmname .. " lateximages" .. dirslash .. "lateximagetemp-" .. lwimgpage .. ".pdf" ..
+ rmname .. " " .. imagesdirectory .. dirslash .. lwimgname .. ".pdf" .. seqname ..
+ rmname .. " " .. imagesdirectory .. dirslash .. "lateximagetemp-" .. lwimgpage .. ".pdf" ..
cmdgroupclosename .. " >/dev/null " .. bgname
,
"File error trying to convert " .. lwimgfullname
@@ -16732,7 +16907,7 @@ end -- createwindowsimage
function createonelateximage ( line )
--
--- Given the next line of lateximages.txt, convert a single image.
+-- Given the next line of <sourcename>.txt, convert a single image.
--
-- lwimgpage is the page number in the PDF which has the image
-- lwimghash is true if this filename is a hash
@@ -16745,7 +16920,7 @@ if ( (i~=nil) ) then
pagezerowarning = true
else
-- Skip is this image is hashed and already exists:
- local lwimgfullname = "lateximages" .. dirslash .. lwimgname .. ".svg"
+ local lwimgfullname = imagesdirectory .. dirslash .. lwimgname .. ".svg"
if (
(lwimghash ~= "true") or
(lfs.attributes(lwimgfullname,"mode")==nil) -- file not exists
@@ -16772,7 +16947,7 @@ end -- createonelateximage
function createlateximages ()
--
--- Create lateximages based on lateximages.txt:
+-- Create lateximages based on <sourcename>.txt:
--
-- See if the document must be recompiled first:
checklimages ()
@@ -16780,13 +16955,13 @@ checklimages ()
checkhtmlpdfexists ()
-- Attempt to create the lateximages:
print ("lwarpmk: Creating lateximages.")
-local limagesfile = io.open("lateximages.txt", "r")
+local limagesfile = io.open(sourcename .. "-images.txt", "r")
if ( limagesfile == nil ) then
- warnlateximages ()
+ warnlimages ()
os.exit(1)
end
-- Create the lateximages directory, ignore error if already exists
-err = os.execute("mkdir lateximages")
+err = os.execute("mkdir " .. imagesdirectory)
-- For Windows, create lwarp_one_limage.cmd from lwarp_one_limage.txt:
if opsystem=="Windows" then
executecheckerror (
@@ -16798,7 +16973,7 @@ end -- create lwarp_one_limage.cmd
numimageprocesses = 0
-- Track warning to recompile if find a page 0
pagezerowarning = false
--- Scan lateximages.txt
+-- Scan <sourcename>.txt
for line in limagesfile:lines() do
createonelateximage ( line )
end -- do
@@ -17012,7 +17187,7 @@ updateanddone ()
-- lwarpmk limages:
--- Scan the lateximages.txt file to create lateximages.
+-- Scan the <sourcename>.txt file to create lateximages.
elseif arg[1] == "limages" then
loadconf ()
@@ -17054,11 +17229,11 @@ print ("lwarpmk: Done.")
-- lwarpmk cleanlimages
--- Remove images from the lateximages directory.
+-- Remove images from the imagesdirectory.
elseif arg[1] == "cleanlimages" then
loadconf ()
-os.execute ( rmname .. " lateximages/*" )
+os.execute ( rmname .. " " .. imagesdirectory .. dirslash .. "*" )
print ("lwarpmk: Done.")
-- lwarpmk epstopdf <list of file names>
@@ -17186,8 +17361,9 @@ end -- not --version
%
% Note that nested \LaTeX\ structures may push depths which are non-sequential.
% \watchout
-
+%
% \begin{docsidebar}[Ex:]
+% \vspace*{-2\baselineskip}
% \begin{Verbatim}[gobble=2,obeytabs,tabsize=4]
% \begin{itemize}
% \item{A}
@@ -17196,6 +17372,7 @@ end -- not --version
% \end{description}
% \end{itemize}
% \end{Verbatim}
+% \vspace{-\baselineskip}
% \end{docsidebar}
% \begin{macrocode}
@@ -17314,12 +17491,16 @@ end -- not --version
% \end{macrocode}
%
% \begin{macro}{\LWR@setexparray} \marg{name} \marg{index} \marg{contents}
+% \changes{v0.66}{2018/12/31}{Fix with \cs{par}.}
% \begin{macrocode}
\NewDocumentCommand{\LWR@setexparray}{m m m}{%
+ \begingroup%
+ \let\par\relax%
\xdef\LWR@thisexparrayname{#1#2}%
\ifstrempty{#3}%
{\csgdef{\LWR@thisexparrayname}{}}%
{\csxdef{\LWR@thisexparrayname}{#3}}%
+ \endgroup%
}
% \end{macrocode}
% \end{macro}
@@ -17488,43 +17669,6 @@ end -- not --version
-% \section{Sanitizing labels and filenames}
-%
-% Special handling for underscores in labels and filenames.
-
-% \codehtml
-% \begin{macrocode}
-\begin{warpHTML}
-% \end{macrocode}
-
-% \begin{macro}{\LWR@sanitized} The sanitized version of what was given
-% to \cs{LWR@sanitize}.
-% Characters are set to their detokenized versions.
-% Required for underscores in labels and filenames.
-% \begin{macrocode}
-\newcommand*{\LWR@sanitized}{}
-% \end{macrocode}
-% \end{macro}
-
-% \begin{macro}{\LWR@sanitize} \marg{text}
-%
-% Sanitizes the text and returns the result in \cs{LWR@sanitized}.
-% \begin{macrocode}
-\newcommand*{\LWR@sanitize}[1]{%
-\LWR@traceinfo{LWR@sanitize: !#1!}%
-\edef\LWR@sanitized{#1}%
-\LWR@traceinfo{LWR@sanitize expanded: !\LWR@sanitized!}%
-\edef\LWR@sanitized{\detokenize\expandafter{\LWR@sanitized}}%
-\LWR@traceinfo{LWR@sanitize result: !\LWR@sanitized!}%
-}
-% \end{macrocode}
-% \end{macro}
-
-% \begin{macrocode}
-\end{warpHTML}
-% \end{macrocode}
-
-
% \section{\HTML\ entities}
@@ -17561,16 +17705,20 @@ end -- not --version
% \end{macrocode}
% \begin{macro}{\textless}
-% \begin{macro}{\textgreater}
+% \changes{v0.66}{2019/02/07}{Made robust.}
% \begin{macrocode}
\let\LWR@origtextless\textless
-\renewcommand*{\textless}{\HTMLentity{lt}}
+\renewrobustcmd*{\textless}{\HTMLentity{lt}}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\textgreater}
+% \changes{v0.66}{2019/02/07}{Made robust.}
+% \begin{macrocode}
\let\LWR@origtextgreater\textgreater
-\renewcommand*{\textgreater}{\HTMLentity{gt}}
+\renewrobustcmd*{\textgreater}{\HTMLentity{gt}}
% \end{macrocode}
% \end{macro}
-% \end{macro}
% \begin{macrocode}
\end{warpHTML}
@@ -17678,6 +17826,7 @@ end -- not --version
% \changes{v0.20}{2016/09/11}{HTMLFilename: removed additional trailing '-', and may be empty.}
% \changes{v0.20}{2016/09/11}{Sections called ``Index'' or ``index'' have an underscore
% prepended to their filenames if no prefix.}
+% \changes{v0.66}{2019/01/30}{Sanitize underscores.}
%
% Prints the filename for a given section: |\HTMLFilename{}filenumber/name.html|
% \begin{macrocode}
@@ -17688,16 +17837,16 @@ end -- not --version
% The filename must be detokenized for underscores.
% \begin{macrocode}
% \LWR@traceinfo{about to assign temp}%
-\edef\LWR@tempone{#1}%
+\LWR@sanitize{#1}%
\LWR@traceinfo{about to compare with ??}%
-\ifthenelse{\equal{\LWR@tempone}{??}}%
+\ifthenelse{\equal{\LWR@sanitized}{??}}%
{\LWR@traceinfo{found ??}}%
{\LWR@traceinfo{not found ??}}%
\LWR@traceinfo{about to compare with zero or empty}%
\ifthenelse{%
- \equal{\LWR@tempone}{0}%
- \OR \equal{\LWR@tempone}{}%
- \OR \equal{\LWR@tempone}{??}%
+ \equal{\LWR@sanitized}{0}%
+ \OR \equal{\LWR@sanitized}{}%
+ \OR \equal{\LWR@sanitized}{??}%
}%
{%
\LWR@traceinfo{LWR@htmlsectionfilename B \HomeHTMLFilename.html}%
@@ -17708,20 +17857,22 @@ end -- not --version
% with a leading underscore to avoid colliding with the \HTML\ filename |index.html|:
% \begin{macrocode}
{%
- \LWR@traceinfo{LWR@htmlsectionfilename C \LWR@tempone}%
+ \LWR@traceinfo{LWR@htmlsectionfilename C \LWR@sanitized}%
\ifthenelse{%
\equal{\HTMLFilename}{} \AND
- \equal{\LWR@tempone}{Index} \OR
- \equal{\LWR@tempone}{index}%
+ \equal{\LWR@sanitized}{Index} \OR
+ \equal{\LWR@sanitized}{index}%
}%
{%
\LWR@traceinfo{Prefixing the index name with an underscore.}%
- \_#1.html%
+ \_\LWR@sanitized.html%
}%
% \end{macrocode}
% Otherwise, create a filename with the chosen prefix:
% \begin{macrocode}
- {\HTMLFilename\LWR@isolate{#1}.html}%
+ {%
+ \HTMLFilename\LWR@isolate{\LWR@sanitized}.html%
+ }%
}%
\LWR@traceinfo{LWR@htmlsectionfilename Z}%
}
@@ -17806,17 +17957,26 @@ end -- not --version
% For print output, if \pkg{hyperref} is available a hyperlink to the first page
% is used, named by \cs{linkhomename}.
% If \pkg{hyperref} is not available, a pageref is used instead.
+%
+% \cs{BaseJobname} is included in the link label in case multiple
+% documents are cross-referenced.
+%
% \changes{v0.63}{2018/11/29}{Fix: Print version.}
+% \changes{v0.66}{2019/01/23}{Fix: Document cross-references.}
% \begin{macrocode}
\AtBeginDocument{
\@ifundefined{hyperref}{
- \newcommand*{\LinkHome}{\linkhomename\ --- page \pageref{page-LWRfirstpage}}
+ \newcommand*{\LinkHome}{%
+ \linkhomename\ --- page \pageref{\BaseJobname-page-LWRfirstpage}%
+ }
}{
- \newcommand*{\LinkHome}{\hyperref[page-LWRfirstpage]{\linkhomename}}
+ \newcommand*{\LinkHome}{%
+ \hyperref[\BaseJobname-page-LWRfirstpage]{\linkhomename}%
+ }
}
}
-\AfterEndPreamble{\label{page-LWRfirstpage}}
+\AfterEndPreamble{\label{\BaseJobname-page-LWRfirstpage}}
% \end{macrocode}
% \end{macro}
@@ -18164,6 +18324,20 @@ end -- not --version
% \end{macrocode}
+% \subsection{\HTML\ output formatting}
+%
+% Helps format the output \HTML\ code for human readability.
+%
+% \begin{macro}{\LWR@indentHTML} Newline and indent the output \HTML\ code.
+% \changes{v0.66}{2019/02/01}{Added.}
+% \begin{macrocode}
+\newcommand*{\LWR@indentHTML}{%
+ \LWR@orignewline\LWR@origrule{2em}{0pt}%
+}
+% \end{macrocode}
+% \end{macro}
+
+
% \subsection{\HTML\ tags}
% \begin{macro}{\LWR@htmltagc} \marg{tag}
@@ -18180,7 +18354,6 @@ end -- not --version
\LWR@isolate{#1}%
\protect\LWR@origtextgreater%
\endgroup%
-% \LWR@traceinfo{LWR@htmltagc: done}%
}
% \end{macrocode}
% \end{macro}
@@ -18377,19 +18550,23 @@ end -- not --version
% \changes{v0.20}{2017/01/17}{Factored code.}
% \changes{v0.34}{2017/08/02}{Moved optional argument in front of mandatory.}
% \changes{v0.63}{2018/11/24}{Fix for \pkg{xeCJK}.}
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
%
% \begin{macrocode}
\NewDocumentCommand{\LWR@subhtmlelementclass}{m O{} m}{%
\LWR@traceinfo{LWR@subhtmlelementclass !#1!#2!#3!}%
\ifblank{#2}%
{% empty option
- \LWR@htmltag{#1 class=\textquotedbl#3\textquotedbl}%
-}%
-{% non-empty option
\LWR@htmltag{%
#1 % space
class=\textquotedbl#3\textquotedbl\ % space
- style=\textquotedbl#2\textquotedbl%
+ }%
+}%
+{% non-empty option
+ \LWR@htmltag{%
+ #1\LWR@indentHTML%
+ class=\textquotedbl#3\textquotedbl\LWR@indentHTML%
+ style=\textquotedbl#2\textquotedbl\LWR@orignewline%
}%
}%
\LWR@traceinfo{LWR@subhtmlelementclass done}%
@@ -18819,8 +18996,9 @@ end -- not --version
\PN@parnotes@auto%
% \end{macrocode}
% The opening paragraph tag:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
- \LWR@htmltagc{\LWR@tagregularparagraph}%
+ \LWR@htmltagc{\LWR@tagregularparagraph}\LWR@orignewline%
% \end{macrocode}
% Now have started a paragraph.
% \begin{macrocode}
@@ -18840,6 +19018,26 @@ end -- not --version
% \end{macro}
+% \begin{macro}{\LWR@closeparagraph@br}
+%
+% Add an \HTML\ break if in a span, and not in a \env{lateximage},
+% and not in tabular metadata. Factored from \cs{LWR@closeparagraph}.
+%
+% \changes{v0.66}{2019/01/01}{Factored.}
+% \begin{macrocode}
+\newcommand*{\LWR@closeparagraph@br}
+{%
+ \ifboolexpr{
+ test {\ifnumcomp{\value{LWR@spandepth}}{>}{0}} and
+ test {\ifnumcomp{\value{LWR@lateximagedepth}}{=}{0}} and
+ not bool {LWR@intabularmetadata}
+ }%
+ {\unskip\LWR@htmltagc{br /}}%
+ {}%
+}
+% \end{macrocode}
+% \end{macro}
+
% \begin{macro}{\LWR@closeparagraph}
% \changes{v0.20}{2017/01/17}{No break tags in the start/end of a tabular.}
@@ -18865,16 +19063,11 @@ end -- not --version
test {\ifnumcomp{\value{LWR@spandepth}}{>}{0}}
}%
% \end{macrocode}
-% Do nothing if already started a \env{lateximage} or a \element{span},
-% but add a parbreak if in a span but not a \env{lateximage}.
+% Add a parbreak if in a span, not in a lateximage,
+% and not in table metadata.
% \begin{macrocode}
{% no nested par tags
- \ifboolexpr{
- test {\ifnumcomp{\value{LWR@spandepth}}{>}{0}} and
- test {\ifnumcomp{\value{LWR@lateximagedepth}}{=}{0}}
- }%
- {\ifbool{LWR@intabularmetadata}{}{\unskip\LWR@htmltagc{br /}}}%
- {}%
+ \LWR@closeparagraph@br%
}% no nested par tags
% \end{macrocode}
% If have not already started a \env{lateximage} or a \element{span}:
@@ -18882,8 +19075,9 @@ end -- not --version
{% yes nest par tags
% \end{macrocode}
% Print a closing tag and some extra vertical space.
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
- \unskip%
+ \leavevmode\LWR@orignewline%
\LWR@htmltagc{/\LWR@tagregularparagraph}%
\LWR@orignewline%
% \end{macrocode}
@@ -18904,13 +19098,12 @@ end -- not --version
}% end of yes nest par tags
}% end of handling pars
% \end{macrocode}
-% Add a parbreak if in a span,
-% but not in a table outside a row:
+% Add a parbreak if in a span, not in a lateximage,
+% and not in table metadata.
+% \changes{v0.66}{2019/01/01}{Fix: Combined span, \env{tabular}, and \env{lateximage}.}
% \begin{macrocode}
{% not handling pars
- \ifnumcomp{\value{LWR@spandepth}}{>}{0}%
- {\ifbool{LWR@intabularmetadata}{}{\unskip\LWR@htmltagc{br /}}}%
- {}%
+ \LWR@closeparagraph@br%
}% not handling pars
% \end{macrocode}
% In most cases, finish with a \LaTeX\ \cs{par}, but in the case
@@ -19033,8 +19226,9 @@ end -- not --version
{%
% \end{macrocode}
% Print a closing tag:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
- \unskip%
+ \leavevmode\LWR@orignewline%
\LWR@htmltagc{/\LWR@tagregularparagraph}%
\LWR@orignewline%
% \end{macrocode}
@@ -19083,6 +19277,34 @@ end -- not --version
+% \section{Indentfirst}
+%
+% \DescribePackage{indentfirst}
+% \pkg{indentfirst} redefines \cs{@afterindentfalse} to be \cs{@afterindenttrue}.
+% This is reversed \cs{AtBeginDocument} here.
+%
+% \changes{v0.66}{2019/02/04}{Added support for \pkg{indentfirst}.}
+%
+% \codehtml
+% \begin{macrocode}
+\begin{warpHTML}
+% \end{macrocode}
+
+% \begin{macrocode}
+\AtBeginDocument{
+\def\@afterindentfalse{\let\if@afterindent\iffalse}
+\@afterindentfalse
+}
+\let\LWR@afterindent@syntaxhighlight\fi% syntax highlighting
+% \end{macrocode}
+
+
+
+% \begin{macrocode}
+\end{warpHTML}
+% \end{macrocode}
+
+
% \section{Page headers and footers}
% \codeall
@@ -19430,13 +19652,14 @@ end -- not --version
\renewrobustcmd{\textsuperscript}[1]{\LWR@htmlspan{sup}{##1}}%
% \end{macrocode}
% Use paragraph tags if in a tabular data cell or a \env{lateximage}:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\ifthenelse{%
\boolean{LWR@doingstartpars} \AND%
\cnttest{\value{LWR@lateximagedepth}}{=}{0}%
}%
{}%
- {\LWR@htmltagc{\LWR@tagregularparagraph}}%
+ {\LWR@htmltagc{\LWR@tagregularparagraph}\LWR@orignewline}%
% \end{macrocode}
% Append the footnote to the list:
% \begin{macrocode}
@@ -19500,13 +19723,14 @@ end -- not --version
\color@begingroup%
% \end{macrocode}
% Use paragraph tags if in a tabular data cell or a \env{lateximage}:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\ifthenelse{%
\boolean{LWR@doingstartpars} \AND%
\cnttest{\value{LWR@lateximagedepth}}{=}{0}%
}%
{}%
- {\LWR@htmltagc{\LWR@tagregularparagraph}}%
+ {\LWR@htmltagc{\LWR@tagregularparagraph}\LWR@orignewline}%
% \end{macrocode}
% \begin{macrocode}
\@makefntext{%
@@ -19743,6 +19967,15 @@ end -- not --version
\booltrue{CombineHigherDepths}
% \end{macrocode}
+
+% \begin{macro}{\FilenameLimit}
+% Maximum length of the generated filenames.
+% \begin{macrocode}
+\newcommand*{\FilenameLimit}{80}
+% \end{macrocode}
+% \end{macro}
+
+
% \begin{macrocode}
\end{warpall}
% \end{macrocode}
@@ -19755,8 +19988,13 @@ end -- not --version
% \begin{macro}{\LWR@thisfilename}
% The currently-active filename or number.
+% At first, this is the homepage.
% \begin{macrocode}
-\newcommand*{\LWR@thisfilename}{}
+\AtBeginDocument{
+\ifbool{FileSectionNames}%
+ {\newcommand*{\LWR@thisfilename}{\HomeHTMLFilename}}
+ {\newcommand*{\LWR@thisfilename}{0}}
+}
% \end{macrocode}
% \end{macro}
@@ -19769,6 +20007,27 @@ end -- not --version
% \end{macro}
+% \begin{macro}{\LWR@simplifyname} * \marg{expression} \qquad Simplify \cs{LWR@thisnewfilename}.
+%
+% If starred, detokenizes the input expression.
+% If found, changes the expression to a single detokenized dash.
+%
+% \begin{macrocode}
+\NewDocumentCommand{\LWR@simplifyname}{s m}{%
+\IfBooleanTF{#1}{%
+ \StrSubstitute{\LWR@thisnewfilename}%
+ {\detokenize{#2}}%
+ {\detokenize{-}}[\LWR@thisnewfilename]%
+}{%
+ \StrSubstitute{\LWR@thisnewfilename}%
+ {#2}%
+ {\detokenize{-}}[\LWR@thisnewfilename]%
+}
+}
+% \end{macrocode}
+% \end{macro}
+
+
% \begin{macro}{\LWR@filenamenoblanks} \marg{filename}
%
% Convert blanks into dashes, removes short words,
@@ -19781,6 +20040,9 @@ end -- not --version
% Use the optional \TOC\ caption entry parameter for formatting.
% Remember to \cs{protect} \LaTeX\ commands which appear in
% section names and \TOC\ captions.
+%
+% \changes{v0.66}{2019/02/07}{Improved file name generation.}
+%
% \begin{macrocode}
\newcommand*{\LWR@filenamenoblanks}[1]{%
\begingroup
@@ -19793,102 +20055,127 @@ end -- not --version
\renewcommand*{\LWR@htmltagc}[1]{}%
% \end{macrocode}
%
-% Replaces common symbols and short words with hyphens:
% \begin{macrocode}
\edef\LWR@thisnewfilename{#1}%
+% \end{macrocode}
+% Replaces common macros with hyphens.
+% (\cs{\&} is done by \cs{LWR@nullfonts}.)
+% \begin{macrocode}
+\RenewDocumentCommand{\LWR@subsingledollar}{s m m m}{}%
+\LWR@simplifyname{\_}
+\LWR@simplifyname{\#}
+\LWR@simplifyname{\textbackslash}
+\LWR@simplifyname{\protect}
+\LWR@simplifyname{\ }
+\LWR@simplifyname{<}
+\LWR@simplifyname{>}
+\LWR@simplifyname{\textless}
+\LWR@simplifyname{\textgreater}
+% \end{macrocode}
+% \changes{v0.66}{2019/02/06}{Fix: Section names detokenized.}
+% \begin{macrocode}
+\edef\LWR@thisnewfilename{\detokenize\expandafter{\LWR@thisnewfilename}}%
+% \end{macrocode}
+% \begin{macrocode}
\LWR@traceinfo{LWR@filenamenoblanks edef: !\LWR@thisnewfilename!}%
\fullexpandarg%
% \end{macrocode}
-%
% Convert spaces into hyphens:
-%
-% \changes{v0.45}{2017/12/29}{Fix: Section names with \cs{\ }.}
% \begin{macrocode}
-\StrSubstitute{\LWR@thisnewfilename}{\ }{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{ }{-}[\LWR@thisnewfilename]
+\LWR@simplifyname*{ }
% \end{macrocode}
% Convert punctutation into hyphens:
-% ^^A \StrSubstitute{\LWR@thisnewfilename}{é}{e}[\LWR@thisnewfilename]
-% \begin{macrocode}
-\StrSubstitute{\LWR@thisnewfilename}{,}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{'}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}%
- {\LWR@origampersand}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{+}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{,}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{/}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{:}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{;}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{=}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{?}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{@}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{"}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}%
- {\textless}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}%
- {\textgreater}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{\LWR@origpound}{-}[\LWR@thisnewfilename]
-% \end{macrocode}
-% \changes{v0.45}{2017/12/29}{Fix: Section names with underscores.}
-% \begin{macrocode}
-\StrSubstitute{\LWR@thisnewfilename}{\_}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{\%}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{\{}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{\}}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{|}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}%
- {\textbackslash}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{^}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{~}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{~{}}{-}[\LWR@thisnewfilename]
-% "~{}" for babel
-\StrSubstitute{\LWR@thisnewfilename}{[}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{]}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{`}{-}[\LWR@thisnewfilename]
+% \begin{macrocode}
+\LWR@simplifyname*{!}
+\LWR@simplifyname*{,}
+\LWR@simplifyname*{'}
+\LWR@simplifyname*{+}
+\LWR@simplifyname*{,}
+\LWR@simplifyname*{/}
+\LWR@simplifyname*{:}
+\LWR@simplifyname*{;}
+\LWR@simplifyname*{=}
+\LWR@simplifyname*{?}
+\LWR@simplifyname*{@}
+\LWR@simplifyname*{^}
+\LWR@simplifyname*{&}
+\LWR@simplifyname*{"}
+\LWR@simplifyname*{<}
+\LWR@simplifyname*{>}
+% \end{macrocode}
+% \changes{v0.66}{2019/02/06}{Fix: Section names with macros.}
+% \begin{macrocode}
+\LWR@simplifyname{\LWRbackslash}
+\LWR@simplifyname{\LWRleftbrace}
+\LWR@simplifyname{\LWRrightbrace}
+% \end{macrocode}
+% \changes{v0.66}{2019/02/06}{Fix: Section names with percent.}
+% \begin{macrocode}
+\LWR@simplifyname{\LWRpercent}
+\LWR@simplifyname{\LWRdollar}
+% \end{macrocode}
+% \begin{macrocode}
+\LWR@simplifyname*{|}
+\LWR@simplifyname*{^}
+\LWR@simplifyname*{~}
+\LWR@simplifyname*{[}
+\LWR@simplifyname*{]}
+\LWR@simplifyname*{`}
% \end{macrocode}
% Convert short words:
% \begin{macrocode}
-\StrSubstitute{\LWR@thisnewfilename}{-s-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-S-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-a-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-A-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-an-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-AN-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-to-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-TO-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-by-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-BY-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-of-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-OF-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-and-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-AND-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-for-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-FOR-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-the-}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{-THE-}{-}[\LWR@thisnewfilename]
+\LWR@simplifyname*{-s-}
+\LWR@simplifyname*{-S-}
+\LWR@simplifyname*{-a-}
+\LWR@simplifyname*{-A-}
+\LWR@simplifyname*{-an-}
+\LWR@simplifyname*{-AN-}
+\LWR@simplifyname*{-to-}
+\LWR@simplifyname*{-TO-}
+\LWR@simplifyname*{-by-}
+\LWR@simplifyname*{-BY-}
+\LWR@simplifyname*{-of-}
+\LWR@simplifyname*{-OF-}
+\LWR@simplifyname*{-and-}
+\LWR@simplifyname*{-AND-}
+\LWR@simplifyname*{-for-}
+\LWR@simplifyname*{-FOR-}
+\LWR@simplifyname*{-the-}
+\LWR@simplifyname*{-THE-}
% \end{macrocode}
% Convert multiple hyphens:
% \begin{macrocode}
-\StrSubstitute{\LWR@thisnewfilename}{-----}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{----}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{---}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{--}{-}[\LWR@thisnewfilename]
+\LWR@simplifyname*{-----}
+\LWR@simplifyname*{----}
+\LWR@simplifyname*{---}
+\LWR@simplifyname*{--}
% \end{macrocode}
% If pdf\LaTeX\ and not \optn{utf8} encoding, don't try to convert emdash, endash:
% \changes{v0.52}{2018/04/01}{Fix: \cs{FileDepth} with non-utf8 encoding.}
% \begin{macrocode}
\ifPDFTeX% pdflatex or dvi latex
\ifdefstring{\inputencodingname}{utf8}{%
-\StrSubstitute{\LWR@thisnewfilename}{—}{-}[\LWR@thisnewfilename]
+\LWR@simplifyname*{—}
% emdash
-\StrSubstitute{\LWR@thisnewfilename}{–}{-}[\LWR@thisnewfilename]
+\LWR@simplifyname*{–}
% endash
}{}%
\else% not PDFTeX
-\StrSubstitute{\LWR@thisnewfilename}{—}{-}[\LWR@thisnewfilename]
-\StrSubstitute{\LWR@thisnewfilename}{–}{-}[\LWR@thisnewfilename]
+\LWR@simplifyname*{—}
+\LWR@simplifyname*{–}
\fi%
% \end{macrocode}
+% If ends with a dash, remove the trailing dash:
+% \begin{macrocode}
+\IfEndWith{\LWR@thisnewfilename}{\detokenize{-}}{%
+ \StrGobbleRight{\LWR@thisnewfilename}{1}[\LWR@thisnewfilename]%
+}{}%
+% \end{macrocode}
+% Limits the length of the filename:
+% \changes{v0.66}{2019/02/07}{Limits filename length.}
+% \begin{macrocode}
+\StrLeft{\LWR@thisnewfilename}{\FilenameLimit}[\LWR@thisnewfilename]%
+% \end{macrocode}
% Return the global result:
% \begin{macrocode}
\global\let\LWR@thisfilename\LWR@thisnewfilename%
@@ -19907,6 +20194,13 @@ end -- not --version
% \end{macrocode}
+% \DescribeFile{*_html.aux}
+% A new entry in the \filenm{*_html.aux} file is used to help
+% cross-references:
+% \begin{sourceverb}
+% \newlabel{autopage-<nnn>}{{<x>}{<y>}}
+% \end{sourceverb}
+%
% \begin{macro}{\LWR@newautopagelabel} \marg{pagenumber counter}
% \changes{v0.48}{2018/02/11}{Fix: \TOC, \LOF, \LOT\ links.}
% \begin{macrocode}
@@ -20076,9 +20370,9 @@ end -- not --version
\newcommand*{\LWR@newhtmlfile}[1]{
\LWR@traceinfo{LWR@newhtmlfile}
% \end{macrocode}
-
+%
% At the bottom of the ending file:
-
+%
% \changes{v0.65}{2018/12/18}{Improved \CSS\ for page layout.}
% \begin{macrocode}
\LWR@htmlelementclassend{section}{textbody}
@@ -20141,7 +20435,7 @@ end -- not --version
% \begin{macrocode}
\LWR@filenamenoblanks{#1}%
% \end{macrocode}
-% Create a macro name from the MD5 hash of the file name.
+% Create a macro name from the MD5 hash of the file name, to detect duplicates:
% \begin{macrocode}
\edef\LWR@hashedname{\LWR@mdfive{\LWR@thisfilename}}%
% \end{macrocode}
@@ -20161,13 +20455,12 @@ end -- not --version
{
Section name ``#1'', at the line number listed below,
generates the filename ``\LWR@thisfilename'',
- which appears to be a duplicate%
+ which appears to be a duplicate.
+ There is a previous section with an identical or similar name.%
}
{
- Look for another section of the same type with a similar
- or identical name.
- (Lwarp sanitizes most symbols and common short words
- when generating file names, and this may cause a conflict.)
+ Lwarp sanitizes most symbols and a few common short words
+ when generating file names, and this may cause a conflict.
}
}
}
@@ -20375,7 +20668,7 @@ end -- not --version
% \begin{macro}{\ForceHTMLTOC}
% For \HTML\ output, forces the next section to have a \TOC\ entry, even if starred.
% For use with \cs{printindex} and others which generate a starred section
-% which should be in the \acro{TOC} so that it may be accessed via \HTML.
+% which should be in the \TOC\ so that it may be accessed via \HTML.
% Not necessary if used with \pkg{tocbibind}. Also see \cs{ForceHTMLPage}.
%
% For print output, no effect.
@@ -20598,9 +20891,11 @@ end -- not --version
% was created. If a math expression is included in the section name,
% and SVG math is used, the corresponding \env{lateximage} will cause the
% page number to change by the time the following autosec label is created.
-% \changes{v0.43}{2017/11/01}{\progcode{LWR@currentautosec}: Added.}
+% \changes{v0.43}{2017/11/01}{\ctr{LWR@currentautosec}: Added.}
+% \changes{v0.66}{2019/01/28}{\ctr{LWR@currentautosec}: Fix for \LOF, \LOT float in home page.}
% \begin{macrocode}
\newcounter{LWR@currentautosec}
+\setcounter{LWR@currentautosec}{1}
% \end{macrocode}
%
%
@@ -20706,7 +21001,6 @@ end -- not --version
% \changes{v0.52}{2018/03/28}{Fix: Footnote numbering: Use short \TOC\ entry
% for HTMLDebug comments.}
% \begin{macrocode}
-
\ifbool{HTMLDebugComments}{%
\begingroup%
\LWR@nullfonts%
@@ -20716,10 +21010,9 @@ end -- not --version
\IfNoValueTF{#2}% short TOC
{\LWR@htmlcomment{Opening #4 ``#3''}}%
{\LWR@htmlcomment{Opening #4 ``#2''}}%
- }
+ }\LWR@orignewline%
\endgroup%
-}{}%
-
+}{}
% \end{macrocode}
% For inline sections paragraph and subparagraph, start a new paragraph now:
% \begin{macrocode}
@@ -20851,16 +21144,21 @@ end -- not --version
\LWR@isolate{#3}%
% \end{macrocode}
% Close the heading tag, such as /H2:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\LWR@traceinfo{LWR@section: about to close the heading tag}%
\LWR@htmltag{\@nameuse{LWR@tag#4end}}%
+\LWR@orignewline%
% \end{macrocode}
% Generate a \LaTeX{} label:
% \changes{v0.43}{2017/11/01}{Fix: Math in section name.}
% \changes{v0.48}{2018/02/11}{Fix: \TOC, \LOF, \LOT\ links.}
+% \changes{v0.66}{2019/01/28}{Fix: \TOC, \LOF, \LOT\ links.}
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\LWR@traceinfo{LWR@section: about to create the LaTeX label}%
-\LWR@newautopagelabel{LWR@currentautosec}%
+\setcounter{LWR@latestautopage}{\value{page}}%
+\LWR@newautopagelabel{LWR@currentautosec}\LWR@orignewline%
% \end{macrocode}
% Start paragraph handing unless is an inline paragraph or subparagraph:
% \begin{macrocode}
@@ -21451,9 +21749,9 @@ end -- not --version
\setlength{\parskip}{2ex}
% \end{macrocode}
%
-% For the |lateximages| record file:
+% For the \env{lateximages} record file:
% \begin{macrocode}
-\immediate\openout\LWR@lateximagesfile=lateximages.txt
+\immediate\openout\LWR@lateximagesfile=\BaseJobname-images.txt
% \end{macrocode}
%
% Removes space around the caption in the \HTML:
@@ -21564,6 +21862,14 @@ end -- not --version
% ^^A \LWR@customizeKaTeX
% ^^A % \end{macrocode}
%
+%
+% First autopage label in case a figure occurs early.
+% \changes{v0.66}{2019/01/28}{Fix: \TOC, \LOF, \LOT\ links.}
+% \begin{macrocode}
+\setcounter{LWR@latestautopage}{\value{page}}%
+\LWR@newautopagelabel{LWR@currentautosec}%
+% \end{macrocode}
+%
% \begin{macrocode}
\LWR@traceinfo{LWR@lwarpStart: done}
}
@@ -24441,6 +24747,7 @@ end -- not --version
% \begin{Verbatim}[tabsize=4,gobble=2]
% \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
% \end{Verbatim}
+% \vspace{-\baselineskip}
% \end{docsidebar}
% \begin{macrocode}
\IfStrEq{\LWR@strresult}{P}{\LWR@parsepcolumn{P}}{}%
@@ -26863,6 +27170,11 @@ rowspan="#2" %
\StartDefiningTabulars%
\protected\gdef&{\LWR@tabularampersand}%
% \end{macrocode}
+% Locally force any minipages to be fullwidth, until the end of the \env{tabular}:
+% \changes{v0.66}{2018/12/31}{Fix: Minipages inside \env{tabular}.}
+% \begin{macrocode}
+\booltrue{LWR@forceminipagefullwidth}
+% \end{macrocode}
% Nest one level deeper of tabular paragraph handling:
% \changes{v0.46}{2018/01/18}{Fix: Tabular empty lines.}
% \begin{macrocode}
@@ -26957,8 +27269,13 @@ rowspan="#2" %
% commands are custom-written for them.
% Emulating both avoids several layers of patches.
%
-% The \pkg{zref} package is used to remember section name, file, and
-% lateximage depth and number for each label.
+% \DescribeFile{*_html.aux}
+% A new entry in \filenm{*_html.aux} is used to remember section name, file, and
+% lateximage depth and number for each label:
+% \begin{sourceverb}
+% \newlabel{<labelname>@lwarp}{{<section name>}{<filename>}
+% {<limagedepth>}{<limagenumber>}}
+% \end{sourceverb}
%
% \Cref{tab:crossrefdata} shows the data structures related to cross-referencing.
%
@@ -26986,12 +27303,14 @@ rowspan="#2" %
% \item [Added by \pkg{lwarp}:] \hfill (\HTML\ only)
% \begin{description}
% \item [\cs{label}:] Adds \HTML\ tags (\cref{sec:labels}),
-% plus \cs{splabel} data (\cref{sec:zrefsetup}):
+% and another \filenm{.aux} entry (\cref{sec:lwarplabelsetup}).
+% \item [\cs{newlabel}:] Unchanged. When the |.aux| file is read, sets \cs{r@<label>@lwarp}.
+% \item [\cs{r@<label>@lwarp}:] Set to |{{section_name}{file_name}{depth}{number}}|:
% \begin{description}
-% \item [zLWR@name:] The section name for this label.
-% \item [zLWR@htmlfilenumer:] The filenumber or name for this label.
-% \item [zLWR@lateximagedepth:] The |lateximagedepth| for this label.
-% \item [zLWR@lateximagenumber:] The |lateximagenumber| for this label.
+% \item [\cs{LWR@nameref}:] The section name for this label.
+% \item [\cs{LWR@htmlfileref}:] The filenumber or name for this label.
+% \item [\cs{LWR@lateximagedepthref}:] The |lateximagedepth| for this label.
+% \item [\cs{LWR@lateximagenumberref}:] The |lateximagenumber| for this label.
% \end{description}
% \item [\cs{nameref}:] Emualted from \pkg{hyperref} for \pkg{lwarp}.
% See \cref{sec:references}.
@@ -27012,7 +27331,7 @@ rowspan="#2" %
% Also see \cref{sec:footnotesregular} for use with footnotes.
% \item [\cs{label}:] Writes to the |.aux| file:
% \qquad |\newlabel{<label>@cref}{{\cref@currentlabel}{\thepage}}|
-% \item [\cs{newlabel}:] (Unchanged.) When the |.aux| file is read, sets \cs{r@<label>@cref}.
+% \item [\cs{newlabel}:] Unchanged. When the |.aux| file is read, sets \cs{r@<label>@cref}.
% \item [\cs{r@<label>@cref}:] Set to: |{{\cref@currentlabel}{\thepage}}|
% \item [Utility functions:] See \cs{cref@getlabel}, \cs{cref@gettype},
% \cs{cref@getcounter}, \cs{cref@getprefix}.
@@ -27072,7 +27391,7 @@ rowspan="#2" %
\newcommand*{\LWR@setlatestname}[1]{%
% \end{macrocode}
% Remove \cs{label} and other commands from the name, the strip any final period.
-% See \pkg{zref-titleref} and \pkg{gettitlestring}.
+% See \pkg{gettitlestring}.
% \begin{macrocode}
\GetTitleStringExpand{#1}%
\edef\@currentlabelname{\detokenize\expandafter{\GetTitleStringResult}}%
@@ -27085,74 +27404,61 @@ rowspan="#2" %
% \end{macro}
-% \subsection{\pkg{zref} setup}
-% \label{sec:zrefsetup}
-
+% \subsection{New \pkg{lwarp} labels.}
+% \label{sec:lwarplabelsetup}
+%
+% \DescribeFile{*_html.aux}
+% A new entry in \filenm{*_html.aux} is used to remember section name, file, and
+% lateximage depth and number for each label:
+% \begin{sourceverb}
+% \newlabel{<labelname>@lwarp}{{<section name>}{<filename>}
+% {<limagedepth>}{<limagenumber>}}
+% \end{sourceverb}
+%
+%
% See: \\
% \href{http://tex.stackexchange.com/questions/57194/extract-section-number-from-equation-reference}
% {\ttfamily http://tex.stackexchange.com/questions/57194/ \\
% \fqquad\ extract-section-number-from-equation-reference}
%
-% Create a new property list called special:
-% \begin{macrocode}
-\zref@newlist{special}
-% \end{macrocode}
-%
-% Define a new property which has the name of the most recently declared section:
-% \begin{macrocode}
-\zref@newprop{zLWR@name}{\@currentlabelname}
-% \end{macrocode}
-%
-% Define a new property which has either a filename or a file number:
-% \begin{macrocode}
-\zref@newprop{zLWR@htmlfilenumber}{%
-\ifbool{FileSectionNames}{\LWR@thisfilename}{\arabic{LWR@htmlfilenumber}}%
-}%
-% \end{macrocode}
-%
-% Additional properties for lateximages:
-% \begin{macrocode}
-\zref@newprop{zLWR@lateximagedepth}{\arabic{LWR@lateximagedepth}}
-\zref@newprop{zLWR@lateximagenumber}{\arabic{LWR@lateximagenumber}}
-% \end{macrocode}
%
-% |zLWR@htmlfilenumber| property holds the file number or name
+% \begin{macro}{\LWR@setref} \marg{args list} \marg{selector} \marg{label}
%
-% Add a |LWR@htmlfilenumber| property, and lateximage properties to special:
-% \begin{macrocode}
-\zref@addprop{special}{zLWR@name}
-\zref@addprop{special}{zLWR@htmlfilenumber}
-\zref@addprop{special}{zLWR@lateximagedepth}
-\zref@addprop{special}{zLWR@lateximagenumber}
-% \end{macrocode}
+% \cs{@setref} without the \cs{null} (\cs{hbox}), and without the
+% warning messages.
+% Each caused problems with \pkg{lwarp} references.
+% The regular reference will cause the warning.
%
-% Returns the selected field:
+% \changes{v0.66}{2019/01/30}{No longer use \pkg{zref}.}
% \begin{macrocode}
-\newcommand*{\LWR@spref}[2]{%
-\zref@extractdefault{#1}{#2}{??}%
-}
+\def\LWR@setref#1#2#3{%
+ \ifx#1\relax%
+ ??%
+ \else%
+ \expandafter#2#1%
+ \fi}
% \end{macrocode}
+% \end{macro}
%
%
% \begin{macro}{\LWR@nameref} \marg{label}
% Returns the section name for this label:
+% \changes{v0.66}{2019/01/27}{No longer use \pkg{zref}.}
% \begin{macrocode}
\newcommand*{\LWR@nameref}[1]{%
-\LWR@spref{#1}{zLWR@name}%
+ \expandafter\LWR@setref\csname r@#1@lwarp\endcsname\LWR@firstoffour{#1}%
}
% \end{macrocode}
% \end{macro}
%
%
% \begin{macro}{\LWR@htmlfileref} \marg{label}
-% \changes{v0.24}{2017/03/13}{Fix: Index links while \cs{tracinglwarp}.}
% Returns the file number or name for this label:
+% \changes{v0.24}{2017/03/13}{Fix: Index links while \cs{tracinglwarp}.}
+% \changes{v0.66}{2019/01/27}{No longer use \pkg{zref}.}
% \begin{macrocode}
\newcommand*{\LWR@htmlfileref}[1]{%
-% \end{macrocode}
-% DO NOT USE \cs{LWR@traceinfo} HERE! Will be expanded.
-% \begin{macrocode}
-\LWR@spref{#1}{zLWR@htmlfilenumber}%
+ \expandafter\LWR@setref\csname r@#1@lwarp\endcsname\LWR@secondoffour{#1}%
}
% \end{macrocode}
% \end{macro}
@@ -27160,9 +27466,10 @@ rowspan="#2" %
%
% \begin{macro}{\LWR@lateximagedepthref} \marg{label}
% Returns the |lateximagedepth| for this label:
+% \changes{v0.66}{2019/01/27}{No longer use \pkg{zref}.}
% \begin{macrocode}
\newcommand*{\LWR@lateximagedepthref}[1]{%
-\LWR@spref{#1}{zLWR@lateximagedepth}%
+ \expandafter\LWR@setref\csname r@#1@lwarp\endcsname\LWR@thirdoffour{#1}%
}
% \end{macrocode}
% \end{macro}
@@ -27171,21 +27478,31 @@ rowspan="#2" %
%
% \begin{macro}{\LWR@lateximagenumberref} \marg{label}
% Returns the |lateximagenumber| for this label:
+% \changes{v0.66}{2019/01/27}{No longer use \pkg{zref}.}
% \begin{macrocode}
\newcommand*{\LWR@lateximagenumberref}[1]{%
-\LWR@spref{#1}{zLWR@lateximagenumber}%
+ \expandafter\LWR@setref\csname r@#1@lwarp\endcsname\LWR@fourthoffour{#1}%
}
% \end{macrocode}
% \end{macro}
%
%
-% \begin{macro}{\LWR@splabel} \marg{label}
+% \begin{macro}{\LWR@lwarplabel} \marg{label}
% Sanitize the name and then creates the label:
+% \changes{v0.66}{2019/01/27}{No longer use \pkg{zref}.}
% \begin{macrocode}
-\newcommand*{\LWR@splabel}[1]{%
-\LWR@traceinfo{LWR@splabel !#1!}%
+\newcommand*{\LWR@lwarplabel}[1]{%
+\LWR@traceinfo{LWR@lwarplabel !#1!}%
\LWR@setlatestname{\@currentlabelname}%
-\zref@labelbylist{#1}{special}%
+ \@bsphack%
+ \protected@write\@auxout{}%
+ {\string\newlabel{#1@lwarp}{%
+ {\@currentlabelname}%
+ {\ifbool{FileSectionNames}{\LWR@thisfilename}{\arabic{LWR@htmlfilenumber}}}%
+ {\arabic{LWR@lateximagedepth}}%
+ {\arabic{LWR@lateximagenumber}}%
+ }}%
+ \@esphack%
}
% \end{macrocode}
% \end{macro}
@@ -27242,7 +27559,7 @@ rowspan="#2" %
% \begin{macro}{\LWR@new@label} \parg{bookmark} \marg{label} \oarg{type}
%
% \cs{label} during \HTML\ output when not in \SVG\ math mode,
-% removing extra spaces around the label, as done by regular \LaTeX\ \cs{label}.
+% removing extra spaces around the label, as done by a regular \LaTeX\ \cs{label}.
%
% The is also used during a \env{lateximage}, including \SVG\ math, since
% the special label handling is required, but \cs{LWR@sublabel} does not
@@ -27270,7 +27587,7 @@ rowspan="#2" %
\LWR@traceinfo{LWR@new@label: filesectionnames is \ifbool{FileSectionNames}{true}{false}}%
\LWR@traceinfo{LWR@new@label: LWR@thisfilename is !\LWR@thisfilename!}%
\LWR@traceinfo{LWR@new@label: LWR@htmlfilenumber is \arabic{LWR@htmlfilenumber}}%
-\LWR@splabel{#2}%
+\LWR@lwarplabel{#2}%
\LWR@sublabel{#2}%
% \@esphack%
\LWR@traceinfo{LWR@new@label: done}%
@@ -27290,11 +27607,11 @@ rowspan="#2" %
%
% \changes{v0.28}{2017/04/13}{Removed space.}
% \changes{v0.47}{2018/01/26}{Fix: Line wrap at \HTML\ hyphen.}
+% \changes{v0.66}{2019/01/27}{No longer use \pkg{zref}.}
%
% \begin{macrocode}
\newcommand*{\LWR@startref}[1]
{%
-\edef\LWR@lidref{\LWR@lateximagedepthref{#1}}%
\LWR@sanitize{#1}%
\LWR@traceinfo{LWR@startref A: !#1!}%
% \end{macrocode}
@@ -27311,7 +27628,7 @@ rowspan="#2" %
% See if |LWR@lateximagedepth| is unknown:
% \begin{macrocode}
\LWR@traceinfo{LWR@startref D: !#1!}%
-\ifthenelse{\equal{\LWR@lidref}{??}}%
+\ifcsundef{r@#1@lwarp}%
% \end{macrocode}
% ``|??|'' if |LWR@lateximagedepth| is unknown,
% so create a link with an unknown destination:
@@ -27326,11 +27643,9 @@ rowspan="#2" %
% or a regular link otherwise:
% \begin{macrocode}
{%
- \LWR@traceinfo{LWR@startref D1: \LWR@lidref}%
- \ifthenelse{\cnttest{\LWR@lidref}{>}{0}}%
+ \ifthenelse{\cnttest{\LWR@lateximagedepthref{#1}}{>}{0}}%
{%
- \LWR@traceinfo{LWR@startref D2: \LWR@lidref}%
- lateximage\LWR@lateximagenumberref{#1}%
+ \LWR@ImagesName\LWR@lateximagenumberref{#1}%
}%
{%
\LWR@traceinfo{LWR@startref D3}%
@@ -27503,8 +27818,8 @@ autopage-\theLWR@currentautosec%
\LWR@traceinfo{LWR@subhyperref !#1!}%
\LWR@sanitize{#1}%
\LWR@htmltag{%
- a href="\LWR@sanitized" %
- target="\_{}blank"\LWR@orignewline%
+ a href="\LWR@sanitized" % space
+ target="\_{}blank" % space
}%
}
% \end{macrocode}
@@ -27529,15 +27844,15 @@ autopage-\theLWR@currentautosec%
% \begin{macro}{\LWR@subhyperrefclass} \marg{URL} \marg{text} \marg{htmlclass}
% \changes{v0.18}{2016/04/14}{Improved \HTML\ output linebreaks.}
% \changes{v0.45}{2017/12/29}{Improved URLs with underscores.}
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\NewDocumentCommand{\LWR@subhyperrefclass}{m +m m}{%
\LWR@htmltag{%
- a href="%
- \begingroup\@sanitize#1\endgroup%
- " %
- class="#3"\LWR@orignewline%
-}%
-#2%
+ a % space
+ href="\begingroup\@sanitize#1\endgroup" % space
+ class="#3" % space
+}\LWR@orignewline%
+#2\LWR@orignewline%
\LWR@htmltag{/a}%
\LWR@ensuredoingapar%
}
@@ -27552,7 +27867,7 @@ autopage-\theLWR@currentautosec%
%
% \changes{v0.43}{2017/10/31}{Made robust.}
% \changes{v0.49}{2018/02/18}{Fix: Adapt to classes.}
-% \changes{v0.52}{2018/03/26}{Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.52}{2018/03/26}{Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \changes{v0.57}{2018/06/05}{Fix: Text catcodes.}
% \begin{macrocode}
\DeclareDocumentCommand{\LWR@hrefb}{O{} m}{%
@@ -27578,8 +27893,8 @@ autopage-\theLWR@currentautosec%
%
% Print the name of the link without creating the link:
% \changes{v0.43}{2017/10/31}{Made robust.}
-% \changes{v0.45}{2017/12/29}{Fix: Underscore in \acro{URL}.}
-% \changes{v0.52}{2018/03/26}{Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.45}{2017/12/29}{Fix: Underscore in \URL.}
+% \changes{v0.52}{2018/03/26}{Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \begin{macrocode}
\newcommand*{\LWR@nolinkurlb}[1]{%
\LWR@ensuredoingapar%
@@ -27612,7 +27927,7 @@ autopage-\theLWR@currentautosec%
% \changes{v0.43}{2017/10/31}{Made robust.}
% \changes{v0.45}{2017/12/29}{Improved URLs with underscores.}
% \changes{v0.49}{2018/02/18}{Fix: Adapt to classes.}
-% \changes{v0.52}{2018/03/26}{Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.52}{2018/03/26}{Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \begin{macrocode}
\DeclareDocumentCommand{\LWR@urlb}{m}{%
\LWR@ensuredoingapar%
@@ -27639,11 +27954,26 @@ autopage-\theLWR@currentautosec%
% \marg{filename} \marg{extension} \marg{style}
%
% \changes{v0.18}{2016/05/18}{Suppress extra space.}
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\newcommand*{\LWR@subinlineimage}[5][]{%
\ifblank{#1}%
-{\LWR@htmltag{img src="#3.#4" alt="#3" style="#5" class="#2"}}%
-{\LWR@htmltag{img src="#3.#4" alt="#1" style="#5" class="#2"}}%
+{%
+ \LWR@htmltag{img \LWR@indentHTML
+ src="#3.#4" \LWR@indentHTML
+ alt="#3" \LWR@indentHTML
+ style="#5" \LWR@indentHTML
+ class="#2" \LWR@orignewline
+ }%
+}%
+{%
+ \LWR@htmltag{img \LWR@indentHTML
+ src="#3.#4" \LWR@indentHTML
+ alt="#1" \LWR@indentHTML
+ style="#5" \LWR@indentHTML
+ class="#2" \LWR@orignewline
+ }%
+}%
}
% \end{macrocode}
% \end{macro}
@@ -27734,7 +28064,7 @@ autopage-\theLWR@currentautosec%
% The figure is assigned a \attribute{class} equal to its type,
% and another class according to the \pkg{float} package style, if used.
% Note that \cs{csuse} returns an empty string if \cs{LWR@floatstyle@<type>}
-% is note defined.
+% is not defined.
% \changes{v0.42}{2017/10/26}{If \progcode{FormatWP} add a text frame.}
% \changes{v0.47}{2018/01/26}{Fix: Line wrap at \HTML\ hyphen.}
% \changes{v0.56}{2018/05/14}{Adds a \element{class} per \pkg{float} package style.}
@@ -27981,16 +28311,20 @@ autopage-\theLWR@currentautosec%
% \end{macrocode}
%
%
-% \begin{macro}{\LWRsetnextfloat} \marg{autopage} \marg{autoid}
%
-% This is written to the |.lof|, |.lot| file just before each float's usual entry.
-% The |autopage| and |autoid| are remembered for \cs{l@figure} to use when
+% \begin{macro}{\LWRsetnextfloat} \marg{autopage} \marg{float autoid}
+%
+% \DescribeFile{*_html.lof}
+% \DescribeFile{*_html.lot}
+% This is written to the \filenm{*_html.lof} or \filenm{*_html.lot} file
+% just before each float's usual entry.
+% The |autopage| and the float's |autoid| are remembered for \cs{l@figure} to use when
% creating the \HTML\ links.
%
% \begin{macrocode}
\newcommand*{\LWRsetnextfloat}[2]{%
-\setcounter{LWR@nextautopage}{#1}%
-\setcounter{LWR@nextautoid}{#2}%
+ \setcounter{LWR@nextautopage}{#1}%
+ \setcounter{LWR@nextautoid}{#2}%
}
% \end{macrocode}
% \end{macro}
@@ -28031,7 +28365,10 @@ autopage-\theLWR@currentautosec%
%
% \begin{macro}{\LWR@HTML@caption@begin} \marg{type}
%
-% Low-level patches to create \HTML\ tags for captions.
+% Low-level code to create \HTML\ tags for captions.
+%
+% The print versions are from the \pkg{caption} package.
+%
% \changes{v0.47}{2018/01/28}{Fix: Argument passed to \cs{LWR@origcaption@begin}.}
% \changes{v0.58}{2018/06/07}{Improved print/\HTML\ output selection.}
% \begin{macrocode}
@@ -28419,15 +28756,17 @@ autopage-\theLWR@currentautosec%
%
% It may be renamed by redefining \cs{sidetocname}, and may contain paragraphs.
%
-% \CSS\ may be used to format the sideTOC:
+% \CSS\ may be used to format the side\TOC:
%
-% \begin{docsidebar}[CSS related to sideTOC:]
-% \raggedright
+% \begin{docsidebar}[CSS related to side\TOC:]
+% \vspace*{-\baselineskip}
% \begin{description}[parsep=0ex]
+% \vspace*{-\baselineskip}
% \item [|div.sidetoccontainer|:] The entire side\TOC.
% \item [|div.sidetoctitle|:] The title.
% \item [|div.sidetoccontents|:] The table of contents.
% \end{description}
+% \vspace*{-\baselineskip}
% \end{docsidebar}
% \begin{macrocode}
@@ -28832,10 +29171,13 @@ autopage-\theLWR@currentautosec%
% \end{macro}
-% \begin{macro}{\LWR@hyperindexrefnullified} \qquad
+% \begin{macro}{\LWR@hyperindexrefnullified}
% Handles macros commonly seen inside an \cs{index} entry.
+% Each macro is redefined to create and format a link to its entry.
%
% To handle additional macros:
+% \trouble[index formatting]{index>formatting}
+% \gindex{index>formatting}
% \begin{sourcedisplay}
% \cs{appto}\cs{LWR@hyperindexrefnullified}\{\dots\}
% \end{sourcedisplay}
@@ -28869,10 +29211,28 @@ autopage-\theLWR@currentautosec%
% \changes{v0.20}{2016/12/19}{Print mode provided in case \pkg{hyperref} not used.}
% \changes{v0.28}{2017/04/13}{Improved indexing.}
% \changes{v0.58}{2018/06/17}{Adds support for \cs{see}, \cs{seealso}, \cs{emph}, \cs{textbf}, etc.}
+% \changes{v0.66}{2019/02/05}{Fix: Long index entries.}
% \begin{macrocode}
\newcommand{\hyperindexref}[1]{%
-\IfInteger{#1}%
- {\LWR@indexnameref{#1}}%
+% \end{macrocode}
+% In long index lines with numerous entries,
+% \prog{makeindex} can insert a newline before the page number,
+% resulting in an extra space before the first digit.
+% If the first character is a space, remove it first.
+% ^^A Or use the trimspaces package.
+% \begin{macrocode}
+\def\LWR@tempone{#1}%
+\IfBeginWith{\LWR@tempone}{ }{%
+ \StrGobbleLeft{\LWR@tempone}{1}[\LWR@tempone]%
+}{}%
+% \end{macrocode}
+% If a numeric entry, create a link.
+% If not numeric, such as \cs{see}, use the entry as-is.
+% \cs{emph}, \cs{textit}, etc. have been redefined above to create and
+% format the entry.
+% \begin{macrocode}
+\IfInteger{\LWR@tempone}%
+ {\LWR@indexnameref{\LWR@tempone}}%
{%
\begingroup%
\LWR@hyperindexrefnullified
@@ -29244,7 +29604,7 @@ autopage-\theLWR@currentautosec%
% image.
% If neither is loaded, no marker is used.
% \changes{v0.51}{2018/03/16}{Improved \SVG\ math baseline.}
-% \changes{v0.52}{2018/03/24}{Warnings if \filenm{lwarp\_baseline\_marker.png} is not present
+% \changes{v0.52}{2018/03/24}{Warnings if \filenm{lwarp_baseline_marker.png} is not present
% or if graphicx/s not loaded.}
% \changes{v0.59}{2018/09/02}{Uses \filenm{.eps} if \DVI\ \prog{latex}.}
% \begin{macrocode}
@@ -29555,7 +29915,7 @@ autopage-\theLWR@currentautosec%
% These markers are seen by \prog{pdfcrop},
% and force vertically-centered objects such as a dash
% to be raised off the baseline in the cropped image,
-% and also force the total width and left \spslash right margins to be correct.
+% and also force the total width and left \Slash right margins to be correct.
% (Except that in some fonts a character may exceed the bounding box, and thus
% may appear wider than expected when converted to an image.)
% \changes{v0.51}{2018/03/10}{SVG math baseline improved with invisible rule at corner.}
@@ -30829,6 +31189,21 @@ autopage-\theLWR@currentautosec%
%
% \describehashing
%
+% \DescribeFile{*_html.aux}
+% A new label is placed into the file \filenm{*_html.aux}:
+% \begin{sourceverb}
+% \newlabel{LWRlateximage-<BaseJobname>-<number>}{{<x>}{<y>}}
+% \end{sourceverb}
+% This is used to find the image in the \PDF\ file, according to its name.
+%
+% \DescribeFile{*-images.txt}
+% A list of images to generate is created in \filenm{<jobname>-images.txt}.
+% Each line has three pipe-delimited fields,
+% containing the \PDF\ page number from \filenm{<jobname>_html.pdf}, where the image
+% is located, a boolean indicating whether the image is hashed, and
+% the filename of the image.
+%
+%
% \changes{v0.18}{2016/05/18}{Suppress extra space.}
% \changes{v0.18}{2016/05/18}{pdfcrop: -{}-hires added.}
% \changes{v0.18}{2016/05/19}{Reorganize \cs{HomeHTMLFilename} logic.}
@@ -30841,6 +31216,7 @@ autopage-\theLWR@currentautosec%
% the \protect\env{lateximage} \protect\env{minipage}.}
% \changes{v0.47}{2018/01/24}{Added \CSS\ style option.}
% \changes{v0.51}{2018/03/07}{Added additional hashing option.}
+% \changes{v0.66}{2019/01/27}{Adds \cs{BaseJobname} for multiple projects.}
%
% \begin{macrocode}
\catcode`\$=\active%
@@ -30902,21 +31278,26 @@ autopage-\theLWR@currentautosec%
% \end{macrocode}
% Figure out what the next page number will be.
% \cs{setcounterpageref} assigns |LWR@LIpage| to the page number for
-% the reference |LWRlateximageXXX|:
+% the reference |LWRlateximage-BaseJobname-XXX|:
% \begin{macrocode}
- \setcounterpageref{LWR@LIpage}{LWRlateximage\arabic{LWR@lateximagenumber}}%
+ \setcounterpageref{LWR@LIpage}{%
+ LWRlateximage-\BaseJobname-\arabic{LWR@lateximagenumber}%
+ }%
\LWR@traceinfo{lateximage: LWR@LIpage is \arabic{LWR@LIpage}}%
% \end{macrocode}
% Create an \HTML\ span which will hold the comment which contains the \prog{pdftotext} translation
% of the image's page, and also will hold the link to the |.svg| file:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
- \LWR@htmltag{span id="lateximage\arabic{LWR@lateximagenumber}" % extra space
- class="lateximagesource"}%
+ \LWR@htmltag{span\LWR@indentHTML%
+ id="lateximage-\BaseJobname-\arabic{LWR@lateximagenumber}"\LWR@indentHTML
+ class="lateximagesource"\LWR@orignewline
+ }%
% \end{macrocode}
-% Write instructions to the |lateximages.txt| file:
+% Write instructions to the |<ImagesDirectory>.txt| file:
% \changes{v0.50}{2018/02/22}{MD5 hash avoids duplicate \SVG\ math.}
% \begin{macrocode}
- \LWR@traceinfo{lateximage: about to write to lateximages.txt}%
+ \LWR@traceinfo{lateximage: about to write to \BaseJobname-images.txt}%
\IfBooleanTF{#1}% starred
{% hash
\LWR@traceinfo{lateximage: hash true, adding %
@@ -30927,7 +31308,6 @@ autopage-\theLWR@currentautosec%
% \begin{macrocode}
\edef\LWR@hashedname{%
\LWR@mdfive{\detokenize\expandafter{#2}-!-#3}%
-% \LWR@mdfive{\detokenize\expandafter{#2}-!-\detokenize\expandafter{#3}}%
}%
\LWR@traceinfo{lateximage: hash is \LWR@hashedname}%
% \end{macrocode}
@@ -30943,7 +31323,7 @@ autopage-\theLWR@currentautosec%
% \begin{macrocode}
\LWR@traceinfo{lateximage: hash false}%
\immediate\write\LWR@lateximagesfile{%
- |\arabic{LWR@LIpage}|false|lateximage-\arabic{LWR@externalfilecnt}|%
+ |\arabic{LWR@LIpage}|false|\LWR@ImagesName\arabic{LWR@externalfilecnt}|%
}%
}% no hash
% \end{macrocode}
@@ -30987,7 +31367,7 @@ autopage-\theLWR@currentautosec%
% Create the |LWRlateximage<number>| label:
% \begin{macrocode}
\LWR@traceinfo{lateximage: about to create label}%
- \LWR@orig@label{LWRlateximage\arabic{LWR@lateximagenumber}}%
+ \LWR@orig@label{LWRlateximage-\BaseJobname-\arabic{LWR@lateximagenumber}}%
\LWR@traceinfo{lateximage: finished creating the label}%
% \end{macrocode}
% Enable print-mode math functions:
@@ -31066,15 +31446,15 @@ autopage-\theLWR@currentautosec%
{% hash
\LWR@subinlineimage[#2]{lateximage}%
{%
- lateximages\OSPathSymbol%
+ \LWR@ImagesDirectory\OSPathSymbol%
\LWR@print@mbox{\LWR@hashedname}%
}{svg}{#4}%
}% hash
{% no hash
\LWR@subinlineimage[#2]{lateximage}%
{%
- lateximages\OSPathSymbol%
- \LWR@print@mbox{lateximage-\theLWR@externalfilecnt}%
+ \LWR@ImagesDirectory\OSPathSymbol%
+ \LWR@print@mbox{\LWR@ImagesName\theLWR@externalfilecnt}%
}{svg}{#4}%
}% no hash
% \end{macrocode}
@@ -31974,30 +32354,66 @@ autopage-\theLWR@currentautosec%
\boolfalse{LWR@minipagefullwidth}
% \end{macrocode}
%
+%
+% \DescribeBoolean{LWR@forceminipagefullwidth} Should the next minipage
+% have no \HTML\ |width|? Used to force full width for all minipages
+% in an environment such as \env{tabular} or \env{multicols},
+% where the actual width depends on the browser width.
+% Controlled by \cs{useminipagewidths} and \cs{ignoreminipagewidths}.
+% \begin{macrocode}
+\newbool{LWR@forceminipagefullwidth}
+\boolfalse{LWR@forceminipagefullwidth}
+% \end{macrocode}
+%
+%
% \begin{macro}{\minipagefullwidth} Requests that the next minipage
% have no |width| tag in \HTML:
% \changes{v0.19}{2016/05/28}{Added: No width tag for the next minipage in HTML.}
+% \changes{v0.66}{2018/12/28}{Made \cs{global}.}
%
% \codehtml
%
% \begin{macrocode}
-\newcommand*{\minipagefullwidth}{\booltrue{LWR@minipagefullwidth}}
+\newcommand*{\minipagefullwidth}{\global\booltrue{LWR@minipagefullwidth}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\UseMinipageWidths} Locally requests that minipage widths be
+% honored.
+% \changes{v0.66}{2018/12/31}{Added,}
+% \begin{macrocode}
+\newcommand*{\UseMinipageWidths}{\boolfalse{LWR@forceminipagefullwidth}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\IgnoreMinipageWidths} Locally requests that minipage widths be
+% honored.
+% \changes{v0.66}{2018/12/31}{Added,}
+% \begin{macrocode}
+\newcommand*{\IgnoreMinipageWidths}{\booltrue{LWR@forceminipagefullwidth}}
\end{warpHTML}
% \end{macrocode}
+% \end{macro}
+%
%
% \codeprint
%
% \begin{macrocode}
\begin{warpprint}
\newcommand*{\minipagefullwidth}{}
+\newcommand*{\UseMinipageWidths}{}
+\newcommand*{\IgnoreMinipageWidths}{}
\end{warpprint}
% \end{macrocode}
%
+%
+%
% \codehtml
% \begin{macrocode}
\begin{warpHTML}
% \end{macrocode}
-% \end{macro}
+%
+%
%
%
% \DescribeBoolean{LWR@minipagethispar}
@@ -32099,14 +32515,19 @@ autopage-\theLWR@currentautosec%
\ifthenelse{\equal{#3}{s}}{\LWR@print@mbox{justify-content:space-between} ; }{}%
% \end{macrocode}
% Print the width and optional height styles:
+% \changes{v0.66}{2018/12/31}{Honor \cs{LWR@forceminipagefullwidth}.}
% \begin{macrocode}
\LWR@traceinfo{minipage: about to print the width of \LWR@printlength{\LWR@minipagewidth}}%
\ifbool{LWR@minipagefullwidth}%
-{\boolfalse{LWR@minipagefullwidth}}%
+{\global\boolfalse{LWR@minipagefullwidth}}%
{%
- \ifthenelse{\lengthtest{#4}=\linewidth}%
- {}%
- {width:\LWR@printlength{\LWR@minipagewidth} ; }%
+ \ifbool{LWR@forceminipagefullwidth}%
+ {}%
+ {%
+ \ifthenelse{\lengthtest{#4}=\linewidth}%
+ {}%
+ {width:\LWR@printlength{\LWR@minipagewidth} ; }%
+ }%
}%
\LWR@traceinfo{minipage: about to print the height}%
\ifblank{#2}{}{height:\LWR@printlength{\LWR@minipageheight} ; }%
@@ -32330,15 +32751,19 @@ autopage-\theLWR@currentautosec%
%
%
-% \begin{macro}{\LWR@blackborderpadding}
+% \begin{macro}{\LWR@fboxstyle}
% Prints the \HTML\ attributes for a black border and padding.
%
% \cs{LWR@forceminwidth} must be used first in order to set the border width.
%
+% \changes{v0.66}{2019/02/04}{Use current text color.}
+%
% \begin{macrocode}
-\newcommand*{\LWR@blackborderpadding}{%
-border:\LWR@printlength{\LWR@atleastonept} solid black ; %
-padding:\LWR@printlength{\fboxsep}%
+\newcommand*{\LWR@fboxstyle}{%
+\LWR@findcurrenttextcolor%
+border:\LWR@printlength{\LWR@atleastonept} solid \LWR@origpound\LWR@tempcolor ; %
+padding:\LWR@printlength{\fboxsep} ; %
+color:\LWR@origpound\LWR@tempcolor%
}
% \end{macrocode}
% \end{macro}
@@ -32349,6 +32774,7 @@ padding:\LWR@printlength{\fboxsep}%
% Creates a framed inline span enclosing the text.
%
% \changes{v0.36}{2017/08/10}{Fix: Uses \cs{fboxrule} and \cs{fboxsep}.}
+% \changes{v0.66}{2019/02/02}{Fix: Removed extra space.}
%
% Create a new \HTML\ version, but don't use it until after \pkg{xcolor}
% may have loaded:
@@ -32357,8 +32783,8 @@ padding:\LWR@printlength{\fboxsep}%
\LWR@traceinfo{HTML fbox}%
\LWR@forceminwidth{\fboxrule}%
\InlineClass[%
-\LWR@blackborderpadding%
-]{fbox}{#1}
+\LWR@fboxstyle%
+]{fbox}{#1}%
}
% \end{macrocode}
% \pkg{xcolor} \cs{let}s things to \cs{fbox} when it is loaded,
@@ -32394,7 +32820,7 @@ padding:\LWR@printlength{\fboxsep}%
\newcommand{\LWR@HTML@fboxBlock}[1]{%
\LWR@forceminwidth{\fboxrule}%
\begin{BlockClass}[%
-\LWR@blackborderpadding%
+\LWR@fboxstyle%
]{fboxBlock}
#1
\end{BlockClass}
@@ -32491,7 +32917,7 @@ padding:\LWR@printlength{\fboxsep}%
% \end{macrocode}
% \begin{macrocode}
\begin{BlockClass}[%
-\LWR@blackborderpadding ; %
+\LWR@fboxstyle ; %
\IfValueT{#2}{height:\LWR@printlength{\LWR@tempheight} ; }%
width:\LWR@printlength{\LWR@tempwidth}%
]{fminipage}%
@@ -32761,8 +33187,8 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \end{macrocode}
-
-% \begin{macro}{\LWR@nullfonts} Removes formatting during filename operations.
+% \begin{macro}{\LWR@nullfonts} Removes formatting during filename operations,
+% file references, and \HTML\ comments.
%
% \textred{Use only inside a group.}\watchout
%
@@ -32776,6 +33202,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \changes{v0.48}{2018/02/04}{Fix: \cs{newline} in title.}
% \changes{v0.65}{2018/12/09}{Added \cs{textsi}.}
% \begin{macrocode}
+\catcode`\$=\active% redefining $ below
\newcommand*{\LWR@nullfonts}{%
\LetLtxMacro\emph\LWR@null@emph%
\LetLtxMacro\textmd\LWR@null@textmd%
@@ -32807,7 +33234,6 @@ width:\LWR@printlength{\LWR@tempwidth}%
\LetLtxMacro\normalfont\LWR@null@normalfont%
\LetLtxMacro\em\LWR@null@em%
% \end{macrocode}
-% \changes{v0.50}{2018/02/20}{Robustify macros.}
% \begin{macrocode}
\renewcommand*{\,}{-}%
\renewcommand*{~}{-}%
@@ -32840,6 +33266,24 @@ width:\LWR@printlength{\LWR@tempwidth}%
\def\(##1\){}%
\def\[##1\]{}%
\RenewDocumentCommand{\LWR@subsingledollar}{s m m m}{}%
+\protected\def$##1${}%
+% \end{macrocode}
+% Nullify logos:
+% \changes{v0.66}{2019/02/01}{Logos.}
+% \begin{macrocode}
+\renewcommand*{\TeX}{TeX}%
+\renewcommand*{\LaTeX}{LaTeX}%
+\renewcommand*{\LaTeXe}{LaTeX2e}%
+\renewcommand*{\LuaTeX}{LuaTeX}%
+\renewcommand*{\LuaLaTeX}{LuaLaTeX}%
+\renewcommand*{\XeTeX}{XeTeX}%
+\renewcommand*{\XeLaTeX}{XeLaTeX}%
+\renewcommand*{\ConTeXt}{ConTeXt}%
+\renewcommand*{\BibTeX}{BibTeX}%
+\renewcommand*{\MakeIndex}{MakeIndex}%
+\renewcommand*{\AmS}{AmS}%
+\renewcommand*{\MiKTeX}{MiKTeX}%
+\renewcommand*{\LyX}{LyX}%
% \end{macrocode}
% Use the simpler form with \cs{texorpdfstring}:
% \changes{v0.52}{2018/03/31}{Fix: \cs{texorpdfstring} in section names.}
@@ -32847,6 +33291,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
\let\texorpdfstring\relax%
\newcommand{\texorpdfstring}[2]{##2}%
}
+\catcode`\$=3%
% \end{macrocode}
% \end{macro}
@@ -33111,9 +33556,10 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \begin{macro}{\LWR@findcurrenttextcolor}
% \changes{v0.51}{2018/03/14}{Added \cs{LWR@findcurrenttextcolor} when no \pkg{xcolor}.}
% Sets \cs{LWR@tempcolor} to the current color.
+% \changes{v0.66}{2019/02/04}{Fix: Color if \pkg{xcolor} not loaded.}
% \begin{macrocode}
\newcommand*{\LWR@findcurrenttextcolor}{%
-\renewcommand{\LWR@tempcolor}{black}%
+\renewcommand{\LWR@tempcolor}{000000}%
}
% \end{macrocode}
% \end{macro}
@@ -33629,10 +34075,11 @@ width:\LWR@printlength{\LWR@tempwidth}%
% The width and height are NOT rounded, since a height of
% less than 1pt is quite common in \LaTeX\ code.
% \changes{v0.57}{2018/06/02}{Fix: Colored rules.}
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\LWR@findcurrenttextcolor%
\LWR@htmltagc{%
- span
+ span\LWR@indentHTML%
style="%
% \end{macrocode}
% The background color is used to draw the filled rule.
@@ -33658,18 +34105,18 @@ width:\LWR@printlength{\LWR@tempwidth}%
{%
\setlength{\LWR@tempraise}{0pt-#1}%
\setlength{\LWR@tempraise}{\LWR@tempraise*2}%
- \LWR@orignewline%
+ \LWR@indentHTML%
-ms-transform: translate(0pt,\LWR@printlength{\LWR@tempraise}); %
- \LWR@orignewline%
+ \LWR@indentHTML%
-webkit-transform: translate(0pt,\LWR@printlength{\LWR@tempraise}); %
- \LWR@orignewline%
+ \LWR@indentHTML%
transform: translate(0pt,\LWR@printlength{\LWR@tempraise}); %
- \LWR@orignewline%
+ \LWR@indentHTML%
}%
% \end{macrocode}
% Display inline-block to place the span inline with the text:
% \begin{macrocode}
- display:inline-block;"%
+ display:inline-block;"\LWR@orignewline%
}%
% \end{macrocode}
% If formatting for a word processor, approximate with a number of underscores,
@@ -33990,7 +34437,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
-% \section{\brand{Koma-script} classes}
+% \section{Loading \brand{Koma-script} class patches}
%
% Load patches to \pkg{koma-script}.
%
@@ -34010,7 +34457,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \end{macrocode}
-% \section{\brand{Memoir} class}
+% \section{Loading \brand{Memoir} class patches}
%
% Load patches to \pkg{memoir}.
%
@@ -34031,8 +34478,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
-
-% \section{\pkg{ut*} classes}
+% \section{\pkg{ut*} class patches}
%
% Load patches to \pkg{uj*} and \pkg{ut*} classes, as well as \pkg{ltj*} classes.
%
@@ -34121,7 +34567,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% ^^A *ctex
-% \section{C\TeX patch}
+% \section{C\TeX\ patches}
%
% Patches for \pkg{ctex} and related classes,
% which are loaded before \pkg{lwarp}.
@@ -34162,6 +34608,49 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \end{macrocode}
%
%
+%
+% ^^A *kotexutf
+% \section{\pkg{kotexutf} patches}
+%
+% Patch for \pkg{kotexutf}, which is loaded before \pkg{lwarp}.
+%
+% \pkg{kotexutf}'s \cs{@setref} was conflicting with \pkg{lwarp}'s
+% cross references.
+%
+% \changes{v0.66}{2019/01/29}{\pkg{kotexutf}: Patch for references.}
+%
+% \codehtml
+% \begin{macrocode}
+\begin{warpHTML}
+% \end{macrocode}
+%
+% If \pkg{kotexutf}'s version of \cs{@setref} is detected,
+% it is reverted to the original.
+% \begin{macrocode}
+\AtBeginDocument{
+\@ifpackageloaded{kotexutf}{%
+ \def\LWR@kotexutf@setref#1#2#3{%
+ \@setref@dhucs@orig{#1}{#2}{#3}%
+ \ifx#1\relax\else
+ \bgroup
+ \dhucs@make@cjkchar@null
+ \edef\@temp{\expandafter#2#1}\global\josatoks\expandafter{\@temp}%
+ \egroup
+ \fi%
+ }%
+
+ \ifdefequal{\@setref}{\LWR@kotexutf@setref}{
+ \let\@setref\@setref@dhucs@orig
+ }{}
+}{}
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\end{warpHTML}
+% \end{macrocode}
+%
+%
% \iffalse
%</package>
% \fi
@@ -34173,7 +34662,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
%
%
%
-% \changes{v0.20}{2016/12/12}{Code factored into independent \filenm{lwarp\_html} files.}
+% \changes{v0.20}{2016/12/12}{Code factored into independent \filenm{lwarp_html} files.}
%
% ^^A The following adjustments apply to the lwarp-* package listings:
%
@@ -34200,7 +34689,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
%
%
%
-%
+% \changes{v0.66}{2018/12/29}{Package dates added where possible.}
%
%
% \iffalse
@@ -34289,7 +34778,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{a4}
+\LWR@ProvidesPackageDrop{a4}[2004/04/15]
% \end{macrocode}
%
% \begin{macrocode}
@@ -34320,7 +34809,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{a4wide}
+\LWR@ProvidesPackageDrop{a4wide}[1994/08/30]
% \end{macrocode}
%
%
@@ -34390,7 +34879,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
%
% Accept all options for \pkg{lwarp-abstract}:
% \begin{macrocode}
-\LWR@ProvidesPackagePass{abstract}
+\LWR@ProvidesPackagePass{abstract}[2009/06/08]
% \end{macrocode}
@@ -34512,7 +35001,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{accsupp}
+\LWR@ProvidesPackageDrop{accsupp}[2018/03/28]
% \end{macrocode}
%
% \begin{macrocode}
@@ -34544,7 +35033,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{acro}
+\LWR@ProvidesPackagePass{acro}[2017/01/30]
% \end{macrocode}
@@ -34648,7 +35137,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{acronym}
+\LWR@ProvidesPackagePass{acronym}[2015/03/21]
% \end{macrocode}
% Uses \cs{textit} instead of \cs{itshape}:
@@ -34666,46 +35155,36 @@ width:\LWR@printlength{\LWR@tempwidth}%
% }
% \end{macrocode}
-% Modified for \pkg{cleveref} and \pkg{zref}:
+% Fix for acronym labels in the captions of floats.
+% \changes{v0.66}{2019/01/28}{\pkg{acronym}: Fix for acronym in caption.}
+% \begin{macrocode}
+\renewcommand{\@starttoc}[1]{
+\LWR@htmlelementclass{nav}{#1}
+\LetLtxMacro\@verridelabel\@gobble
+\LWR@orig@starttoc{#1}
+\LWR@htmlelementclassend{nav}{#1}
+}
+% \end{macrocode}
+
+
+% Modified for \pkg{cleveref} and \pkg{lwarp}:
+% \changes{v0.66}{2019/01/27}{\pkg{acronym}: No longer uses \pkg{zref}.}
% \begin{macrocode}
\renewcommand*\AC@und@newl@bel[3]{%
\@ifundefined{#1@#3}%
{%
\global\expandafter\let\csname#2@#3\endcsname\@nnil
+ \global\expandafter\let\csname#2@#3@lwarp\endcsname\@nnil% lwarp
\global\expandafter\let\csname#2@#3@cref\endcsname\@nnil% lwarp
}%
{%
\global\expandafter\let\csname#1@#3\endcsname\relax
+ \global\expandafter\let\csname#1@#3@lwarp\endcsname\relax% lwarp
\global\expandafter\let\csname#1@#3@cref\endcsname\relax% lwarp
- \global\expandafter\let\csname Z@R@#3\endcsname\relax% lwarp
}%
}%
% \end{macrocode}
-% Modified for \pkg{cleveref} and \pkg{zref}:
-% \begin{macrocode}
-\renewcommand*\AC@testdef[3]{%
-\ifstrequal{#1}{Z@R}{}{% lwarp
- \@ifundefined{s@#2}\@secondoftwo\@firstofone
- {%
- \expandafter\ifx\csname s@#2\endcsname\empty
- \expandafter\@firstofone
- \else
- \expandafter\xdef\csname s@#2\endcsname{%
- \expandafter\expandafter
- \expandafter\@gobble
- \csname s@#2\endcsname
- }%
- \expandafter\@gobble
- \fi
- }%
- {%
- \@testdef{#1}{#2}{#3}%
- }%
-}% lwarp
-}%
-% \end{macrocode}
-
% \iffalse
%</acronym>
% \fi
@@ -34737,7 +35216,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{adjmulticol}
+\LWR@ProvidesPackageDrop{adjmulticol}[2012/01/20]
% \end{macrocode}
%
% \begin{macrocode}
@@ -34844,7 +35323,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
%
% Discard all options for \pkg{lwarp-afterpage}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{afterpage}
+\LWR@ProvidesPackageDrop{afterpage}[2014/10/28]
% \end{macrocode}
%
% \begin{macrocode}
@@ -34880,7 +35359,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{algorithm2e}
+\LWR@ProvidesPackagePass{algorithm2e}[2017/07/18]
% \end{macrocode}
% For the list-of entries:
@@ -35121,7 +35600,7 @@ width:\LWR@printlength{\LWR@tempwidth}%
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{algorithmicx}
+\LWR@ProvidesPackagePass{algorithmicx}[2005/04/27]
% \end{macrocode}
%
%
@@ -35199,7 +35678,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{alltt}
+\LWR@ProvidesPackagePass{alltt}[1997/06/16]
% \end{macrocode}
%
% \begin{macrocode}
@@ -35242,7 +35721,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{amsmath}
+\LWR@ProvidesPackagePass{amsmath}[2017/09/02]
% \end{macrocode}
%
% Patches to allow \cs{eqref} inside a caption:
@@ -35663,7 +36142,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \end{macrocode}
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{amsthm}
+\LWR@ProvidesPackagePass{amsthm}[2017/10/31]
% \end{macrocode}
% Storage for the style being used for new theorems:
@@ -35876,7 +36355,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{anonchap}
+\LWR@ProvidesPackageDrop{anonchap}[2009/08/03]
% \end{macrocode}
%
% \begin{macrocode}
@@ -35917,7 +36396,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{anysize}
+\LWR@ProvidesPackageDrop{anysize}[1994/08/13]
% \end{macrocode}
%
% \begin{macrocode}
@@ -35954,7 +36433,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{appendix}
+\LWR@ProvidesPackagePass{appendix}[2009/09/02]
% \end{macrocode}
%
% \begin{macrocode}
@@ -35982,6 +36461,110 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
%
%
% \iffalse
+%<*ar>
+% \fi
+%
+% \part{lwarp-ar.sty}
+%
+% \section{ar}
+%
+% \credits{Agostino De Marco}
+%
+% \DescribePackage{ar}
+% \pkg{ar} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.66}{2018/12/31}{\pkg{ar}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{ar}[2012/01/23]
+% \end{macrocode}
+%
+% Measure and print the width of the supplied glyph.
+% \begin{macrocode}
+\newlength{\LWR@ar@width}
+
+\newcommand*{\LWR@ar@printwidth}[1]{%
+ \setlength{\LWR@ar@width}{\widthof{#1}}%
+ width:%
+ \LWR@convertto{em}{\the\LWR@ar@width}em%
+}
+% \end{macrocode}
+%
+% The \HTML\ version of \cs{AR}:
+% \begin{macrocode}
+\newrobustcmd*{\LWR@HTML@AR}{%
+% \end{macrocode}
+% Start a hashed \env{lateximage}, additionally hashed by the font series,
+% with a width depending on the given glyph:
+% \begin{macrocode}
+ \begin{lateximage}*[AR][\LWR@f@series][\LWR@ar@printwidth{\LWR@print@AR}]%
+% \end{macrocode}
+% For text mode, set the font series according to the \HTML\ font series:
+% \begin{macrocode}
+ \ifmmode\else\csuse{LWR@orig\LWR@f@series series}\fi%
+% \end{macrocode}
+% Print the original glyph using the newly set font series:
+% \begin{macrocode}
+ \LWR@print@AR%
+% \end{macrocode}
+% Done.
+% \begin{macrocode}
+ \end{lateximage}%
+}
+% \end{macrocode}
+%
+% Combine the print and \HTML\ versions:
+% \begin{macrocode}
+\LWR@formatted{AR}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\newrobustcmd*{\LWR@HTML@ARb}{%
+ \begin{lateximage}*[AR][b][\LWR@ar@printwidth{\LWR@print@ARb}]%
+ \LWR@print@ARb%
+ \end{lateximage}%
+}
+\LWR@formatted{ARb}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\newrobustcmd*{\LWR@HTML@ARss}{%
+ \begin{lateximage}*[ARss][\LWR@f@series][\LWR@ar@printwidth{\LWR@print@ARss}]%
+ \ifmmode\else\csuse{LWR@orig\LWR@f@series series}\fi%
+ \LWR@print@ARss%
+ \end{lateximage}%
+}
+\LWR@formatted{ARss}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\newrobustcmd*{\LWR@HTML@ARssb}{%
+ \begin{lateximage}*[AR][ssb][\LWR@ar@printwidth{\LWR@print@ARssb}]%
+ \LWR@print@ARssb%
+ \end{lateximage}%
+}
+\LWR@formatted{ARssb}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\newrobustcmd*{\LWR@HTML@ARtt}{%
+ \begin{lateximage}*[AR][tt][\LWR@ar@printwidth{\LWR@print@ARtt}]%
+ \LWR@print@ARtt%
+ \end{lateximage}%
+}
+\LWR@formatted{ARtt}
+% \end{macrocode}
+%
+% \iffalse
+%</ar>
+% \fi
+%
+%
+%
+%
+% \iffalse
%<*arabicfront>
% \fi
%
@@ -35997,7 +36580,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{arabicfront}
+\LWR@ProvidesPackageDrop{arabicfront}[2006/09/03]
% \end{macrocode}
%
%
@@ -36033,7 +36616,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
\let\firsthline\relax
\let\lasthline\relax
-\LWR@ProvidesPackagePass{array}
+\LWR@ProvidesPackagePass{array}[2018/12/30]
% \end{macrocode}
%
% \begin{macrocode}
@@ -36083,7 +36666,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
\RequirePackage{array}
% \end{macrocode}
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{arydshln}
+\LWR@ProvidesPackageDrop{arydshln}[2018/09/26]
% \end{macrocode}
%
% Ignored, but included for source compatibility:
@@ -36201,7 +36784,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{asymptote}
+\LWR@ProvidesPackagePass{asymptote}[2016/11/26]
% \end{macrocode}
%
% \begin{macrocode}
@@ -36294,7 +36877,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{attachfile}
+\LWR@ProvidesPackagePass{attachfile}[2016/09/18]
% \end{macrocode}
%
% Encloses each icon:
@@ -36376,7 +36959,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{attachfile2}
+\LWR@ProvidesPackagePass{attachfile2}[2016/05/16]
% \end{macrocode}
%
% Adds memory of the selected color:
@@ -36524,7 +37107,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
%
% Load \pkg{authblk}:
% \begin{macrocode}
-\LWR@ProvidesPackagePass{authblk}
+\LWR@ProvidesPackagePass{authblk}[2001/02/27]
% \end{macrocode}
%
% Patch to add a class for the affiliation:
@@ -36595,7 +37178,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{axodraw2}
+\LWR@ProvidesPackagePass{axodraw2}[2018/02/15]
% \end{macrocode}
% \begin{macrocode}
@@ -36635,7 +37218,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{backref}
+\LWR@ProvidesPackagePass{backref}[2016/05/21]
% \end{macrocode}
% Force the \optn{hyperref} option:
@@ -36670,7 +37253,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
%
% Discard all options for \pkg{lwarp-balance}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{balance}
+\LWR@ProvidesPackageDrop{balance}[1999/02/23]
% \end{macrocode}
%
%
@@ -36727,7 +37310,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \end{macrocode}
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{biblatex}
+\LWR@ProvidesPackagePass{biblatex}[2018/03/04]
% \end{macrocode}
%
%
@@ -36755,7 +37338,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{bibunits}
+\LWR@ProvidesPackagePass{bibunits}[2004/05/12]
% \end{macrocode}
% \begin{macrocode}
@@ -36806,7 +37389,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
%
% Next, load the package's new definitions:
% \begin{macrocode}
-\LWR@ProvidesPackagePass{bigdelim}
+\LWR@ProvidesPackagePass{bigdelim}[2018/08/03]
% \end{macrocode}
%
%
@@ -36855,7 +37438,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{bigstrut}
+\LWR@ProvidesPackagePass{bigstrut}[2018/08/03]
% \end{macrocode}
%
% \begin{macrocode}
@@ -36895,7 +37478,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{bitpattern}
+\LWR@ProvidesPackagePass{bitpattern}[2015/12/11]
% \end{macrocode}
%
% \begin{macrocode}
@@ -36935,7 +37518,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{blowup}
+\LWR@ProvidesPackageDrop{blowup}[2018/01/02]
% \end{macrocode}
%
% \begin{macrocode}
@@ -37016,7 +37599,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
%
% Discard all options for \pkg{lwarp-bookmark}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{bookmark}
+\LWR@ProvidesPackageDrop{bookmark}[2016/05/17]
% \end{macrocode}
%
% \begin{macrocode}
@@ -37064,7 +37647,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
\LetLtxMacro\morecmidrules\relax
\LetLtxMacro\specialrule\relax
-\LWR@ProvidesPackagePass{booktabs}
+\LWR@ProvidesPackagePass{booktabs}[2016/04/27]
% \end{macrocode}
%
% \changes{v0.41}{2017/10/03}{Improved rules.}
@@ -37153,7 +37736,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{bophook}
+\LWR@ProvidesPackageDrop{bophook}[2001/03/29]
% \end{macrocode}
%
% \begin{macrocode}
@@ -37184,7 +37767,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{bounddvi}
+\LWR@ProvidesPackageDrop{bounddvi}[2016/12/28]
% \end{macrocode}
%
% \iffalse
@@ -37213,7 +37796,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
%
% Discard all options for \pkg{lwarp-boxedminipage2e}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{boxedminipage2e}
+\LWR@ProvidesPackageDrop{boxedminipage2e}[2015/03/09]
% \end{macrocode}
% \begin{macrocode}
@@ -37248,14 +37831,14 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \pkg{breakurl} is emulated.
%
% \changes{v0.43}{2017/10/31}{\pkg{breakurl}: Added.}
-% \changes{v0.45}{2017/12/29}{\pkg{breakurl}: Fix: Underscore in \acro{URL}.}
-% \changes{v0.52}{2018/03/26}{\pkg{breakurl}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.45}{2017/12/29}{\pkg{breakurl}: Fix: Underscore in \URL.}
+% \changes{v0.52}{2018/03/26}{\pkg{breakurl}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \changes{v0.57}{2018/06/05}{\pkg{breakurl}: Fix: Text catcodes.}
%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{breakurl}
+\LWR@ProvidesPackageDrop{breakurl}[2013/04/10]
% \end{macrocode}
%
% \begin{macrocode}
@@ -37313,7 +37896,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{breqn}
+\LWR@ProvidesPackagePass{breqn}[2017/01/27]
% \end{macrocode}
%
% \begin{macrocode}
@@ -37437,7 +38020,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{bxpapersize}
+\LWR@ProvidesPackageDrop{bxpapersize}[2017/10/08]
% \end{macrocode}
%
% \begin{macrocode}
@@ -37470,7 +38053,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{bytefield}
+\LWR@ProvidesPackagePass{bytefield}[2017/09/15]
% \end{macrocode}
% \begin{macrocode}
@@ -37502,7 +38085,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
%
% \begin{macrocode}
\LWR@origRequirePackage{lwarp-xcolor}% for \convertcolorspec
-\LWR@ProvidesPackagePass{cancel}
+\LWR@ProvidesPackagePass{cancel}[2013/04/12]
% \end{macrocode}
%
%
@@ -37576,7 +38159,7 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
% \codehtml
s%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{canoniclayout}
+\LWR@ProvidesPackageDrop{canoniclayout}[2011/11/05]
% \end{macrocode}
%
% \begin{macrocode}
@@ -37609,7 +38192,7 @@ s%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{caption}
+\LWR@ProvidesPackagePass{caption}[2018/10/05]
% \end{macrocode}
% \begin{macrocode}
@@ -37804,7 +38387,7 @@ s%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{cases}
+\LWR@ProvidesPackagePass{cases}[2002/05/02]
% \end{macrocode}
%
% \begin{macrocode}
@@ -37896,7 +38479,7 @@ s%
%
% Discard all options for \pkg{lwarp-changepage}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{changepage}
+\LWR@ProvidesPackageDrop{changepage}[2009/10/20]
% \end{macrocode}
% \begin{macrocode}
@@ -37929,39 +38512,6 @@ s%
%
%
% \iffalse
-%<*chngpage>
-% \fi
-
-% \part{lwarp-chngpage.sty}
-
-% \section{chngpage}
-%
-% \credits{Peter Wilson}
-%
-% \DescribePackage{chngpage}
-% \pkg{chngpage} is emulated.
-%
-% \changes{v0.54}{2018/04/19}{\pkg{chngpage}: Added.}
-% \changes{v0.62}{2018/10/18}{\pkg{chngpage}: Fix: Loads \pkg{lwarp-chngpage}.}
-%
-% \codehtml
-%
-% Discard all options for \pkg{lwarp-chngpage}:
-% \begin{macrocode}
-\LWR@ProvidesPackageDrop{chngpage}
-\LWR@origRequirePackage{lwarp-changepage}
-% \end{macrocode}
-
-% \iffalse
-%</chngpage>
-% \fi
-%
-%
-%
-%
-%
-%
-% \iffalse
%<*chappg>
% \fi
%
@@ -37979,7 +38529,7 @@ s%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{chappg}
+\LWR@ProvidesPackageDrop{chappg}[2006/05/09]
% \end{macrocode}
%
% \begin{macrocode}
@@ -38012,7 +38562,7 @@ s%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{chapterbib}
+\LWR@ProvidesPackagePass{chapterbib}[2010/09/18]
% \end{macrocode}
% \begin{macrocode}
@@ -38100,6 +38650,8 @@ s%
%
%
%
+%
+%
% \iffalse
%<*chemformula>
% \fi
@@ -38476,7 +39028,7 @@ s%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{chemmacros}
+\LWR@ProvidesPackagePass{chemmacros}[2017/08/28]
% \end{macrocode}
%
% SVG file hashing assumes that the relevent options are constant for the entire document.
@@ -39532,7 +40084,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{chemnum}
+\LWR@ProvidesPackagePass{chemnum}[2016/04/14]
% \end{macrocode}
% \begin{macrocode}
@@ -39606,6 +40158,37 @@ name = \chemmacros_translate:n {scheme-name}
%
%
%
+%
+% \iffalse
+%<*chngpage>
+% \fi
+
+% \part{lwarp-chngpage.sty}
+
+% \section{chngpage}
+%
+% \credits{Peter Wilson}
+%
+% \DescribePackage{chngpage}
+% \pkg{chngpage} is emulated.
+%
+% \changes{v0.54}{2018/04/19}{\pkg{chngpage}: Added.}
+% \changes{v0.62}{2018/10/18}{\pkg{chngpage}: Fix: Loads \pkg{lwarp-chngpage}.}
+%
+% \codehtml
+%
+% Discard all options for \pkg{lwarp-chngpage}:
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{chngpage}[2009/10/20]
+\LWR@origRequirePackage{lwarp-changepage}
+% \end{macrocode}
+
+% \iffalse
+%</chngpage>
+% \fi
+%
+%
+%
% \iffalse
%<*cite>
% \fi
@@ -39624,7 +40207,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{cite}
+\LWR@ProvidesPackagePass{cite}[2015/02/27]
% \end{macrocode}
% For the [super] option, the \cs{kern} must be removed:
@@ -39669,7 +40252,7 @@ name = \chemmacros_translate:n {scheme-name}
\LWR@loadnever{CJK}{ctex, xeCJK}
}
-\LWR@ProvidesPackagePass{CJK}
+\LWR@ProvidesPackagePass{CJK}[2015/04/18]
% \end{macrocode}
%
% \iffalse
@@ -39698,7 +40281,7 @@ name = \chemmacros_translate:n {scheme-name}
\LWR@loadnever{CJKutf8}{ctex, xeCJK}
}
-\LWR@ProvidesPackagePass{CJKutf8}
+\LWR@ProvidesPackagePass{CJKutf8}[2015/04/18]
% \end{macrocode}
%
% \iffalse
@@ -39724,7 +40307,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{clrdblpg}
+\LWR@ProvidesPackageDrop{clrdblpg}[2018/04/21]
% \end{macrocode}
%
% \iffalse
@@ -39784,7 +40367,7 @@ name = \chemmacros_translate:n {scheme-name}
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{color}
+\LWR@ProvidesPackagePass{color}[2016/07/10]
\RequirePackage{xcolor}
% \end{macrocode}
%
@@ -39817,7 +40400,7 @@ name = \chemmacros_translate:n {scheme-name}
% \begin{macrocode}
\let\rowcolor\relax
-\LWR@ProvidesPackagePass{colortbl}
+\LWR@ProvidesPackagePass{colortbl}[2018/12/12]
% \end{macrocode}
%
%
@@ -39944,7 +40527,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{continue}
+\LWR@ProvidesPackageDrop{continue}}[2018/12/09]
% \end{macrocode}
%
% \begin{macrocode}
@@ -39988,7 +40571,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{copyrightbox}
+\LWR@ProvidesPackageDrop{copyrightbox}[2011/11/27]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40035,7 +40618,7 @@ name = \chemmacros_translate:n {scheme-name}
%
% Discard all options for \pkg{lwarp-crop}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{crop}
+\LWR@ProvidesPackageDrop{crop}[2003/05/20]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40069,7 +40652,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{cuted}
+\LWR@ProvidesPackageDrop{cuted}[2012/10/04]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40105,7 +40688,7 @@ name = \chemmacros_translate:n {scheme-name}
%
% Discard all options for \pkg{lwarp-cutwin}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{cutwin}
+\LWR@ProvidesPackageDrop{cutwin}[2010/09/29]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40161,7 +40744,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{dblfloatfix}
+\LWR@ProvidesPackageDrop{dblfloatfix}[2012/12/31]
% \end{macrocode}
%
% \iffalse
@@ -40189,7 +40772,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{dblfnote}
+\LWR@ProvidesPackageDrop{dblfnote}[1999/07/14]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40226,7 +40809,7 @@ name = \chemmacros_translate:n {scheme-name}
% \pkg{dcolumn} is emulated by the \pkg{lwarp} core.
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{dcolumn}
+\LWR@ProvidesPackageDrop{dcolumn}[2014/10/28]
% \end{macrocode}
%
% \iffalse
@@ -40254,7 +40837,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{diagbox}
+\LWR@ProvidesPackagePass{diagbox}[2016/12/28]
% \end{macrocode}
%
% To restore print-mode inside a \env{lateximage}:
@@ -40394,7 +40977,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{draftcopy}
+\LWR@ProvidesPackageDrop{draftcopy}[2002/02/25]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40476,7 +41059,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{draftwatermark}
+\LWR@ProvidesPackageDrop{draftwatermark}[2015/02/19]
% \end{macrocode}
% \begin{macrocode}
@@ -40516,7 +41099,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{easy-todo}
+\LWR@ProvidesPackagePass{easy-todo}[2014/01/01]
% \end{macrocode}
% \begin{noindmacro}{\listoftodos}
@@ -40605,6 +41188,60 @@ name = \chemmacros_translate:n {scheme-name}
%
%
% \iffalse
+%<*ed>
+% \fi
+%
+% \part{lwarp-ed.sty}
+%
+% \section{ed}
+%
+% \credits{Michael Kohlhase}
+%
+% \DescribePackage{ed}
+% \pkg{ed} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.66}{2019/02/05}{\pkg{ed}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{ed}[2012/01/29]
+% \end{macrocode}
+%
+% Bugs:
+% \begin{enumerate}
+% \item \env{todolist} fails with the \optn{hide} option, as does \cs{edexplanation}.
+% \item \cs{edstubURI} is actually \cs{edstuURI}.
+% \end{enumerate}
+%
+% \begin{macrocode}
+\RequirePackage{xcolor}
+
+\renewenvironment{edstub}[2][The following blue text]
+{%
+ \def\@test{#1}%
+ \begin{center}%
+ \huge%
+ \textcolor{red}{%
+ #1 is only a provisional stub\\\Large
+ the Office document
+ \ifx\ed@stubURI\@empty{#2}\else\href{\ed@stubURI}{#2}\fi\
+ contains more text\\which will be merged for the final document%
+ }%
+ \end{center}%
+ \BlockClass[color:blue]{edstub}%
+}
+{\endBlockClass}
+% \end{macrocode}
+%
+% \iffalse
+%</ed>
+% \fi
+%
+%
+%
+%
+% \iffalse
%<*ellipsis>
% \fi
@@ -40622,7 +41259,7 @@ name = \chemmacros_translate:n {scheme-name}
% \pkg{ellipsis} is emulated.
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{ellipsis}
+\LWR@ProvidesPackageDrop{ellipsis}[2004/09/28]
\newcommand{\ellipsisgap}{0.1em}
@@ -40655,7 +41292,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{embrac}
+\LWR@ProvidesPackagePass{embrac}[2017/07/04]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40715,7 +41352,7 @@ name = \chemmacros_translate:n {scheme-name}
%
% Discard all options for \pkg{lwarp-emptypage}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{emptypage}
+\LWR@ProvidesPackageDrop{emptypage}[2010/05/30]
% \end{macrocode}
% \iffalse
@@ -40744,7 +41381,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{endfloat}
+\LWR@ProvidesPackageDrop{endfloat}[2018/03/24]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40789,7 +41426,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{endheads}
+\LWR@ProvidesPackageDrop{endheads}[2017/04/06]
% \end{macrocode}
%
% \begin{macrocode}
@@ -40896,7 +41533,7 @@ name = \chemmacros_translate:n {scheme-name}
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{enumerate}
+\LWR@ProvidesPackagePass{enumerate}[2015/07/23]
% \end{macrocode}
%
%
@@ -40925,11 +41562,11 @@ name = \chemmacros_translate:n {scheme-name}
% \pkg{enumitem} is supported with minor adjustments.
%
% \changes{v0.34}{2017/07/27}{\pkg{enumitem}: Added, no longer required.}
-% \changes{v0.63}{2018/12/02}{\pkg{emumitem}: Nullifiy \cs{DrawEnumitemLabel}.}
+% \changes{v0.63}{2018/12/02}{\pkg{emumitem}: v3.6: Nullifiy \cs{DrawEnumitemLabel}.}
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{enumitem}
+\LWR@ProvidesPackagePass{enumitem}[2018/11/30]
% \end{macrocode}
%
%
@@ -40993,7 +41630,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{epigraph}
+\LWR@ProvidesPackageDrop{epigraph}[2009/09/02]
% \end{macrocode}
% \begin{macrocode}
@@ -41128,7 +41765,7 @@ name = \chemmacros_translate:n {scheme-name}
% \section{epstopdf}
%
% \DescribePackage{epstopdf}
-% Previous versions of \pkg{lwarp} had a nullfied verison, but
+% Previous versions of \pkg{lwarp} had a nullfied version, but
% now \pkg{epstopdf-base} is supported.
% \pkg{lwarp-epstopdf} becomes a placeholder to overwrite
% previous versions.
@@ -41331,7 +41968,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{eso-pic}
+\LWR@ProvidesPackageDrop{eso-pic}[2018/04/12]
% \end{macrocode}
% \begin{macrocode}
@@ -41382,7 +42019,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{everypage}
+\LWR@ProvidesPackageDrop{everypage}[2007/06/20]
% \end{macrocode}
% \begin{macrocode}
@@ -41415,7 +42052,7 @@ name = \chemmacros_translate:n {scheme-name}
%
% Discard all options for \pkg{lwarp-everyshi}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{everyshi}
+\LWR@ProvidesPackageDrop{everyshi}[2001/05/15]
% \end{macrocode}
%
% \begin{macrocode}
@@ -41444,12 +42081,13 @@ name = \chemmacros_translate:n {scheme-name}
% \pkg{extramarks} is emulated.
%
% \changes{v0.20}{2017/01/11}{\pkg{extramarks}: Added.}
+% \changes{v0.66}{2019/02/02}{\pkg{extramarks}: Updated to v3.10.}
%
% \codehtml
%
% Discard all options for \pkg{lwarp-extramarks}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{extramarks}
+\LWR@ProvidesPackageDrop{extramarks}[2019/01/31]
% \end{macrocode}
% \begin{macrocode}
@@ -41462,8 +42100,11 @@ name = \chemmacros_translate:n {scheme-name}
\newcommand*{\lastxmark}{}
\newcommand*{\topxmark}{}
\newcommand*{\topleftxmark}{}
+\newcommand*{\toprightxmark}{}
\newcommand*{\firstleftmark}{}
\newcommand*{\lastrightmark}{}
+\newcommand*{\firstrightmark}{}
+\newcommand*{\lastleftmark}{}
% \end{macrocode}
% \iffalse
@@ -41498,7 +42139,7 @@ name = \chemmacros_translate:n {scheme-name}
% \changes{v0.52}{2018/03/29}{\pkg{fancyvrb}: Initial support for \cs{VerbatimFootnotes}.}
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{fancybox}
+\LWR@ProvidesPackagePass{fancybox}[2010/05/15]
% \end{macrocode}
%
% After the preamble is loaded, after any patches to \env{Verbatim}:
@@ -41540,13 +42181,14 @@ name = \chemmacros_translate:n {scheme-name}
\renewrobustcmd{\textsuperscript}[1]{\LWR@htmlspan{sup}{##1}}%
% \end{macrocode}
% Use paragraph tags if in a tabular data cell or a \env{lateximage}:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\ifthenelse{%
\boolean{LWR@doingstartpars} \AND%
\cnttest{\value{LWR@lateximagedepth}}{=}{0}%
}%
{}%
- {\LWR@htmltagc{\LWR@tagregularparagraph}}%
+ {\LWR@htmltagc{\LWR@tagregularparagraph}\LWR@orignewline}%
% \end{macrocode}
% Append the footnote to the list:
% \begin{macrocode}
@@ -41762,12 +42404,13 @@ name = \chemmacros_translate:n {scheme-name}
%
% \changes{v0.20}{2017/01/11}{\pkg{fancyhdr}: Added.}
% \changes{v0.33}{2017/06/18}{\pkg{fancyhdr}: Fix: Optional args for \cs{lhead}, etc.}
+% \changes{v0.66}{2019/02/02}{\pkg{fancyhdr}: Updated to v3.10.}
%
% \codehtml
%
% Discard all options for \pkg{lwarp-fancyhdr}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fancyhdr}
+\LWR@ProvidesPackageDrop{fancyhdr}[2019/01/31]
% \end{macrocode}
% \begin{macrocode}
@@ -41783,12 +42426,16 @@ name = \chemmacros_translate:n {scheme-name}
\newcommand*{\rfoot}[2][]{}
\newcommand*{\headrulewidth}{}
\newcommand*{\footrulewidth}{}
+\newcommand*{\headrule}{}
+\newcommand*{\footrule}{}
+\newlength{\headwidth}
\newcommand*{\fancyheadoffset}[2][]{}
\newcommand*{\fancyfootoffset}[2][]{}
\newcommand*{\fancyhfoffset}[2][]{}
\newcommand*{\iffloatpage}[2]{#2}
\newcommand*{\ifftopfloat}[2]{#2}
\newcommand*{\iffbotfloat}[2]{#2}
+\newcommand*{\iffootnote}[2]{#2}
% \end{macrocode}
% \iffalse
@@ -41815,7 +42462,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{fancyref}
+\LWR@ProvidesPackagePass{fancyref}[1999/02/03]
% \end{macrocode}
%
% To remove the \optn{margin} option, if \cs{fancyrefhook} is anything
@@ -41885,7 +42532,7 @@ name = \chemmacros_translate:n {scheme-name}
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fancytabs}
+\LWR@ProvidesPackageDrop{fancytabs}[2016/03/29]
% \end{macrocode}
%
% \begin{macrocode}
@@ -41937,7 +42584,7 @@ name = \chemmacros_translate:n {scheme-name}
% \begin{macrocode}
\RequirePackage{xcolor}% for \convertcolorspec
-\LWR@ProvidesPackagePass{fancyvrb}
+\LWR@ProvidesPackagePass{fancyvrb}[2008/02/07]
% \end{macrocode}
%
% Initial default patch for fancyvrb:
@@ -41986,13 +42633,14 @@ name = \chemmacros_translate:n {scheme-name}
\renewrobustcmd{\textsuperscript}[1]{\LWR@htmlspan{sup}{##1}}%
% \end{macrocode}
% Use paragraph tags if in a tabular data cell or a \env{lateximage}:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\ifthenelse{%
\boolean{LWR@doingstartpars} \AND%
\cnttest{\value{LWR@lateximagedepth}}{=}{0}%
}%
{}%
- {\LWR@htmltagc{\LWR@tagregularparagraph}}%
+ {\LWR@htmltagc{\LWR@tagregularparagraph}\LWR@orignewline}%
% \end{macrocode}
% Append the footnote to the list:
% \begin{macrocode}
@@ -42287,7 +42935,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% Discard all options for \pkg{lwarp-figcaps}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{figcaps}
+\LWR@ProvidesPackageDrop{figcaps}[1999/02/23]
% \end{macrocode}
%
% \begin{macrocode}
@@ -42326,7 +42974,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{figsize}
+\LWR@ProvidesPackageDrop{figsize}[2002/03/18]
% \end{macrocode}
%
% Emulates a virtual 6\texttimes9 inch textsize.
@@ -42366,7 +43014,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fix2col}
+\LWR@ProvidesPackageDrop{fix2col}[2015/11/13]
% \end{macrocode}
%
%
@@ -42398,7 +43046,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{fixme}
+\LWR@ProvidesPackagePass{fixme}[2017/03/05]
% \end{macrocode}
%
% Restore \pkg{lwarp}'s version of \cs{@wrindex},
@@ -42478,7 +43126,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{fixmetodonotes}
+\LWR@ProvidesPackagePass{fixmetodonotes}[2013/04/28]
% \end{macrocode}
% \begin{macrocode}
@@ -42525,7 +43173,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{flafter}
+\LWR@ProvidesPackageDrop{flafter}[2018/01/08]
\providecommand\fl@trace[1]{}
% \end{macrocode}
%
@@ -42710,7 +43358,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% Discard all options for \pkg{lwarp-floatflt}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{floatflt}
+\LWR@ProvidesPackageDrop{floatflt}[1997/07/16]
% \end{macrocode}
%
%
@@ -42781,7 +43429,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% Discard all options for \pkg{lwarp-floatpag}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{floatpag}
+\LWR@ProvidesPackageDrop{floatpag}[2012/05/29]
% \end{macrocode}
%
% \begin{macrocode}
@@ -42814,7 +43462,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{floatrow}
+\LWR@ProvidesPackageDrop{floatrow}[2008/08/02]
% \end{macrocode}
% \changes{v0.14}{2016/03/31}{\pkg{floatrow}: Added.}
@@ -43154,7 +43802,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fltrace}
+\LWR@ProvidesPackageDrop{fltrace}[2018/01/08]
% \end{macrocode}
%
% \begin{macrocode}
@@ -43189,7 +43837,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% Discard all options for \pkg{lwarp-flushend}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{flushend}
+\LWR@ProvidesPackageDrop{flushend}[2017/03/27]
% \end{macrocode}
%
% \begin{macrocode}
@@ -43225,7 +43873,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fnbreak}
+\LWR@ProvidesPackageDrop{fnbreak}[2012/01/01]
% \end{macrocode}
%
% \begin{macrocode}
@@ -43262,7 +43910,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% Discard all options for \pkg{lwarp-fncychap}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fncychap}
+\LWR@ProvidesPackageDrop{fncychap}[2007/07/30]
% \end{macrocode}
% \begin{macrocode}
@@ -43317,7 +43965,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fnlineno}
+\LWR@ProvidesPackageDrop{fnlineno}[2011/01/07]
% \end{macrocode}
%
% \iffalse
@@ -43344,7 +43992,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fnpos}
+\LWR@ProvidesPackageDrop{fnpos}[1999/07/14]
% \end{macrocode}
%
% \begin{macrocode}
@@ -43384,7 +44032,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{fontenc}
+\LWR@ProvidesPackagePass{fontenc}[2017/04/05]
% \end{macrocode}
%
% \iffalse
@@ -43413,7 +44061,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \pkg{lwarp} incidentally happens to emulate the \optn{stable} option.
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{footmisc}
+\LWR@ProvidesPackageDrop{footmisc}[2011/06/06]
% \end{macrocode}
%
% Some nullified commands:
@@ -43487,7 +44135,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{footnote}
+\LWR@ProvidesPackagePass{footnote}[1997/01/28]
% \end{macrocode}
%
% Removed print-version formatting:
@@ -43565,7 +44213,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% Discard all options for \pkg{lwarp-footnotehyper}:
% \begin{macrocode}
\RequirePackage{footnote}
-\LWR@ProvidesPackageDrop{footnotehyper}
+\LWR@ProvidesPackageDrop{footnotehyper}[2018/01/23]
% \end{macrocode}
%
%
@@ -43594,7 +44242,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{footnoterange}
+\LWR@ProvidesPackagePass{footnoterange}[2012/02/17]
% \end{macrocode}
%
% \begin{macrocode}
@@ -43660,7 +44308,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{forest}
+\LWR@ProvidesPackagePass{forest}[2017/07/14]
% \end{macrocode}
% \begin{macrocode}
@@ -43710,7 +44358,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% Accept all options for \pkg{lwarp-framed}:
% \begin{macrocode}
-\LWR@ProvidesPackagePass{framed}
+\LWR@ProvidesPackagePass{framed}[2011/10/22]
\RequirePackage{xcolor}% for \convertcolorspec
% \end{macrocode}
@@ -43866,7 +44514,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% Discard all options for \pkg{lwarp-ftnright}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{ftnright}
+\LWR@ProvidesPackageDrop{ftnright}[2014/10/28]
% \end{macrocode}
% \iffalse
@@ -43956,7 +44604,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{fullwidth}
+\LWR@ProvidesPackageDrop{fullwidth}[2011/11/18]
% \end{macrocode}
%
% \begin{macrocode}
@@ -44028,7 +44676,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{gentombow}
+\LWR@ProvidesPackageDrop{gentombow}[2018/05/17]
% \end{macrocode}
%
% \begin{macrocode}
@@ -44067,7 +44715,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% Discard all options for \pkg{lwarp-geometry}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{geometry}
+\LWR@ProvidesPackageDrop{geometry}[2018/04/16]
% \end{macrocode}
%
% \begin{macrocode}
@@ -44106,12 +44754,14 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% \begin{macrocode}
\PassOptionsToPackage{xindy}{glossaries}
-\LWR@ProvidesPackagePass{glossaries}
+
+\LWR@ProvidesPackagePass{glossaries}[2018/07/23]
+
\setupglossaries{nonumberlist}
\setglossarystyle{index}
% \end{macrocode}
%
-% Patched to fix \acro{TOC} pointing to the previous page:
+% Patched to fix \TOC\ pointing to the previous page:
% \begin{macrocode}
\renewcommand*{\@p@glossarysection}[2]{%
\glsclearpage
@@ -44122,11 +44772,11 @@ solid \LWR@origpound\LWR@tempcolor ; %
}%
{%
% \end{macrocode}
-% In the original, the \acro{TOC} entry was made before the section,
+% In the original, the \TOC\ entry was made before the section,
% thus linking to the phantomsection in the printed version, but for
% \HTML, this caused the link to point to the page before the glossaries,
% which could be a different \HTML\ file.
-% Here, the \acro{TOC} entry is made after the section is created:
+% Here, the \TOC\ entry is made after the section is created:
% \begin{macrocode}
\csname\@@glossarysec\endcsname*{#2}%
\@gls@toc{#1}{\@@glossarysec}% Moved after the previous line.
@@ -44198,7 +44848,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{gmeometric}
+\LWR@ProvidesPackageDrop{gmeometric}[2008/11/22]
% \end{macrocode}
%
% \iffalse
@@ -44228,7 +44878,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{graphics}
+\LWR@ProvidesPackagePass{graphics}[2017/06/25]
% \end{macrocode}
@@ -44562,6 +45212,7 @@ solid \LWR@origpound\LWR@tempcolor ; %
% \changes{v0.45}{2017/12/29}{Improved URLs with underscores.}
% \changes{v0.59}{2018/09/07}{Now works with \filenm{.pdf} and \filenm{.eps}
% filename extensions.}
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
\NewDocumentCommand{\LWR@includegraphicsb}{s o o m}
{%
@@ -44708,14 +45359,15 @@ solid \LWR@origpound\LWR@tempcolor ; %
{% start of href
\LWR@traceinfo{LWR@includegraphicsb: about to LWR@htmltag}%
\LWR@htmltag{% start of image tags
-img src="%
+img\LWR@indentHTML%
+src="%
% \end{macrocode}
% \changes{v0.62}{2018/10/27}{Fix: Filename expansion.}
% \begin{macrocode}
\detokenize\expandafter{\LWR@parsedfilename}%
% \end{macrocode}
% \begin{macrocode}
-" \LWR@orignewline%
+"\LWR@indentHTML%
% \end{macrocode}
% Only include a style tag if a width, height, angle, or scale was given:
% \begin{macrocode}
@@ -44728,43 +45380,42 @@ img src="%
\NOT\equal{\LWR@igyscale}{1}
}%
{%
- \LWR@origtilde{} style="%
+ style="\LWR@indentHTML
\ifthenelse{\NOT\equal{\LWR@igwidthstyle}{}}%
- {\LWR@igwidthstyle; }{}%
+ {\LWR@igwidthstyle;\LWR@indentHTML}{}%
\ifthenelse{\NOT\equal{\LWR@igheightstyle}{}}%
- {\LWR@igheightstyle; }{}%
+ {\LWR@igheightstyle;\LWR@indentHTML}{}%
\ifthenelse{\NOT\equal{\LWR@igorigin}{}}%
{%
- \LWR@origtilde{} transform-origin: \LWR@originnames{\LWR@igorigin}; %
- \LWR@orignewline%
+ transform-origin: \LWR@originnames{\LWR@igorigin};\LWR@indentHTML%
}{}%
\ifthenelse{\NOT\equal{\LWR@igangle}{}}%
{%
- \LWR@rotstyle{-ms-}{\LWR@igangle} % extra space
- \LWR@rotstyle{-webkit-}{\LWR@igangle} % extra space
- \LWR@rotstyle{}{\LWR@igangle }%
+ \LWR@rotstyle{-ms-}{\LWR@igangle}\LWR@indentHTML
+ \LWR@rotstyle{-webkit-}{\LWR@igangle}\LWR@indentHTML
+ \LWR@rotstyle{}{\LWR@igangle }\LWR@indentHTML
}{}%
\ifthenelse{%
\NOT\equal{\LWR@igxscale}{1}\OR%
\NOT\equal{\LWR@igyscale}{1}%
}%
{%
- \LWR@scalestyle{-ms-}{\LWR@igxscale}{\LWR@igyscale} % extra space
- \LWR@scalestyle{-webkit-}{\LWR@igxscale}{\LWR@igyscale} % extra space
- \LWR@scalestyle{}{\LWR@igxscale}{\LWR@igyscale}%
- }{} % extra space
+ \LWR@scalestyle{-ms-}{\LWR@igxscale}{\LWR@igyscale}\LWR@indentHTML
+ \LWR@scalestyle{-webkit-}{\LWR@igxscale}{\LWR@igyscale}\LWR@indentHTML
+ \LWR@scalestyle{}{\LWR@igxscale}{\LWR@igyscale}\LWR@indentHTML
+ }{}%
%
\ifthenelse{\NOT\equal{\LWR@opacity}{1}}%
- {opacity:\LWR@opacity; }{}%
+ {opacity:\LWR@opacity;\LWR@indentHTML}{}%
%
- " \LWR@orignewline%
+ "\LWR@indentHTML%
}{}%
% \end{macrocode}
% Set the class and alt tag:
% \changes{v0.65}{2018/12/19}{\pkg{graphics}: Added \cs{includegraphics} \attribute{alt} key.}
% \begin{macrocode}
-\LWR@origtilde{} class="\LWR@igclass" \LWR@orignewline%
-\LWR@origtilde{} alt="\LWR@igalt" \LWR@orignewline%
+class="\LWR@igclass"\LWR@indentHTML%
+alt="\LWR@igalt" \LWR@orignewline%
}% end of image tags
}% end of href
% \end{macrocode}
@@ -44878,20 +45529,24 @@ img src="%
\setkeys{krotbox}{#1}%
% \end{macrocode}
% Select |inline-block| so that \HTML\ will transform this span:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
-\LWR@htmltagc{span style="display: inline-block; %
+\LWR@htmltagc{%
+ span\LWR@indentHTML
+ style="\LWR@indentHTML
+ display: inline-block;\LWR@indentHTML
% \end{macrocode}
% If an origin was given, translate and print the origin information:
% \begin{macrocode}
-\ifthenelse{\NOT\equal{\LWR@rotboxorigin}{}}%
-{transform-origin: \LWR@originnames{\LWR@rotboxorigin};\LWR@origtilde}{}%
+ \ifthenelse{\NOT\equal{\LWR@rotboxorigin}{}}%
+ {transform-origin: \LWR@originnames{\LWR@rotboxorigin};\LWR@indentHTML}{}%
% \end{macrocode}
% Print the rotation information:
% \begin{macrocode}
-\LWR@rotstyle{-ms-}{#2} % extra space
-\LWR@rotstyle{-webkit-}{#2} % extra space
-\LWR@rotstyle{}{#2} % extra space
-"}\LWR@orignewline%
+ \LWR@rotstyle{-ms-}{#2}\LWR@indentHTML
+ \LWR@rotstyle{-webkit-}{#2}\LWR@indentHTML
+ \LWR@rotstyle{}{#2}"\LWR@orignewline%
+}\LWR@orignewline%
% \end{macrocode}
% Print the text to be rotated:
% \begin{macrocode}
@@ -44925,15 +45580,20 @@ img src="%
\NewDocumentCommand{\LWR@HTML@scalebox}{m o m}{%
% \end{macrocode}
% Select |inline-block| so that \HTML\ will transform this span:
+% \changes{v0.66}{2019/02/02}{Improved \HTML\ formatting.}
% \begin{macrocode}
-\LWR@htmltagc{span style="display: inline-block; %
+\LWR@htmltagc{%
+ span\LWR@indentHTML
+ style="\LWR@indentHTML
+ display: inline-block;\LWR@indentHTML
% \end{macrocode}
% Print the scaling information:
% \begin{macrocode}
-\LWR@scalestyle{-ms-}{#1}{\IfNoValueTF{#2}{#1}{#2}} % extra space
-\LWR@scalestyle{-webkit-}{#1}{\IfNoValueTF{#2}{#1}{#2}} % extra space
-\LWR@scalestyle{}{#1}{\IfNoValueTF{#2}{#1}{#2}} % extra space
-"}%
+ \LWR@scalestyle{-ms-}{#1}{\IfNoValueTF{#2}{#1}{#2}}\LWR@indentHTML
+ \LWR@scalestyle{-webkit-}{#1}{\IfNoValueTF{#2}{#1}{#2}}\LWR@indentHTML
+ \LWR@scalestyle{}{#1}{\IfNoValueTF{#2}{#1}{#2}}
+ "\LWR@orignewline
+}\LWR@orignewline%
% \end{macrocode}
% Print the text to be scaled:
% \begin{macrocode}
@@ -45054,7 +45714,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{grffile}
+\LWR@ProvidesPackagePass{grffile}[2017/06/30]
% \end{macrocode}
%
% \iffalse
@@ -45081,7 +45741,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{grid}
+\LWR@ProvidesPackageDrop{grid}[2009/06/16]
% \end{macrocode}
%
% \begin{macrocode}
@@ -45190,7 +45850,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{hang}
+\LWR@ProvidesPackageDrop{hang}[2017/02/18]
% \end{macrocode}
%
% \begin{macrocode}
@@ -45284,7 +45944,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{hanging}
+\LWR@ProvidesPackageDrop{hanging}[2009/09/02]
% \end{macrocode}
%
%
@@ -45358,7 +46018,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{hypcap}
+\LWR@ProvidesPackageDrop{hypcap}[2016/05/16]
% \end{macrocode}
%
% \begin{macrocode}
@@ -45392,7 +46052,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{hypdestopt}
+\LWR@ProvidesPackageDrop{hypdestopt}[2016/05/21]
% \end{macrocode}
%
% \iffalse
@@ -45418,7 +46078,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{hypernat}
+\LWR@ProvidesPackageDrop{hypernat}[2001/07/09]
% \end{macrocode}
%
% \iffalse
@@ -45466,8 +46126,8 @@ img src="%
% Insert an image with alt text:
%
% \changes{v0.43}{2017/10/31}{\pkg{hyperref}: Made robust.}
-% \changes{v0.45}{2017/12/29}{\pkg{hyperref}: Fix: Underscore in \acro{URL}.}
-% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.45}{2017/12/29}{\pkg{hyperref}: Fix: Underscore in \URL.}
+% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \begin{macrocode}
\NewDocumentCommand{\LWR@hyperimageb}{m +m}{%
\LWR@ensuredoingapar%
@@ -45497,7 +46157,7 @@ img src="%
%
% Creates an \HTML\ anchor to |category.name| with the given text.
%
-% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \begin{macrocode}
\NewDocumentCommand{\LWR@hyperdefb}{m m +m}{%
\LWR@ensuredoingapar%
@@ -45522,8 +46182,8 @@ img src="%
%
% \begin{noindmacro}{\LWR@hyperrefb} \marg{1: URL} \marg{2: category}
% \marg{3: name} \marg{4: text}
-% \changes{v0.45}{2018/01/02}{\pkg{hyperref}: Fix: Underscore in \acro{URL}.}
-% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.45}{2018/01/02}{\pkg{hyperref}: Fix: Underscore in \URL.}
+% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \changes{v0.57}{2018/06/05}{\pkg{subcaption}: Fix: \cs{subref}.}
%
% Creates an \HTML\ link to |URL#category.name| with the given text.
@@ -45603,7 +46263,7 @@ img src="%
%
% Creates an anchor to |name| with the given text.
%
-% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \begin{macrocode}
\NewDocumentCommand{\LWR@hypertargetb}{m +m}{%
\label{LWR-ht-#1}%
@@ -45631,7 +46291,7 @@ img src="%
%
% Declared because also defined by \pkg{memoir}.
%
-% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \acro{URL}.}
+% \changes{v0.52}{2018/03/26}{\pkg{hyperref}: Fix: \progcode{\#}, \progcode{\%}, \progcode{\&}, \progcode{\~}, \progcode{\_} in \URL.}
% \changes{v0.54}{2018/04/19}{\pkg{hyperref}: Fix: \cs{ref} in \cs{hyperref} and \cs{hyperlink} caused nested link.}
% \changes{v0.54}{2018/04/19}{\pkg{hyperref}: Fix: \cs{hyperref} and \cs{hyperlink} with special chars in text.}
% \begin{macrocode}
@@ -45892,7 +46552,7 @@ img src="%
%
% Discard all options for \pkg{lwarp-hyperxmp}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{hyperxmp}
+\LWR@ProvidesPackageDrop{hyperxmp}[2018/11/27]
% \end{macrocode}
%
%
@@ -45921,7 +46581,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{hyphenat}
+\LWR@ProvidesPackagePass{hyphenat}[2009/09/02]
% \end{macrocode}
%
% \begin{macrocode}
@@ -45981,7 +46641,7 @@ img src="%
%
% Discard all options for \pkg{lwarp-idxlayout}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{idxlayout}
+\LWR@ProvidesPackageDrop{idxlayout}[2012/03/30]
% \end{macrocode}
%
% \begin{macrocode}
@@ -46032,7 +46692,7 @@ img src="%
%
% Discard all options for \pkg{lwarp-ifoddpage}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{ifoddpage}
+\LWR@ProvidesPackageDrop{ifoddpage}[2016/04/23]
% \end{macrocode}
% \begin{macrocode}
@@ -46081,7 +46741,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{imakeidx}
+\LWR@ProvidesPackagePass{imakeidx}[2016/10/15]
% \end{macrocode}
%
% Use the new \HTML\ suffix:
@@ -46328,34 +46988,6 @@ img src="%
%
%
% \iffalse
-%<*indentfirst>
-% \fi
-
-% \part{lwarp-indentfirst.sty}
-
-% \section{indentfirst}
-%
-% \DescribePackage{indentfirst}
-% \pkg{indentfirst} is ignored.
-%
-% \changes{v0.22}{2017/03/01}{\pkg{indentfirst}: Added.}
-%
-% Discard all options for \pkg{lwarp-indentfirst}:
-
-% \codehtml
-%
-% \begin{macrocode}
-\LWR@ProvidesPackageDrop{indentfirst}
-% \end{macrocode}
-
-% \iffalse
-%</indentfirst>
-% \fi
-%
-%
-%
-%
-% \iffalse
%<*index>
% \fi
%
@@ -46374,7 +47006,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{index}
+\LWR@ProvidesPackagePass{index}[2004/01/20]
% \end{macrocode}
%
% Use \cs{theLWR@autoindex} instead of \cs{thepage}.
@@ -46476,7 +47108,7 @@ img src="%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{intopdf}
+\LWR@ProvidesPackageDrop{intopdf}[2018/03/15]
% \end{macrocode}
%
% \begin{macrocode}
@@ -46513,7 +47145,7 @@ img src="%
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{keyfloat}
+\LWR@ProvidesPackagePass{keyfloat}[2017/05/12]
% \end{macrocode}
% After \pkg{keyfloat} has loaded:
@@ -46743,7 +47375,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
% Discard all options for \pkg{lwarp-layout}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{layout}
+\LWR@ProvidesPackageDrop{layout}[2014/10/28]
% \end{macrocode}
% \begin{macrocode}
@@ -46806,7 +47438,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
% Discard all options for \pkg{lwarp-letterspace}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{letterspace}
+\LWR@ProvidesPackageDrop{letterspace}[2018/01/14]
% \end{macrocode}
% \begin{macrocode}
@@ -46843,7 +47475,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
% Discard all options for \pkg{lwarp-lettrine}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{lettrine}
+\LWR@ProvidesPackageDrop{lettrine}[2018-08-28]
% \end{macrocode}
%
% The initial letter is in a \element{span} of class |lettrine|, and the following
@@ -46905,7 +47537,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{lineno}
+\LWR@ProvidesPackageDrop{lineno}[2005/11/02]
% \end{macrocode}
%
% \begin{macrocode}
@@ -47053,7 +47685,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \begin{macrocode}
% \LWR@ProvidesPackageDrop{lips}
\PackageInfo{lwarp}{Using the lwarp version of package `lips'.}%
-\ProvidesPackage{lwarp-lips}
+\ProvidesPackage{lwarp-lips}[2001/08/31]
\NewDocumentCommand{\Lips}{}{\textellipsis}
@@ -47104,7 +47736,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{listings}
+\LWR@ProvidesPackagePass{listings}[2015/06/04]
% \end{macrocode}
% ^^A For passing optional arguments to an environment, see:
@@ -47396,7 +48028,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{lltjext}
+\LWR@ProvidesPackagePass{lltjext}[2018/10/07]
% \end{macrocode}
%
% \begin{macrocode}
@@ -47435,7 +48067,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
}
\RenewDocumentCommand{\pbox}{d<> O{0pt} O{c} m}{%
-\booltrue{LWR@minipagefullwidth}%
+\global\booltrue{LWR@minipagefullwidth}%
\parbox{#2}{#4}%
}
% \end{macrocode}
@@ -47464,7 +48096,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{longtable}
+\LWR@ProvidesPackageDrop{longtable}[2014/10/28]
% \end{macrocode}
%
% \limitslongtable
@@ -47565,7 +48197,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
% Discard all options for \pkg{lwarp-lscape}.
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{lscape}
+\LWR@ProvidesPackageDrop{lscape}[2000/10/22]
% \end{macrocode}
% \begin{macrocode}
@@ -47603,7 +48235,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \begin{macrocode}
\RequirePackage{tabularx}
-\LWR@ProvidesPackageDrop{ltablex}
+\LWR@ProvidesPackageDrop{ltablex}[2014/08/13]
\DeclareDocumentEnvironment{tabularx}{m o m}
{\longtable{#3}}
@@ -47645,7 +48277,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{ltcaption}
+\LWR@ProvidesPackageDrop{ltcaption}[2018/08/26]
% \end{macrocode}
%
@@ -47685,7 +48317,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{ltxgrid}
+\LWR@ProvidesPackageDrop{ltxgrid}[2010/07/25]
% \end{macrocode}
%
% \begin{macrocode}
@@ -47724,7 +48356,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{ltxtable}
+\LWR@ProvidesPackageDrop{ltxtable}[1995/12/11]
% \end{macrocode}
%
% \begin{noindmacro}{\LTXtable} \marg{width} \marg{file}
@@ -47758,7 +48390,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{lua-check-hyphen}
+\LWR@ProvidesPackageDrop{lua-check-hyphen}[2018/04/19]
% \end{macrocode}
%
% \begin{macrocode}
@@ -47815,7 +48447,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{luacolor}
+\LWR@ProvidesPackageDrop{luacolor}[2016/05/16]
% \end{macrocode}
%
% \begin{macrocode}
@@ -47850,7 +48482,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{luatodonotes}
+\LWR@ProvidesPackagePass{luatodonotes}[2017/09/30]
% \end{macrocode}
%
%
@@ -47973,7 +48605,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{magaz}
+\LWR@ProvidesPackageDrop{magaz}[2011/11/24]
% \end{macrocode}
%
% \begin{macrocode}
@@ -48017,7 +48649,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{makeidx}
+\LWR@ProvidesPackagePass{makeidx}[2014/09/29]
% \end{macrocode}
%
% \cs{@wrindex} is redefined \cs{AtBeginDocument} by the \pkg{lwarp} core.
@@ -48090,7 +48722,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
% Discard all options for \pkg{lwarp-marginfit}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{marginfit}
+\LWR@ProvidesPackageDrop{marginfit}[2018/06/08]
% \end{macrocode}
%
% \iffalse
@@ -48119,7 +48751,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
% Discard all options for \pkg{lwarp-marginfix}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{marginfix}
+\LWR@ProvidesPackageDrop{marginfix}[2013/09/08]
% \end{macrocode}
%
% \begin{macrocode}
@@ -48164,7 +48796,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
% Discard all options for \pkg{lwarp-marginnote}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{marginnote}
+\LWR@ProvidesPackageDrop{marginnote}[2018/08/09]
% \end{macrocode}
%
% \changes{v0.57}{2018/06/05}{\pkg{marginnote}: Fix: Long optional argument.}
@@ -48208,7 +48840,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
%
% Discard all options for \pkg{lwarp-mcaption}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{mcaption}
+\LWR@ProvidesPackageDrop{mcaption}[2009/03/13]
% \end{macrocode}
% \begin{macrocode}
@@ -48257,7 +48889,7 @@ width=\KFLT@imagewidth,height=\KFLT@h]{\KFLT@i}%
% \begin{macrocode}
\RequirePackage{xcolor}% for \convertcolorspec
-\LWR@ProvidesPackageDrop{mdframed}
+\LWR@ProvidesPackageDrop{mdframed}[2013/07/01]
% \end{macrocode}
%
%
@@ -48833,7 +49465,7 @@ background:
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{memhfixc}
+\LWR@ProvidesPackageDrop{memhfixc}[2013/05/30]
% \end{macrocode}
%
% \iffalse
@@ -48862,7 +49494,7 @@ background:
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{metalogo}
+\LWR@ProvidesPackageDrop{metalogo}[2010/05/29]
% \end{macrocode}
%
% \begin{macrocode}
@@ -48915,8 +49547,8 @@ background:
% When producing \HTML\ output, \pkg{lwarp} does not support
% \trouble[nested math]{mhchem=\pkg{mhchem}>nested dollar signs}
% the use of nested dollar signs in \pkg{mhchem} expressions.
-% \gindex{array>\pkg{mhchem}}
-% \gindex{math>\pkg{mhchem}}
+% \gindex{array>mhchem=\pkg{mhchem}}
+% \gindex{math>mhchem=\pkg{mhchem}}
%
% For some examples from the \pkg{mhchem} manual, change as follows:
% \begin{Verbatim}[gobble=2,frame=leftline, xleftmargin=.5in,obeytabs,tabsize=4]
@@ -48941,7 +49573,7 @@ background:
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{mhchem}
+\LWR@ProvidesPackagePass{mhchem}[2018/06/22]
% \end{macrocode}
% The original definition of \cs{ce}:
@@ -49054,7 +49686,7 @@ background:
%
% Discard all options for \pkg{lwarp-microtype}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{microtype}
+\LWR@ProvidesPackageDrop{microtype}[2018/01/14]
% \end{macrocode}
% \begin{macrocode}
@@ -49115,7 +49747,7 @@ background:
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{midfloat}
+\LWR@ProvidesPackageDrop{midfloat}[2012/05/29]
% \end{macrocode}
%
% \begin{macrocode}
@@ -49146,7 +49778,7 @@ background:
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{midpage}
+\LWR@ProvidesPackageDrop{midpage}[2009/09/03]
% \end{macrocode}
%
% \changes{v0.47}{2018/01/26}{\pkg{midpage}: Fix: Line wrap at \HTML\ hyphen.}
@@ -49181,7 +49813,7 @@ background:
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{morefloats}
+\LWR@ProvidesPackageDrop{morefloats}[2015/07/22]
% \end{macrocode}
%
% \iffalse
@@ -49214,7 +49846,7 @@ background:
% \end{macrocode}
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{moreverb}
+\LWR@ProvidesPackagePass{moreverb}[2008/06/03]
% \end{macrocode}
%
% \begin{macrocode}
@@ -49325,7 +49957,7 @@ background:
%
% Discard all options for \pkg{lwarp-mparhack}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{mparhack}
+\LWR@ProvidesPackageDrop{mparhack}[2005/04/17]
% \end{macrocode}
%
% \iffalse
@@ -49352,7 +49984,7 @@ background:
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{multicol}[2015/09/13]
+\LWR@ProvidesPackageDrop{multicol}[2018/12/27]
% \end{macrocode}
% Multicols are converted into a 1--3 column display, browser-supported.
@@ -49372,12 +50004,22 @@ background:
% \HTML\ \element{div} class to contain everything:
% \begin{macrocode}
{
-\LWR@forcenewpage
-\BlockClass{multicols}
+ \LWR@forcenewpage
+ \BlockClass{multicols}
% \end{macrocode}
% Optional \HTML\ \element{div} class for the heading:
% \begin{macrocode}
-\IfValueT{#3}{\begin{BlockClass}{multicolsheading}#3\end{BlockClass}}}
+ \IfValueT{#3}{\begin{BlockClass}{multicolsheading}#3\end{BlockClass}}%
+% \end{macrocode}
+% Change \cs{linewidth} to compensate for expected size:
+% \begin{macrocode}
+ \setlength{\linewidth}{\linewidth/#2}
+% \end{macrocode}
+% Locally force any minipages to be fullwidth:
+% \changes{v0.66}{2018/12/31}{Fix: Minipages inside \env{multicols}.}
+% \begin{macrocode}
+ \booltrue{LWR@forceminipagefullwidth}
+}
% \end{macrocode}
% When done with the environment, close the \element{div}:
% \begin{macrocode}
@@ -49437,17 +50079,19 @@ background:
% \pkg{multicolrule} is ignored.
%
% \changes{v0.65}{2018/12/21}{\pkg{multicolrule}: Added.}
+% \changes{v0.66}{2019/01/04}{\pkg{multicolrule}: Updated for v1.2.}
%
% \codehtml
%
% \begin{macrocode}
\RequirePackage{multicol}
-\LWR@ProvidesPackageDrop{multicolrule}
+\LWR@ProvidesPackageDrop{multicolrule}[2019/01/01]
% \end{macrocode}
%
% \begin{macrocode}
\newcommand*{\SetMCRule}[1]{}
+\NewDocumentCommand{\DeclareMCRulePattern}{m m}{}
% \end{macrocode}
%
% \iffalse
@@ -49487,7 +50131,7 @@ background:
% \end{macrocode}
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{multirow}
+\LWR@ProvidesPackagePass{multirow}[2018/08/03]
% \end{macrocode}
%
%
@@ -49664,7 +50308,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{multitoc}
+\LWR@ProvidesPackageDrop{multitoc}[1999/06/08]
% \end{macrocode}
%
% \begin{macrocode}
@@ -49795,6 +50439,102 @@ class="td%
%
%
% \iffalse
+%<*nameauth>
+% \fi
+%
+% \part{lwarp-nameauth.sty}
+%
+% \section{nameauth}
+%
+% \credits{Charles P. Schaum}
+%
+% \DescribePackage{nameauth}
+% \pkg{nameauth} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.66}{2019/02/05}{\pkg{nameauth}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{nameauth}[2017/03/22]
+% \end{macrocode}
+%
+% \pkg{lwarp} formatting is inserted in the following.
+% \begin{macrocode}
+\renewcommand*\@nameauth@Hook[1]
+{%
+ \if@nameauth@Lock
+ \@nameauth@InHooktrue%
+ \protected@edef\test{#1}%
+ \expandafter\@nameauth@TestDot\expandafter{\test}%
+ \if@nameauth@InAKA
+ \if@nameauth@AlwaysFormat
+ \@nameauth@FirstFormattrue%
+ \else
+ \unless\if@nameauth@AKAFormat
+ \@nameauth@FirstFormatfalse\fi
+ \fi
+ \if@nameauth@MainFormat
+ \if@nameauth@FirstFormat
+ \bgroup\NamesFormat{%
+ \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
+ }\egroup%
+ \else
+ \bgroup\MainNameHook{%
+ \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
+ }\egroup%
+ \fi
+ \else
+ \if@nameauth@FirstFormat
+ \bgroup\FrontNamesFormat{%
+ \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
+ }\egroup%
+ \else
+ \bgroup\FrontNameHook{%
+ \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
+ }\egroup%
+ \fi
+ \fi
+ \else
+ \if@nameauth@AlwaysFormat
+ \@nameauth@FirstFormattrue%
+ \fi
+ \if@nameauth@MainFormat
+ \if@nameauth@FirstFormat
+ \bgroup\NamesFormat{%
+ \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
+ }\egroup%
+ \else
+ \bgroup\MainNameHook{%
+ \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
+ }\egroup%
+ \fi
+ \else
+ \if@nameauth@FirstFormat
+ \bgroup\FrontNamesFormat{%
+ \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
+ }\egroup%
+ \else
+ \bgroup\FrontNameHook{%
+ \LWR@textcurrentcolor{\LWR@textcurrentfont{#1}}% lwarp
+ }\egroup%
+ \fi
+ \fi
+ \fi
+ \@nameauth@FirstFormatfalse%
+ \@nameauth@InHookfalse%
+ \fi
+}
+% \end{macrocode}
+%
+% \iffalse
+%</nameauth>
+% \fi
+%
+%
+%
+%
+% \iffalse
%<*nameref>
% \fi
@@ -49842,7 +50582,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{natbib}
+\LWR@ProvidesPackagePass{natbib}[2010/09/13]
% \end{macrocode}
%
% Replace math $<$ and $>$ with \cs{textless} and \cs{textgreater}:
@@ -49899,7 +50639,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{nccfancyhdr}
+\LWR@ProvidesPackageDrop{nccfancyhdr}[2004/12/07]
% \end{macrocode}
%
% \begin{macrocode}
@@ -49964,7 +50704,7 @@ class="td%
%
% Discard all options for \pkg{lwarp-needspace}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{needspace}
+\LWR@ProvidesPackageDrop{needspace}[2010/09/12]
\DeclareDocumentCommand{\needspace}{m}{}
\DeclareDocumentCommand{\Needspace}{s m}{}
@@ -49996,7 +50736,7 @@ class="td%
%
% Discard all options for \pkg{lwarp-nextpage}.
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{nextpage}
+\LWR@ProvidesPackageDrop{nextpage}[2009/09/03]
% \end{macrocode}
% \begin{macrocode}
@@ -50095,7 +50835,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{nonfloat}
+\LWR@ProvidesPackageDrop{nonfloat}[1999/07/05]
% \end{macrocode}
%
% \begin{macrocode}
@@ -50127,7 +50867,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{nonumonpart}
+\LWR@ProvidesPackageDrop{nonumonpart}[2011/04/15]
% \end{macrocode}
%
%
@@ -50153,7 +50893,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{nopageno}
+\LWR@ProvidesPackageDrop{nopageno}[1989/01/01]
% \end{macrocode}
%
%
@@ -50182,7 +50922,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{notespages}
+\LWR@ProvidesPackageDrop{notespages}[2016/08/21]
% \end{macrocode}
%
% \begin{macrocode}
@@ -50234,7 +50974,7 @@ class="td%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{nowidow}
+\LWR@ProvidesPackageDrop{nowidow}[2011/09/20]
% \end{macrocode}
% \begin{noindmacro}{\nowidow} \oarg{lines}
@@ -50340,7 +51080,7 @@ class="td%
\DeclareOption{amsmath}{}
\DeclareOption{hyperref}{}
-\LWR@ProvidesPackagePass{ntheorem}
+\LWR@ProvidesPackagePass{ntheorem}[2011/08/15]
% \end{macrocode}
%
%
@@ -51053,7 +51793,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{overpic}
+\LWR@ProvidesPackagePass{overpic}[2017/10/06]
% \end{macrocode}
% \begin{macrocode}
@@ -51100,7 +51840,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pagegrid}
+\LWR@ProvidesPackageDrop{pagegrid}[2016/05/16]
% \end{macrocode}
%
% \begin{macrocode}
@@ -51130,7 +51870,7 @@ class="td%
% \codehtml
% \begin{macrocode}
\DeclareOption{page}{}
-\LWR@ProvidesPackagePass{pagenote}
+\LWR@ProvidesPackagePass{pagenote}[2009/09/03]
% \end{macrocode}
%
% \iffalse
@@ -51157,7 +51897,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pagesel}
+\LWR@ProvidesPackageDrop{pagesel}[2016/05/16]
% \end{macrocode}
%
% \iffalse
@@ -51187,7 +51927,7 @@ class="td%
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{paralist}
+\LWR@ProvidesPackagePass{paralist}[2017/01/22]
% \end{macrocode}
%
% The compact environments are identical to the regular ones:
@@ -51238,7 +51978,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{parnotes}
+\LWR@ProvidesPackagePass{parnotes}[2016/08/15]
% \end{macrocode}
%
% \begin{macrocode}
@@ -51312,7 +52052,7 @@ class="td%
%
% Discard all options for \pkg{lwarp-parskip}.
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{parskip}
+\LWR@ProvidesPackageDrop{parskip}[2001/04/09]
% \end{macrocode}
% \iffalse
@@ -51341,12 +52081,12 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pbox}
+\LWR@ProvidesPackageDrop{pbox}[2011/12/07]
% \end{macrocode}
%
% \begin{macrocode}
\NewDocumentCommand{\pbox}{O{t} O{} O{t} m +m}{%
-\booltrue{LWR@minipagefullwidth}%
+\global\booltrue{LWR@minipagefullwidth}%
\parbox[#1][#2][#3]{#4}{#5}%
}
@@ -51429,7 +52169,7 @@ class="td%
%
% Discard all options for \pkg{lwarp-pdflscape}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pdflscape}
+\LWR@ProvidesPackageDrop{pdflscape}[2016/05/14]
% \end{macrocode}
%
% \iffalse
@@ -51498,7 +52238,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{pdfpages}
+\LWR@ProvidesPackagePass{pdfpages}[2017-10-31]
% \end{macrocode}
%
% Disable option which have no meaning for \HTML\ output:
@@ -51660,7 +52400,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pdfprivacy}
+\LWR@ProvidesPackageDrop{pdfprivacy}[2017/12/03]
% \end{macrocode}
%
% \iffalse
@@ -51685,7 +52425,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pdfrender}
+\LWR@ProvidesPackageDrop{pdfrender}[2016/05/17]
% \end{macrocode}
%
% \begin{macrocode}
@@ -51718,7 +52458,7 @@ class="td%
%
% Discard all options for \pkg{lwarp-pdfsync}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pdfsync}
+\LWR@ProvidesPackageDrop{pdfsync}[2008/01/26]
% \end{macrocode}
%
% \begin{macrocode}
@@ -51754,7 +52494,7 @@ class="td%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{pdftricks}
+\LWR@ProvidesPackagePass{pdftricks}[2003/08/10]
% \end{macrocode}
%
% Reuse the print-mode images:
@@ -51803,7 +52543,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pdfx}
+\LWR@ProvidesPackageDrop{pdfx}[2017/05/18]
% \end{macrocode}
%
% \iffalse
@@ -51831,7 +52571,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pfnote}
+\LWR@ProvidesPackageDrop{pfnote}[1999/07/14]
% \end{macrocode}
%
% \iffalse
@@ -51858,7 +52598,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{phfqit}
+\LWR@ProvidesPackagePass{phfqit}[2017/08/16]
% \end{macrocode}
% \begin{macrocode}
@@ -51903,7 +52643,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{placeins}
+\LWR@ProvidesPackageDrop{placeins}[2005/04/18]
% \end{macrocode}
% \begin{macrocode}
@@ -51933,7 +52673,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{plarydshln}
+\LWR@ProvidesPackageDrop{plarydshln}[2018/10/20]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52005,7 +52745,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \pbox <t/y> [width] [l/r] {contents}
\RenewDocumentCommand{\pbox}{d<> O{0pt} O{c} m}{%
-\booltrue{LWR@minipagefullwidth}%
+\global\booltrue{LWR@minipagefullwidth}%
\parbox{#2}{#4}%
}
% \end{macrocode}
@@ -52036,7 +52776,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{plextarydshln}
+\LWR@ProvidesPackageDrop{plextarydshln}[2018/10/20]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52059,14 +52799,14 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \section{plextcolortbl}
%
% \DescribePackage{plextcolortbl}
-% \pkg{plextcolortbl} is emulated by \pkg{lwarp-arydshln}.
+% \pkg{plextcolortbl} is emulated by \pkg{lwarp-colortbl}.
%
% \changes{v0.65}{2018/12/17}{\pkg{plextcolortbl}: Added.}
%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{plextcolortbl}
+\LWR@ProvidesPackageDrop{plextcolortbl}[2018/09/19]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52099,7 +52839,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-prelim2e}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{prelim2e}
+\LWR@ProvidesPackageDrop{prelim2e}[2009/05/29]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52134,7 +52874,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{prettyref}
+\LWR@ProvidesPackagePass{prettyref}[1998/07/09]
% \end{macrocode}
% \begin{macrocode}
@@ -52290,7 +53030,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{pst-eps}
+\LWR@ProvidesPackagePass{pst-eps}[2005/05/20]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52325,7 +53065,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{pstool}
+\LWR@ProvidesPackagePass{pstool}[2018/01/20]
% \end{macrocode}
%
% Each image is placed inside a \env{lateximage} to capture the results of \pkg{psfrag}.
@@ -52372,7 +53112,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{pstricks}
+\LWR@ProvidesPackagePass{pstricks}[2018/01/06]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52404,7 +53144,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pxatbegshi}
+\LWR@ProvidesPackageDrop{pxatbegshi}[2017/11/04]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52433,7 +53173,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pxeveryshi}
+\LWR@ProvidesPackageDrop{pxeveryshi}[2012/05/19]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52463,7 +53203,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pxftnright}
+\LWR@ProvidesPackageDrop{pxftnright}[2017/02/28]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52493,7 +53233,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{pxjahyper}
+\LWR@ProvidesPackageDrop{pxjahyper}[2018/07/15]
% \end{macrocode}
%
% \iffalse
@@ -52521,7 +53261,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{quotchap}
+\LWR@ProvidesPackageDrop{quotchap}[2012/10/20]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52599,7 +53339,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{quoting}
+\LWR@ProvidesPackagePass{quoting}[2014/01/28]
% \end{macrocode}
% \begin{macrocode}
@@ -52643,7 +53383,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{ragged2e}
+\LWR@ProvidesPackageDrop{ragged2e}[2009/05/21]
% \end{macrocode}
% \begin{macrocode}
@@ -52701,7 +53441,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{realscripts}
+\LWR@ProvidesPackageDrop{realscripts}[2016/02/13]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52799,11 +53539,12 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% \changes{v0.57}{2018/06/03}{\pkg{register}: Added.}
% \changes{v0.62}{2018/11/12}{\pkg{register}: Updated to v1.8.}
+% \changes{v0.66}{2019/01/04}{\pkg{register}: Verified for v1.9.}
%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{register}[2018/11/10]
+\LWR@ProvidesPackagePass{register}[2019/01/01]
% \end{macrocode}
% \begin{macrocode}
@@ -52866,7 +53607,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{relsize}
+\LWR@ProvidesPackagePass{relsize}[2013/03/29]
% \end{macrocode}
%
% \begin{macrocode}
@@ -52932,7 +53673,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \begin{sourcedisplay}
% \cs{usepackage}[makeindex,\textred{makeindexStyle=\{lwarp\_repeatindex\}}]\{lwarp\}
% \end{sourcedisplay}
-% where \filenm{lwarp\_repeatindex.ist} may be copied from the following
+% where \filenm{lwarp_repeatindex.ist} may be copied from the following
% modified version of \filenm{lwarp.ist}:
% \begin{Verbatim}[gobble=2,obeytabs,tabsize=4,frame=leftline]
% preamble
@@ -52998,7 +53739,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{resizegather}
+\LWR@ProvidesPackageDrop{resizegather}[2016/05/16]
% \end{macrocode}
%
% \begin{macrocode}
@@ -53029,7 +53770,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{rmpage}
+\LWR@ProvidesPackageDrop{rmpage}[1997/09/29]
% \end{macrocode}
%
% \iffalse
@@ -53061,7 +53802,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{romanbar}
+\LWR@ProvidesPackagePass{romanbar}[2012/01/01]
% \end{macrocode}
% \begin{macrocode}
@@ -53094,7 +53835,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{romanbarpagenumber}
+\LWR@ProvidesPackageDrop{romanbarpagenumber}[2015/02/06]
% \end{macrocode}
%
%
@@ -53123,7 +53864,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{rotating}
+\LWR@ProvidesPackageDrop{rotating}[2016/08/11]
% \end{macrocode}
% \begin{macrocode}
@@ -53273,7 +54014,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-savetrees}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{savetrees}
+\LWR@ProvidesPackageDrop{savetrees}[2016/04/13]
% \end{macrocode}
%
%
@@ -53335,7 +54076,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{schemata}
+\LWR@ProvidesPackagePass{schemata}[2016/01/25]
% \end{macrocode}
% \begin{macrocode}
@@ -53382,7 +54123,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{scrextend}
+\LWR@ProvidesPackageDrop{scrextend}[2018/03/30]
% \end{macrocode}
%
% \begin{macrocode}
@@ -53544,7 +54285,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{scrhack}
+\LWR@ProvidesPackageDrop{scrhack}[2018/03/30]
% \end{macrocode}
%
%
@@ -53575,7 +54316,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{scrlayer}
+\LWR@ProvidesPackageDrop{scrlayer}[2018/03/30]
% \end{macrocode}
%
% \begin{macrocode}
@@ -53681,7 +54422,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{scrlayer-notecolumn}
+\LWR@ProvidesPackageDrop{scrlayer-notecolumn}[2018/02/02]
% \end{macrocode}
%
% \begin{macrocode}
@@ -53723,7 +54464,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{scrlayer-scrpage}
+\LWR@ProvidesPackageDrop{scrlayer-scrpage}[2018/03/30]
% \end{macrocode}
%
% \begin{macrocode}
@@ -53799,7 +54540,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{scrpage2}
+\LWR@ProvidesPackageDrop{scrpage2}[2018/03/30]
% \end{macrocode}
%
% \begin{macrocode}
@@ -53934,7 +54675,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{sectionbreak}
+\LWR@ProvidesPackagePass{sectionbreak}[2018-01-03]
% \end{macrocode}
% \begin{macrocode}
@@ -53977,7 +54718,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{sectsty}
+\LWR@ProvidesPackageDrop{sectsty}[2002/02/25]
% \end{macrocode}
%
% \begin{macrocode}
@@ -54108,7 +54849,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{setspace}
+\LWR@ProvidesPackageDrop{setspace}[2011/12/19]
\newcommand*{\setstretch}[1]{}
\newcommand*{\SetSinglespace}[1]{}
@@ -54176,7 +54917,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-shadow}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{shadow}
+\LWR@ProvidesPackageDrop{shadow}[2003/02/19]
% \end{macrocode}
% \begin{macrocode}
@@ -54217,7 +54958,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-showidx}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{showidx}
+\LWR@ProvidesPackageDrop{showidx}[2014/09/29]
% \end{macrocode}
%
% \cs{@wrindex} is redefined \cs{AtBeginDocument} by the \pkg{lwarp} core.
@@ -54249,7 +54990,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-showkeys}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{showkeys}
+\LWR@ProvidesPackageDrop{showkeys}[2014/10/28]
% \end{macrocode}
% \begin{macrocode}
@@ -54285,7 +55026,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-sidecap}.
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{sidecap}
+\LWR@ProvidesPackageDrop{sidecap}[2003/06/06]
% \end{macrocode}
% See: \\
@@ -54452,7 +55193,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{SIunits}
+\LWR@ProvidesPackagePass{SIunits}[2007/12/02]
% \end{macrocode}
%
% Patched for copy/paste with the \HTML\ \attribute{alt} tag:
@@ -54506,7 +55247,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \begin{macrocode}
\RequirePackage{xcolor}% for \convertcolorspec
-\LWR@ProvidesPackagePass{siunitx}
+\LWR@ProvidesPackagePass{siunitx}[2018/05/17]
% \end{macrocode}
% \changes{v0.50}{2018/02/24}{\pkg{siunitx}: Improved units.}
@@ -54922,7 +55663,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \begin{macrocode}
\RequirePackage{soul}
\RequirePackage{soulutf8}
-\LWR@ProvidesPackageDrop{soulpos}
+\LWR@ProvidesPackageDrop{soulpos}[2012/02/25]
% \end{macrocode}
%
% \begin{macrocode}
@@ -54970,7 +55711,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{soulutf8}
+\LWR@ProvidesPackageDrop{soulutf8}[2016/05/16]
% \end{macrocode}
%
%
@@ -55002,7 +55743,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{splitidx}
+\LWR@ProvidesPackagePass{splitidx}[2016/02/18]
% \end{macrocode}
%
% \begin{macrocode}
@@ -55157,7 +55898,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{stabular}
+\LWR@ProvidesPackageDrop{stabular}[2014/03/20]
% \end{macrocode}
%
% \oarg{vpos} \marg{colspec}
@@ -55208,7 +55949,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{stfloats}
+\LWR@ProvidesPackageDrop{stfloats}[2017/03/27]
% \end{macrocode}
%
% \pkg{stfloats} may have been preloaded by a \pkg{ltj*} class.
@@ -55235,6 +55976,58 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
%
%
+% \iffalse
+%<*subcaption>
+% \fi
+%
+% \part{lwarp-subcaption.sty}
+%
+% \section{subcaption}
+%
+% \credits{Axel Sommerfeldt}
+%
+% \DescribePackage{subcaption}
+% \pkg{subcaption} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.66}{2018/12/31}{\pkg{subcaption}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{subcaption}[2018/05/01]
+% \end{macrocode}
+%
+% Tells \pkg{lwarp} to ignore minipage widths inside a subfigure or subtable.
+% In print mode the minipages are used to place the items next to each other.
+% In \HTML\ they are placed side-by-side automatically.
+% \begin{macrocode}
+\ifdef{\subcaption@minipage}{
+ \xpatchcmd{\subcaption@minipage}
+ {\minipage}
+ {\minipagefullwidth\minipage}
+ {}
+ {\LWR@patcherror{subcaption}{subcaption@minipage}}
+}{}
+% \end{macrocode}
+%
+% Likewise for a \cs{subcaptionbox}:
+% \begin{macrocode}
+\ifdef{\subcaptionbox}{
+ \xpretocmd{\subcaptionbox}
+ {\minipagefullwidth}
+ {}
+ {\LWR@patcherror{subcaption}{subcaptionbox}}
+}{}
+% \end{macrocode}
+%
+% \iffalse
+%</subcaption>
+% \fi
+%
+%
+%
+%
+%
%
%
% \iffalse
@@ -55258,7 +56051,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Accept all options for \pkg{lwarp-subfig}:
% \begin{macrocode}
-\LWR@ProvidesPackagePass{subfig}
+\LWR@ProvidesPackagePass{subfig}[2005/06/28]
% \end{macrocode}
% \begin{noindmacro}{\sf@@@subfloat}
@@ -55554,7 +56347,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{subfigure}
+\LWR@ProvidesPackageDrop{subfigure}[2002/03/15]
\RequirePackage{subfig}
% \end{macrocode}
%
@@ -55607,7 +56400,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{supertabular}
+\LWR@ProvidesPackageDrop{supertabular}[2004/02/20]
% \end{macrocode}
%
% \limitssupertabular
@@ -55704,7 +56497,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-syntonly}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{syntonly}
+\LWR@ProvidesPackageDrop{syntonly}[2017/06/30]
% \end{macrocode}
%
% \begin{macrocode}
@@ -55780,7 +56573,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-tabularx}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{tabularx}
+\LWR@ProvidesPackageDrop{tabularx}[2016/02/03]
% \end{macrocode}
% \begin{macrocode}
@@ -55823,7 +56616,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% Column types |L|, |C|, |R|, and |J| are emulated by \pkg{lwarp}
% core code.
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{tabulary}
+\LWR@ProvidesPackageDrop{tabulary}[2014/06/11]
% \end{macrocode}
% \begin{macrocode}
@@ -55864,7 +56657,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{tascmac}
+\LWR@ProvidesPackageDrop{tascmac}[2018/03/09]
% \end{macrocode}
%
% \begin{macrocode}
@@ -55971,7 +56764,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{textarea}
+\LWR@ProvidesPackageDrop{textarea}[2005/12/26]
% \end{macrocode}
%
% \begin{macrocode}
@@ -56024,7 +56817,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{textcomp}
+\LWR@ProvidesPackagePass{textcomp}[2017/04/05]
% \end{macrocode}
%
%
@@ -56183,7 +56976,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{textfit}
+\LWR@ProvidesPackageDrop{textfit}[1994/04/15]
% \end{macrocode}
%
% \begin{macrocode}
@@ -56237,7 +57030,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{textpos}
+\LWR@ProvidesPackageDrop{textpos}[2016/06/07]
% \end{macrocode}
% \begin{macrocode}
@@ -56300,7 +57093,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{theorem}
+\LWR@ProvidesPackagePass{theorem}[2014/10/28]
% \end{macrocode}
@@ -56516,7 +57309,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{thinsp}
+\LWR@ProvidesPackageDrop{thinsp}[2016/10/02]
% \end{macrocode}
%
% \begin{macrocode}
@@ -56552,7 +57345,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{threadcol}
+\LWR@ProvidesPackageDrop{threadcol}[2013/01/06]
% \end{macrocode}
%
% \begin{macrocode}
@@ -56588,18 +57381,18 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{threeparttable}
+\LWR@ProvidesPackageDrop{threeparttable}[2003/06/13]
% \end{macrocode}
-
-% \begin{noindmacro}{\LWR@printtablenote} \marg{text}
-%
-% Prints the table note item header inside a \CSS\ class of |tnoteitemheader|.
-% \begin{macrocode}
-\newcommand{\LWR@printtablenote}[1]{\InlineClass{tnoteitemheader}{#1}}
-% \end{macrocode}
-% \end{noindmacro}
+% ^^A Broken:
+% ^^A % \begin{noindmacro}{\LWR@printtablenote} \marg{text}
+% ^^A %
+% ^^A % Prints the table note item header inside a \CSS\ class of |tnoteitemheader|.
+% ^^A % \begin{macrocode}
+% ^^A % \newrobustcmd{\LWR@printtablenote}[1]{\InlineClass{tnoteitemheader}{#1}}
+% ^^A % \end{macrocode}
+% ^^A % \end{noindmacro}
@@ -56617,9 +57410,12 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
{%
\LWR@forcenewpage
\BlockClass{tnotes}%
-\ltx@ifpackageloaded{enumitem}{%
-\setlist[description]{format=\LWR@printtablenote}%
-}{}%
+% \end{macrocode}
+% ^^A broken:
+% ^^A % \ltx@ifpackageloaded{enumitem}{%
+% ^^A % \setlist[description]{format=\LWR@printtablenote}%
+% ^^A % }{}%
+% \begin{macrocode}
\description%
}
{%
@@ -56658,7 +57454,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{thumb}
+\LWR@ProvidesPackageDrop{thumb}[1997/12/24]
% \end{macrocode}
%
% \begin{macrocode}
@@ -56690,7 +57486,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{thumbs}
+\LWR@ProvidesPackageDrop{thumbs}[2014/03/09]
% \end{macrocode}
%
% \begin{macrocode}
@@ -56846,7 +57642,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{titleps}
+\LWR@ProvidesPackageDrop{titleps}[2016/03/15]
% \end{macrocode}
%
% \cs{pagestyle} and \cs{thispagestyle} are already disabled in the \pkg{lwarp} code.
@@ -57082,7 +57878,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{titleref}
+\LWR@ProvidesPackageDrop{titleref}[2001/04/05]
\LetLtxMacro\titleref\nameref
@@ -57129,7 +57925,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{titlesec}
+\LWR@ProvidesPackageDrop{titlesec}[2016/03/21]
% \end{macrocode}
% \begin{noindmacro}{\titlelabel} \marg{label-format}
@@ -57274,7 +58070,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{titletoc}
+\LWR@ProvidesPackageDrop{titletoc}[2011/12/15]
% \end{macrocode}
%
@@ -57417,7 +58213,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{titling}
+\LWR@ProvidesPackagePass{titling}[2009/09/04]
% \end{macrocode}
%
%
@@ -57710,7 +58506,6 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
%
%
-%
% \iffalse
%<*tocbasic>
% \fi
@@ -57722,21 +58517,23 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \credits{Markus Kohm}
%
% \DescribePackage{tocbasic}
-% \pkg{tocbasic} is patched for use by \pkg{lwarp}.
-%
+% \pkg{tocbasic} is nullified for \pkg{lwarp}.
+% %
% \usedbykomascript
%
% \changes{v0.44}{2017/11/20}{\pkg{tocbasic}: Added.}
+% \changes{v0.66}{2019/01/12}{\pkg{tocbasic}: Updated to v3.26a.}
%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{tocbasic}
+\LWR@ProvidesPackagePass{tocbasic}[2018/12/30]
% \end{macrocode}
% \begin{macrocode}
\DeclareDocumentCommand{\usetocbasicnumberline}{o}{}
\DeclareDocumentCommand{\DeclareTOCStyleEntry}{o m m}{}
+\DeclareDocumentCommand{\DeclareTOCStyleEntries}{o m m}{}
\DeclareDocumentCommand{\DeclareTOCEntryStyle}{m o m}{}
\DeclareDocumentCommand{\DefineTOCEntryOption}{m o m}{}
\DeclareDocumentCommand{\DefineTOCEntryBooleanOption}{m o m m m}{}
@@ -57780,7 +58577,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \begin{macrocode}
\let\simplechapterdelim\relax
-\LWR@ProvidesPackagePass{tocbibind}
+\LWR@ProvidesPackagePass{tocbibind}[2010/10/13]
% \end{macrocode}
% \begin{macrocode}
@@ -57852,7 +58649,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{tocenter}
+\LWR@ProvidesPackageDrop{tocenter}[2004/12/09]
% \end{macrocode}
%
% \begin{macrocode}
@@ -57892,7 +58689,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{tocloft}
+\LWR@ProvidesPackageDrop{tocloft}[2017/08/31]
% \end{macrocode}
%
@@ -58300,7 +59097,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{tocstyle}
+\LWR@ProvidesPackageDrop{tocstyle}[2017/02/23]
% \end{macrocode}
%
% \begin{macrocode}
@@ -58341,7 +59138,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{todo}
+\LWR@ProvidesPackagePass{todo}[2010/03/31]
% \end{macrocode}
% \begin{macrocode}
@@ -58411,7 +59208,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{todonotes}
+\LWR@ProvidesPackagePass{todonotes}[2012/07/25]
% \end{macrocode}
%
% \begin{macrocode}
@@ -58536,7 +59333,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{tram}
+\LWR@ProvidesPackageDrop{tram}[2013/04/04]
% \end{macrocode}
%
% \begin{macrocode}
@@ -58575,7 +59372,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-transparent}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{transparent}
+\LWR@ProvidesPackageDrop{transparent}[2016/05/16]
% \end{macrocode}
%
% \begin{macrocode}
@@ -58613,7 +59410,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{trimclip}
+\LWR@ProvidesPackageDrop{trimclip}[2018/04/08]
% \end{macrocode}
%
% The third argument, the text, is not touched.
@@ -58672,7 +59469,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% Discard all options for \pkg{lwarp-trivfloat}.
% This tells \pkg{trivfloat} not to use \pkg{floatrow} or \pkg{memoir}.
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{trivfloat}
+\LWR@ProvidesPackageDrop{trivfloat}[2009/04/23]
\LWR@origRequirePackage{trivfloat}
% \end{macrocode}
@@ -58744,6 +59541,39 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
%
% \iffalse
+%<*truncate>
+% \fi
+%
+% \part{lwarp-truncate.sty}
+%
+% \section{truncate}
+%
+% \DescribePackage{truncate}
+% \pkg{truncate} is ignored.
+%
+% \changes{v0.66}{2019/02/03}{\pkg{truncate}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{truncate}[2001/08/20]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\providecommand{\TruncateMarker}{}
+\newcommand{\truncate}[3][\TruncateMarker]{#3}
+% \end{macrocode}
+%
+% \iffalse
+%</truncate>
+% \fi
+%
+%
+%
+%
+%
+%
+% \iffalse
%<*turnthepage>
% \fi
%
@@ -58759,7 +59589,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{turnthepage}
+\LWR@ProvidesPackageDrop{turnthepage}[2011/03/24]
% \end{macrocode}
%
% \begin{macrocode}
@@ -58824,7 +59654,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{typearea}
+\LWR@ProvidesPackageDrop{typearea}[2018/03/30]
% \end{macrocode}
%
% \begin{macrocode}
@@ -58975,7 +59805,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{underscore}
+\LWR@ProvidesPackageDrop{underscore}[2006/09/13]
% \end{macrocode}
%
% \iffalse
@@ -59001,7 +59831,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Values are not styled by \CSS, and take the style of the surrounding \HTML\ text.
%
-% Units are styled according to the print verison,
+% Units are styled according to the print version,
% so they will be forced to upright roman in \HTML\ if the print version does so.
% It may be necessary to adjust the document's body \CSS\ to match the print version.
%
@@ -59087,7 +59917,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{unitsdef}
+\LWR@ProvidesPackagePass{unitsdef}[2005/01/04]
% \end{macrocode}
%
% \begin{macrocode}
@@ -59138,7 +59968,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Discard all options for \pkg{lwarp-upref}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{upref}
+\LWR@ProvidesPackageDrop{upref}[2007/03/14]
% \end{macrocode}
%
%
@@ -59168,7 +59998,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{url}
+\LWR@ProvidesPackagePass{url}[2013/09/16]
% \end{macrocode}
% \pkg{url} uses math mode to print its string inside a group, so the original meaning
@@ -59206,7 +60036,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{uspace}
+\LWR@ProvidesPackageDrop{uspace}[2016/11/06]
% \end{macrocode}
%
% \iffalse
@@ -59235,7 +60065,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% Pass all options for \pkg{lwarp-verse}:
% \begin{macrocode}
-\LWR@ProvidesPackagePass{verse}
+\LWR@ProvidesPackagePass{verse}[2009/09/04]
% \end{macrocode}
%
@@ -59324,7 +60154,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{versonotes}
+\LWR@ProvidesPackageDrop{versonotes}[2015/12/08]
% \end{macrocode}
%
% \begin{macrocode}
@@ -59360,7 +60190,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{vertbars}
+\LWR@ProvidesPackageDrop{vertbars}[2010/11/27]
% \end{macrocode}
%
% \begin{macrocode}
@@ -59405,7 +60235,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{vmargin}
+\LWR@ProvidesPackageDrop{vmargin}[2004/07/15]
% \end{macrocode}
%
% \begin{macrocode}
@@ -59459,7 +60289,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{vowel}
+\LWR@ProvidesPackagePass{vowel}[2002/08/08]
% \end{macrocode}
% \begin{macrocode}
@@ -59529,7 +60359,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{vwcol}
+\LWR@ProvidesPackagePass{vwcol}[2015/02/10]
% \end{macrocode}
%
% Factored from \cs{vwcol}.
@@ -59677,7 +60507,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{wallpaper}
+\LWR@ProvidesPackageDrop{wallpaper}[2005/01/18]
% \end{macrocode}
% \begin{macrocode}
@@ -59726,7 +60556,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{watermark}
+\LWR@ProvidesPackageDrop{watermark}[2004/12/09]
% \end{macrocode}
%
% \begin{macrocode}
@@ -59793,7 +60623,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{wrapfig}
+\LWR@ProvidesPackageDrop{wrapfig}[2003/01/31]
% \end{macrocode}
%
%
@@ -60041,7 +60871,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{xcolor}
+\LWR@ProvidesPackagePass{xcolor}[2016/05/11]
% \end{macrocode}
% \begin{macrocode}
@@ -60624,7 +61454,7 @@ height:\LWR@printlength{\LWR@tempheight}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{xellipsis}
+\LWR@ProvidesPackagePass{xellipsis}[2015/11/01]
% \end{macrocode}
% \begin{macrocode}
@@ -60718,7 +61548,7 @@ height:\LWR@printlength{\LWR@tempheight}%
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackagePass{xfrac}
+\LWR@ProvidesPackagePass{xfrac}[2018-08-23]
% \end{macrocode}
% In the user's document preamble, \pkg{lwarp} should be loaded
@@ -60755,7 +61585,7 @@ height:\LWR@printlength{\LWR@tempheight}%
% \begin{macro}{\xfracHTMLfontsize}
% \changes{v0.19}{2016/06/06}{Added.}
-% \gindex{font>size>\pkg{xfrac}}
+% \gindex{font>size>xfrac=\pkg{xfrac}}
% User-redefinable macro which controls the font size of the fraction.
% \begin{macrocode}
\newcommand*{\xfracHTMLfontsize}{.6em}
@@ -60913,7 +61743,7 @@ height:\LWR@printlength{\LWR@tempheight}%
% \begin{macrocode}
\RequirePackage{tabularx}
-\LWR@ProvidesPackageDrop{xltabular}
+\LWR@ProvidesPackageDrop{xltabular}[2018/05/23]
\DeclareDocumentEnvironment{xltabular}{o m m}
{\longtable{#3}}
@@ -60948,7 +61778,7 @@ height:\LWR@printlength{\LWR@tempheight}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{xltxtra}
+\LWR@ProvidesPackageDrop{xltxtra}[2016/01/21]
% \end{macrocode}
%
% \begin{macrocode}
@@ -61001,7 +61831,7 @@ height:\LWR@printlength{\LWR@tempheight}%
%
% Discard all options for \pkg{lwarp-xmpincl}:
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{xmpincl}
+\LWR@ProvidesPackageDrop{xmpincl}[2008/05/10]
% \end{macrocode}
%
% \begin{macrocode}
@@ -61121,7 +61951,7 @@ height:\LWR@printlength{\LWR@tempheight}%
%
% \codehtml
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{xtab}
+\LWR@ProvidesPackageDrop{xtab}[2011/07/31]
% \end{macrocode}
%
% \limitssupertabular
@@ -61261,7 +62091,7 @@ height:\LWR@printlength{\LWR@tempheight}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{xurl}
+\LWR@ProvidesPackageDrop{xurl}[2018/06/02]
% \end{macrocode}
%
% \iffalse
@@ -61294,7 +62124,7 @@ height:\LWR@printlength{\LWR@tempheight}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{xy}
+\LWR@ProvidesPackagePass{xy}[2013/10/06]
% \end{macrocode}
% \begin{macrocode}
@@ -61384,7 +62214,7 @@ height:\LWR@printlength{\LWR@tempheight}%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{zwpagelayout}
+\LWR@ProvidesPackageDrop{zwpagelayout}[2013/01/13]
% \end{macrocode}
%
% \begin{macrocode}
diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.ins b/Master/texmf-dist/source/latex/lwarp/lwarp.ins
index accdefe8f57..883e7c7a788 100644
--- a/Master/texmf-dist/source/latex/lwarp/lwarp.ins
+++ b/Master/texmf-dist/source/latex/lwarp/lwarp.ins
@@ -1,5 +1,5 @@
%% lwarp.ins
-%% Copyright 2016-2017 Brian Dunn
+%% Copyright 2016-2019 Brian Dunn
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -14,7 +14,7 @@
%% The Current Maintainer of this work is Brian Dunn.
%%
%% This work consists of the files lwarp.dtx and lwarp.ins
-%% and the derived file lwarp.sty.
+%% and the derived files lwarp.sty and lwarp-*.sty
\input docstrip.tex
\keepsilent
%% \usedir{tex/latex/ package }
@@ -53,6 +53,7 @@ version 2005/12/01 or later.
\file{lwarp-anonchap.sty}{\from{lwarp.dtx}{anonchap}}
\file{lwarp-anysize.sty}{\from{lwarp.dtx}{anysize}}
\file{lwarp-appendix.sty}{\from{lwarp.dtx}{appendix}}
+\file{lwarp-ar.sty}{\from{lwarp.dtx}{ar}}
\file{lwarp-arabicfront.sty}{\from{lwarp.dtx}{arabicfront}}
\file{lwarp-array.sty}{\from{lwarp.dtx}{array}}
\file{lwarp-arydshln.sty}{\from{lwarp.dtx}{arydshln}}
@@ -88,7 +89,6 @@ version 2005/12/01 or later.
\file{lwarp-cases.sty}{\from{lwarp.dtx}{cases}}
\file{lwarp-changebar.sty}{\from{lwarp.dtx}{changebar}}
\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-chapterbib.sty}{\from{lwarp.dtx}{chapterbib}}
\file{lwarp-chemfig.sty}{\from{lwarp.dtx}{chemfig}}
@@ -97,6 +97,7 @@ version 2005/12/01 or later.
\file{lwarp-chemmacros.sty}{\from{lwarp.dtx}{chemmacros}}
\file{lwarp-chemnum.sty}{\from{lwarp.dtx}{chemnum}}
\file{lwarp-chkfloat.sty}{\from{lwarp.dtx}{chkfloat}}
+\file{lwarp-chngpage.sty}{\from{lwarp.dtx}{chngpage}}
\file{lwarp-cite.sty}{\from{lwarp.dtx}{cite}}
\file{lwarp-CJK.sty}{\from{lwarp.dtx}{CJK}}
\file{lwarp-CJKutf8.sty}{\from{lwarp.dtx}{CJKutf8}}
@@ -119,6 +120,7 @@ version 2005/12/01 or later.
\file{lwarp-draftwatermark.sty}{\from{lwarp.dtx}{draftwatermark}}
\file{lwarp-easy-todo.sty}{\from{lwarp.dtx}{easy-todo}}
\file{lwarp-ebook.sty}{\from{lwarp.dtx}{ebook}}
+\file{lwarp-ed.sty}{\from{lwarp.dtx}{ed}}
\file{lwarp-ellipsis.sty}{\from{lwarp.dtx}{ellipsis}}
\file{lwarp-embrac.sty}{\from{lwarp.dtx}{embrac}}
\file{lwarp-emptypage.sty}{\from{lwarp.dtx}{emptypage}}
@@ -192,7 +194,6 @@ version 2005/12/01 or later.
\file{lwarp-idxlayout.sty}{\from{lwarp.dtx}{idxlayout}}
\file{lwarp-ifoddpage.sty}{\from{lwarp.dtx}{ifoddpage}}
\file{lwarp-imakeidx.sty}{\from{lwarp.dtx}{imakeidx}}
-\file{lwarp-indentfirst.sty}{\from{lwarp.dtx}{indentfirst}}
\file{lwarp-index.sty}{\from{lwarp.dtx}{index}}
\file{lwarp-intopdf.sty}{\from{lwarp.dtx}{intopdf}}
\file{lwarp-keyfloat.sty}{\from{lwarp.dtx}{keyfloat}}
@@ -237,6 +238,7 @@ version 2005/12/01 or later.
\file{lwarp-multirow.sty}{\from{lwarp.dtx}{multirow}}
\file{lwarp-multitoc.sty}{\from{lwarp.dtx}{multitoc}}
\file{lwarp-musicography.sty}{\from{lwarp.dtx}{musicography}}
+\file{lwarp-nameauth.sty}{\from{lwarp.dtx}{nameauth}}
\file{lwarp-nameref.sty}{\from{lwarp.dtx}{nameref}}
\file{lwarp-natbib.sty}{\from{lwarp.dtx}{natbib}}
\file{lwarp-nccfancyhdr.sty}{\from{lwarp.dtx}{nccfancyhdr}}
@@ -330,6 +332,7 @@ version 2005/12/01 or later.
\file{lwarp-srctex.sty}{\from{lwarp.dtx}{srctex}}
\file{lwarp-stabular.sty}{\from{lwarp.dtx}{stabular}}
\file{lwarp-stfloats.sty}{\from{lwarp.dtx}{stfloats}}
+\file{lwarp-subcaption.sty}{\from{lwarp.dtx}{subcaption}}
\file{lwarp-subfig.sty}{\from{lwarp.dtx}{subfig}}
\file{lwarp-subfigure.sty}{\from{lwarp.dtx}{subfigure}}
\file{lwarp-supertabular.sty}{\from{lwarp.dtx}{supertabular}}
@@ -365,6 +368,7 @@ version 2005/12/01 or later.
\file{lwarp-transparent.sty}{\from{lwarp.dtx}{transparent}}
\file{lwarp-trimclip.sty}{\from{lwarp.dtx}{trimclip}}
\file{lwarp-trivfloat.sty}{\from{lwarp.dtx}{trivfloat}}
+\file{lwarp-truncate.sty}{\from{lwarp.dtx}{truncate}}
\file{lwarp-turnthepage.sty}{\from{lwarp.dtx}{turnthepage}}
\file{lwarp-twoup.sty}{\from{lwarp.dtx}{twoup}}
\file{lwarp-typearea.sty}{\from{lwarp.dtx}{typearea}}