summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-27 23:56:09 +0000
committerKarl Berry <karl@freefriends.org>2017-08-27 23:56:09 +0000
commit1ebb33e9902b2a96b03f5cd15dcf3f6c561f19ef (patch)
tree0ca1b2cae5f3017d17437f300a72263958da1339 /Master
parent08429b2ebce33f39aef9d2efa79a08bd4e1b495f (diff)
lwarp (27aug17)
git-svn-id: svn://tug.org/texlive/trunk@45144 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/lwarp/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/lwarp/lwarp.pdfbin1623290 -> 1390643 bytes
-rw-r--r--Master/texmf-dist/doc/latex/lwarp/lwarp_tutorial.txt8
-rwxr-xr-xMaster/texmf-dist/scripts/lwarp/lwarpmk.lua23
-rw-r--r--Master/texmf-dist/source/latex/lwarp/lwarp.dtx2042
-rw-r--r--Master/texmf-dist/source/latex/lwarp/lwarp.ins19
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-appendix.sty39
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-arabicfront.sty22
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-balance.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-chappg.sty24
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-color.sty23
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-crop.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty5
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-figcaps.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fix2col.sty22
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-floatpag.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-flushend.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fncychap.sty50
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-fullpage.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty14
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-grffile.sty31
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-hyperxmp.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-marginfit.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-metalogo.sty28
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-newclude.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-nonumonpart.sty22
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-nopageno.sty22
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-paralist.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-pdflscape.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-pdfsync.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-prelim2e.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty57
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-relsize.sty62
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-romanbar.sty30
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-romanbarpagenumber.sty22
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-savetrees.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-scalefnt.sty24
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-shadow.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty33
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-syntonly.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-tabulary.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty90
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-tocbibind.sty53
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-transparent.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-upref.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xltxtra.sty41
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xmpincl.sty1
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp.sty305
146 files changed, 2712 insertions, 521 deletions
diff --git a/Master/texmf-dist/doc/latex/lwarp/README.txt b/Master/texmf-dist/doc/latex/lwarp/README.txt
index 5e759a6a7e1..3712d0a0be2 100644
--- a/Master/texmf-dist/doc/latex/lwarp/README.txt
+++ b/Master/texmf-dist/doc/latex/lwarp/README.txt
@@ -1,5 +1,5 @@
-LaTeX lwarp package v0.37 README.txt
+LaTeX lwarp package v0.38 README.txt
Files included are:
diff --git a/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf b/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf
index 40599029d67..18f1dd6c2a1 100644
--- a/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf
+++ b/Master/texmf-dist/doc/latex/lwarp/lwarp.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/lwarp/lwarp_tutorial.txt b/Master/texmf-dist/doc/latex/lwarp/lwarp_tutorial.txt
index bd28114bd9b..51d216224df 100644
--- a/Master/texmf-dist/doc/latex/lwarp/lwarp_tutorial.txt
+++ b/Master/texmf-dist/doc/latex/lwarp/lwarp_tutorial.txt
@@ -79,6 +79,14 @@ followed by display math:
a^2 + b^2 = c^2
\end{equation}
+
+\begin{warpprint} % For print output ...
+\cleardoublepage % ... a common method to place index entry into TOC.
+\phantomsection
+\addcontentsline{toc}{chapter}{\indexname}
+\end{warpprint}
+\ForceHTMLPage % HTML index will be on its own page.
+\ForceHTMLTOC % HTML index will have its own toc entry.
\printindex
\end{document}
diff --git a/Master/texmf-dist/scripts/lwarp/lwarpmk.lua b/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
index 42a7da2e06b..4e2a99cd3dd 100755
--- a/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
+++ b/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
@@ -4,7 +4,7 @@
-- Print the usage of the lwarpmk command:
-printversion = "v0.37"
+printversion = "v0.38"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
@@ -13,10 +13,12 @@ end
function printusage ()
print ( [[
-lwarpmk print [project]: Compile a print version.
+lwarpmk print [project]: Compile the print version if necessary.
+lwarpmk print1 [project]: Forced single compile of the print version.
lwarpmk printindex [project]: Process the index for the print version.
lwarpmk printglossary [project]: Process the glossary for the print version.
-lwarpmk html [project]: Compile an HTML version.
+lwarpmk html [project]: Compile the HTML version if necessary.
+lwarpmk html1 [project]: Forced single compile of the HTML version.
lwarpmk htmlindex [project]: Process the index for the html version.
lwarpmk htmlglossary [project]: Process the glossary for the html version.
lwarpmk again [project]: Touch the source code to trigger recompiles.
@@ -320,7 +322,7 @@ end
if (arg[1] == "--version") then
print ( "lwarpmk: " .. printversion )
-else -- not -- version
+else -- not --version
-- print intro:
@@ -351,6 +353,12 @@ else -- not latexmk
end
end -- not latexmk
+elseif arg[1] == "print1" then
+ loadconf ()
+ verifyfileexists (sourcename .. ".tex") ;
+ onetime("")
+ print ("lwarpmk: Done.") ;
+
-- lwarp printindex:
-- Compile the index then touch the source
-- to trigger a recompile of the document:
@@ -411,6 +419,13 @@ else -- not latexmk
end
end -- not latexmk
+elseif arg[1] == "html1" then
+ loadconf ()
+ verifyfileexists ( sourcename .. ".tex" ) ;
+ onetime("_html")
+ pdftohtml ()
+ print ("lwarpmk: Done.")
+
elseif arg[1] == "pdftohtml" then
loadconf ()
pdftohtml ()
diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
index 9d0e35838c4..00fe3ffbe9d 100644
--- a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
+++ b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
@@ -16,16 +16,24 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lwarp}
-%<package> [2017/08/19 v0.37 Allows LaTeX to directly produce HTML5 output.]
+%<package> [2017/08/27 v0.38 Allows LaTeX to directly produce HTML5 output.]
%
%<*driver>
\documentclass{ltxdoc}
\usepackage{lmodern}
% \usepackage{libertine}
+\usepackage[space]{erewhon}
+% \usepackage[varqu,varl]{inconsolata} % typewriter
+% \usepackage{roboto}
+% \usepackage{cabin}
+\usepackage[tabular]{sourcesanspro}
+
+
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
-\usepackage{textcomp} % provides \degree, \textquotesingle, \textmu
+
+\usepackage{textcomp} % provides \degree, \textquotesingle, \textmu
\usepackage{newunicodechar}
\newunicodechar{ff}{ff}
@@ -62,6 +70,8 @@
\usepackage[lwarpmk]{lwarp}
+\usepackage[erewhon]{newtxmath}
+
\usepackage{needspace}
@@ -215,33 +225,35 @@ Keywords={LaTeX, HTML, conversion}%
\newcommand{\userentry}[1]{%
-\leavevmode\smallskip\newline
+\par
\hspace*{2em}\begin{minipage}{\linewidth-2em}
{\footnotesize Enter~$\Rightarrow$}\quad\texttt{#1}
\end{minipage}
-\unskip\smallskip
+\par
}
\newenvironment{sourcedisplay}
{
-\leavevmode\smallskip\newline
+\leavevmode
+\par
\hspace*{2em}\minipage{\linewidth-2em}
\ttfamily
}
{
\endminipage
-\unskip\smallskip
+\par
}
\newenvironment{UIdisplay}
{
-\leavevmode\smallskip\newline
+\leavevmode
+\par
\hspace*{2em}\minipage{\linewidth-2em}
\sffamily
}
{
\endminipage
-\unskip\smallskip
+\par
}
@@ -324,14 +336,160 @@ during \HTML\ output, nor does \pkg{url} create hyperlinks during print output.
}
\newcommand{\limitsabstract}{%
-\pkg{abstract} is supported.
If using the \texttt{number} option with file splits,
+\watchout[missing \acro{TOC}]
be sure to place the table of contents before the abstract.
The number option causes a section break which
may cause a file split, which would put a table of contents out
of the home page if it is after the abstract.
}
+\newcommand{\limitsappendix}{%
+During \HTML\ conversion, the option \texttt{toc} without
+\watchout[incorrect \acro{TOC} link]
+the option \texttt{page} results in a \acro{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{\limitsindexlanguage}{%
+The \pkg{lwarp} package takes an option
+\DescribeOption{IndexLanguage}
+\texttt{IndexLanguage=english} to set the language used by \texttt{xindy}.
+This is passed to \texttt{xindy} using its \texttt{-L} option, and is
+used for both index and glossary generation.
+}
+
+\newcommand{\limitsglossaries}{%
+\texttt{xindy} is required for \pkg{glossaries}.
+
+The default \texttt{style=item} option for \pkg{glossaries} conflicts
+with \pkg{lwarp}, so the style is forced to \texttt{index} instead.
+
+The page number list in the printed form would become \cs{nameref}s in \HTML,
+which could become a very long string if many items are referenced.
+For now, the number list is simply turned off.
+
+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:
+\begin{description}
+
+\item [Numbered section, on its own \HTML\ page:]
+ \begin{sourcedisplay}
+ \cs{usepackage}[xindy,toc,numberedsection=nolabel]\{glossaries\} \\
+ \dots \\
+ \cs{printglossaries}
+ \end{sourcedisplay}
+
+\item [Unnumbered section, inline with the current \HTML\ page:]
+ \begin{sourcedisplay}
+ \cs{usepackage}[xindy,toc]\{glossaries\} \\
+ \dots \\
+ \cs{printglossaries}
+ \end{sourcedisplay}
+
+\item [Unnumbered section, on its own \HTML\ page:]
+ \begin{sourcedisplay}
+ \cs{usepackage}[xindy,toc]\{glossaries\} \\
+ \dots \\
+ \cs{ForceHTMLPage} \\
+ \cs{printglossaries}
+ \end{sourcedisplay}
+\end{description}
+
+\limitsindexlanguage
+
+\DescribeOption[lwarpmk]{printglossary}
+\DescribeOption[lwarpmk]{htmlglossary}
+\texttt{lwarpmk} has the commands \texttt{lwarpmk printglossary} and
+\texttt{lwarpmk htmlglossary} to process the glossaries created by
+\pkg{glossaries} using \texttt{xindy}.
+}
+
+
+\newcommand*{\limitsindex}{%
+
+\limitsindexlanguage
+
+An index may be placed inline with other \HTML\ text, or on its own \HTML\ page:
+\margintag{placement and \acro{TOC} options}
+
+\begin{description}
+
+\item [Inline, with a manual TOC entry:] \
+
+ A commonly-used method to introduce an index in a \LaTeX\ document:
+ \begin{sourcedisplay}
+ \cs{cleardoublepage} \\
+ \cs{phantomsection} \\
+ \cs{addcontentsline}\{toc\}\{section\}\{\cs{indexname}\}\% or chapter \\
+ \cs{printindex}
+ \end{sourcedisplay}
+
+\item [On its own \HTML\ page, with a manual TOC entry:] \
+ \begin{sourcedisplay}
+ \cs{begin}\{warpprint\} \\
+ \cs{cleardoublepage} \\
+ \cs{phantomsection} \\
+ \cs{addcontentsline}\{toc\}\{section\}\{\cs{indexname}\}\% or chapter \\
+ \cs{end}\{warpprint\} \\
+ \cs{ForceHTMLPage} \\
+ \cs{ForceHTMLTOC} \\
+ \cs{printindex}
+ \end{sourcedisplay}
+
+\item [Inline, with an automatic TOC entry:] \
+
+ The \pkg{tocbibind}
+ \DescribePackage{tocbibind}
+ package may be used to automatically place an entry in the \acro{TOC}.
+ \begin{sourcedisplay}
+ \cs{usepackage}[nottoc]\{tocbibind\} \\
+ \dots \\
+ \cs{cleardoublepage} \\
+ \cs{phantomsection} \% to fix print-version index link \\
+ \cs{printindex}
+ \end{sourcedisplay}
+
+\item [On its own \HTML\ page, with an automatic TOC entry:]
+ \begin{sourcedisplay}
+ \cs{usepackage}[nottoc]\{tocbibind\} \\
+ \dots \\
+ \cs{cleardoublepage} \\
+ \cs{phantomsection} \% to fix print-version index link \\
+ \cs{ForceHTMLPage} \\
+ \cs{printindex}
+ \end{sourcedisplay}
+
+ Use the \pkg{tocbibind} \texttt{numindex} option to generate a numbered index.
+\DescribeOption[tocbibind]{numindex}
+ Without this option, the index heading has no number.
+\margintag{numbered index section}
+\end{description}
+}
+
+\newcommand*{\limitspagenote}{%
+\pkg{pagenote} works as-is, but the \texttt{page} option is disabled.
+}
+
+\newcommand*{\limitsendnotes}{%
+To place the endnotes in the \acro{TOC}, use:
+\margintag{table of contents}
+\begin{sourcedisplay}
+\cs{usepackage}\{endnotes\} \\
+\cs{appto}\cs{enoteheading}\{\cs{addcontentsline}\{toc\}\{section\}\{\cs{notesname}\}\}
+\cs{renewcommand*}\{\cs{notesname}\}\{Endnotes\} \% optional \\
+\end{sourcedisplay}
+
+To additionally have the endnotes on their own \HTML\ page,
+\margintag{\HTML\ page}
+if \texttt{FileDepth} allows:
+\begin{sourcedisplay}
+\cs{ForceHTMLPage} \\
+\cs{theendnotes}
+\end{sourcedisplay}
+}
\newcommand{\limitstext}{\cs{textbf}, etc.\ are supported,
@@ -367,6 +525,16 @@ Native \LaTeX\ accents such as \cs{"} will work, but many more kinds of
accents are available when using Unicode-aware \XeLaTeX\ and \LuaLaTeX.
}
+\newcommand{\limitsrelsize}{%
+For \HTML\, only the inline macros are supported: \cs{textlarger}, \cs{textsmaller}, and
+\cs{textscale}. Each becomes an inline span of a modified \attribute{font-size}.
+
+\cs{relsize}, \cs{larger}, \cs{smaller}, and \cs{relscale} are ignored.
+
+While creating \SVG\ math for \HTML, the original definitions are temporarilty restored,
+and so should work as expected.
+}
+
\newcommand{\limitsreferences}{%
\cs{nameref} refers to the most recently-used section where the \cs{label}
was defined. If no section has been defined before the \cs{label},
@@ -649,6 +817,25 @@ For a document with a large amount of math,
see \cref{sec:tutorialmathjax} to use MathJax instead.
}
+\newcommand{\limitsgrffile}{%
+\pkg{grffile} is partially emulated.
+File types known to the browser are displayed, and unknown file types are given a link.
+Each \PDF\ image for print mode should be accompanied
+\watchout[matching \PDF\ and \SVG]
+by an \SVG\ version for \HTML.
+No attempt is made to convert input or filename encodings.
+\watchout[encodings]
+}
+
+\newcommand{\limitscolor}{%
+\pkg{color} is superceded by \pkg{xcolor}, and
+\pkg{lwarp} requires several of the features of \pkg{xcolor}.
+
+It should be sufficient for the user's document to load \pkg{color} then
+\watchout[missing colors]
+load \pkg{xcolor} as well.
+}
+
\newcommand{\limitsxcolor}{%
\cs{colorboxBlock} and \cs{fcolorboxBlock} are provided for
\margintag{\cs{colorboxBlock} and \cs{fcolorboxBlock}}
@@ -891,7 +1078,7 @@ The caption may be placed either inside or outside the \env{fminipage}:
\cs{begin}\{table\}\\
\cs{begin}\{fminipage\}\{\cs{linewidth}\}\\
\cs{begin}\{tabular\}\{lr\}\\
-...\\
+\dots \\
\cs{end}\{tabular\}\\
\cs{end}\{fminipage\}\\
\cs{end}\{table\}\\
@@ -964,12 +1151,10 @@ Footnotes are currently placed at the bottom of the \HTML\ page.
\newcommand{\limitscaption}{%
To ensure proper float numbering, set caption positions
such as:
-
\begin{sourcedisplay}
\cs{captionsetup}[table]\{position=top\} \\
\cs{captionsetup}[figure]\{position=bottom\}
\end{sourcedisplay}
-
Similarly for \texttt{subtable}, \texttt{subfigure},
and \texttt{longtable}.
}
@@ -1055,12 +1240,10 @@ changed to a dash. The following may be used to restore it to a colon:
Also when French is used,
\margintag{punctuation spaces}
-\pkg{lwarp} patches \cs{FBcolonspace} and \cs{FBthinspace} to create
-fixed-width \HTML\ spaces around punctutation:
-\begin{sourcedisplay}
-\cs{renewcommand*}\{\cs{FBcolonspace}\}\{\~{}\} \\
-\cs{renewcommand*}\{\cs{FBthinspace}\}\{\cs{,}\}
-\end{sourcedisplay}
+\pkg{lwarp} creates fixed-width space around punctuation by patching
+\cs{FBcolonspace}, \cs{FBthinspace},
+\cs{FBguillspace}, \cs{FBmedkern}, \cs{FBthickkern}, \cs{FBtextellipsis},
+and the tilde.
If the user's document also changes these parameters,
\watchout[customized spacing]
the user's changes
@@ -1096,26 +1279,6 @@ The proper load order is:
\end{enumerate}
}
-\newcommand{\limitsglossaries}{%
-\texttt{xindy} is required for \pkg{glossaries}.
-
-The default \texttt{style=item} option for \pkg{glossaries} conflicts
-with \pkg{lwarp}, so the style is forced to \texttt{index} instead.
-
-The page number list in the printed form would become \cs{nameref}s in \HTML,
-which could become a very long string if many items are referenced.
-For now, the number list is simply turned off.
-
-\texttt{lwarpmk} has the commands \texttt{printglossary} and
-\texttt{htmlglossary} to process the glossaries created by
-\pkg{glossaries} using \texttt{xindy}.
-
-The package \pkg{lwarp} takes an option
-\DescribeOption{IndexLanguage}
-\texttt{IndexLanguage=english} to set the language used by \texttt{xindy}.
-This is passed to \texttt{xindy} using its \texttt{-L} option, and is
-used for both index and glossary generation.
-}
\newcommand{\osportabilityusage}{%
@@ -1160,7 +1323,7 @@ This boolean may be tested by the user for later use.
%<*package>
% \fi
%
-% \CheckSum{13116}
+% \CheckSum{13540}
%
% \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
@@ -1239,6 +1402,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.36}{2017/08/15}{Source: Improved formatting.}
% \changes{v0.36}{2017/08/17}{\ 2017/08/17}
% \changes{v0.37}{2017/08/19}{\ 2017/08/19}
+% \changes{v0.38}{2017/08/27}{\ 2017/08/27}
@@ -1269,13 +1433,13 @@ This boolean may be tested by the user for later use.
%
% \bigskip
%
-% {\small\copyright{} 2016--2017} Brian Dunn\\ \small \texttt{bd@BDTechConcepts.com}
+% {\small\textcopyright{} 2016--2017} 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\copyright{} 2016--2017} Brian Dunn\\ \small \texttt{bd@BDTechConcepts.com}}
+% ^^A % \author{{\small\textcopyright{} 2016--2017} Brian Dunn\\ \small \texttt{bd@BDTechConcepts.com}}
% ^^A % \published{}
% ^^A % \subtitle{\textup{\LaTeX{} to HTML5}}
% ^^A %
@@ -1373,6 +1537,34 @@ This boolean may be tested by the user for later use.
% For a detailed list of changes, see the Change History on page \pageref{sec:changehistory}.
%
% \begin{description}
+% \item[v0.38:] \
+% \begin{itemize}
+% \item Added |lwarpmk print1| and |lwarpmk html1| actions to
+% \margintag{forced single-pass compile}
+% force a compile of the project a single time.
+% Useful when multiple passes are not needed,
+% or changes were not detected.
+% \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.
+% See \cref{sec:forcesectionstar}.
+% \item Modified the tutorial to use the new \cs{ForceHTMLPage}
+% \margintag{updated tutorial}
+% and \cs{ForceHTMLTOC} macros.
+% \item Added \pkg{appendix}, \pkg{tocbibind}, \pkg{fncychap}, \pkg{fix2col}.
+% \margintag{packages}
+% \item Added \pkg{relsize}, \pkg{scalefnt}.
+% \item Added \pkg{realscripts}, \pkg{metalogo}, \pkg{xltxtra}.
+% \item Added \pkg{grffile}, \pkg{romanbar}.
+% \item Added \pkg{arabicfront}, \pkg{chappg}, \pkg{nonumonpart}, \pkg{nopageno},
+% \pkg{romanbarpagenumber}.
+% \item Docs: Improved description of the use of front/back matter.
+% \margintag{front \& back matter}
+% See \cref{sec:frontbackmatter}.
+% \item Fix: \pkg{color} requests \pkg{xcolor}.
+% \item Fix: \cs{part} for |article| class.
+% \end{itemize}
% \item[v0.37:] \
% \begin{itemize}
% \item \cs{include} now maintains independent |.aux| files
@@ -1839,6 +2031,7 @@ This boolean may be tested by the user for later use.
% \subsection{Supported packages and features}
%
% \changes{v0.15}{2016/04/05}{Docs: Moved the supported functions table to the introduction.}
+% \changes{v0.38}{2017/08/22}{Docs: Enhanced \protect\textit{Supported Functions} table.}
%
% Supported classes include \pkg{book}, \pkg{report}, and \pkg{article}.
% \pkg{memoir} is planned, but in the meantime many of the packages
@@ -1867,25 +2060,23 @@ This boolean may be tested by the user for later use.
% \midrule
% Classes: & \pkg{book}, \pkg{report}, or \pkg{article}. \pkg{memoir} is planned. \\
% \midrule
+% Page layout: & Emulates \pkg{fancyhdr}, \pkg{titleps}. \\
% Sectioning: & Supported, with hyperlinks.
% Honors \cmds{tocdepth} and \cmds{secnumdepth}.
-% Adds \cmds{filedepth} for splitting the \HTML\ output.
+% Adds \cmds{FileDepth} for splitting the \HTML\ output.
% Files may be numbered sequentially or named according to section name.
% Common short words and punctuation is removed from the filenames.
-% Emulates \pkg{titlesec}. \\
-% Page layout: & Emulates \pkg{fancyhdr}, \pkg{titleps}. \\
+% Emulates \pkg{titlesec}, \pkg{fncychap}. \\
% Table of contents, figures, tables: & Supported, with hyperlinks.
-% Emulates \pkg{titletoc} and \pkg{tocloft}. \\
+% Supports \pkg{tocbibind}. Emulates \pkg{titletoc} and \pkg{tocloft}. \\
% Title page: & \cs{maketitle}, \env{titlepage}, \pkg{titling}. Optional
% \pkg{titling}-based commands for published and subtitle. \\
-% \env{abstract}: & Supported \\
+% Front \&\ back matter: & \pkg{abstract}, \pkg{appendix} \\
% \midrule
-% Cross-references: & Emulated, with hyperlinks. \\
-% \pkg{hyperref}: & Emulated.
-% \HTML\ hyperlinks are generated for \TOC, \LOF, \LOT,
-% \cs{nameref}, \cs{ref},
-% the \pkg{cleveref} commands, and index entries.\\
-% \pkg{url}: & Supported, without hyperlinks so far. \\
+% Cross-references: & Emulated, with hyperlinks.
+% \pkg{hyperref}, \pkg{cleveref}, \pkg{varioref}, \pkg{url}. \\
+% Bibliography & Supported text-only. \\
+% Languages & \pkg{babel}. (\pkg{polyglossia} is untested.) \\
% \midrule
% Margin notes: & \pkg{marginfit}, \pkg{marginfix}. \\
% Footnotes: & \pkg{footnote}, \pkg{footmisc},
@@ -1902,57 +2093,56 @@ This boolean may be tested by the user for later use.
% due to native \LaTeX{} processing.\\
% Theorems: & Support for native \LaTeX\ theorems, plus
% \pkg{theorem}, \pkg{amsthm}, \pkg{ntheorem}. \\
+% Add'l math: & \pkg{delarray}, \pkg{bm}, math fonts via \SVG\ images. \\
+% Units and fractions: & \pkg{siunitx}, \pkg{xfrac}, \pkg{nicefrac}, \pkg{units} \\
% \midrule
% Floats: & Appear where declared.
% \pkg{float}, \pkg{rotfloat}, \pkg{newfloat}, \pkg{caption} and \pkg{subcaption},
% \pkg{subfig}, \pkg{capt-of}, \pkg{placeins}, \pkg{trivfloat}, \pkg{floatrow},
% \pkg{keyfloat}, \pkg{wrapfig}, \pkg{cutwin}, \pkg{floatflt}. \\
% \midrule
-% \env{tabular}: & Emulated.
-% \cs{multirow} and \cs{multicolumn} are available, but cannot
-% be used at the same time.
-% Nested tables are not supported. \\
-% \pkg{array}: & Supported inside math environments, emulated elsewhere. \\
-% \pkg{tabularx}, \pkg{tabulary}, \pkg{threeparttable}, \pkg{multirow}: & Emulated. \\
-% \pkg{longtable}: & Emulated. Converted to a tabular. Captions supported.
-% Extra headings and \cs{kill} lines must be enclosed in
-% \cs{warpprintonly\{\}} \\
-% \cmidrule{2-2}
-% \pkg{booktabs}: & Emulated. \cs{toprule} and \cs{bottomrule}
-% form black rules, \cs{midrule} forms silver rules, as demonstrated on
-% this table.
-% \cs{cmidrule}, demonstrated at this line, does not use width or trim options. \\
+% Tabular &
+% \env{tabular} environment, \pkg{array}, \pkg{tabularx}, \pkg{tabulary},
+% \pkg{threeparttable}, \pkg{multirow}, \pkg{longtable}, \pkg{booktabs}. \\
% \midrule
-% \pkg{graphics}, \pkg{graphicx}: & Emulated.
+% Graphics & \pkg{graphics} and \pkg{graphicx} are emulated.
% \cs{includegraphics} supports \cmds{width}, \cmds{height},
% \cmds{origin}, \cmds{angle}, and \cmds{scale} tags, and adds \cmds{class}.
% References to \PDF\ files are changed to \SVG, other image types
% are accepted as well.
-% \cs{rotatebox} and \cs{scalebox} are supported as well as \HTML\ can handle. \\
+% \cs{rotatebox} and \cs{scalebox} are supported as well as \HTML\ can handle.
+% \pkg{grffile} is emulated. \\
% \pkg{rotating}: & Emulated. All objects are displayed unrotated. \\
+% \pkg{picture} and \pkg{tikz}: & Converted to an \SVG\ image. \\
+% \midrule
+% \pkg{xcolor}: & \textcolor{DarkGreen}{Supported}.
+% Full package color names, any color models,
+% and \textcolor{Goldenrod}{mixing}.
+% \textcolor{Maroon}{\cs{textcolor}},
+% \colorbox{LightSteelBlue}{\cs{colorbox}},
+% \fcolorbox{red}{NavajoWhite}{\cs{fcolorbox}}.
+% Enhanced for \HTML\ compatibility. \\
% \midrule
% Lists: & Standard \LaTeX\ environments are supported, along with
% \pkg{enumitem}, \pkg{enumerate}, \pkg{paralist}.
% Spacing is still controlled by \CSS. \\
% \midrule
% Environments: & Standard \LaTeX{} environments are supported. \\
-% \pkg{picture} and \pkg{tikz}: & Converted to an \SVG\ image. \\
% \env{minipage}: & Supported with some \HTMLfive-imposed limitations.
% Nested minipages are supported.
% Footnotes appear at the bottom of the \HTML\ page. \\
+% Quotations: & \pkg{verse}, \pkg{csquotes}, \pkg{epigraph} \\
% Verbatim: & \pkg{verbatim}, \pkg{moreverb}, \pkg{fancyvrb} (except for verbatim footnotes). \\
% Frames: & \pkg{framed}, \pkg{fancybox}, \pkg{mdframed}, \pkg{boxedminipage2e}, \pkg{shadow}. \\
% \pkg{multicol}: & Emulated, with \CSSthree.
% Converted to up to three columns with an optional heading,
% per browser support. Single-column if unsupported.\\
% \midrule
-% \pkg{siunitx}: & Mostly supported except for \cmds{per-mode=fraction}. \\
-% \pkg{xfrac}: & Supported \\
-% \midrule
% Direct formatting: & \cs{emph}, \cs{textsuperscript},
% \cs{textbf}, etc are supported.
% \cs{bfseries}, etc.\ are not yet supported.
-% \pkg{lettrine}, \pkg{ulem}, and \pkg{soul} are supported. \\
+% \pkg{lettrine}, \pkg{ulem}, \pkg{soul}, \pkg{relsize}, \pkg{scalefnt},
+% and \pkg{realscripts} are supported. \\
% Ordinals: & \pkg{nth}, \pkg{fmtcount}, and \pkg{engord} are supported. \\
% Text ligatures: & Ligatures for symbols are supported.
% Ligatures for f, q, t are intentionally turned off
@@ -1965,15 +2155,16 @@ This boolean may be tested by the user for later use.
% \HTML\ reserved characters: & \cs{\&}, \cs{textless}, and
% \cs{textgreater} are converted to \HTML\ entities. \\
% \midrule
-% \pkg{xcolor}: & \textcolor{DarkGreen}{Supported}.
-% Full package color names, any color models,
-% and \textcolor{Goldenrod}{mixing} is
-% converted to hex web colors via \cs{convertcolorspec}.
-% Patched commands are
-% \textcolor{Maroon}{\cs{textcolor}},
-% \colorbox{LightSteelBlue}{\cs{colorbox}},
-% and \fcolorbox{red}{NavajoWhite}{\cs{fcolorbox}}.
-% \cs{pagecolor} is not supported. \\
+% Fonts: & Used as-is. Appear in math expressions or embedded image environments. \\
+% Symbols: & Native \LaTeX\ diacriticals, \pkg{textcomp}. \\
+% \midrule
+% Working as-is: &
+% Various utility, calculation, file, and text-only packags, such as
+% \pkg{calc},
+% \pkg{fileerr},
+% \pkg{somedefs},
+% \pkg{trace},
+% \pkg{xspace}. \\
% \midrule
% Where: & \\
% \textbf{Supported:} & The existing \LaTeX{} package is used. \\
@@ -1984,37 +2175,9 @@ This boolean may be tested by the user for later use.
% \end{longtable}
%
%
-% Supported packages include everything listed in the table of contents,
-% plus the packages listed in \cref{tab:additionalsupported},
-% and probably others which have not yet been tested.
-% Many are simply nullfied during \HTML\ output.
-% Others are not affected by the output mode and thus work as-is.
%
%
-% \begin{table}
-% \caption{Additional supported packages}
-% \label{tab:additionalsupported}
-% \sffamily
-% babel, bm,
-% calc, cleveref, csquotes,
-% fancyvrb, fileerr,
-% newtxmath, nicefrac
-% siunitx, somedefs,
-% tikz, trace,
-% units, url,
-% varioref,
-% xspace
-% \end{table}
%
-%
-% These packages and features probably works with little or no change to the
-% user's source code.
-% Special environments are provided to mark blocks of code which are for
-% print only, \HTML\ only, or both, should it be necessary.
-%
-%
-%
-%
% \clearpage
%
% \section{Alternatives}
@@ -2651,6 +2814,9 @@ This boolean may be tested by the user for later use.
%
% \VerbatimInput{lwarp_tutorial.txt}
%
+% ^^A so they don't copy/paste the header:
+% \thispagestyle{empty}
+%
% ^^A **************************************************************************
% ^^A NOTE: lwarp_tutorial.txt is located in the TDS doc directory!
% ^^A Copy it to the source directory if you wish to recompile lwarp.dtx!
@@ -2748,7 +2914,6 @@ This boolean may be tested by the user for later use.
% Several compilations may be necessary to resolve cross-references.
%
% \item Force a recompile to occur.
-%
% \userentry{lwarpmk again}
% \userentry{lwarpmk print}
%
@@ -2759,12 +2924,15 @@ This boolean may be tested by the user for later use.
%
% \item Process the index.\index{index>processing}\footnote{A \texttt{lwarpmk printglossary} command is also
% available to process a glossary produced with the \textsf{glossaries} package.
-% See \cref{sec:glossaries}.}
+% See \cref{sec:glossaries}.}\footnote{Also see \cref{sec:indextocbibind} for index options.}
% \userentry{lwarpmk printindex}
%
% \item Recompile again to include the index.
% \userentry{lwarpmk print}
%
+% \item To force a single recompile when needed, even if no changes were detected:
+% \userentry{lwarpmk print1}
+%
% \end{enumerate}
%
% Note that the \HTML\ customization commands are ignored while making the
@@ -2819,13 +2987,17 @@ This boolean may be tested by the user for later use.
%
% \item Process the \HTML\ index and recompile:\index{index>processing}\footnote{A \texttt{lwarpmk htmlglossary} command is also
% available to process a glossary produced with the \textsf{glossaries} package.
-% See \cref{sec:glossaries}.}
+% See \cref{sec:glossaries}.}\footnote{Also see \cref{sec:indextocbibind} for index options.}
% \userentry{lwarpmk htmlindex}
% \userentry{lwarpmk html}
%
-% |_Index.html|, is updated for the new \LaTeX\ index.
+% |_Index.html| is updated for the new \LaTeX\ index.
%
% \item Reload the web page to see the added index.
+%
+% \item To force a single recompile when needed, even if no changes were detected:
+% \userentry{lwarpmk html1}
+%
% \end{enumerate}
%
%
@@ -2885,7 +3057,8 @@ This boolean may be tested by the user for later use.
% options for rendering, and for copying the \LaTeX\ source.
%
% While using MathJax has many advantages, it may not be able to represent
-% complex expressions or spacing adjustments as well as \LaTeX.
+% complex expressions or spacing adjustments as well as \LaTeX, and it
+% may not support some math-related packages.
%
%
%
@@ -3256,6 +3429,11 @@ This boolean may be tested by the user for later use.
% the |lwarpmk| utility does and it is likely to correctly know when to
% recompile. A recompile may be forced by making a small change to the source.
%
+% A single recompile may be forced with:
+% \margintag{forced single-pass recompile}
+% \userentry{lwarpmk print1} \quad and/or
+% \userentry{lwarpmk html1}
+%
%
% \clearpage
%
@@ -3889,6 +4067,9 @@ This boolean may be tested by the user for later use.
% |\item[\href{file\_name.pdf}{text}]|
% \end{sourcedisplay}
%
+% \subsubsection{\pkg{relsize} package}
+%
+% \limitsrelsize
%
%
% \subsection{Boxes and minipages}
@@ -4037,6 +4218,91 @@ This boolean may be tested by the user for later use.
% \limitsfootnotes
%
%
+%
+% \subsection{Front and back matter}
+% \label{sec:frontbackmatter}
+%
+% \subsubsection{Starred chapters and sections}
+% \label{sec:forcesectionstar}
+%
+% \changes{v0.38}{2017/08/24}{Docs: Starred sections.}
+%
+% The following describes \cs{ForceHTMLPage} and \cs{ForceHTMLTOC},
+% which may be used for \pkg{endnotes}, \pkg{glossaries}, \pkg{tocbibind},
+% and the index. See the following sections where applicable.
+% Continue here if interested in the reason for adding these commands to \pkg{lwarp}.
+%
+% 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.
+%
+% \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.
+%
+% \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
+% 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.
+% If the starred section has its own \HTML\ page but no correct \acro{TOC} entry
+% \watchout[inaccessible \HTML\ page]
+% 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
+% for a starred section, use \cs{ForceHTMLTOC} just before the \cs{chapter*} or
+% \cs{section*}. The \acro{TOC} will only be assigned for \HTML\ output, not
+% for print output, and it will appear in the main \acro{TOC} and also the side\acro{TOC}
+% per page.
+%
+% For print output, \cs{ForceHTMLTOC} and \cs{ForceHTMLPage} have no effect.
+%
+%
+% \subsubsection{\pkg{abstract} package}
+%
+% \limitsabstract
+%
+%
+% \subsubsection{\pkg{appendix} package}
+%
+% \limitsappendix
+%
+%
+% \subsubsection{\pkg{pagenote} package}
+%
+% \limitspagenote
+%
+%
+% \subsubsection{\pkg{endnotes} package}
+%
+% \limitsendnotes
+%
+%
+% \subsubsection{\pkg{glossaries} package}
+% \label{sec:glossaries}
+%
+% \DescribePackage{glossaries}
+% \limitsglossaries
+%
+%
+% \subsubsection{Index and the \pkg{tocbibind} package}
+% \label{sec:indextocbibind}
+% \index{index>placement and \acro{TOC} options}
+%
+% \changes{v0.38}{2017/08/24}{Docs: Index, \protect\pkg{tocbibind}.}
+%
+% \limitsindex
+%
+% See \cref{sec:index}.
+%
+%
+%
% \subsection{Math}
% \label{sec:limitsmath}
%
@@ -4076,6 +4342,16 @@ This boolean may be tested by the user for later use.
% \limitsgraphics
%
%
+% \subsubsection{\pkg{grffile} package}
+%
+% \limitsgrffile
+%
+%
+% \subsubsection{\pkg{color} package}
+%
+% \limitscolor
+%
+%
% \subsubsection{\pkg{xcolor} package}
%
% \limitsxcolor
@@ -4119,10 +4395,6 @@ This boolean may be tested by the user for later use.
%
% \subsection{Miscellaneous}
%
-% \subsubsection{\pkg{abstract} package}
-%
-% \limitsabstract
-%
%
% \subsubsection{\pkg{verse} and \pkg{memoir}}
%
@@ -4146,12 +4418,6 @@ This boolean may be tested by the user for later use.
% \limitsbabeltwo
%
%
-% \subsubsection{\pkg{glossaries} package}
-% \label{sec:glossaries}
-%
-% \DescribePackage{glossaries}
-% \limitsglossaries
-%
%
%
%
@@ -4235,7 +4501,7 @@ This boolean may be tested by the user for later use.
% Select the ``magic wand'' to the right of this entry box, and set
% the first entry
% \begin{UIdisplay}
-% Math HTML tags with tag name:
+% Match HTML tags with tag name:
% \end{UIdisplay}
% to \element{h4}. (Or \element{h3} for document classes with \cs{chapter}s.)
% The \textsf{Detect chapters at} field should then show
@@ -4322,14 +4588,29 @@ This boolean may be tested by the user for later use.
%
% An additional boolean may be set to help mark float boundaries:
%
+% \newcommand{\describeHTMLMarkFloats}{
+% Default true.
+% Adds
+% \begin{sourcedisplay}
+% === table begin \\
+% \dots \\
+% === end
+% \end{sourcedisplay}
+% or
+% \begin{sourcedisplay}
+% === figure begin \\
+% \dots \\
+% === end
+% \end{sourcedisplay}
+% around floats while formatting for word processors.
+% This helps identify boundaries of floats to be manually converted
+% to word-processor frames.
+% }
+%
% \DescribeBoolean{HTMLMarkFloats}
% \begin{docsidebar}
% \raggedright
-% Default true.
-% Adds |=== table begin| or |=== figure begin|, and |=== end|
-% around floats while formatting for word processors.
-% This helps identify boundaries of floats to be manually converted
-% to word-processor frames.
+% \describeHTMLMarkFloats
% \end{docsidebar}
% \index{word processor>HTML conversion settings}
% \index{HTML>conversion settings>word processor}
@@ -4388,8 +4669,15 @@ This boolean may be tested by the user for later use.
% will not need to be emulated for \HTML\ output. Only the ``user-facing''
% macros need to be nullified or emulated.
%
-% Each |lwarp-| package should first call either \cs{LWR@ProvidesPackageDrop}
-% or \cs{LWR@ProvidesPackagePass}. If |Drop|ped, the original print-version
+% Each |lwarp-| package should first call either
+% \begin{sourcedisplay}
+% \cs{LWR@ProvidesPackageDrop}
+% \end{sourcedisplay}
+% or
+% \begin{sourcedisplay}
+% \cs{LWR@ProvidesPackagePass}
+% \end{sourcedisplay}
+% If |Drop|ped, the original print-version
% package is ignored, and only the |lwarp-| version is used.
% Use this where the original print version is useless for \HTML.
% If |Pass|ed, the original package is loaded first, with the user-supplied options,
@@ -4401,6 +4689,17 @@ This boolean may be tested by the user for later use.
% For a case where the original package is usable without changes, there is no
% need to create a |lwarp-| version.
%
+% \subsection{Adding a package to the \pkg{lwarp.dtx} file}
+%
+% When adding a package to |lwarp.dtx| for permanent inclusing in \pkg{lwarp},
+% provide the |lwarp-<packagename>| code in |lwarp.dtx|,
+% add its entry into |lwarp.ins|, and also remember to add
+% \begin{sourcedisplay}
+% \cs{LWR@loadafter}\{\textless{}packagename\textgreater\}
+% \end{sourcedisplay}
+% to |lwarp.dtx| in \cref{sec:loadafter}. This causes \pkg{lwarp} to stop with
+% an error if \pkg{packagename} is loaded before \pkg{lwarp}.
+%
%
% \subsection{Testing \protect\pkg{lwarp}}
%
@@ -4744,7 +5043,7 @@ This boolean may be tested by the user for later use.
% \vfill
%
% \begin{center}
-% \pkg{lwarp} source code begins on the following page.
+% --- \pkg{lwarp} source code begins on the following page ---
% \end{center}
%
%
@@ -5027,7 +5326,7 @@ This boolean may be tested by the user for later use.
% The default is |lwarp.xdy|.
% A customized file should be based on |lwarp.xdy|, and must retain
% the line
-% \begin{Verbatim}[gobble=4]
+% \begin{Verbatim}[gobble=2]
% (markup-locref :open "\hyperindexref{" :close "}")
% \end{Verbatim}
%
@@ -5258,6 +5557,8 @@ This boolean may be tested by the user for later use.
% \begin{macro}{\LWR@loadafter} \marg{packagename} \quad
% Error if this package was loaded before \pkg{lwarp}.
%
+% \label{sec:loadafter}
+%
% \begin{macrocode}
\newcommand*{\LWR@loadafter}[1]{%
\@ifpackageloaded{#1}
@@ -5327,6 +5628,8 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{algorithmicx}
\LWR@loadafter{alltt}
\LWR@loadafter{amsthm}
+\LWR@loadafter{appendix}
+\LWR@loadafter{arabicfront}
\LWR@loadafter{array}
\LWR@loadafter{balance}
\LWR@loadafter{bookmark}
@@ -5335,6 +5638,8 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{boxedminipage2e}
\LWR@loadafter{ccaption}
\LWR@loadafter{changepage}
+\LWR@loadafter{chappg}
+\LWR@loadafter{color}
\LWR@loadafter{crop}
\LWR@loadafter{cutwin}
\LWR@loadafter{dcolumn}
@@ -5352,17 +5657,20 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{fancyhdr}
\LWR@loadafter{fancyvrb}
\LWR@loadafter{figcaps}
+\LWR@loadafter{fix2col}
\LWR@loadafter{float}
\LWR@loadafter{floatflt}
\LWR@loadafter{floatpag}
\LWR@loadafter{floatrow}
\LWR@loadafter{flushend}
+\LWR@loadafter{fncychap}
\LWR@loadafter{ftnright}
\LWR@loadafter{fullpage}
\LWR@loadafter{geometry}
\LWR@loadafter{glossaries}
% \LWR@loadafter{graphics}% pre-loaded by xunicode
% \LWR@loadafter{graphicx}% pre-loaded by xunicode
+\LWR@loadafter{grffile}
\LWR@loadafter{hyperref}
\LWR@loadafter{hyperxmp}
\LWR@loadafter{idxlayout}
@@ -5381,6 +5689,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{marginnote}
\LWR@loadafter{mcaption}
\LWR@loadafter{mdframed}
+\LWR@loadafter{metalogo}
\LWR@loadafter{microtype}
\LWR@loadafter{moreverb}
\LWR@loadafter{mparhack}
@@ -5390,6 +5699,8 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{needspace}
\LWR@loadafter{newtxmath}
\LWR@loadafter{nextpage}
+\LWR@loadafter{nonumonpart}
+\LWR@loadafter{nopageno}
\LWR@loadafter{nowidow}
\LWR@loadafter{ntheorem}
\LWR@loadafter{pagenote}
@@ -5400,19 +5711,26 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{placeins}
\LWR@loadafter{prelim2e}
\LWR@loadafter{ragged2e}
+\LWR@loadafter{realscripts}
+\LWR@loadafter{relsize}
+\LWR@loadafter{romanbar}
+\LWR@loadafter{romanbarpagenumber}
\LWR@loadafter{rotating}
\LWR@loadafter{rotfloat}
\LWR@loadafter{savetrees}
+% \LWR@loadafter{scalefnt}% loaded by babel-french
\LWR@loadafter{setspace}
\LWR@loadafter{shadow}
\LWR@loadafter{showidx}
\LWR@loadafter{showkeys}
\LWR@loadafter{sidecap}
\LWR@loadafter{sidenotes}
+\LWR@loadafter{siunitx}
\LWR@loadafter{soul}
\LWR@loadafter{subfig}
\LWR@loadafter{tabularx}
\LWR@loadafter{tabulary}
+% \LWR@loadafter{textcomp}% maybe before lwarp with font packages
\LWR@loadafter{textpos}
\LWR@loadafter{theorem}
\LWR@loadafter{threeparttable}
@@ -5420,6 +5738,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{titleps}
\LWR@loadafter{titlesec}
\LWR@loadafter{titletoc}
+\LWR@loadafter{tocbibind}
\LWR@loadafter{tocloft}
\LWR@loadafter{transparent}
\LWR@loadafter{trivfloat}
@@ -5431,6 +5750,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{wrapfig}
\LWR@loadafter{xcolor}
\LWR@loadafter{xfrac}
+\LWR@loadafter{xltxtra}
\LWR@loadafter{xmpincl}
% \end{macrocode}
@@ -6332,13 +6652,11 @@ top=1in,bottom=1in,%
% \end{macrocode}
%
%
-% \DescribeBoolean{HTMLMarkFloats} Default true.
-% Adds |=== table begin| or |=== figure begin|, and |=== end|
-% around floats while formatting for word processors.
-% This helps identify boundaries of floats to be manually converted
-% to word-processor frames.
-% (Perhaps some day word processors will have \HTML\ import options
-% for identifying \element{div} classes for figures and tables.)
+% \DescribeBoolean{HTMLMarkFloats}
+% \describeHTMLMarkFloats
+% \footnote{Perhaps some day word processors will have \HTML\ import options
+% for identifying \element{div} classes for figures and tables,
+% along with the associated captions.}
% \index{word processor>HTML conversion settings}
% \index{HTML>conversion settings>word processor}
%
@@ -6443,117 +6761,32 @@ top=1in,bottom=1in,%
% \section{Textcomp}
%
-% \limitstextcomp
-%
-% \changes{v0.37}{2017/08/18}{\pkg{textcomp}: Improved support.}
-%
% \codehtml
% \begin{macrocode}
\begin{warpHTML}
% \end{macrocode}
%
-% Modifications for \pkg{textcomp} are done \cs{AtBeginDocument} since
-% \pkg{textcomp} may have been loaded before \pkg{lwarp}.
+%
+% If \pkg{textcomp} was loaded before \pkg{lwarp},
+% perhaps as part of the font-related packages,
+% explicitly load the lwarp patches now:
% \begin{macrocode}
-\AtBeginDocument{% in case textcomp was not loaded
-
\@ifpackageloaded{textcomp}
{
-% \end{macrocode}
-% The following are restored for print when inside a \env{lateximage}:
-% \begin{macrocode}
-\let\LWR@origtextdegree\textdegree
-\let\LWR@origtextcelsius\textcelsius
-\let\LWR@origtextohm\textohm
-\let\LWR@origtextmu\textmu
-\LetLtxMacro\LWR@origcapitalcedilla\capitalcedilla
-\LetLtxMacro\LWR@origcapitalogonek\capitalogonek
-\LetLtxMacro\LWR@origcapitalgrave\capitalgrave
-\LetLtxMacro\LWR@origcapitalacute\capitalacute
-\LetLtxMacro\LWR@origcapitalcircumflex\capitalcircumflex
-\LetLtxMacro\LWR@origcapitaltilde\capitaltilde
-\LetLtxMacro\LWR@origcapitaldieresis\capitaldieresis
-\LetLtxMacro\LWR@origcapitalhungarumlaut\capitalhungarumlaut
-\LetLtxMacro\LWR@origcapitalring\capitalring
-\LetLtxMacro\LWR@origcapitalcaron\capitalcaron
-\LetLtxMacro\LWR@origcapitalbreve\capitalbreve
-\LetLtxMacro\LWR@origcapitalmacron\capitalmacron
-\LetLtxMacro\LWR@origcapitaldotaccent\capitaldotaccent
-\LetLtxMacro\LWR@origtextcircled\textcircled
-% \end{macrocode}
-% For \HTML, use \HTML\ entities or direct Unicode, depending on the engine:
-% \begin{macrocode}
-\ifPDFTeX
-\renewcommand*{\textdegree}{\HTMLentity{deg}}
-\renewcommand*{\textcelsius}{\HTMLentity{deg}\,C}
-\renewcommand*{\textohm}{\HTMLunicode{2126}}
-\renewcommand*{\textmu}{\HTMLunicode{00B5}}
-\else
-\renewcommand*{\textdegree}{°}
-\renewcommand*{\textcelsius}{°C}
-\renewcommand*{\textohm}{Ω}
-\renewcommand*{\textmu}{μ}
-\fi
-% \end{macrocode}
-% For \HTML, Unicode diacritical marks are used:
-% \begin{macrocode}
-\renewcommand*{\capitalcedilla}[1]{#1\HTMLunicode{0327}}
-\renewcommand*{\capitalogonek}[1]{#1\HTMLunicode{0328}}
-\renewcommand*{\capitalgrave}[1]{#1\HTMLunicode{0300}}
-\renewcommand*{\capitalacute}[1]{#1\HTMLunicode{0301}}
-\renewcommand*{\capitalcircumflex}[1]{#1\HTMLunicode{0302}}
-\renewcommand*{\capitaltilde}[1]{#1\HTMLunicode{0303}}
-\renewcommand*{\capitaldieresis}[1]{#1\HTMLunicode{0308}}
-\renewcommand*{\capitalhungarumlaut}[1]{#1\HTMLunicode{30B}}
-\renewcommand*{\capitalring}[1]{#1\HTMLunicode{30A}}
-\renewcommand*{\capitalcaron}[1]{#1\HTMLunicode{30C}}
-\renewcommand*{\capitalbreve}[1]{#1\HTMLunicode{306}}
-\renewcommand*{\capitalmacron}[1]{#1\HTMLunicode{304}}
-\renewcommand*{\capitaldotaccent}[1]{#1\HTMLunicode{307}}
-% \end{macrocode}
-% \cs{textcircled} becomes a span with a rounded border:
-% \begin{macrocode}
-\renewcommand*{\textcircled}[1]{%
-\InlineClass[border: 1px solid \LWR@currenttextcolor]{textcircled}{#1}%
+\LWR@origRequirePackage{lwarp-textcomp}
}
% \end{macrocode}
-%
-% \begin{macro}{\LWR@restoreorigtextcomp}
-% Called from \cs{restoreoriginalformatting} when a \env{lateximage} is begun.
+% If \pkg{textcomp} is loaded after \pkg{warp},
+% \pkg{lwarp} will automatically load \pkg{lwarp-textcomp}
+% at that time. Meanwhile, define a null version
+% of \cs{LWR@restoreorigtextcomp} until \pkg{textcomp} is
+% actually loaded, at which point \pkg{lwarp-textcomp} will
+% replaced \cs{LWR@restoreorigtextcomp}.
% \begin{macrocode}
-\newcommand*{\LWR@restoreorigtextcomp}{%
-\let\textdegree\LWR@origtextdegree%
-\let\textcelsius\LWR@origtextcelsius%
-\let\textohm\LWR@origtextohm%
-\let\textmu\LWR@origtextmu%
-\LetLtxMacro\capitalcedilla\LWR@origcapitalcedilla%
-\LetLtxMacro\capitalogonek\LWR@origcapitalogonek%
-\LetLtxMacro\capitalgrave\LWR@origcapitalgrave%
-\LetLtxMacro\capitalacute\LWR@origcapitalacute%
-\LetLtxMacro\capitalcircumflex\LWR@origcapitalcircumflex%
-\LetLtxMacro\capitaltilde\LWR@origcapitaltilde%
-\LetLtxMacro\capitaldieresis\LWR@origcapitaldieresis%
-\LetLtxMacro\capitalhungarumlaut\LWR@origcapitalhungarumlaut%
-\LetLtxMacro\capitalring\LWR@origcapitalring%
-\LetLtxMacro\capitalcaron\LWR@origcapitalcaron%
-\LetLtxMacro\capitalbreve\LWR@origcapitalbreve%
-\LetLtxMacro\capitalmacron\LWR@origcapitalmacron%
-\LetLtxMacro\capitaldotaccent\LWR@origcapitaldotaccent%
-\LetLtxMacro\textcircled\LWR@origtextcircled%
+{
+\providecommand*{\LWR@restoreorigtextcomp}{}%
}
% \end{macrocode}
-% \end{macro}
-%
-% \begin{macrocode}
-}% textcomp loaded
-{% textcomp not loaded
-% \end{macrocode}
-% A null version for use when \pkg{textcomp} was not loaded:
-% \begin{macrocode}
-\newcommand*{\LWR@restoreorigtextcomp}{}%
-}% textcomp not loaded
-
-}% AtBeginDocument
% \begin{macrocode}
\end{warpHTML}
@@ -6561,6 +6794,7 @@ top=1in,bottom=1in,%
+
% \section{Accents}
%
% \limitsaccents
@@ -6645,38 +6879,6 @@ top=1in,bottom=1in,%
-% \section{SIunitx}
-
-% \changes{v0.36}{2017/08/17}{\pkg{siunitx}: Improved symbol support.}
-% \changes{v0.37}{2017/08/17}{\pkg{siunitx}: Improved symbol support.}
-
-% \codehtml
-% \begin{macrocode}
-\begin{warpHTML}
-% \end{macrocode}
-
-% \begin{macrocode}
-\AtBeginDocument{% in case textcomp was not loaded
-
-\@ifpackageloaded{siunitx}
-{
-\DeclareSIUnit\bohr{\textit{a}\textsubscript{0}}
-\DeclareSIUnit\clight{\textit{c}\textsubscript{0}}
-\DeclareSIUnit\elementarycharge{\textit{e}}
-\DeclareSIUnit\electronmass{\textit{m}\textsubscript{e}}
-\DeclareSIUnit\hartree{\textit{E}\textsubscript{h}}
-}% siunitx loaded
-{}% siunitx not loaded
-
-}% AtBeginDocument
-
-% \begin{macrocode}
-\end{warpHTML}
-% \end{macrocode}
-
-
-
-
% \section{Configuration Files}
@@ -6880,7 +7082,7 @@ body {
p {margin: 1.5ex 0em 1.5ex 0em ;}
/* Holds a section number to add space between it and the name */
-span.sectionnumber { margin-right: .6em }
+span.sectionnumber { margin-right: 0em }
/* Inserted in front of index lines */
span.indexitem {margin-left: 0em}
@@ -6920,6 +7122,33 @@ span.textsf {
span.textcircled { border: 1px solid black ; border-radius: 1ex ; }
+
+
+/* For realscripts */
+.supsubscript {
+ display: inline-block;
+ text-align:left ;
+}
+
+.supsubscript sup,
+.supsubscript sub {
+ position: relative;
+ display: block;
+ font-size: .5em;
+ line-height: 1;
+}
+
+.supsubscript sup {
+ top: .5em;
+}
+
+.supsubscript sub {
+ top: .5em;
+}
+
+
+
+
span.attribution {
margin-left: 1em ; font-size: 80% ; font-variant: small-caps;
}
@@ -7826,11 +8055,15 @@ div.sidetoccontents {
text-align: left ;
}
+
nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ;
text-indent: 0 ; }
+
nav.sidetoc p a {color:black ; font-size: .7em ;}
+
div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center;
border-bottom: 1px solid silver ; }
+
nav.sidetoc a:hover {text-decoration: underline ; }
@@ -8744,6 +8977,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-
% \changes{v0.32}{2017/06/08}{\protect\texttt{lwarpmk}: Fix: \protect\texttt{io.lines()} changed to \protect\texttt{file:lines()}
% due to \protect\texttt{luatex} changes.}
% \changes{v0.37}{2017/08/19}{\protect\texttt{lwarpmk}: Removes additional \HTML\ \protect\texttt{aux} files.}
+% \changes{v0.38}{2017/08/24}{\protect\texttt{lwarpmk}: Added print1 and html1 actions.}
%
% \begin{macrocode}
\begin{filecontents*}{lwarpmk.lua}
@@ -8753,7 +8987,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-
-- Print the usage of the lwarpmk command:
-printversion = "v0.37"
+printversion = "v0.38"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
@@ -8762,10 +8996,12 @@ end
function printusage ()
print ( [[
-lwarpmk print [project]: Compile a print version.
+lwarpmk print [project]: Compile the print version if necessary.
+lwarpmk print1 [project]: Forced single compile of the print version.
lwarpmk printindex [project]: Process the index for the print version.
lwarpmk printglossary [project]: Process the glossary for the print version.
-lwarpmk html [project]: Compile an HTML version.
+lwarpmk html [project]: Compile the HTML version if necessary.
+lwarpmk html1 [project]: Forced single compile of the HTML version.
lwarpmk htmlindex [project]: Process the index for the html version.
lwarpmk htmlglossary [project]: Process the glossary for the html version.
lwarpmk again [project]: Touch the source code to trigger recompiles.
@@ -9081,7 +9317,7 @@ end
if (arg[1] == "--version") then
print ( "lwarpmk: " .. printversion )
-else -- not -- version
+else -- not --version
-- print intro:
@@ -9112,6 +9348,12 @@ else -- not latexmk
end
end -- not latexmk
+elseif arg[1] == "print1" then
+ loadconf ()
+ verifyfileexists (sourcename .. ".tex") ;
+ onetime("")
+ print ("lwarpmk: Done.") ;
+
-- lwarp printindex:
-- Compile the index then touch the source
-- to trigger a recompile of the document:
@@ -9172,6 +9414,13 @@ else -- not latexmk
end
end -- not latexmk
+elseif arg[1] == "html1" then
+ loadconf ()
+ verifyfileexists ( sourcename .. ".tex" ) ;
+ onetime("_html")
+ pdftohtml ()
+ print ("lwarpmk: Done.")
+
elseif arg[1] == "pdftohtml" then
loadconf ()
pdftohtml ()
@@ -9360,7 +9609,7 @@ end -- not --version
% A stack to record the depth of each level:
%
-% Note that nested LaTeX structures may push depths which are non-sequential.
+% Note that nested \LaTeX\ structures may push depths which are non-sequential.
% \watchout
% \begin{docsidebar}[Ex:]
@@ -9393,7 +9642,7 @@ end -- not --version
% \begin{macro}{\pushclose} \marg{action} \marg{depth}
-% Pushes one return action and its LaTeX depth onto the stacks.
+% Pushes one return action and its \LaTeX\ depth onto the stacks.
% \begin{macrocode}
\NewDocumentCommand{\pushclose}{m m}
{
@@ -9779,7 +10028,7 @@ end -- not --version
% \section{\textbackslash{}PrintStack diagnostic tool}
% Diagnostics tool:
-% Prints the LaTeX nesting depth values for the stack levels.
+% Prints the \LaTeX\ nesting depth values for the stack levels.
% Must have |\LWR@startpars| active while printing the stack, so |\PrintStack| may
% \watchout
% be called from anywhere in the normal text flow.
@@ -9849,6 +10098,8 @@ end -- not --version
% \section{PDF pages and styles}
+% \changes{v0.38}{2017/08/21}{Added \cs{markboth}, \cs{sloppy}, etc.}
+
% \codehtml
% \begin{macrocode}
\begin{warpHTML}
@@ -9866,10 +10117,11 @@ end -- not --version
\LWR@stoppars\LWR@orignewpage\LWR@startpars%
}
% \end{macrocode}
-
-
-
-% \cs{pagestyle} and \cs{thispagestyle} are nullified for \HTML\ output.
+%
+%
+%
+% \cs{pagestyle}, etc. are nullified for \HTML\ output.
+%
%
% \begin{macro}{\pagestyle} \marg{style}
% \begin{macrocode}
@@ -9883,14 +10135,57 @@ end -- not --version
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\markboth} \marg{left} \marg{right}
+% \begin{macrocode}
+\renewcommand*{\markboth}[2]{}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\markright} \marg{right}
+% \begin{macrocode}
+\renewcommand*{\markright}[1]{}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\raggedbottom}
+% \begin{macrocode}
+\renewcommand*{\raggedbottom}{}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\flushbottom}
+% \begin{macrocode}
+\renewcommand*{\flushbottom}{}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\sloppy}
+% \begin{macrocode}
+\renewcommand*{\sloppy}{}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\fussy}
+% \begin{macrocode}
+\renewcommand*{\fussy}{}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
% \begin{macro}{\pagenumbering} \marg{commands}
% \begin{macrocode}
\renewcommand*{\pagenumbering}[1]{}
% \end{macrocode}
% \end{macro}
%
-
-
+%
+%
% \begin{macrocode}
\end{warpHTML}
% \end{macrocode}
@@ -11563,6 +11858,75 @@ end -- not --version
% \end{macrocode}
%
%
+%
+% \subsection{User-level starred section commands}
+%
+%
+% \begin{macro}{\ForceHTMLPage}
+% For \HTML\ output, forces the next section to be on its own \HTML\ page,
+% if |FileDepth| allows, even if starred.
+% For use with \cs{printindex} and others which generate a starred section
+% which should be on its own \HTML\ page. Also see \cs{ForceHTMLTOC}.
+%
+% For print output, no effect.
+%
+% \changes{v0.38}{2017/08/22}{Added.}
+%
+% \begin{macrocode}
+\newbool{LWR@forcinghtmlpage}
+\boolfalse{LWR@forcinghtmlpage}
+
+\newcommand*{\ForceHTMLPage}{%
+\global\booltrue{LWR@forcinghtmlpage}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \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.
+% Not necessary if used with \pkg{tocbibind}. Also see \cs{ForceHTMLPage}.
+%
+% For print output, no effect.
+%
+% \changes{v0.38}{2017/08/22}{Added.}
+%
+% \begin{macrocode}
+\newbool{LWR@forcinghtmltoc}
+\boolfalse{LWR@forcinghtmltoc}
+
+\newcommand*{\ForceHTMLTOC}{%
+\global\booltrue{LWR@forcinghtmltoc}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\end{warpHTML}
+% \end{macrocode}
+%
+%
+%
+% \codeprint
+% \begin{macrocode}
+\begin{warpprint}
+\newcommand*{\ForceHTMLPage}{}
+\newcommand*{\ForceHTMLTOC}{}
+\end{warpprint}
+% \end{macrocode}
+%
+%
+%
+% \codehtml
+% \begin{macrocode}
+\begin{warpHTML}
+% \end{macrocode}
+%
+%
+%
+%
% \subsection{Book class commands}
%
%
@@ -11675,74 +12039,103 @@ end -- not --version
% \end{macrocode}
%
%
+% \begin{macro}{\@seccntformat}
+% \changes{v0.38}{2017/08/21}{Added for \pkg{appendix}.}
+%
+% \begin{macrocode}
+\def\@seccntformat#1{\csname the#1\endcsname\protect\quad}
+% \end{macrocode}
+% \end{macro}
+%
%
% \begin{macro}{\LWR@section} * \oarg{TOC name} \marg{name} \marg{sectiontype}
%
% \changes{v0.20}{2017/01/09}{Combined higher-level sections together into files.}
% \changes{v0.36}{2017/08/15}{Improved spacing.}
+% \changes{v0.38}{2017/08/21}{\cs{part*} starts a new \HTML\ page, for \pkg{appendix}.}
+% \changes{v0.38}{2017/08/21}{Modified spacing, uses \cs{numberline}.}
%
% The common actions for the high-level sectioning commands.
% \begin{macrocode}
\DeclareDocumentCommand{\LWR@section}{m m m m}{%
-\LWR@traceinfo{LWR@section}%
+\LWR@traceinfo{LWR@section |#2| |#3|}%
+% \ifthenelse{%
+% % \equal{#2}{\-NoValue-}\AND%
+% \isempty{#3}%
+% }%
+% {% empty section name
+% \LWR@traceinfo{LWR@section: empty section}%
+% }% empty section name
+% {% not an empty section name
+\LWR@traceinfo{LWR@section: not an empty section}%
\LWR@stoppars%
% \end{macrocode}
% Cancel special \env{minipage} horizontal space interaction:
% \begin{macrocode}
\global\boolfalse{LWR@minipagethispar}%
% \end{macrocode}
-% Start a new \HTML\ file if not starred, and is a shallow sectioning depth:
+% Start a new \HTML\ file unless starred,
+% and if is a shallow sectioning depth.
+%
+% Exception: Also start a new \HTML\ file for \cs{part*}, for \pkg{appendix}.
+%
+% Generate a new \LaTeX\ page so that \TOC\ and index page number points to the section:
% \begin{macrocode}
\LWR@traceinfo{LWR@section: testing whether to start a new HTML file}%
-\IfBooleanTF{#1}{% starred
-% \end{macrocode}
-% Generate a new LaTeX page so that \TOC\ and index page number points to the section:
-% \begin{macrocode}
- \LWR@orignewpage%
-
-}{% not starred
- \ifthenelse{%
- \cnttest{\csuse{LWR@depth#4}}{<=}{\value{FileDepth}}%
- \AND%
- \(%
+\IfBooleanTF{#1}{\LWR@traceinfo{LWR@section: starred}}{}%
+\ifbool{LWR@forcinghtmlpage}{\LWR@traceinfo{LWR@section: forcinghtmlpage}}{}%
+\ifthenelse{%
+ \(%
+ \(\NOT\equal{#1}{\BooleanTrue}\)\OR%
+ \(\cnttest{\csuse{LWR@depth#4}}{=}{\LWR@depthpart}\)\OR%
+ \(\boolean{LWR@forcinghtmlpage}\)%
+ \)%
+ \AND%
+ \cnttest{\csuse{LWR@depth#4}}{<=}{\value{FileDepth}}%
+ \AND%
+ \(%
\NOT\boolean{CombineHigherDepths}\OR%
\cnttest{\csuse{LWR@depth#4}}{<=}{\value{LWR@prevFileDepth}}%
- \)%
- }%
+ \)%
+ \AND%
+ \NOT\equal{#3}{}% phantomsection
+}%
% \end{macrocode}
% If so: start a new \HTML\ file:
% \begin{macrocode}
- {% new file
- \LWR@traceinfo{LWR@section: new HTML file}%
+{% new file
+ \LWR@traceinfo{LWR@section: new HTML file}%
% \end{macrocode}
% See if there was an optional TOC name entry:
% \begin{macrocode}
- \IfNoValueTF{#2}%
+ \IfNoValueTF{#2}%
% \end{macrocode}
% If no optional entry
% \begin{macrocode}
- {\LWR@newhtmlfile{#3}}%
+ {\LWR@newhtmlfile{#3}}%
% \end{macrocode}
% If yes an optional entry
% \begin{macrocode}
- {\LWR@newhtmlfile{#2}}%
- }% new file
+ {\LWR@newhtmlfile{#2}}%
+}% new file
% \end{macrocode}
% Else: No new \HTML\ file:
% \begin{macrocode}
- {% not new file
+{% not new file
% \end{macrocode}
-% Generate a new LaTeX page so that \TOC\ and index page number points to the section:
+% Generate a new \LaTeX\ page so that \TOC\ and index page number points to the section:
% \begin{macrocode}
- \LWR@orignewpage%
+ \LWR@traceinfo{LWR@section: not a new HTML file}%
+ \LWR@orignewpage%
- }% not new file
-}% not starred
+}% not new file
% \end{macrocode}
% Remember this section's name for \cs{nameref}:
% \begin{macrocode}
+\IfValueTF{#3}{%
\LWR@traceinfo{LWR@section: about to LWR@setlatestname}%
\IfValueTF{#2}{\LWR@setlatestname{#2}}{\LWR@setlatestname{#3}}%
+}{}%
% \end{macrocode}
% Print an opening comment with the level and the name;
% ex: ``section'' ``Introduction''
@@ -11765,10 +12158,21 @@ end -- not --version
% \begin{macrocode}
\LWR@createautosec{\csuse{LWR@tag#4}}%
% \end{macrocode}
-% If not starred, step counter and add to TOC:
+% Check if starred:
% \begin{macrocode}
\IfBooleanTF{#1}%
-{}% starred
+{%
+% \end{macrocode}
+% Starred, but also forcing a TOC entry, so
+% add unnumbered TOC name or regular name:
+% \begin{macrocode}
+\ifbool{LWR@forcinghtmltoc}%
+{\addcontentsline{toc}{#4}{\IfValueTF{#2}{#2}{#3}}}%
+{}%
+}% starred
+% \end{macrocode}
+% Not starred, so step counter and add to TOC:
+% \begin{macrocode}
{% not starred
% \end{macrocode}
% Only add a numbered TOC entry if section number is not too deep:
@@ -11791,8 +12195,10 @@ end -- not --version
% \begin{macrocode}
\LWR@traceinfo{LWR@section: about to addcontentsline}%
\addcontentsline{toc}{#4}%
- {\protect\LWR@sectionnumber{\csuse{the#4}}%
- \IfValueTF{#2}{ #2}{ #3}}%
+ {%
+ \protect\numberline{\csuse{the#4}}%
+ {\ignorespaces\IfValueTF{#2}{#2}{#3}\protect\relax}%
+ }%
\LWR@traceinfo{LWR@section: finished addcontentsline}%
}% end of if main matter
% \end{macrocode}
@@ -11800,14 +12206,14 @@ end -- not --version
% \begin{macrocode}
{% not main matter
\LWR@traceinfo{LWR@section: no main matter}%
- \addcontentsline{toc}{#4}{\IfValueTF{#2}{ #2}{ #3}}%
+ \addcontentsline{toc}{#4}{\IfValueTF{#2}{#2}{#3}}%
}% end of not main matter
}% end of secnumdepth
% \end{macrocode}
% Deeper than secnumdepth, so add an unnumbered TOC entry:
% \begin{macrocode}
{%
- \addcontentsline{toc}{#4}{\IfValueTF{#2}{ #2}{ #3}}%
+ \addcontentsline{toc}{#4}{\IfValueTF{#2}{#2}{#3}}%
}%
% \end{macrocode}
% For part, print the section type:
@@ -11828,7 +12234,7 @@ end -- not --version
\ifthenelse{%
\cnttest{\csuse{LWR@depth#4}}{<=}{\value{secnumdepth}}%
}%
- {\protect\LWR@sectionnumber{\csuse{the#4}}~}%
+ {\protect\LWR@sectionnumber{\@seccntformat{#4}}}%
{}%
\LWR@traceinfo{LWR@section: finished print section number}%
}{}%
@@ -11857,6 +12263,9 @@ end -- not --version
% If not starred, remember the previous depth to
% possibly trigger a new \HTML\ page.
%
+% HOWEVER, allow a \cs{part*} to start a new \HTML\ page.
+% This is used by \pkg{appendix}.
+%
% A starred section does not trigger a new \HTML\ page at the beginning
% of this macro, so it should not affect it here at the end either.
% This became an issue when a \cs{listoftables} was tested in the middle of
@@ -11864,11 +12273,25 @@ end -- not --version
% a new \HTML\ page for the section following it
% while |CombineHigherDepths| was true.
% \begin{macrocode}
-\IfBooleanTF{#1}%
-{}%
+\ifthenelse{%
+ \NOT\equal{#1}{\BooleanTrue}\OR%
+ \cnttest{\csuse{LWR@depth#4}}{=}{\LWR@depthpart}%
+}%
{% not starred
\setcounter{LWR@prevFileDepth}{\csuse{LWR@depth#4}}%
}% not starred
+{}%
+% \end{macrocode}
+% Reset to defaults if not a phantomsection:
+% \begin{macrocode}
+\ifstrempty{#3}%
+{}%
+{%
+\global\boolfalse{LWR@forcinghtmlpage}%
+\global\boolfalse{LWR@forcinghtmltoc}%
+}%
+%
+% }% not an empty section name
\LWR@traceinfo{LWR@section: done}%
}
% \end{macrocode}
@@ -11879,10 +12302,10 @@ end -- not --version
% \subsection{\textbackslash{}section and friends}
% \begin{macro}{\part} * \oarg{TOC name} \marg{name}
+%
+% \changes{v0.38}{2017/08/21}{Fix with \texttt{article} class.}
+%
% \begin{macrocode}
-\@ifundefined{chapter}
-{}
-{%
\DeclareDocumentCommand{\part}{s o m}{%
\LWR@epubprintpendingfootnotes%
\LWR@stoppars%
@@ -11891,7 +12314,6 @@ end -- not --version
\LWR@section{#1}{#2}{#3}{part}%
}
-}
% \end{macrocode}
% \end{macro}
@@ -11910,9 +12332,7 @@ end -- not --version
\LWR@startnewdepth{\LWR@depthchapter}{\LWR@printclosechapter}%
-\LWR@traceinfo{chapter: about to LWR@section}%
\LWR@section{#1}{#2}{#3}{chapter}%
-\LWR@traceinfo{chapter: done}%
}
}
% \end{macrocode}
@@ -15920,7 +16340,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}%
\LWR@traceinfo{LWR@newlabel: !#1!}%
% \@bsphack%
% \end{macrocode}
-% Create a traditional LaTeX label, as modified by \pkg{cleveref}:
+% Create a traditional \LaTeX\ label, as modified by \pkg{cleveref}:
% \begin{macrocode}
\LWR@origlabel{#1}%
% \end{macrocode}
@@ -16856,9 +17276,12 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
% (Called from each line in the |.aux|, |.lof| files.)
%
% Record this section number for further use:
+%
+% \changes{v0.38}{2017/08/21}{Added trailing \cs{quad}.}
+%
% \begin{macrocode}
\renewcommand*{\numberline}[1]{%
-\LWR@sectionnumber{#1}%
+\LWR@sectionnumber{#1}\quad%
}
% \end{macrocode}
% \end{macro}
@@ -16976,6 +17399,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
% \section{Index and glossary}
+% \label{sec:index}
% See:\\
% \href{http://tex.stackexchange.com/questions/187038/how-to-mention-section-number-in-index-created-by-imakeidx}
@@ -17002,17 +17426,6 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
% \end{macrocode}
-% \begin{macro}{\LWR@indexsection}
-%
-% Controls whether the index will be in a section or a chapter, depending on
-% the documentclass.
-% \begin{macrocode}
-\@ifundefined{chapter}
- {\newcommand*{\LWR@indexsection}{\section{\indexname}}}
- {\newcommand*{\LWR@indexsection}{\chapter{\indexname}}}
-% \end{macrocode}
-% \end{macro}
-
% \begin{macro}{\printindex}
% \begin{macrocode}
@@ -17020,7 +17433,6 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
\renewcommand*{\printindex}
{
-\LWR@indexsection
\LWR@startpars
\LWR@origprintindex
}
@@ -17029,7 +17441,12 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
% \begin{environment}{theindex}
% \begin{macrocode}
+\@ifundefined{chapter}
+{\newcommand*{\LWR@indexsection}[1]{\section*{#1}}}
+{\newcommand*{\LWR@indexsection}[1]{\chapter*{#1}}}
+
\renewenvironment*{theindex}{%
+\LWR@indexsection{\indexname}%
\let\item\LWR@indexitem%
\let\subitem\LWR@indexsubitem%
\let\subsubitem\LWR@indexsubsubitem%
@@ -17386,8 +17803,15 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
% \end{macro}
%
%
-
-
+%
+% \begin{macro}{\LWR@restoreorigrelsize} Patched by \pkg{lwarp-relsize} if loaded.
+% \begin{macrocode}
+\newcommand*{\LWR@restoreorigrelsize}{}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
% \begin{macro}{\LWR@restoreorigformatting}
% While producing \SVG\ math or a \env{lateximage},
% use regular \LaTeX\ formatting instead of \HTML\ tags.
@@ -17459,6 +17883,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
%
\LWR@restoreorigtextcomp%
\LWR@restoreorigaccents%
+\LWR@restoreorigrelsize%
%
\LWR@FBcancel%
}
@@ -17479,7 +17904,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
\LWR@htmlopencomment
% \end{macrocode}
-% Start the LaTeX math environment inside the \HTML\ comment:
+% Start the \LaTeX\ math environment inside the \HTML\ comment:
% \begin{macrocode}
\begingroup
\csuse{LWR@orig#1}
@@ -20888,7 +21313,9 @@ width:\rndprintlength{\LWR@tempwidth}%
% Emulate the hyperref |\phantomsection| command,
% often used to insert the bibliography into table of contents:
% \begin{macrocode}
-\newcommand*{\phantomsection}{\section*{}}
+\newcommand*{\phantomsection}{%
+\section*{}%
+}
% \end{macrocode}
% \end{macro}
@@ -21499,6 +21926,80 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
% \clearpage
%
% \iffalse
+%<*appendix>
+% \fi
+%
+% \part{lwarp-appendix.sty}
+
+% \section{Appendix}
+%
+% \DescribePackage{appendix}
+% \pkg{appendix} is patched for use by \pkg{lwarp}.
+%
+% \limitsappendix
+%
+% \changes{v0.38}{2017/08/21}{\pkg{appendix}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{appendix}
+% \end{macrocode}
+
+% \begin{macrocode}
+\renewcommand*{\@chap@pppage}{%
+\part*{\appendixpagename}
+ \if@dotoc@pp
+ \addappheadtotoc
+ \fi
+}
+
+\renewcommand*{\@sec@pppage}{%
+\part*{\appendixpagename}
+ \if@dotoc@pp
+ \addappheadtotoc
+ \fi
+}
+
+% \end{macrocode}
+
+% \iffalse
+%</appendix>
+% \fi
+%
+%
+%
+%
+% \clearpage
+%
+% \iffalse
+%<*arabicfront>
+% \fi
+%
+% \part{lwarp-arabicfront.sty}
+%
+% \section{Arabicfront}
+%
+% \DescribePackage{arabicfront}
+% \pkg{arabicfront} is ignored.
+%
+% \changes{v0.38}{2017/08/25}{\pkg{arabicfront}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{arabicfront}
+% \end{macrocode}
+%
+%
+% \iffalse
+%</arabicfront>
+% \fi
+%
+%
+%
+%
+% \iffalse
%<*balance>
% \fi
%
@@ -21681,6 +22182,33 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*caption2>
+% \fi
+%
+% \part{lwarp-caption2.sty}
+%
+% \section{Caption2}
+%
+% \DescribePackage{caption2}
+% \pkg{caption2} is not used.
+% The user is recommended to use \pkg{caption} instead.
+%
+% \changes{v0.38}{2017/08/22}{\pkg{caption2}: Prevented.}
+%
+% \codehtml
+% \begin{macrocode}
+\LWR@loadnever{caption2}{caption}
+% \end{macrocode}
+%
+% \iffalse
+%</caption2>
+% \fi
+%
+%
+%
%
% \clearpage
%
@@ -21746,6 +22274,37 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*chappg>
+% \fi
+%
+% \part{lwarp-chappg.sty}
+%
+% \section{Chappg}
+%
+% \DescribePackage{chappg}
+% \pkg{chappg} is ignored.
+%
+% \changes{v0.38}{2017/08/25}{\pkg{chappg}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{chappg}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\renewcommand{\pagenumbering}[2][]{}
+\providecommand{\chappgsep}{--}
+% \end{macrocode}
+%
+% \iffalse
+%</chappg>
+% \fi
+%
+%
%
%
% \clearpage
@@ -21759,15 +22318,18 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
%
% \section{Color}
%
-% \DescribePackage{color}
-% \pkg{color} is superceded by \pkg{xcolor}, and
-% \pkg{lwarp} requires several of the features of \pkg{xcolor}.
+% \DescribePackage{color} Allowed but ignored.
+% \pkg{xcolor} is then required as well.
+%
+% \limitscolor
%
% \changes{v0.37}{2017/08/18}{\pkg{color}: Prevented.}
+% \changes{v0.38}{2017/08/25}{\pkg{color}: Forces \pkg{xcolor} as well.}
%
% \codehtml
% \begin{macrocode}
-\LWR@loadnever{color}{xcolor}
+\LWR@ProvidesPackagePass{color}
+\RequirePackage{xcolor}
% \end{macrocode}
%
% \iffalse
@@ -22003,8 +22565,11 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
%
% \credits{John Lavagnino}
%
-% \DescribePackage{endnotes}
+% \DescribePackage{endnotes} Used as-is.
%
+% \limitsendnotes
+%
+% \bigskip
%
% \changes{v0.26}{2017/03/27}{\pkg{endnotes}: Added.}
%
@@ -22536,7 +23101,6 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
%
%
%
-%
% \iffalse
%<*fancyhdr>
% \fi
@@ -22758,7 +23322,9 @@ border#1: \strip@pt\dimexpr \FV@FrameRule\relax\relax pt solid \#\LWR@tempcolor
\let\FV@EndListFrame\LWR@fvendsingle}
\def\FV@Frame@lines{%
-\renewcommand*{\LWR@FVstyle}{\LWR@FVtextstyle\LWR@FVborderstyle{-top}\LWR@FVborderstyle{-bottom}}%
+\renewcommand*{\LWR@FVstyle}{%
+ \LWR@FVtextstyle\LWR@FVborderstyle{-top}\LWR@FVborderstyle{-bottom}%
+}%
\let\FV@BeginListFrame\LWR@fvstartline%
\let\FV@LeftListFrame\relax%
\let\FV@RightListFrame\relax%
@@ -22928,6 +23494,34 @@ border#1: \strip@pt\dimexpr \FV@FrameRule\relax\relax pt solid \#\LWR@tempcolor
%
%
%
+%
+% \iffalse
+%<*fix2col>
+% \fi
+%
+% \part{lwarp-fix2col.sty}
+%
+% \section{Fix2col}
+%
+% \DescribePackage{fix2col}
+% \pkg{fix2col} is ignored.
+%
+% \changes{v0.38}{2017/08/25}{\pkg{fix2col}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{fix2col}
+% \end{macrocode}
+%
+%
+% \iffalse
+%</fix2col>
+% \fi
+%
+%
+%
+%
% \clearpage
%
% \iffalse
@@ -23490,6 +24084,58 @@ border#1: \strip@pt\dimexpr \FV@FrameRule\relax\relax pt solid \#\LWR@tempcolor
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*fncychap>
+% \fi
+
+% \part{lwarp-fncychap.sty}
+
+% \section{Fncychap}
+%
+% \DescribePackage{fncychap}
+% \pkg{fncychap} is ignored.
+%
+% \changes{v0.38}{2017/08/24}{\pkg{fncychap}: Added.}
+%
+% \codehtml
+%
+% Discard all options for \pkg{lwarp-fncychap}:
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{fncychap}
+% \end{macrocode}
+
+% \begin{macrocode}
+\def\mghrulefill#1{}
+\def\ChNameLowerCase{}
+\def\ChNameUpperCase{}
+\def\ChNameAsIs{}
+\def\ChTitleLowerCase{}
+\def\ChTitleUpperCase{}
+\def\ChTitleAsIs{}
+\newcommand{\ChRuleWidth}[1]{}
+\newcommand{\ChNameVar}[1]{}
+\newcommand{\ChNumVar}[1]{}
+\newcommand{\ChTitleVar}[1]{}
+\newcommand{\TheAlphaChapter}{}
+\newcommand{\DOCH}{}
+\newcommand{\DOTI}[1]{}
+\newcommand{\DOTIS}[1]{}
+\newlength{\mylen}
+\newlength{\myhi}
+\newlength{\px}
+\newlength{\py}
+\newlength{\pyy}
+\newlength{\pxx}
+\newlength{\RW}
+\newcommand{\FmN}[1]{#1}
+\newcommand{\FmTi}[1]{#1}
+% \end{macrocode}
+
+% \iffalse
+%</fncychap>
+% \fi
%
%
%
@@ -24018,6 +24664,28 @@ border#1: \strip@pt\dimexpr \FV@FrameRule\relax\relax pt solid \#\LWR@tempcolor
\setupglossaries{nonumberlist}
\setglossarystyle{index}
% \end{macrocode}
+% Patched to fix \acro{TOC} pointing to the previous page:
+% \begin{macrocode}
+\renewcommand*{\@p@glossarysection}[2]{%
+ \glsclearpage
+ \phantomsection
+ \ifdefempty\@@glossarysecstar
+ {%
+ \csname\@@glossarysec\endcsname{#2}%
+ }%
+ {%
+% \end{macrocode}
+% In the original, the \acro{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.
+% Here, the \acro{TOC} entry is made after the section is created:
+% \begin{macrocode}
+ \csname\@@glossarysec\endcsname*{#2}%
+ \@gls@toc{#1}{\@@glossarysec}% Moved after the previous line.
+ }%
+ \@@glossaryseclabel
+}
+% \end{macrocode}
%
% \iffalse
%</glossaries>
@@ -24077,6 +24745,47 @@ border#1: \strip@pt\dimexpr \FV@FrameRule\relax\relax pt solid \#\LWR@tempcolor
%
%
%
+%
+%
+% \clearpage
+%
+% \iffalse
+%<*grffile>
+% \fi
+%
+% \part{lwarp-grffile.sty}
+%
+% \section{Grffile}
+%
+% \DescribePackage{grffile}
+% \limitsgrffile
+%
+% \changes{v0.38}{2017/08/25}{\pkg{grffile}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{grffile}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\define@key{igraph}{multidot}{}
+\define@key{igraph}{babel}{}
+\define@key{igraph}{extendedchars}{}
+\define@key{igraph}{encoding}{}
+\define@key{igraph}{inputencoding}{}
+\define@key{igraph}{filenameencoding}{}
+\define@key{igraph}{space}{}
+
+\newcommand*{\grffilesetup}[1]{}
+% \end{macrocode}
+%
+% \iffalse
+%</grffile>
+% \fi
+%
+%
+%
% \clearpage
%
% \iffalse
@@ -24476,7 +25185,6 @@ border#1: \strip@pt\dimexpr \FV@FrameRule\relax\relax pt solid \#\LWR@tempcolor
\renewcommand*{\printindex}
{
-\LWR@indexsection
\LWR@startpars
\LWR@indexprenote
@@ -25949,6 +26657,40 @@ background:
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*metalogo>
+% \fi
+%
+% \part{lwarp-metalogo.sty}
+%
+% \section{Metalogo}
+%
+% \DescribePackage{metalogo}
+% \pkg{metalogo} is ignored.
+%
+% \changes{v0.38}{2017/08/25}{\pkg{metalogo}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{metalogo}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\newcommand\setlogokern[2]{}
+\newcommand\setlogodrop[2][XeTeX]{}
+\newcommand\setLaTeXa[1]{}
+\newcommand\setLaTeXee[1]{}
+\newcommand\seteverylogo[1]{}
+\newcommand\everylogo[1]{}
+% \end{macrocode}
+%
+% \iffalse
+%</metalogo>
+% \fi
+%
%
%
%
@@ -25968,7 +26710,7 @@ background:
% All user options and macros are ignored and disabled.
% \changes{v0.20}{2017/01/03}{\pkg{microtype}: User-interface emulated.}
-% \changes{v0.27}{2017/04/01}{\pkg{microtype}: Fix with Xe\LaTeX, Lua\LaTeX.}
+% \changes{v0.27}{2017/04/01}{\pkg{microtype}: Fix with Xe\LaTeX, \LuaLaTeX.}
%
% \codehtml
%
@@ -26437,6 +27179,65 @@ background:
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*nonumonpart>
+% \fi
+%
+% \part{lwarp-nonumonpart.sty}
+%
+% \section{Nonumonpart}
+%
+% \DescribePackage{nonumonpart}
+% \pkg{nonumonpart} is ignored.
+%
+% \changes{v0.38}{2017/08/25}{\pkg{nonumonpart}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{nonumonpart}
+% \end{macrocode}
+%
+%
+% \iffalse
+%</nonumonpart>
+% \fi
+%
+%
+%
+% \iffalse
+%<*nopageno>
+% \fi
+%
+% \part{lwarp-nopageno.sty}
+%
+% \section{Nopageno}
+%
+% \DescribePackage{nopageno}
+% \pkg{nopageno} is ignored.
+%
+% \changes{v0.38}{2017/08/25}{\pkg{nopageno}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{nopageno}
+% \end{macrocode}
+%
+%
+% \iffalse
+%</nopageno>
+% \fi
+%
+%
+%
+%
+%
+%
+% \clearpage
+%
% \iffalse
%<*nowidow>
% \fi
@@ -27068,17 +27869,14 @@ background:
% \section{Pagenote}
%
% \DescribePackage{pagenote}
-% \pkg{pagenote} works as-is.
-%
-% It is only included as an |lwarp-pagenote.sty| file because
-% past versions of \pkg{lwarp} used \pkg{pagenote} to emulate
-% footnotes, and so the file may exist on current installations,
-% and should be over-written by this newer version.
+% \limitspagenote
%
% \changes{v0.26}{2017/03/29}{\pkg{pagenote}: Supported as-is.}
+% \changes{v0.38}{2017/08/24}{\pkg{pagenote}: Option \protect\texttt{page} disabled.}
%
% \codehtml
% \begin{macrocode}
+\DeclareOption{page}{}
\LWR@ProvidesPackagePass{pagenote}
% \end{macrocode}
%
@@ -27110,7 +27908,6 @@ background:
\LWR@ProvidesPackagePass{paralist}
% \end{macrocode}
%
-% \codehtml
% \begin{macrocode}
\AtBeginEnvironment{compactitem}{\LWR@itemizestart}
\AtEndEnvironment{compactitem}{\LWR@itemizeend}
@@ -27343,6 +28140,207 @@ background:
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*realscripts>
+% \fi
+%
+% \part{lwarp-realscripts.sty}
+%
+% \section{Realscripts}
+%
+% \DescribePackage{realscripts}
+% \pkg{realscripts} is emulated.
+% See |lwarp.css| for the \element{span} of class \attribute{supsubscript}.
+%
+% \changes{v0.38}{2017/08/26}{\pkg{realscripts}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{realscripts}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\let\LWR@origtextsuperscript\textsuperscript
+\let\LWR@origtextsubscript\textsubscript
+
+\RenewDocumentCommand{\textsuperscript}{s}{\LWR@origtextsuperscript}
+\RenewDocumentCommand{\textsubscript}{s}{\LWR@origtextsubscript}
+
+\let\realsuperscript\textsuperscript
+\let\realsubscript\textsubscript
+
+\let\fakesuperscript\textsuperscript
+\let\fakesubscript\textsubscript
+
+\newlength{\subsupersep}
+
+\newcommand*{\LWR@realscriptsalign}{}
+
+\newcommand*{\LWR@setrealscriptsalign}[1]{%
+\renewcommand*{\LWR@realscriptsalign}{}%
+\ifthenelse{\equal{#1}{c}}{\renewcommand{\LWR@realscriptsalign}{text-align:center;}}{}%
+\ifthenelse{\equal{#1}{r}}{\renewcommand{\LWR@realscriptsalign}{text-align:right;}}{}%
+}
+
+\DeclareDocumentCommand \textsubsuperscript {s O{l} mm} {%
+\LWR@setrealscriptsalign{#2}%
+\InlineClass[\LWR@realscriptsalign]{supsubscript}{%
+\textsuperscript{#4}\textsubscript{#3}%
+}%
+}
+
+\DeclareDocumentCommand \textsupersubscript {s O{l} mm} {%
+\LWR@setrealscriptsalign{#2}%
+\InlineClass[\LWR@realscriptsalign]{supsubscript}{%
+\textsubscript{#4}\textsuperscript{#3}%
+}%
+}
+% \end{macrocode}
+%
+% \iffalse
+%</realscripts>
+% \fi
+%
+%
+%
+%
+% \clearpage
+%
+% \iffalse
+%<*relsize>
+% \fi
+%
+% \part{lwarp-relsize.sty}
+
+% \section{Relsize}
+%
+% \DescribePackage{relsize}
+% \pkg{relsize} is patched for use by \pkg{lwarp}.
+%
+% \limitsrelsize
+%
+% \changes{v0.38}{2017/08/25}{\pkg{relsize}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{relsize}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\let\LWR@origrelsize\relsize
+\LetLtxMacro\LWR@origlarger\larger
+\LetLtxMacro\LWR@origsmaller\smaller
+\let\LWR@relscale\relscale
+\LetLtxMacro\LWR@origtextlarger\textlarger
+\LetLtxMacro\LWR@origtextsmaller\textsmaller
+\let\LWR@textscale\textscale
+
+\renewcommand*{\LWR@restoreorigrelsize}{%
+\let\relsize\LWR@origrelsize%
+\LetLtxMacro\larger\LWR@origlarger%
+\LetLtxMacro\smaller\LWR@origsmaller%
+\let\relscale\LWR@relscale%
+\LetLtxMacro\textlarger\LWR@origtextlarger%
+\LetLtxMacro\textsmaller\LWR@origtextsmaller%
+\let\textscale\LWR@textscale%
+}
+
+\newcounter{LWR@relsizetemp}
+
+\renewcommand*{\relsize}[1]{}
+\renewcommand*{\larger}[1][]{}
+\renewcommand*{\smaller}[1][]{}
+\renewcommand*{\relscale}[1]{}
+
+\renewcommand*{\textlarger}[2][1]{%
+\setcounter{LWR@relsizetemp}{100+(#1*20)}%
+\InlineClass[font-size:\arabic{LWR@relsizetemp}\%]{textlarger}{#2}%
+}
+
+\renewcommand*{\textsmaller}[2][1]{%
+\setcounter{LWR@relsizetemp}{100-(#1*20)}%
+\InlineClass[font-size:\arabic{LWR@relsizetemp}\%]{textsmaller}{#2}%
+}
+
+\renewcommand*{\textscale}[2]{%
+\setcounter{LWR@relsizetemp}{100*\real{#1}}%
+\InlineClass[font-size:\arabic{LWR@relsizetemp}\%]{textscale}{#2}%
+}
+% \end{macrocode}
+%
+% \iffalse
+%</relsize>
+% \fi
+%
+%
+%
+%
+% \clearpage
+%
+% \iffalse
+%<*romanbar>
+% \fi
+%
+% \part{lwarp-romanbar.sty}
+
+% \section{Romanbar}
+%
+% \DescribePackage{romanbar}
+% \pkg{romanbar} is patched for use by \pkg{lwarp}.
+%
+% An inline class with an overline and underline is used.
+%
+% \changes{v0.38}{2017/08/21}{\pkg{romanbar}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{romanbar}
+% \end{macrocode}
+
+% \begin{macrocode}
+\DeclareRobustCommand{\Roman@bar}[1]{% #1 is in Roman, i.e. MMXII
+\InlineClass[%
+ text-decoration: overline underline ;
+]{romanbar}{#1}%
+}
+% \end{macrocode}
+
+% \iffalse
+%</romanbar>
+% \fi
+%
+%
+%
+% \iffalse
+%<*romanbarpagenumber>
+% \fi
+%
+% \part{lwarp-romanbarpagenumber.sty}
+%
+% \section{Romanbarpagenumber}
+%
+% \DescribePackage{romanbarpagenumber}
+% \pkg{romanbarpagenumber} is ignored.
+%
+% \changes{v0.38}{2017/08/25}{\pkg{romanbarpagenumber}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{romanbarpagenumber}
+% \end{macrocode}
+%
+%
+% \iffalse
+%</romanbarpagenumber>
+% \fi
+%
+%
%
% \clearpage
%
@@ -27483,6 +28481,36 @@ background:
%
%
%
+% \iffalse
+%<*scalefnt>
+% \fi
+%
+% \part{lwarp-scalefnt.sty}
+
+% \section{Scalefnt}
+%
+% \DescribePackage{scalefnt}
+% \pkg{scalefnt} is ignored.
+%
+% \changes{v0.38}{2017/08/25}{\pkg{scalefnt}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{scalefnt}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\DeclareRobustCommand\scalefont[1]{}
+% \end{macrocode}
+%
+% \iffalse
+%</scalefnt>
+% \fi
+%
+%
+%
+%
%
% \clearpage
%
@@ -27812,6 +28840,48 @@ background:
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*siunitx>
+% \fi
+%
+% \part{lwarp-siunitx.sty}
+
+% \section{Siunitx}
+%
+% \DescribePackage{siunitx}
+% \pkg{siunitx} is patched for use by \pkg{lwarp}.
+%
+% \limitssiunitx
+%
+% \changes{v0.36}{2017/08/17}{\pkg{siunitx}: Improved symbol support.}
+% \changes{v0.37}{2017/08/17}{\pkg{siunitx}: Improved symbol support.}
+% \changes{v0.38}{2017/08/26}{\pkg{siunitx}: Removed from \pkg{lwarp} core.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{siunitx}
+% \end{macrocode}
+
+% \begin{macrocode}
+\AtBeginDocument{% in case textcomp was not loaded
+\DeclareSIUnit\bohr{\textit{a}\textsubscript{0}}
+\DeclareSIUnit\clight{\textit{c}\textsubscript{0}}
+\DeclareSIUnit\elementarycharge{\textit{e}}
+\DeclareSIUnit\electronmass{\textit{m}\textsubscript{e}}
+\DeclareSIUnit\hartree{\textit{E}\textsubscript{h}}
+}% AtBeginDocument
+
+% \end{macrocode}
+
+% \iffalse
+%</siunitx>
+% \fi
+%
+%
+%
%
% \clearpage
%
@@ -28342,6 +29412,126 @@ background:
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*textcomp>
+% \fi
+%
+% \part{lwarp-textcomp.sty}
+
+% \section{Textcomp}
+%
+% \DescribePackage{textcomp}
+% \pkg{textcomp} is patched for use by \pkg{lwarp}.
+%
+% \limitstextcomp
+%
+% \changes{v0.37}{2017/08/18}{\pkg{textcomp}: Improved support.}
+% \changes{v0.38}{2017/08/21}{\pkg{textcomp}: Removed from \pkg{lwarp} core.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{textcomp}
+% \end{macrocode}
+%
+%
+%
+% The following are restored for print when inside a \env{lateximage}:
+% \begin{macrocode}
+\let\LWR@origtextdegree\textdegree
+\let\LWR@origtextcelsius\textcelsius
+\let\LWR@origtextohm\textohm
+\let\LWR@origtextmu\textmu
+\LetLtxMacro\LWR@origcapitalcedilla\capitalcedilla
+\LetLtxMacro\LWR@origcapitalogonek\capitalogonek
+\LetLtxMacro\LWR@origcapitalgrave\capitalgrave
+\LetLtxMacro\LWR@origcapitalacute\capitalacute
+\LetLtxMacro\LWR@origcapitalcircumflex\capitalcircumflex
+\LetLtxMacro\LWR@origcapitaltilde\capitaltilde
+\LetLtxMacro\LWR@origcapitaldieresis\capitaldieresis
+\LetLtxMacro\LWR@origcapitalhungarumlaut\capitalhungarumlaut
+\LetLtxMacro\LWR@origcapitalring\capitalring
+\LetLtxMacro\LWR@origcapitalcaron\capitalcaron
+\LetLtxMacro\LWR@origcapitalbreve\capitalbreve
+\LetLtxMacro\LWR@origcapitalmacron\capitalmacron
+\LetLtxMacro\LWR@origcapitaldotaccent\capitaldotaccent
+\LetLtxMacro\LWR@origtextcircled\textcircled
+% \end{macrocode}
+% For \HTML, use \HTML\ entities or direct Unicode, depending on the engine:
+% \begin{macrocode}
+\ifPDFTeX
+\renewcommand*{\textdegree}{\HTMLentity{deg}}
+\renewcommand*{\textcelsius}{\HTMLentity{deg}\,C}
+\renewcommand*{\textohm}{\HTMLunicode{2126}}
+\renewcommand*{\textmu}{\HTMLunicode{00B5}}
+\else
+\renewcommand*{\textdegree}{°}
+\renewcommand*{\textcelsius}{°C}
+\renewcommand*{\textohm}{Ω}
+\renewcommand*{\textmu}{μ}
+\fi
+% \end{macrocode}
+% For \HTML, Unicode diacritical marks are used:
+% \begin{macrocode}
+\renewcommand*{\capitalcedilla}[1]{#1\HTMLunicode{0327}}
+\renewcommand*{\capitalogonek}[1]{#1\HTMLunicode{0328}}
+\renewcommand*{\capitalgrave}[1]{#1\HTMLunicode{0300}}
+\renewcommand*{\capitalacute}[1]{#1\HTMLunicode{0301}}
+\renewcommand*{\capitalcircumflex}[1]{#1\HTMLunicode{0302}}
+\renewcommand*{\capitaltilde}[1]{#1\HTMLunicode{0303}}
+\renewcommand*{\capitaldieresis}[1]{#1\HTMLunicode{0308}}
+\renewcommand*{\capitalhungarumlaut}[1]{#1\HTMLunicode{30B}}
+\renewcommand*{\capitalring}[1]{#1\HTMLunicode{30A}}
+\renewcommand*{\capitalcaron}[1]{#1\HTMLunicode{30C}}
+\renewcommand*{\capitalbreve}[1]{#1\HTMLunicode{306}}
+\renewcommand*{\capitalmacron}[1]{#1\HTMLunicode{304}}
+\renewcommand*{\capitaldotaccent}[1]{#1\HTMLunicode{307}}
+% \end{macrocode}
+% \cs{textcircled} becomes a span with a rounded border:
+% \begin{macrocode}
+\renewcommand*{\textcircled}[1]{%
+\InlineClass[border: 1px solid \LWR@currenttextcolor]{textcircled}{#1}%
+}
+% \end{macrocode}
+%
+% \begin{macro}{\LWR@restoreorigtextcomp}
+% Called from \cs{restoreoriginalformatting} when a \env{lateximage} is begun.
+% \begin{macrocode}
+\let\LWR@restoreorigtextcomp\relax
+
+\newcommand*{\LWR@restoreorigtextcomp}{%
+\let\textdegree\LWR@origtextdegree%
+\let\textcelsius\LWR@origtextcelsius%
+\let\textohm\LWR@origtextohm%
+\let\textmu\LWR@origtextmu%
+\LetLtxMacro\capitalcedilla\LWR@origcapitalcedilla%
+\LetLtxMacro\capitalogonek\LWR@origcapitalogonek%
+\LetLtxMacro\capitalgrave\LWR@origcapitalgrave%
+\LetLtxMacro\capitalacute\LWR@origcapitalacute%
+\LetLtxMacro\capitalcircumflex\LWR@origcapitalcircumflex%
+\LetLtxMacro\capitaltilde\LWR@origcapitaltilde%
+\LetLtxMacro\capitaldieresis\LWR@origcapitaldieresis%
+\LetLtxMacro\capitalhungarumlaut\LWR@origcapitalhungarumlaut%
+\LetLtxMacro\capitalring\LWR@origcapitalring%
+\LetLtxMacro\capitalcaron\LWR@origcapitalcaron%
+\LetLtxMacro\capitalbreve\LWR@origcapitalbreve%
+\LetLtxMacro\capitalmacron\LWR@origcapitalmacron%
+\LetLtxMacro\capitaldotaccent\LWR@origcapitaldotaccent%
+\LetLtxMacro\textcircled\LWR@origtextcircled%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \iffalse
+%</textcomp>
+% \fi
+%
+%
+%
+%
%
% \clearpage
%
@@ -28970,8 +30160,6 @@ background:
%
%
%
-% \clearpage
-%
%
% \iffalse
%<*titleref>
@@ -29263,8 +30451,7 @@ background:
% The following patches are not needed by \pkg{lwarp},
% but are required if the user requests \pkg{titling}.
%
-% \pkg{lwarp} uses page notes for footnotes, so the various
-% \pkg{titling} footnote restyling commands have no effect.
+% The various \pkg{titling} footnote restyling commands have no effect.
%
% \changes{v0.20}{2017/01/22}{\pkg{titling}: Improved compatibility.}
%
@@ -29317,6 +30504,68 @@ background:
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*tocbibind>
+% \fi
+%
+% \part{lwarp-tocbibind.sty}
+
+% \section{Tocbibind}
+%
+% \DescribePackage{tocbibind}
+% \pkg{tocbibind} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.38}{2017/08/22}{\pkg{tocbibind}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{tocbibind}
+% \end{macrocode}
+
+% \begin{macrocode}
+ \renewenvironment{theindex}%
+ {%
+ \if@bibchapter
+ \if@donumindex
+ \chapter{\indexname}
+ \else
+ \if@dotocind
+ \chapter*{\indexname}
+ \addcontentsline{toc}{chapter}{\indexname}
+ \else
+ \chapter*{\indexname}
+ \fi
+ \fi
+ \else
+ \if@donumindex
+ \section{\indexname}
+ \else
+ \if@dotocind
+ \section*{\indexname}
+ \addcontentsline{toc}{\@tocextra}{\indexname}
+ \else
+ \section*{\indexname}
+ \fi
+ \fi
+ \fi
+\let\item\LWR@indexitem%
+\let\subitem\LWR@indexsubitem%
+\let\subsubitem\LWR@indexsubsubitem%
+}
+% \end{macrocode}
+%
+% \iffalse
+%</tocbibind>
+% \fi
+%
+%
+%
+
+
+%
%
% \clearpage
%
@@ -30209,8 +31458,9 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; %
% are temporary as \env{lateximage} is used.
%
% \begin{description}
-% \item [When \pkg{lwarp} is loaded in print or HTML mode:]
-% \cs{LWR@restoreorigxcolor} and \cs{LWR@restoremoreorigxcolor} are defined as null.
+% \item [When \pkg{lwarp} is loaded in print or HTML mode:] \hfill
+% \cs{LWR@restoreorigxcolor} and
+% \cs{LWR@restoremoreorigxcolor} are defined as null.
% \Cref{sec:xcolordefaults}
% \item [When \pkg{xcolor} is loaded in print mode:] \
% No special actions are taken at the time that \pkg{xcolor} is loaded in
@@ -30229,8 +31479,10 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; %
% for \pkg{lwarp}'s new macros print-mode macros \cs{colorboxBlock},
% \cs{fcolorboxBlock}, and \env{fcolorminipage}. The \HTML\ versions of these
% macros will already have been created by \pkg{lwarp-xcolor} if it has been loaded.
-% For use inside an \HTML\ \env{lateximage}, \cs{LWR@restoremoreorigxcolor}
-% is defined to temporarily set these functions to their print-mode versions.
+%
+% For use inside an \HTML\ \env{lateximage},
+% \cs{LWR@restoremoreorigxcolor} is defined to temporarily set these functions
+% to their print-mode versions.
% \item [In a \env{lateximage} in HTML mode:] \
% \cs{LWR@restoreorigxcolor} and \\ \cs{LWR@restoremoreorigxcolor} are used to
% temporarily restore the print-mode definitions of \pkg{xcolor}'s functions.
@@ -30814,6 +32066,58 @@ scaling = false
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*xltxtra>
+% \fi
+%
+% \part{lwarp-xltxtra.sty}
+%
+% \section{Xltxtra}
+%
+%
+% \DescribePackage{xltxtra}
+% \pkg{xltxtra} is emulated.
+%
+% \credits{Will Robertson, Jonathan Kew}
+%
+% \changes{v0.38}{2017/08/25}{\pkg{xltxtra}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{xltxtra}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\RequirePackage{realscripts}
+\RequirePackage{metalogo}
+\newcommand*\TeX@logo@spacing[6]{}
+
+\newcommand*{\vfrac}[2]{%
+\textsuperscript{#1}/\textsubscript{#2}%
+}
+
+\newcommand\namedglyph[1]{%
+ \@tempcnta=\XeTeXglyphindex "#1"\relax
+ \ifnum\@tempcnta>0
+ \XeTeXglyph\@tempcnta
+ \else
+ \xxt@namedglyph@fallback{#1}%
+ \fi}
+
+\newcommand\xxt@namedglyph@fallback[1]{[#1]}
+
+\newcommand{\showhyphens}[1]{}
+% \end{macrocode}
+%
+% \iffalse
+%</xltxtra>
+% \fi
+%
+%
+%
%
%
% \clearpage
diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.ins b/Master/texmf-dist/source/latex/lwarp/lwarp.ins
index 2dba3766b93..74222f1191e 100644
--- a/Master/texmf-dist/source/latex/lwarp/lwarp.ins
+++ b/Master/texmf-dist/source/latex/lwarp/lwarp.ins
@@ -38,6 +38,8 @@ version 2005/12/01 or later.
\file{lwarp-algorithmicx.sty}{\from{lwarp.dtx}{algorithmicx}}
\file{lwarp-alltt.sty}{\from{lwarp.dtx}{alltt}}
\file{lwarp-amsthm.sty}{\from{lwarp.dtx}{amsthm}}
+\file{lwarp-appendix.sty}{\from{lwarp.dtx}{appendix}}
+\file{lwarp-arabicfront.sty}{\from{lwarp.dtx}{arabicfront}}
\file{lwarp-balance.sty}{\from{lwarp.dtx}{balance}}
\file{lwarp-bookmark.sty}{\from{lwarp.dtx}{bookmark}}
\file{lwarp-booktabs.sty}{\from{lwarp.dtx}{booktabs}}
@@ -45,6 +47,8 @@ version 2005/12/01 or later.
\file{lwarp-boxedminipage2e.sty}{\from{lwarp.dtx}{boxedminipage2e}}
\file{lwarp-ccaption.sty}{\from{lwarp.dtx}{ccaption}}
\file{lwarp-changepage.sty}{\from{lwarp.dtx}{changepage}}
+\file{lwarp-chappg.sty}{\from{lwarp.dtx}{chappg}}
+\file{lwarp-color.sty}{\from{lwarp.dtx}{color}}
\file{lwarp-crop.sty}{\from{lwarp.dtx}{crop}}
\file{lwarp-cutwin.sty}{\from{lwarp.dtx}{cutwin}}
\file{lwarp-dcolumn.sty}{\from{lwarp.dtx}{dcolumn}}
@@ -63,11 +67,13 @@ version 2005/12/01 or later.
\file{lwarp-fancyhdr.sty}{\from{lwarp.dtx}{fancyhdr}}
\file{lwarp-fancyvrb.sty}{\from{lwarp.dtx}{fancyvrb}}
\file{lwarp-figcaps.sty}{\from{lwarp.dtx}{figcaps}}
+\file{lwarp-fix2col.sty}{\from{lwarp.dtx}{fix2col}}
\file{lwarp-float.sty}{\from{lwarp.dtx}{float}}
\file{lwarp-floatflt.sty}{\from{lwarp.dtx}{floatflt}}
\file{lwarp-floatpag.sty}{\from{lwarp.dtx}{floatpag}}
\file{lwarp-floatrow.sty}{\from{lwarp.dtx}{floatrow}}
\file{lwarp-flushend.sty}{\from{lwarp.dtx}{flushend}}
+\file{lwarp-fncychap.sty}{\from{lwarp.dtx}{fncychap}}
\file{lwarp-footmisc.sty}{\from{lwarp.dtx}{footmisc}}
\file{lwarp-footnote.sty}{\from{lwarp.dtx}{footnote}}
\file{lwarp-footnotehyper.sty}{\from{lwarp.dtx}{footnotehyper}}
@@ -80,6 +86,7 @@ version 2005/12/01 or later.
\file{lwarp-glossaries.sty}{\from{lwarp.dtx}{glossaries}}
\file{lwarp-graphicx.sty}{\from{lwarp.dtx}{graphicx}}
\file{lwarp-graphics.sty}{\from{lwarp.dtx}{graphics}}
+\file{lwarp-grffile.sty}{\from{lwarp.dtx}{grffile}}
\file{lwarp-hyperref.sty}{\from{lwarp.dtx}{hyperref}}
\file{lwarp-hyperxmp.sty}{\from{lwarp.dtx}{hyperxmp}}
\file{lwarp-idxlayout.sty}{\from{lwarp.dtx}{idxlayout}}
@@ -100,6 +107,7 @@ version 2005/12/01 or later.
\file{lwarp-mcaption.sty}{\from{lwarp.dtx}{mcaption}}
\file{lwarp-mdframed.sty}{\from{lwarp.dtx}{mdframed}}
\file{lwarp-microtype.sty}{\from{lwarp.dtx}{microtype}}
+\file{lwarp-metalogo.sty}{\from{lwarp.dtx}{metalogo}}
\file{lwarp-moreverb.sty}{\from{lwarp.dtx}{moreverb}}
\file{lwarp-mparhack.sty}{\from{lwarp.dtx}{mparhack}}
\file{lwarp-multicol.sty}{\from{lwarp.dtx}{multicol}}
@@ -109,6 +117,8 @@ version 2005/12/01 or later.
\file{lwarp-newclude.sty}{\from{lwarp.dtx}{newclude}}
\file{lwarp-newunicodechar.sty}{\from{lwarp.dtx}{newunicodechar}}
\file{lwarp-nextpage.sty}{\from{lwarp.dtx}{nextpage}}
+\file{lwarp-nonumonpart.sty}{\from{lwarp.dtx}{nonumonpart}}
+\file{lwarp-nopageno.sty}{\from{lwarp.dtx}{nopageno}}
\file{lwarp-nowidow.sty}{\from{lwarp.dtx}{nowidow}}
\file{lwarp-ntheorem.sty}{\from{lwarp.dtx}{ntheorem}}
\file{lwarp-pagenote.sty}{\from{lwarp.dtx}{pagenote}}
@@ -119,20 +129,27 @@ version 2005/12/01 or later.
\file{lwarp-placeins.sty}{\from{lwarp.dtx}{placeins}}
\file{lwarp-prelim2e.sty}{\from{lwarp.dtx}{prelim2e}}
\file{lwarp-ragged2e.sty}{\from{lwarp.dtx}{ragged2e}}
+\file{lwarp-realscripts.sty}{\from{lwarp.dtx}{realscripts}}
+\file{lwarp-relsize.sty}{\from{lwarp.dtx}{relsize}}
+\file{lwarp-romanbar.sty}{\from{lwarp.dtx}{romanbar}}
+\file{lwarp-romanbarpagenumber.sty}{\from{lwarp.dtx}{romanbarpagenumber}}
\file{lwarp-rotating.sty}{\from{lwarp.dtx}{rotating}}
\file{lwarp-rotfloat.sty}{\from{lwarp.dtx}{rotfloat}}
\file{lwarp-savetrees.sty}{\from{lwarp.dtx}{savetrees}}
+\file{lwarp-scalefnt.sty}{\from{lwarp.dtx}{scalefnt}}
\file{lwarp-setspace.sty}{\from{lwarp.dtx}{setspace}}
\file{lwarp-shadow.sty}{\from{lwarp.dtx}{shadow}}
\file{lwarp-showidx.sty}{\from{lwarp.dtx}{idx}}
\file{lwarp-showkeys.sty}{\from{lwarp.dtx}{showkeys}}
\file{lwarp-sidecap.sty}{\from{lwarp.dtx}{sidecap}}
\file{lwarp-sidenotes.sty}{\from{lwarp.dtx}{sidenotes}}
+\file{lwarp-siunitx.sty}{\from{lwarp.dtx}{siunitx}}
\file{lwarp-soul.sty}{\from{lwarp.dtx}{soul}}
\file{lwarp-subfig.sty}{\from{lwarp.dtx}{subfig}}
\file{lwarp-syntonly.sty}{\from{lwarp.dtx}{syntonly}}
\file{lwarp-tabularx.sty}{\from{lwarp.dtx}{tabularx}}
\file{lwarp-tabulary.sty}{\from{lwarp.dtx}{tabulary}}
+\file{lwarp-textcomp.sty}{\from{lwarp.dtx}{textcomp}}
\file{lwarp-textpos.sty}{\from{lwarp.dtx}{textpos}}
\file{lwarp-theorem.sty}{\from{lwarp.dtx}{theorem}}
\file{lwarp-threeparttable.sty}{\from{lwarp.dtx}{threeparttable}}
@@ -142,6 +159,7 @@ version 2005/12/01 or later.
\file{lwarp-titlesec.sty}{\from{lwarp.dtx}{titlesec}}
\file{lwarp-titletoc.sty}{\from{lwarp.dtx}{titletoc}}
\file{lwarp-titling.sty}{\from{lwarp.dtx}{titling}}
+\file{lwarp-tocbibind.sty}{\from{lwarp.dtx}{tocbibind}}
\file{lwarp-tocloft.sty}{\from{lwarp.dtx}{tocloft}}
\file{lwarp-transparent.sty}{\from{lwarp.dtx}{transparent}}
\file{lwarp-trivfloat.sty}{\from{lwarp.dtx}{trivfloat}}
@@ -152,6 +170,7 @@ version 2005/12/01 or later.
\file{lwarp-wrapfig.sty}{\from{lwarp.dtx}{wrapfig}}
\file{lwarp-xcolor.sty}{\from{lwarp.dtx}{xcolor}}
\file{lwarp-xfrac.sty}{\from{lwarp.dtx}{xfrac}}
+\file{lwarp-xltxtra.sty}{\from{lwarp.dtx}{xltxtra}}
\file{lwarp-xmpincl.sty}{\from{lwarp.dtx}{xmpincl}}
}
\Msg{*********************************************************}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty
index d5f78b8c505..c5c216bb3e4 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty
@@ -81,6 +81,7 @@
\fi
+
\endinput
%%
%% End of file `lwarp-abstract.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty
index 0e0a91cf3a3..e55ef5e32d2 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-afterpage.sty
@@ -17,6 +17,7 @@
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{afterpage}
\newcommand{\afterpage}[1]{#1}
+
\endinput
%%
%% End of file `lwarp-afterpage.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
index 9adcd25396f..0e902da8cc9 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty
@@ -34,6 +34,7 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-algorithmicx.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
index 3153d9d562a..4a05954c32f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-alltt.sty
@@ -27,6 +27,7 @@
\AfterEndEnvironment{alltt}{\unskip\LWR@origvspace*{-\baselineskip}\LWR@afterendverbatim}
}
+
\endinput
%%
%% End of file `lwarp-alltt.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty
index 6d2b70ba793..e3c61be84a1 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty
@@ -99,6 +99,7 @@
\@endpefalse
}
+
\endinput
%%
%% End of file `lwarp-amsthm.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-appendix.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-appendix.sty
new file mode 100644
index 00000000000..e5b11926077
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-appendix.sty
@@ -0,0 +1,39 @@
+%%
+%% This is file `lwarp-appendix.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `appendix')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\LWR@ProvidesPackagePass{appendix}
+
+\renewcommand*{\@chap@pppage}{%
+\part*{\appendixpagename}
+ \if@dotoc@pp
+ \addappheadtotoc
+ \fi
+}
+
+\renewcommand*{\@sec@pppage}{%
+\part*{\appendixpagename}
+ \if@dotoc@pp
+ \addappheadtotoc
+ \fi
+}
+
+
+
+\endinput
+%%
+%% End of file `lwarp-appendix.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-arabicfront.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-arabicfront.sty
new file mode 100644
index 00000000000..f54c8997e32
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-arabicfront.sty
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-arabicfront.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `arabicfront')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{arabicfront}
+
+\endinput
+%%
+%% End of file `lwarp-arabicfront.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-balance.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-balance.sty
index 15c7ca58dcd..568c405d1af 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-balance.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-balance.sty
@@ -18,6 +18,7 @@
\LWR@ProvidesPackageDrop{balance}
\newcommand*{\balance}{}
\newcommand*{\nobalance}{}
+
\endinput
%%
%% End of file `lwarp-balance.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty
index de590b20fb8..b0a7733a568 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-bookmark.sty
@@ -27,6 +27,7 @@
\newcommand*{\bookmarkget}[1]{}
\newcommand{\BookmarkAtEnd}[1]{}
+
\endinput
%%
%% End of file `lwarp-bookmark.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
index 2e624defae3..52db9e80c70 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
@@ -26,6 +26,7 @@
\LetLtxMacro\LWR@origmorecmidrules\morecmidrules
\LetLtxMacro\LWR@origspecialrule\specialrule
+
\endinput
%%
%% End of file `lwarp-booktabs.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage.sty
index 7cc99db7ac8..c177a961640 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@loadnever{boxedminipage}{boxedminipage2e}
+
\endinput
%%
%% End of file `lwarp-boxedminipage.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty
index f190ee0e856..9d8abe8a19f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-boxedminipage2e.sty
@@ -28,6 +28,7 @@
\end{BlockClass}
}
+
\endinput
%%
%% End of file `lwarp-boxedminipage2e.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty
index 6ad676dbd2c..5144fcbf411 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ccaption.sty
@@ -21,6 +21,7 @@
\LWR@loadnever{ccaption}{caption}
+
\endinput
%%
%% End of file `lwarp-ccaption.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty
index 3e980c5c31b..0a86136df5c 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-changepage.sty
@@ -26,6 +26,7 @@
\newenvironment{adjustwidth}[2]{}{}
\newenvironment{adjustwidth*}[2]{}{}
+
\endinput
%%
%% End of file `lwarp-changepage.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-chappg.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-chappg.sty
new file mode 100644
index 00000000000..cc67c934cd9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-chappg.sty
@@ -0,0 +1,24 @@
+%%
+%% This is file `lwarp-chappg.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `chappg')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{chappg}
+\renewcommand{\pagenumbering}[2][]{}
+\providecommand{\chappgsep}{--}
+
+\endinput
+%%
+%% End of file `lwarp-chappg.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-color.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-color.sty
new file mode 100644
index 00000000000..9abf240da45
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-color.sty
@@ -0,0 +1,23 @@
+%%
+%% This is file `lwarp-color.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `color')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackagePass{color}
+\RequirePackage{xcolor}
+
+\endinput
+%%
+%% End of file `lwarp-color.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-crop.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-crop.sty
index 92882551a24..fdfc1e811c0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-crop.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-crop.sty
@@ -18,6 +18,7 @@
\LWR@ProvidesPackageDrop{crop}
\newcommand*{\crop}[1][]{}
\newcommand*{\cropdef}[6][]{}
+
\endinput
%%
%% End of file `lwarp-crop.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty
index b89b2b48e56..0dc18f7386b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-cutwin.sty
@@ -41,6 +41,7 @@
\begin{picture}(0,0)
\putstuffinpic
\end{picture}}
+
\endinput
%%
%% End of file `lwarp-cutwin.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty
index f9e82a803da..670df991327 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-dcolumn.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{dcolumn}
+
\endinput
%%
%% End of file `lwarp-dcolumn.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty
index 3c8e3e608cf..5dbadb163c2 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-draftwatermark.sty
@@ -30,6 +30,7 @@
\newcommand{\SetWatermarkVertCenter}[1]{}
\newcommand{\SetWatermarkText}[1]{}
+
\endinput
%%
%% End of file `lwarp-draftwatermark.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty
index 168775adc01..5149064bc2e 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ellipsis.sty
@@ -22,6 +22,7 @@
\newcommand{\ellipsisgap}{0.1em}
+
\endinput
%%
%% End of file `lwarp-ellipsis.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty
index 637559a08c9..824227f5da6 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-emptypage.sty
@@ -19,6 +19,7 @@
\LWR@ProvidesPackageDrop{emptypage}
+
\endinput
%%
%% End of file `lwarp-emptypage.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty
index ab261f9beef..b721435b51f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-endnotes.sty
@@ -24,6 +24,7 @@
\def\@makeenmark{\hbox{\LWR@htmlspan{sup}{\normalfont\theenmark}}}
\def\makeenmark{\@makeenmark}
+
\endinput
%%
%% End of file `lwarp-endnotes.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty
index c15721e63a0..31f0d6cc8aa 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-enumerate.sty
@@ -17,6 +17,7 @@
%% version 2005/12/01 or later.
\LWR@ProvidesPackagePass{enumerate}
+
\endinput
%%
%% End of file `lwarp-enumerate.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty
index 69e61d69b38..eff9017d92f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-enumitem.sty
@@ -28,6 +28,7 @@
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-enumitem.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
index aad18d31908..daaf4d54057 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
@@ -56,6 +56,7 @@
\newcommand*{\undodrop}{}
\newcommand{\cleartoevenpage}[1][]{}
+
\endinput
%%
%% End of file `lwarp-epigraph.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty
index 118f31e2ffc..68f5c330dfd 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-eso-pic.sty
@@ -39,6 +39,7 @@
\newcommand*{\ClearShipoutPictureFG}{}
\newcommand{\gridSetup}[6][]{}
+
\endinput
%%
%% End of file `lwarp-eso-pic.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty
index e61ca8712c0..4d9de911eb8 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-everypage.sty
@@ -23,6 +23,7 @@
\newcommand*{\AddEverypageHook}[1]{}
\newcommand*{\AddThispageHook}[1]{}
+
\endinput
%%
%% End of file `lwarp-everypage.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty
index d20e80cc9dc..b6f228813d7 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-everyshi.sty
@@ -18,6 +18,7 @@
\LWR@ProvidesPackageDrop{everyshi}
\newcommand*{\EveryShipout}[1]{}
\newcommand*{\AtNextShipout}[1]{}
+
\endinput
%%
%% End of file `lwarp-everyshi.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty
index 9e94df697d9..db5c166134d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-extramarks.sty
@@ -31,6 +31,7 @@
\newcommand*{\firstleftmark}{}
\newcommand*{\lastrightmark}{}
+
\endinput
%%
%% End of file `lwarp-extramarks.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty
index 43185f35f5d..811b9b3c259 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty
@@ -93,6 +93,7 @@
\LWR@afterendverbatim%
}
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-fancybox.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty
index 48933536a65..f44dec2516a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyhdr.sty
@@ -38,6 +38,7 @@
\newcommand*{\ifftopfloat}[2]{#2}
\newcommand*{\iffbotfloat}[2]{#2}
+
\endinput
%%
%% End of file `lwarp-fancyhdr.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
index 80de985e585..bd8b9049549 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancyvrb.sty
@@ -111,7 +111,9 @@ border#1: \strip@pt\dimexpr \FV@FrameRule\relax\relax pt solid \#\LWR@tempcolor
\let\FV@EndListFrame\LWR@fvendsingle}
\def\FV@Frame@lines{%
-\renewcommand*{\LWR@FVstyle}{\LWR@FVtextstyle\LWR@FVborderstyle{-top}\LWR@FVborderstyle{-bottom}}%
+\renewcommand*{\LWR@FVstyle}{%
+ \LWR@FVtextstyle\LWR@FVborderstyle{-top}\LWR@FVborderstyle{-bottom}%
+}%
\let\FV@BeginListFrame\LWR@fvstartline%
\let\FV@LeftListFrame\relax%
\let\FV@RightListFrame\relax%
@@ -206,6 +208,7 @@ border#1: \strip@pt\dimexpr \FV@FrameRule\relax\relax pt solid \#\LWR@tempcolor
} % \AfterEndPreamble
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-fancyvrb.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-figcaps.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-figcaps.sty
index d42a23cf6ae..30c78cef071 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-figcaps.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-figcaps.sty
@@ -24,6 +24,7 @@
\def\figurecapname{Figure Captions}
\def\tablepagename{Tables}
\def\figurepagename{Figures}
+
\endinput
%%
%% End of file `lwarp-figcaps.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fix2col.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fix2col.sty
new file mode 100644
index 00000000000..61df238120c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fix2col.sty
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-fix2col.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `fix2col')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{fix2col}
+
+\endinput
+%%
+%% End of file `lwarp-fix2col.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty
index 6ce7d78b9ca..f67242b9cee 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-float.sty
@@ -42,6 +42,7 @@
\NewDocumentCommand{\restylefloat}{s m}{%
}
+
\endinput
%%
%% End of file `lwarp-float.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty
index dc14571e023..d4c0581263a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty
@@ -36,6 +36,7 @@
\DeclareDocumentEnvironment{floatingtable}{o +m}
{\begin{KFLTfloatflt@marginfloat}{table}#2}
{\end{KFLTfloatflt@marginfloat}}
+
\endinput
%%
%% End of file `lwarp-floatflt.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatpag.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatpag.sty
index c3912bcc43a..8e9c272bc78 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatpag.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatpag.sty
@@ -19,6 +19,7 @@
\newcommand*{\floatpagestyle}[1]{}
\newcommand*{\rotfloatpagestyle}[1]{}
\newcommand*{\thisfloatpagestyle}[1]{}
+
\endinput
%%
%% End of file `lwarp-floatpag.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty
index efdf831f078..d85254f163b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty
@@ -180,6 +180,7 @@
\boolfalse{LWR@insubfloatrow}
}
+
\endinput
%%
%% End of file `lwarp-floatrow.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-flushend.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-flushend.sty
index 9672ae47b95..6dfc8efc3ca 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-flushend.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-flushend.sty
@@ -23,6 +23,7 @@
\newcommand*{\atColsBreak}[1]{}
\newcommand*{\atColsEnd}[1]{}
\newcommand*{\showcolsendrule}{}
+
\endinput
%%
%% End of file `lwarp-flushend.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fncychap.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fncychap.sty
new file mode 100644
index 00000000000..ebeaf90c762
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fncychap.sty
@@ -0,0 +1,50 @@
+%%
+%% This is file `lwarp-fncychap.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `fncychap')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+
+\LWR@ProvidesPackageDrop{fncychap}
+
+\def\mghrulefill#1{}
+\def\ChNameLowerCase{}
+\def\ChNameUpperCase{}
+\def\ChNameAsIs{}
+\def\ChTitleLowerCase{}
+\def\ChTitleUpperCase{}
+\def\ChTitleAsIs{}
+\newcommand{\ChRuleWidth}[1]{}
+\newcommand{\ChNameVar}[1]{}
+\newcommand{\ChNumVar}[1]{}
+\newcommand{\ChTitleVar}[1]{}
+\newcommand{\TheAlphaChapter}{}
+\newcommand{\DOCH}{}
+\newcommand{\DOTI}[1]{}
+\newcommand{\DOTIS}[1]{}
+\newlength{\mylen}
+\newlength{\myhi}
+\newlength{\px}
+\newlength{\py}
+\newlength{\pyy}
+\newlength{\pxx}
+\newlength{\RW}
+\newcommand{\FmN}[1]{#1}
+\newcommand{\FmTi}[1]{#1}
+
+
+\endinput
+%%
+%% End of file `lwarp-fncychap.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty
index 5138dfa0f68..96eb4db530d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontenc.sty
@@ -21,6 +21,7 @@
\LWR@loadbefore{fontenc}
+
\endinput
%%
%% End of file `lwarp-fontenc.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty
index 9af1946bd8f..cbcc31dcc71 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fontspec.sty
@@ -20,6 +20,7 @@
\LWR@loadbefore{fontspec}
+
\endinput
%%
%% End of file `lwarp-fontspec.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty
index 4c749966490..bef409ace29 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-footmisc.sty
@@ -49,6 +49,7 @@
\endgroup
\@footnotemark
}
+
\endinput
%%
%% End of file `lwarp-footmisc.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty
index 9da839dd532..9f99624483b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-footnote.sty
@@ -44,6 +44,7 @@
}
\let\endfootnote\fn@endfntext
\let\endfootnotetext\endfootnote
+
\endinput
%%
%% End of file `lwarp-footnote.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty
index d76644d04f3..e732d766ec6 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-footnotehyper.sty
@@ -19,6 +19,7 @@
\RequirePackage{footnote}
\LWR@ProvidesPackageDrop{footnotehyper}
+
\endinput
%%
%% End of file `lwarp-footnotehyper.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty
index 50218d3d4ae..9cc8aee5422 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-framed.sty
@@ -117,6 +117,7 @@
\@tempboxa%
}
+
\endinput
%%
%% End of file `lwarp-framed.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty
index 7689e016cf6..fcc1f00d12a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ftnright.sty
@@ -19,6 +19,7 @@
\LWR@ProvidesPackageDrop{ftnright}
+
\endinput
%%
%% End of file `lwarp-ftnright.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fullpage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fullpage.sty
index bc517f86663..c280ae85875 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fullpage.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fullpage.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{fullpage}
+
\endinput
%%
%% End of file `lwarp-fullpage.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
index 61c1a43b917..616f5ca03dc 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
@@ -26,6 +26,7 @@
\renewcommand*{\savegeometry}[1]{}
\renewcommand*{\loadgeometry}[1]{}
+
\endinput
%%
%% End of file `lwarp-geometry.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty
index d2eb3166aee..f75b1ad8bd1 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-glossaries.sty
@@ -20,6 +20,20 @@
\LWR@ProvidesPackagePass{glossaries}
\setupglossaries{nonumberlist}
\setglossarystyle{index}
+\renewcommand*{\@p@glossarysection}[2]{%
+ \glsclearpage
+ \phantomsection
+ \ifdefempty\@@glossarysecstar
+ {%
+ \csname\@@glossarysec\endcsname{#2}%
+ }%
+ {%
+ \csname\@@glossarysec\endcsname*{#2}%
+ \@gls@toc{#1}{\@@glossarysec}% Moved after the previous line.
+ }%
+ \@@glossaryseclabel
+}
+
\endinput
%%
%% End of file `lwarp-glossaries.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
index f5519c1493d..9d3dfbc167e 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
@@ -18,6 +18,7 @@
\LWR@ProvidesPackageDrop{graphics}
+
\endinput
%%
%% End of file `lwarp-graphics.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty
index 79e6d49035a..62b4ba695bb 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphicx.sty
@@ -19,6 +19,7 @@
\LWR@ProvidesPackageDrop{graphicx}
+
\endinput
%%
%% End of file `lwarp-graphicx.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-grffile.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-grffile.sty
new file mode 100644
index 00000000000..9cbbf3299c7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-grffile.sty
@@ -0,0 +1,31 @@
+%%
+%% This is file `lwarp-grffile.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `grffile')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{grffile}
+\define@key{igraph}{multidot}{}
+\define@key{igraph}{babel}{}
+\define@key{igraph}{extendedchars}{}
+\define@key{igraph}{encoding}{}
+\define@key{igraph}{inputencoding}{}
+\define@key{igraph}{filenameencoding}{}
+\define@key{igraph}{space}{}
+
+\newcommand*{\grffilesetup}[1]{}
+
+\endinput
+%%
+%% End of file `lwarp-grffile.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty
index b9882e5fc06..4d612eeb5fa 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty
@@ -125,6 +125,7 @@
\newcommand{\MakeFieldButton}[1]{}
+
\endinput
%%
%% End of file `lwarp-hyperref.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperxmp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperxmp.sty
index 9fb1ed187c2..dc874cde2ee 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperxmp.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperxmp.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{hyperxmp}
+
\endinput
%%
%% End of file `lwarp-hyperxmp.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty
index dacc218a1b6..eca0553fe6d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty
@@ -20,7 +20,6 @@
\renewcommand*{\printindex}
{
-\LWR@indexsection
\LWR@startpars
\LWR@indexprenote
@@ -36,6 +35,7 @@
\newcommand*{\indexjustific}{}
\newcommand*{\indexsubsdelim}{}
\newcommand*{\indexstheadcase}{}
+
\endinput
%%
%% End of file `lwarp-idxlayout.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty
index 65a9a5b7e80..02373ce5ca4 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-indentfirst.sty
@@ -20,6 +20,7 @@
\LWR@ProvidesPackageDrop{indentfirst}
+
\endinput
%%
%% End of file `lwarp-indentfirst.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty
index 9d976026d8a..0d245534769 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-inputenc.sty
@@ -21,6 +21,7 @@
\LWR@loadbefore{inputenc}
+
\endinput
%%
%% End of file `lwarp-inputenc.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
index a30e33a9074..8b9dad6b04f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
@@ -67,6 +67,7 @@
}% AtBeginDocument
+
\endinput
%%
%% End of file `lwarp-keyfloat.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty
index d799a78fe34..78ea49773c2 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-layout.sty
@@ -21,6 +21,7 @@
\NewDocumentCommand{\layout}{s}{}
+
\endinput
%%
%% End of file `lwarp-layout.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty
index c2f1353987b..7a95441092a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-letterspace.sty
@@ -25,6 +25,7 @@
\def\textls#1#{}
\newcommand*\lslig[1]{#1}
+
\endinput
%%
%% End of file `lwarp-letterspace.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty
index def689ec591..b5ea89ea622 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty
@@ -45,6 +45,7 @@
\newcommand*{\LettrineFont}[1]{\InlineClass{lettrine}{#1}}
\newcommand*{\LettrineFontEPS}[1]{\includegraphics[height=1.5ex]{#1}}
+
\endinput
%%
%% End of file `lwarp-lettrine.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty
index a323c48dd0f..b3b51356fc0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lips.sty
@@ -36,6 +36,7 @@
\newcommand \LPNobreakList {}
+
\endinput
%%
%% End of file `lwarp-lips.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty
index 134ca9b20e5..407910d0d92 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-listings.sty
@@ -125,6 +125,7 @@
}{\PackageError{Listings}{Numbers #1 unknown}\@ehc}}
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-listings.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty
index acef725862f..c2c0bac789a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-longtable.sty
@@ -58,6 +58,7 @@
\newlength{\LTcapwidth}
\renewcommand*{\kill}{\LWR@tabularendofline}
+
\endinput
%%
%% End of file `lwarp-longtable.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty
index 87e093ee194..f2396aa200a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lscape.sty
@@ -21,6 +21,7 @@
\newenvironment*{landscape}{}{}
+
\endinput
%%
%% End of file `lwarp-lscape.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty
index 01fbf6add9a..24d8a2c0f25 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ltcaption.sty
@@ -25,6 +25,7 @@
\newlength{\LTcapleft}
\newlength{\LTcapright}
\newcommand*{\LTcapmarginsfalse}{}
+
\endinput
%%
%% End of file `lwarp-ltcaption.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfit.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfit.sty
index 777c939ddc4..0e9f52d1a3a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfit.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfit.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{marginfit}
+
\endinput
%%
%% End of file `lwarp-marginfit.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty
index 1886d21ae01..6e0cd490475 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginfix.sty
@@ -26,6 +26,7 @@
\newcommand*{\blockmargin}[1][]{}
\newcommand*{\unblockmargin}[1][]{}
\newcommand*{\marginphantom}[2][]{}
+
\endinput
%%
%% End of file `lwarp-marginfix.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty
index 9e00b76716d..be8f51c792b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-marginnote.sty
@@ -25,6 +25,7 @@
\newcommand*{\marginfont}{}
\newcommand*{\raggedleftmarginnote}{}
\newcommand*{\raggedrightmarginnote}{}
+
\endinput
%%
%% End of file `lwarp-marginnote.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty
index 74a93c60ceb..394c6096171 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mcaption.sty
@@ -23,6 +23,7 @@
\newcommand*{\margincapalign}{}
\newlength{\margincapsep}
+
\endinput
%%
%% End of file `lwarp-mcaption.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty
index f463c037efa..6b2f64085f0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty
@@ -260,6 +260,7 @@ background:
\end{mdframed}}%
}
+
\endinput
%%
%% End of file `lwarp-mdframed.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-metalogo.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-metalogo.sty
new file mode 100644
index 00000000000..3f687794e62
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-metalogo.sty
@@ -0,0 +1,28 @@
+%%
+%% This is file `lwarp-metalogo.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `metalogo')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{metalogo}
+\newcommand\setlogokern[2]{}
+\newcommand\setlogodrop[2][XeTeX]{}
+\newcommand\setLaTeXa[1]{}
+\newcommand\setLaTeXee[1]{}
+\newcommand\seteverylogo[1]{}
+\newcommand\everylogo[1]{}
+
+\endinput
+%%
+%% End of file `lwarp-metalogo.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty
index 0061012e6e3..3c45a4b9b02 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty
@@ -51,6 +51,7 @@
\@onlypreamble\DeclareMicrotypeVariants
\@onlypreamble\DeclareMicrotypeBabelHook
+
\endinput
%%
%% End of file `lwarp-microtype.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty
index 8816b81c49a..97d9774ede0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-moreverb.sty
@@ -88,6 +88,7 @@
}
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-moreverb.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty
index cfc39a98d2e..0bb0f051813 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mparhack.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{mparhack}
+
\endinput
%%
%% End of file `lwarp-mparhack.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty
index 79408484be5..a81bcbb53ab 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multicol.sty
@@ -50,6 +50,7 @@
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-multicol.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
index f08a4919e1b..f5bdf090c19 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
@@ -20,6 +20,7 @@
\LWR@ProvidesPackageDrop{multirow}
+
\endinput
%%
%% End of file `lwarp-multirow.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty
index 04b0f2b2052..6aa2b97090b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nameref.sty
@@ -23,6 +23,7 @@
\DeclareOption*{}
\ProcessOptions\relax
+
\endinput
%%
%% End of file `lwarp-nameref.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty
index d207716e39c..2ec5cccb03d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-needspace.sty
@@ -22,6 +22,7 @@
\newcommand*{\needspace}[1]{}
\DeclareDocumentCommand{\Needspace}{s m}{}
+
\endinput
%%
%% End of file `lwarp-needspace.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newclude.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newclude.sty
index c7bf7b97112..0103ef15206 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-newclude.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newclude.sty
@@ -21,6 +21,7 @@
\LWR@loadbefore{newclude}
+
\endinput
%%
%% End of file `lwarp-newclude.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty
index b06d1f69915..a170c2bfa90 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newunicodechar.sty
@@ -21,6 +21,7 @@
\LWR@loadbefore{newunicodechar}
+
\endinput
%%
%% End of file `lwarp-newunicodechar.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty
index 0dcffdf7d0f..531268331bb 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nextpage.sty
@@ -24,6 +24,7 @@
\newcommand{\cleartooddpage}[1][]{}
\newcommand{\movetooddpage}[1][]{}
+
\endinput
%%
%% End of file `lwarp-nextpage.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nonumonpart.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nonumonpart.sty
new file mode 100644
index 00000000000..93670822291
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nonumonpart.sty
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-nonumonpart.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `nonumonpart')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{nonumonpart}
+
+\endinput
+%%
+%% End of file `lwarp-nonumonpart.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nopageno.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nopageno.sty
new file mode 100644
index 00000000000..189e5d81757
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nopageno.sty
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-nopageno.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `nopageno')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{nopageno}
+
+\endinput
+%%
+%% End of file `lwarp-nopageno.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty
index 2bd4da189d6..2cc775e0534 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-nowidow.sty
@@ -26,6 +26,7 @@
\newcommand*{\noclub}[1][]{}
\newcommand*{\setnoclub}[1][]{}
+
\endinput
%%
%% End of file `lwarp-nowidow.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty
index 63d3fc41746..b1fc4fdc0b3 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty
@@ -423,6 +423,7 @@
\def\Box{\text{\HTMLunicode{25A1}}}% UTF-8 white box
}
\newcommand*{\thref}[1]{\cref{#1}}
+
\endinput
%%
%% End of file `lwarp-ntheorem.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty
index 1489aa12c9c..91553b42c9f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pagenote.sty
@@ -17,7 +17,9 @@
%% version 2005/12/01 or later.
+\DeclareOption{page}{}
\LWR@ProvidesPackagePass{pagenote}
+
\endinput
%%
%% End of file `lwarp-pagenote.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-paralist.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-paralist.sty
index 7b38dd79ff0..2822ff2470d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-paralist.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-paralist.sty
@@ -24,6 +24,7 @@
\AtBeginEnvironment{compactdesc}{\LWR@descriptionstart}
\AtEndEnvironment{compactdesc}{\LWR@descriptionend}
\def\paradescriptionlabel#1{{\normalfont\textbf{#1}}}
+
\endinput
%%
%% End of file `lwarp-paralist.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty
index 8ea5d9853b6..cc9f22e5a40 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-parskip.sty
@@ -19,6 +19,7 @@
\LWR@ProvidesPackageDrop{parskip}
+
\endinput
%%
%% End of file `lwarp-parskip.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pdflscape.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pdflscape.sty
index 77c4bca36fe..a730b1792f0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-pdflscape.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pdflscape.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{pdflscape}
+
\endinput
%%
%% End of file `lwarp-pdflscape.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-pdfsync.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-pdfsync.sty
index 26784207fcd..b26a330a935 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-pdfsync.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-pdfsync.sty
@@ -19,6 +19,7 @@
\let\pdfsync\relax
\let\pdfsyncstart\relax
\let\pdfsyncstop\relax
+
\endinput
%%
%% End of file `lwarp-pdfsync.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty
index 15b024ee36b..821737b2314 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-placeins.sty
@@ -21,6 +21,7 @@
\newcommand*{\FloatBarrier}{}
+
\endinput
%%
%% End of file `lwarp-placeins.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-prelim2e.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-prelim2e.sty
index 59dd4fe10a2..2f3d4f8cc45 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-prelim2e.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-prelim2e.sty
@@ -19,6 +19,7 @@
\newcommand{\PrelimText}{}
\newcommand{\PrelimTextStyle}{}
\newcommand{\PrelimWords}{}
+
\endinput
%%
%% End of file `lwarp-prelim2e.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty
index 79ab2dbc526..850464db539 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ragged2e.sty
@@ -42,6 +42,7 @@
\newenvironment*{FlushRight}{\flushright}{\endflushright}
\newenvironment*{justify}{\justifying}{\endjustifying}
+
\endinput
%%
%% End of file `lwarp-ragged2e.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty
new file mode 100644
index 00000000000..128a23b13d6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty
@@ -0,0 +1,57 @@
+%%
+%% This is file `lwarp-realscripts.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `realscripts')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{realscripts}
+\let\LWR@origtextsuperscript\textsuperscript
+\let\LWR@origtextsubscript\textsubscript
+
+\RenewDocumentCommand{\textsuperscript}{s}{\LWR@origtextsuperscript}
+\RenewDocumentCommand{\textsubscript}{s}{\LWR@origtextsubscript}
+
+\let\realsuperscript\textsuperscript
+\let\realsubscript\textsubscript
+
+\let\fakesuperscript\textsuperscript
+\let\fakesubscript\textsubscript
+
+\newlength{\subsupersep}
+
+\newcommand*{\LWR@realscriptsalign}{}
+
+\newcommand*{\LWR@setrealscriptsalign}[1]{%
+\renewcommand*{\LWR@realscriptsalign}{}%
+\ifthenelse{\equal{#1}{c}}{\renewcommand{\LWR@realscriptsalign}{text-align:center;}}{}%
+\ifthenelse{\equal{#1}{r}}{\renewcommand{\LWR@realscriptsalign}{text-align:right;}}{}%
+}
+
+\DeclareDocumentCommand \textsubsuperscript {s O{l} mm} {%
+\LWR@setrealscriptsalign{#2}%
+\InlineClass[\LWR@realscriptsalign]{supsubscript}{%
+\textsuperscript{#4}\textsubscript{#3}%
+}%
+}
+
+\DeclareDocumentCommand \textsupersubscript {s O{l} mm} {%
+\LWR@setrealscriptsalign{#2}%
+\InlineClass[\LWR@realscriptsalign]{supsubscript}{%
+\textsubscript{#4}\textsuperscript{#3}%
+}%
+}
+
+\endinput
+%%
+%% End of file `lwarp-realscripts.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-relsize.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-relsize.sty
new file mode 100644
index 00000000000..d268bea0edb
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-relsize.sty
@@ -0,0 +1,62 @@
+%%
+%% This is file `lwarp-relsize.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `relsize')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\LWR@ProvidesPackagePass{relsize}
+\let\LWR@origrelsize\relsize
+\LetLtxMacro\LWR@origlarger\larger
+\LetLtxMacro\LWR@origsmaller\smaller
+\let\LWR@relscale\relscale
+\LetLtxMacro\LWR@origtextlarger\textlarger
+\LetLtxMacro\LWR@origtextsmaller\textsmaller
+\let\LWR@textscale\textscale
+
+\renewcommand*{\LWR@restoreorigrelsize}{%
+\let\relsize\LWR@origrelsize%
+\LetLtxMacro\larger\LWR@origlarger%
+\LetLtxMacro\smaller\LWR@origsmaller%
+\let\relscale\LWR@relscale%
+\LetLtxMacro\textlarger\LWR@origtextlarger%
+\LetLtxMacro\textsmaller\LWR@origtextsmaller%
+\let\textscale\LWR@textscale%
+}
+
+\newcounter{LWR@relsizetemp}
+
+\renewcommand*{\relsize}[1]{}
+\renewcommand*{\larger}[1][]{}
+\renewcommand*{\smaller}[1][]{}
+\renewcommand*{\relscale}[1]{}
+
+\renewcommand*{\textlarger}[2][1]{%
+\setcounter{LWR@relsizetemp}{100+(#1*20)}%
+\InlineClass[font-size:\arabic{LWR@relsizetemp}\%]{textlarger}{#2}%
+}
+
+\renewcommand*{\textsmaller}[2][1]{%
+\setcounter{LWR@relsizetemp}{100-(#1*20)}%
+\InlineClass[font-size:\arabic{LWR@relsizetemp}\%]{textsmaller}{#2}%
+}
+
+\renewcommand*{\textscale}[2]{%
+\setcounter{LWR@relsizetemp}{100*\real{#1}}%
+\InlineClass[font-size:\arabic{LWR@relsizetemp}\%]{textscale}{#2}%
+}
+
+\endinput
+%%
+%% End of file `lwarp-relsize.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-romanbar.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-romanbar.sty
new file mode 100644
index 00000000000..e1c022a2dbf
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-romanbar.sty
@@ -0,0 +1,30 @@
+%%
+%% This is file `lwarp-romanbar.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `romanbar')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\LWR@ProvidesPackagePass{romanbar}
+
+\DeclareRobustCommand{\Roman@bar}[1]{% #1 is in Roman, i.e. MMXII
+\InlineClass[%
+ text-decoration: overline underline ;
+]{romanbar}{#1}%
+}
+
+
+\endinput
+%%
+%% End of file `lwarp-romanbar.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-romanbarpagenumber.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-romanbarpagenumber.sty
new file mode 100644
index 00000000000..74aa176d791
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-romanbarpagenumber.sty
@@ -0,0 +1,22 @@
+%%
+%% This is file `lwarp-romanbarpagenumber.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `romanbarpagenumber')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+\LWR@ProvidesPackageDrop{romanbarpagenumber}
+
+\endinput
+%%
+%% End of file `lwarp-romanbarpagenumber.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty
index 94243a77016..c81f71bf23a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotating.sty
@@ -32,6 +32,7 @@
\let\rotcaption\caption
\let\@makerotcaption\@makecaption
+
\endinput
%%
%% End of file `lwarp-rotating.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty
index 011ab6d59a3..e359bb761c6 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-rotfloat.sty
@@ -34,6 +34,7 @@
\cslet{listof#1s}\relax
\cslet{listof#1es}\relax
}
+
\endinput
%%
%% End of file `lwarp-rotfloat.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-savetrees.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-savetrees.sty
index 679b6475d00..ff19d92a6c1 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-savetrees.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-savetrees.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{savetrees}
+
\endinput
%%
%% End of file `lwarp-savetrees.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-scalefnt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-scalefnt.sty
new file mode 100644
index 00000000000..282cf4c35e6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-scalefnt.sty
@@ -0,0 +1,24 @@
+%%
+%% This is file `lwarp-scalefnt.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `scalefnt')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\LWR@ProvidesPackageDrop{scalefnt}
+\DeclareRobustCommand\scalefont[1]{}
+
+\endinput
+%%
+%% End of file `lwarp-scalefnt.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty
index a8e454210ae..45ad17ca3d4 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-setspace.sty
@@ -61,6 +61,7 @@
}
{\endBlockClass}
+
\endinput
%%
%% End of file `lwarp-setspace.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-shadow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-shadow.sty
index 193a5591035..8773a35ef6a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-shadow.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-shadow.sty
@@ -27,6 +27,7 @@
\InlineClass{shabox}{#1}%
}
+
\endinput
%%
%% End of file `lwarp-shadow.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty
index 24bd0244915..67fd0757a7d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-showidx.sty
@@ -15,6 +15,7 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
+
\endinput
%%
%% End of file `lwarp-showidx.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty
index c032f4c14b7..08f784889e7 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-showkeys.sty
@@ -21,6 +21,7 @@
\NewDocumentCommand{\showkeys}{s}{}
+
\endinput
%%
%% End of file `lwarp-showkeys.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty
index 0669fce1338..8beddf3bd9f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidecap.sty
@@ -39,6 +39,7 @@
\newenvironment*{wide}{}{}
+
\endinput
%%
%% End of file `lwarp-sidecap.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
index 42b5c1e5339..cc163ee14fd 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
@@ -63,6 +63,7 @@
\renewenvironment{table*}
{\@dblfloat{table}}
{\end@dblfloat}
+
\endinput
%%
%% End of file `lwarp-sidenotes.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty
new file mode 100644
index 00000000000..eaf8c4cd94b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty
@@ -0,0 +1,33 @@
+%%
+%% This is file `lwarp-siunitx.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `siunitx')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\LWR@ProvidesPackagePass{siunitx}
+
+\AtBeginDocument{% in case textcomp was not loaded
+\DeclareSIUnit\bohr{\textit{a}\textsubscript{0}}
+\DeclareSIUnit\clight{\textit{c}\textsubscript{0}}
+\DeclareSIUnit\elementarycharge{\textit{e}}
+\DeclareSIUnit\electronmass{\textit{m}\textsubscript{e}}
+\DeclareSIUnit\hartree{\textit{E}\textsubscript{h}}
+}% AtBeginDocument
+
+
+
+\endinput
+%%
+%% End of file `lwarp-siunitx.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty
index aec6a684692..27bc4046f88 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty
@@ -65,6 +65,7 @@
\let\textul\ul
\let\texthl\hl
\let\textcaps\caps
+
\endinput
%%
%% End of file `lwarp-soul.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty
index e5e1ab4fcd7..ddb4669d11a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-subfig.sty
@@ -216,6 +216,7 @@
\renewcommand{\l@subfigure}[2]{\hypertocfloat{2}{subfigure}{lof}{#1}{#2}}
\renewcommand{\l@subtable}[2]{\hypertocfloat{2}{subtable}{lot}{#1}{#2}}
+
\endinput
%%
%% End of file `lwarp-subfig.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-syntonly.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-syntonly.sty
index 8ca59206b5c..f93436209e0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-syntonly.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-syntonly.sty
@@ -22,6 +22,7 @@
\newcommand*{\syntaxonly}{}
\@onlypreamble\syntaxonly
+
\endinput
%%
%% End of file `lwarp-syntonly.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty
index 3b1d41eb8a3..65e529da7af 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tabularx.sty
@@ -27,6 +27,7 @@
{\tabular{#3}}
{\endtabular}
+
\endinput
%%
%% End of file `lwarp-tabularx.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tabulary.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tabulary.sty
index f2a7b3c5b07..48335c59499 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tabulary.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tabulary.sty
@@ -31,6 +31,7 @@
\newdimen\tymax
\def\tyformat{}
+
\endinput
%%
%% End of file `lwarp-tabulary.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty
new file mode 100644
index 00000000000..b858e141ee8
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty
@@ -0,0 +1,90 @@
+%%
+%% This is file `lwarp-textcomp.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `textcomp')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\LWR@ProvidesPackagePass{textcomp}
+\let\LWR@origtextdegree\textdegree
+\let\LWR@origtextcelsius\textcelsius
+\let\LWR@origtextohm\textohm
+\let\LWR@origtextmu\textmu
+\LetLtxMacro\LWR@origcapitalcedilla\capitalcedilla
+\LetLtxMacro\LWR@origcapitalogonek\capitalogonek
+\LetLtxMacro\LWR@origcapitalgrave\capitalgrave
+\LetLtxMacro\LWR@origcapitalacute\capitalacute
+\LetLtxMacro\LWR@origcapitalcircumflex\capitalcircumflex
+\LetLtxMacro\LWR@origcapitaltilde\capitaltilde
+\LetLtxMacro\LWR@origcapitaldieresis\capitaldieresis
+\LetLtxMacro\LWR@origcapitalhungarumlaut\capitalhungarumlaut
+\LetLtxMacro\LWR@origcapitalring\capitalring
+\LetLtxMacro\LWR@origcapitalcaron\capitalcaron
+\LetLtxMacro\LWR@origcapitalbreve\capitalbreve
+\LetLtxMacro\LWR@origcapitalmacron\capitalmacron
+\LetLtxMacro\LWR@origcapitaldotaccent\capitaldotaccent
+\LetLtxMacro\LWR@origtextcircled\textcircled
+\ifPDFTeX
+\renewcommand*{\textdegree}{\HTMLentity{deg}}
+\renewcommand*{\textcelsius}{\HTMLentity{deg}\,C}
+\renewcommand*{\textohm}{\HTMLunicode{2126}}
+\renewcommand*{\textmu}{\HTMLunicode{00B5}}
+\else
+\renewcommand*{\textdegree}{°}
+\renewcommand*{\textcelsius}{°C}
+\renewcommand*{\textohm}{Ω}
+\renewcommand*{\textmu}{μ}
+\fi
+\renewcommand*{\capitalcedilla}[1]{#1\HTMLunicode{0327}}
+\renewcommand*{\capitalogonek}[1]{#1\HTMLunicode{0328}}
+\renewcommand*{\capitalgrave}[1]{#1\HTMLunicode{0300}}
+\renewcommand*{\capitalacute}[1]{#1\HTMLunicode{0301}}
+\renewcommand*{\capitalcircumflex}[1]{#1\HTMLunicode{0302}}
+\renewcommand*{\capitaltilde}[1]{#1\HTMLunicode{0303}}
+\renewcommand*{\capitaldieresis}[1]{#1\HTMLunicode{0308}}
+\renewcommand*{\capitalhungarumlaut}[1]{#1\HTMLunicode{30B}}
+\renewcommand*{\capitalring}[1]{#1\HTMLunicode{30A}}
+\renewcommand*{\capitalcaron}[1]{#1\HTMLunicode{30C}}
+\renewcommand*{\capitalbreve}[1]{#1\HTMLunicode{306}}
+\renewcommand*{\capitalmacron}[1]{#1\HTMLunicode{304}}
+\renewcommand*{\capitaldotaccent}[1]{#1\HTMLunicode{307}}
+\renewcommand*{\textcircled}[1]{%
+\InlineClass[border: 1px solid \LWR@currenttextcolor]{textcircled}{#1}%
+}
+\let\LWR@restoreorigtextcomp\relax
+
+\newcommand*{\LWR@restoreorigtextcomp}{%
+\let\textdegree\LWR@origtextdegree%
+\let\textcelsius\LWR@origtextcelsius%
+\let\textohm\LWR@origtextohm%
+\let\textmu\LWR@origtextmu%
+\LetLtxMacro\capitalcedilla\LWR@origcapitalcedilla%
+\LetLtxMacro\capitalogonek\LWR@origcapitalogonek%
+\LetLtxMacro\capitalgrave\LWR@origcapitalgrave%
+\LetLtxMacro\capitalacute\LWR@origcapitalacute%
+\LetLtxMacro\capitalcircumflex\LWR@origcapitalcircumflex%
+\LetLtxMacro\capitaltilde\LWR@origcapitaltilde%
+\LetLtxMacro\capitaldieresis\LWR@origcapitaldieresis%
+\LetLtxMacro\capitalhungarumlaut\LWR@origcapitalhungarumlaut%
+\LetLtxMacro\capitalring\LWR@origcapitalring%
+\LetLtxMacro\capitalcaron\LWR@origcapitalcaron%
+\LetLtxMacro\capitalbreve\LWR@origcapitalbreve%
+\LetLtxMacro\capitalmacron\LWR@origcapitalmacron%
+\LetLtxMacro\capitaldotaccent\LWR@origcapitaldotaccent%
+\LetLtxMacro\textcircled\LWR@origtextcircled%
+}
+
+\endinput
+%%
+%% End of file `lwarp-textcomp.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty
index 21c805d6997..d1717b0ade7 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textpos.sty
@@ -37,6 +37,7 @@
\newcommand*{\showtextsize}{}
\newcommand{\textblockorigin}[2]{}
+
\endinput
%%
%% End of file `lwarp-textpos.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty
index 2a597dada71..31445047f0a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty
@@ -172,6 +172,7 @@
]}
}
\gdef\@endtheorem{\endBlockClass\endtrivlist}
+
\endinput
%%
%% End of file `lwarp-theorem.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty
index d56adf85638..8259967e848 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-threeparttable.sty
@@ -39,6 +39,7 @@
}
\newcommand{\tnote}[1]{\LWR@htmlspan{sup}{#1}}
+
\endinput
%%
%% End of file `lwarp-threeparttable.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty
index db79ea24fc4..27d650ca68c 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty
@@ -43,6 +43,7 @@
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp-tikz.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty
index be307149118..45ee6066488 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleps.sty
@@ -69,6 +69,7 @@
\newcommand{\outerextramarks}[1]{}
\newcommand{\innerextramarks}[1]{}
+
\endinput
%%
%% End of file `lwarp-titleps.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty
index dd8376af42f..36bece512c3 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty
@@ -16,6 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@loadnever{titleref}{hyperref and nameref}
+
\endinput
%%
%% End of file `lwarp-titleref.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty
index 3c9940bce82..0992011348d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titlesec.sty
@@ -56,6 +56,7 @@
\NewDocumentCommand{\titleclass}{m o m o}
+
\endinput
%%
%% End of file `lwarp-titlesec.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty
index b545422099c..db1fbadf003 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titletoc.sty
@@ -51,6 +51,7 @@
\newcommand{\printlist}[4][]{}
+
\endinput
%%
%% End of file `lwarp-titletoc.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty
index b5e89a8c0e1..2237dba15aa 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titling.sty
@@ -37,6 +37,7 @@
\global\let\thepublished\relax%
\global\let\thesubtitle\relax%
}
+
\endinput
%%
%% End of file `lwarp-titling.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocbibind.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocbibind.sty
new file mode 100644
index 00000000000..834f23cb9e0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocbibind.sty
@@ -0,0 +1,53 @@
+%%
+%% This is file `lwarp-tocbibind.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `tocbibind')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\LWR@ProvidesPackagePass{tocbibind}
+
+ \renewenvironment{theindex}%
+ {%
+ \if@bibchapter
+ \if@donumindex
+ \chapter{\indexname}
+ \else
+ \if@dotocind
+ \chapter*{\indexname}
+ \addcontentsline{toc}{chapter}{\indexname}
+ \else
+ \chapter*{\indexname}
+ \fi
+ \fi
+ \else
+ \if@donumindex
+ \section{\indexname}
+ \else
+ \if@dotocind
+ \section*{\indexname}
+ \addcontentsline{toc}{\@tocextra}{\indexname}
+ \else
+ \section*{\indexname}
+ \fi
+ \fi
+ \fi
+\let\item\LWR@indexitem%
+\let\subitem\LWR@indexsubitem%
+\let\subsubitem\LWR@indexsubsubitem%
+}
+
+\endinput
+%%
+%% End of file `lwarp-tocbibind.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty
index 6db44e73608..4951458aafb 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocloft.sty
@@ -19,6 +19,7 @@
+
\LWR@ProvidesPackageDrop{tocloft}
\newcommand{\tocloftpagestyle}[1]{}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-transparent.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-transparent.sty
index 221759527b4..92fbb443968 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-transparent.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-transparent.sty
@@ -15,6 +15,7 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
+
\LWR@ProvidesPackageDrop{transparent}
\newcommand*{\transparent}[1]{\edef\LWR@opacity{#1}}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty
index c1e95e266e2..afff8086bf6 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-trivfloat.sty
@@ -19,6 +19,7 @@
+
\LWR@ProvidesPackageDrop{trivfloat}
\LWR@origRequirePackage{trivfloat}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
index c89139bd40d..e191ec1a12c 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
@@ -15,6 +15,7 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
+
\LetLtxMacro\LWR@ulemorigemph\emph
\LetLtxMacro\LWR@ulemorigtextbf\textbf
\NewDocumentCommand{\uline}{+m}{%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-upref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-upref.sty
index 81cfd6fa7f8..b95e9ce656e 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-upref.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-upref.sty
@@ -15,6 +15,7 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
+
\LWR@ProvidesPackageDrop{upref}
\endinput
%%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty
index 3c52cad9193..c28a760537c 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-verse.sty
@@ -15,6 +15,7 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
+
\LWR@ProvidesPackagePass{verse}
\AfterEndPreamble{
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty
index 228e89f88d6..44377d23af2 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wallpaper.sty
@@ -18,6 +18,7 @@
+
\LWR@ProvidesPackageDrop{wallpaper}
\newcommand*{\CenterWallPaper}[2]{}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty
index 4eb11999622..de994f68963 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty
@@ -18,6 +18,7 @@
+
\LWR@ProvidesPackageDrop{wrapfig}
\newlength{\LWR@wrapwidth}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
index f0b2c04f212..260274c55f6 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xcolor.sty
@@ -17,6 +17,7 @@
%% version 2005/12/01 or later.
+
\LWR@ProvidesPackagePass{xcolor}
\begin{warpHTML}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty
index 74855e62a64..35ddcb151f7 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty
@@ -17,6 +17,7 @@
%% version 2005/12/01 or later.
+
\LWR@ProvidesPackagePass{xfrac}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xltxtra.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xltxtra.sty
new file mode 100644
index 00000000000..8c52012dd3b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xltxtra.sty
@@ -0,0 +1,41 @@
+%%
+%% This is file `lwarp-xltxtra.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `xltxtra')
+%% This is a generated file.
+%% Copyright 2016-2017 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\LWR@ProvidesPackageDrop{xltxtra}
+\RequirePackage{realscripts}
+\RequirePackage{metalogo}
+\newcommand*\TeX@logo@spacing[6]{}
+
+\newcommand*{\vfrac}[2]{%
+\textsuperscript{#1}/\textsubscript{#2}%
+}
+
+\newcommand\namedglyph[1]{%
+ \@tempcnta=\XeTeXglyphindex "#1"\relax
+ \ifnum\@tempcnta>0
+ \XeTeXglyph\@tempcnta
+ \else
+ \xxt@namedglyph@fallback{#1}%
+ \fi}
+
+\newcommand\xxt@namedglyph@fallback[1]{[#1]}
+
+\newcommand{\showhyphens}[1]{}
+\endinput
+%%
+%% End of file `lwarp-xltxtra.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xmpincl.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xmpincl.sty
index 3d8faeb3a03..bd7012d30c8 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xmpincl.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xmpincl.sty
@@ -15,6 +15,7 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
+
\LWR@ProvidesPackageDrop{xmpincl}
\newcommand*{\includexmp}[1]{}
\endinput
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index ce165a885a4..124f1e70a7d 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{lwarp}
- [2017/08/19 v0.37 Allows LaTeX to directly produce HTML5 output.]
+ [2017/08/27 v0.38 Allows LaTeX to directly produce HTML5 output.]
@@ -201,6 +201,8 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{algorithmicx}
\LWR@loadafter{alltt}
\LWR@loadafter{amsthm}
+\LWR@loadafter{appendix}
+\LWR@loadafter{arabicfront}
\LWR@loadafter{array}
\LWR@loadafter{balance}
\LWR@loadafter{bookmark}
@@ -209,6 +211,8 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{boxedminipage2e}
\LWR@loadafter{ccaption}
\LWR@loadafter{changepage}
+\LWR@loadafter{chappg}
+\LWR@loadafter{color}
\LWR@loadafter{crop}
\LWR@loadafter{cutwin}
\LWR@loadafter{dcolumn}
@@ -226,15 +230,18 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{fancyhdr}
\LWR@loadafter{fancyvrb}
\LWR@loadafter{figcaps}
+\LWR@loadafter{fix2col}
\LWR@loadafter{float}
\LWR@loadafter{floatflt}
\LWR@loadafter{floatpag}
\LWR@loadafter{floatrow}
\LWR@loadafter{flushend}
+\LWR@loadafter{fncychap}
\LWR@loadafter{ftnright}
\LWR@loadafter{fullpage}
\LWR@loadafter{geometry}
\LWR@loadafter{glossaries}
+\LWR@loadafter{grffile}
\LWR@loadafter{hyperref}
\LWR@loadafter{hyperxmp}
\LWR@loadafter{idxlayout}
@@ -253,6 +260,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{marginnote}
\LWR@loadafter{mcaption}
\LWR@loadafter{mdframed}
+\LWR@loadafter{metalogo}
\LWR@loadafter{microtype}
\LWR@loadafter{moreverb}
\LWR@loadafter{mparhack}
@@ -261,6 +269,8 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{needspace}
\LWR@loadafter{newtxmath}
\LWR@loadafter{nextpage}
+\LWR@loadafter{nonumonpart}
+\LWR@loadafter{nopageno}
\LWR@loadafter{nowidow}
\LWR@loadafter{ntheorem}
\LWR@loadafter{pagenote}
@@ -271,6 +281,10 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{placeins}
\LWR@loadafter{prelim2e}
\LWR@loadafter{ragged2e}
+\LWR@loadafter{realscripts}
+\LWR@loadafter{relsize}
+\LWR@loadafter{romanbar}
+\LWR@loadafter{romanbarpagenumber}
\LWR@loadafter{rotating}
\LWR@loadafter{rotfloat}
\LWR@loadafter{savetrees}
@@ -280,6 +294,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{showkeys}
\LWR@loadafter{sidecap}
\LWR@loadafter{sidenotes}
+\LWR@loadafter{siunitx}
\LWR@loadafter{soul}
\LWR@loadafter{subfig}
\LWR@loadafter{tabularx}
@@ -291,6 +306,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{titleps}
\LWR@loadafter{titlesec}
\LWR@loadafter{titletoc}
+\LWR@loadafter{tocbibind}
\LWR@loadafter{tocloft}
\LWR@loadafter{transparent}
\LWR@loadafter{trivfloat}
@@ -302,6 +318,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{wrapfig}
\LWR@loadafter{xcolor}
\LWR@loadafter{xfrac}
+\LWR@loadafter{xltxtra}
\LWR@loadafter{xmpincl}
@@ -680,81 +697,13 @@ top=1in,bottom=1in,%
\end{warpHTML}
\begin{warpHTML}
-\AtBeginDocument{% in case textcomp was not loaded
-
\@ifpackageloaded{textcomp}
{
-\let\LWR@origtextdegree\textdegree
-\let\LWR@origtextcelsius\textcelsius
-\let\LWR@origtextohm\textohm
-\let\LWR@origtextmu\textmu
-\LetLtxMacro\LWR@origcapitalcedilla\capitalcedilla
-\LetLtxMacro\LWR@origcapitalogonek\capitalogonek
-\LetLtxMacro\LWR@origcapitalgrave\capitalgrave
-\LetLtxMacro\LWR@origcapitalacute\capitalacute
-\LetLtxMacro\LWR@origcapitalcircumflex\capitalcircumflex
-\LetLtxMacro\LWR@origcapitaltilde\capitaltilde
-\LetLtxMacro\LWR@origcapitaldieresis\capitaldieresis
-\LetLtxMacro\LWR@origcapitalhungarumlaut\capitalhungarumlaut
-\LetLtxMacro\LWR@origcapitalring\capitalring
-\LetLtxMacro\LWR@origcapitalcaron\capitalcaron
-\LetLtxMacro\LWR@origcapitalbreve\capitalbreve
-\LetLtxMacro\LWR@origcapitalmacron\capitalmacron
-\LetLtxMacro\LWR@origcapitaldotaccent\capitaldotaccent
-\LetLtxMacro\LWR@origtextcircled\textcircled
-\ifPDFTeX
-\renewcommand*{\textdegree}{\HTMLentity{deg}}
-\renewcommand*{\textcelsius}{\HTMLentity{deg}\,C}
-\renewcommand*{\textohm}{\HTMLunicode{2126}}
-\renewcommand*{\textmu}{\HTMLunicode{00B5}}
-\else
-\renewcommand*{\textdegree}{°}
-\renewcommand*{\textcelsius}{°C}
-\renewcommand*{\textohm}{Ω}
-\renewcommand*{\textmu}{μ}
-\fi
-\renewcommand*{\capitalcedilla}[1]{#1\HTMLunicode{0327}}
-\renewcommand*{\capitalogonek}[1]{#1\HTMLunicode{0328}}
-\renewcommand*{\capitalgrave}[1]{#1\HTMLunicode{0300}}
-\renewcommand*{\capitalacute}[1]{#1\HTMLunicode{0301}}
-\renewcommand*{\capitalcircumflex}[1]{#1\HTMLunicode{0302}}
-\renewcommand*{\capitaltilde}[1]{#1\HTMLunicode{0303}}
-\renewcommand*{\capitaldieresis}[1]{#1\HTMLunicode{0308}}
-\renewcommand*{\capitalhungarumlaut}[1]{#1\HTMLunicode{30B}}
-\renewcommand*{\capitalring}[1]{#1\HTMLunicode{30A}}
-\renewcommand*{\capitalcaron}[1]{#1\HTMLunicode{30C}}
-\renewcommand*{\capitalbreve}[1]{#1\HTMLunicode{306}}
-\renewcommand*{\capitalmacron}[1]{#1\HTMLunicode{304}}
-\renewcommand*{\capitaldotaccent}[1]{#1\HTMLunicode{307}}
-\renewcommand*{\textcircled}[1]{%
-\InlineClass[border: 1px solid \LWR@currenttextcolor]{textcircled}{#1}%
-}
-\newcommand*{\LWR@restoreorigtextcomp}{%
-\let\textdegree\LWR@origtextdegree%
-\let\textcelsius\LWR@origtextcelsius%
-\let\textohm\LWR@origtextohm%
-\let\textmu\LWR@origtextmu%
-\LetLtxMacro\capitalcedilla\LWR@origcapitalcedilla%
-\LetLtxMacro\capitalogonek\LWR@origcapitalogonek%
-\LetLtxMacro\capitalgrave\LWR@origcapitalgrave%
-\LetLtxMacro\capitalacute\LWR@origcapitalacute%
-\LetLtxMacro\capitalcircumflex\LWR@origcapitalcircumflex%
-\LetLtxMacro\capitaltilde\LWR@origcapitaltilde%
-\LetLtxMacro\capitaldieresis\LWR@origcapitaldieresis%
-\LetLtxMacro\capitalhungarumlaut\LWR@origcapitalhungarumlaut%
-\LetLtxMacro\capitalring\LWR@origcapitalring%
-\LetLtxMacro\capitalcaron\LWR@origcapitalcaron%
-\LetLtxMacro\capitalbreve\LWR@origcapitalbreve%
-\LetLtxMacro\capitalmacron\LWR@origcapitalmacron%
-\LetLtxMacro\capitaldotaccent\LWR@origcapitaldotaccent%
-\LetLtxMacro\textcircled\LWR@origtextcircled%
-}
-}% textcomp loaded
-{% textcomp not loaded
-\newcommand*{\LWR@restoreorigtextcomp}{}%
-}% textcomp not loaded
-
-}% AtBeginDocument
+\LWR@origRequirePackage{lwarp-textcomp}
+}
+{
+\providecommand*{\LWR@restoreorigtextcomp}{}%
+}
\end{warpHTML}
@@ -800,26 +749,6 @@ top=1in,bottom=1in,%
-\begin{warpHTML}
-
-\AtBeginDocument{% in case textcomp was not loaded
-
-\@ifpackageloaded{siunitx}
-{
-\DeclareSIUnit\bohr{\textit{a}\textsubscript{0}}
-\DeclareSIUnit\clight{\textit{c}\textsubscript{0}}
-\DeclareSIUnit\elementarycharge{\textit{e}}
-\DeclareSIUnit\electronmass{\textit{m}\textsubscript{e}}
-\DeclareSIUnit\hartree{\textit{E}\textsubscript{h}}
-}% siunitx loaded
-{}% siunitx not loaded
-
-}% AtBeginDocument
-
-\end{warpHTML}
-
-
-
\begin{warpprint}
\typeout{lwarp: generating configuration files}
\end{warpprint}
@@ -944,7 +873,7 @@ body {
p {margin: 1.5ex 0em 1.5ex 0em ;}
/* Holds a section number to add space between it and the name */
-span.sectionnumber { margin-right: .6em }
+span.sectionnumber { margin-right: 0em }
/* Inserted in front of index lines */
span.indexitem {margin-left: 0em}
@@ -984,6 +913,28 @@ span.textsf {
span.textcircled { border: 1px solid black ; border-radius: 1ex ; }
+/* For realscripts */
+.supsubscript {
+ display: inline-block;
+ text-align:left ;
+}
+
+.supsubscript sup,
+.supsubscript sub {
+ position: relative;
+ display: block;
+ font-size: .5em;
+ line-height: 1;
+}
+
+.supsubscript sup {
+ top: .5em;
+}
+
+.supsubscript sub {
+ top: .5em;
+}
+
span.attribution {
margin-left: 1em ; font-size: 80% ; font-variant: small-caps;
}
@@ -1842,9 +1793,12 @@ div.sidetoccontents {
nav.sidetoc p {line-height:1.2 ; margin: 1ex .5em 1ex .5em ;
text-indent: 0 ; }
+
nav.sidetoc p a {color:black ; font-size: .7em ;}
+
div.sidetoctitle {font-size: 1.2em; font-weight:bold; text-align:center;
border-bottom: 1px solid silver ; }
+
nav.sidetoc a:hover {text-decoration: underline ; }
section.textbody { margin: 0ex 1em 0ex 1em ;}
@@ -2621,7 +2575,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-
-- Print the usage of the lwarpmk command:
-printversion = "v0.37"
+printversion = "v0.38"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
@@ -2630,10 +2584,12 @@ end
function printusage ()
print ( [[
-lwarpmk print [project]: Compile a print version.
+lwarpmk print [project]: Compile the print version if necessary.
+lwarpmk print1 [project]: Forced single compile of the print version.
lwarpmk printindex [project]: Process the index for the print version.
lwarpmk printglossary [project]: Process the glossary for the print version.
-lwarpmk html [project]: Compile an HTML version.
+lwarpmk html [project]: Compile the HTML version if necessary.
+lwarpmk html1 [project]: Forced single compile of the HTML version.
lwarpmk htmlindex [project]: Process the index for the html version.
lwarpmk htmlglossary [project]: Process the glossary for the html version.
lwarpmk again [project]: Touch the source code to trigger recompiles.
@@ -2937,7 +2893,7 @@ end
if (arg[1] == "--version") then
print ( "lwarpmk: " .. printversion )
-else -- not -- version
+else -- not --version
-- print intro:
@@ -2968,6 +2924,12 @@ else -- not latexmk
end
end -- not latexmk
+elseif arg[1] == "print1" then
+ loadconf ()
+ verifyfileexists (sourcename .. ".tex") ;
+ onetime("")
+ print ("lwarpmk: Done.") ;
+
-- lwarp printindex:
-- Compile the index then touch the source
-- to trigger a recompile of the document:
@@ -3028,6 +2990,13 @@ else -- not latexmk
end
end -- not latexmk
+elseif arg[1] == "html1" then
+ loadconf ()
+ verifyfileexists ( sourcename .. ".tex" ) ;
+ onetime("_html")
+ pdftohtml ()
+ print ("lwarpmk: Done.")
+
elseif arg[1] == "pdftohtml" then
loadconf ()
pdftohtml ()
@@ -3384,16 +3353,21 @@ end -- not --version
\end{warpHTML}
+
\begin{warpHTML}
\newcommand{\LWR@forcenewpage}{%
\LWR@stoppars\LWR@orignewpage\LWR@startpars%
}
-
\renewcommand*{\pagestyle}[1]{}
\renewcommand*{\thispagestyle}[1]{}
+\renewcommand*{\markboth}[2]{}
+\renewcommand*{\markright}[1]{}
+\renewcommand*{\raggedbottom}{}
+\renewcommand*{\flushbottom}{}
+\renewcommand*{\sloppy}{}
+\renewcommand*{\fussy}{}
\renewcommand*{\pagenumbering}[1]{}
-
\end{warpHTML}
@@ -4144,6 +4118,24 @@ end -- not --version
\begin{warpHTML}
+\newbool{LWR@forcinghtmlpage}
+\boolfalse{LWR@forcinghtmlpage}
+
+\newcommand*{\ForceHTMLPage}{%
+\global\booltrue{LWR@forcinghtmlpage}%
+}
+\newbool{LWR@forcinghtmltoc}
+\boolfalse{LWR@forcinghtmltoc}
+
+\newcommand*{\ForceHTMLTOC}{%
+\global\booltrue{LWR@forcinghtmltoc}%
+}
+\end{warpHTML}
+\begin{warpprint}
+\newcommand*{\ForceHTMLPage}{}
+\newcommand*{\ForceHTMLTOC}{}
+\end{warpprint}
+\begin{warpHTML}
\newbool{LWR@mainmatter}
\DeclareDocumentCommand{\mainmatter}{}{%
\booltrue{LWR@mainmatter}%
@@ -4172,36 +4164,46 @@ end -- not --version
}
\newcounter{LWR@prevFileDepth}
\setcounter{LWR@prevFileDepth}{\LWR@depthsubparagraph}
+\def\@seccntformat#1{\csname the#1\endcsname\protect\quad}
\DeclareDocumentCommand{\LWR@section}{m m m m}{%
-\LWR@traceinfo{LWR@section}%
+\LWR@traceinfo{LWR@section |#2| |#3|}%
+\LWR@traceinfo{LWR@section: not an empty section}%
\LWR@stoppars%
\global\boolfalse{LWR@minipagethispar}%
\LWR@traceinfo{LWR@section: testing whether to start a new HTML file}%
-\IfBooleanTF{#1}{% starred
- \LWR@orignewpage%
-
-}{% not starred
- \ifthenelse{%
- \cnttest{\csuse{LWR@depth#4}}{<=}{\value{FileDepth}}%
- \AND%
- \(%
+\IfBooleanTF{#1}{\LWR@traceinfo{LWR@section: starred}}{}%
+\ifbool{LWR@forcinghtmlpage}{\LWR@traceinfo{LWR@section: forcinghtmlpage}}{}%
+\ifthenelse{%
+ \(%
+ \(\NOT\equal{#1}{\BooleanTrue}\)\OR%
+ \(\cnttest{\csuse{LWR@depth#4}}{=}{\LWR@depthpart}\)\OR%
+ \(\boolean{LWR@forcinghtmlpage}\)%
+ \)%
+ \AND%
+ \cnttest{\csuse{LWR@depth#4}}{<=}{\value{FileDepth}}%
+ \AND%
+ \(%
\NOT\boolean{CombineHigherDepths}\OR%
\cnttest{\csuse{LWR@depth#4}}{<=}{\value{LWR@prevFileDepth}}%
- \)%
- }%
- {% new file
- \LWR@traceinfo{LWR@section: new HTML file}%
- \IfNoValueTF{#2}%
- {\LWR@newhtmlfile{#3}}%
- {\LWR@newhtmlfile{#2}}%
- }% new file
- {% not new file
- \LWR@orignewpage%
-
- }% not new file
-}% not starred
+ \)%
+ \AND%
+ \NOT\equal{#3}{}% phantomsection
+}%
+{% new file
+ \LWR@traceinfo{LWR@section: new HTML file}%
+ \IfNoValueTF{#2}%
+ {\LWR@newhtmlfile{#3}}%
+ {\LWR@newhtmlfile{#2}}%
+}% new file
+{% not new file
+ \LWR@traceinfo{LWR@section: not a new HTML file}%
+ \LWR@orignewpage%
+
+}% not new file
+\IfValueTF{#3}{%
\LWR@traceinfo{LWR@section: about to LWR@setlatestname}%
\IfValueTF{#2}{\LWR@setlatestname{#2}}{\LWR@setlatestname{#3}}%
+}{}%
\ifbool{HTMLDebugComments}{%
\LWR@htmlcomment{Opening #4 ``#3''{}}%
@@ -4214,7 +4216,11 @@ end -- not --version
{}%
\LWR@createautosec{\csuse{LWR@tag#4}}%
\IfBooleanTF{#1}%
-{}% starred
+{%
+\ifbool{LWR@forcinghtmltoc}%
+{\addcontentsline{toc}{#4}{\IfValueTF{#2}{#2}{#3}}}%
+{}%
+}% starred
{% not starred
\ifthenelse{%
\cnttest{\csuse{LWR@depth#4}}{<=}{\value{secnumdepth}}%
@@ -4227,17 +4233,19 @@ end -- not --version
\refstepcounter{#4}%
\LWR@traceinfo{LWR@section: about to addcontentsline}%
\addcontentsline{toc}{#4}%
- {\protect\LWR@sectionnumber{\csuse{the#4}}%
- \IfValueTF{#2}{ #2}{ #3}}%
+ {%
+ \protect\numberline{\csuse{the#4}}%
+ {\ignorespaces\IfValueTF{#2}{#2}{#3}\protect\relax}%
+ }%
\LWR@traceinfo{LWR@section: finished addcontentsline}%
}% end of if main matter
{% not main matter
\LWR@traceinfo{LWR@section: no main matter}%
- \addcontentsline{toc}{#4}{\IfValueTF{#2}{ #2}{ #3}}%
+ \addcontentsline{toc}{#4}{\IfValueTF{#2}{#2}{#3}}%
}% end of not main matter
}% end of secnumdepth
{%
- \addcontentsline{toc}{#4}{\IfValueTF{#2}{ #2}{ #3}}%
+ \addcontentsline{toc}{#4}{\IfValueTF{#2}{#2}{#3}}%
}%
\ifbool{LWR@mainmatter}%
{%
@@ -4252,7 +4260,7 @@ end -- not --version
\ifthenelse{%
\cnttest{\csuse{LWR@depth#4}}{<=}{\value{secnumdepth}}%
}%
- {\protect\LWR@sectionnumber{\csuse{the#4}}~}%
+ {\protect\LWR@sectionnumber{\@seccntformat{#4}}}%
{}%
\LWR@traceinfo{LWR@section: finished print section number}%
}{}%
@@ -4265,18 +4273,24 @@ end -- not --version
}%
{\LWR@startpars}%
{}%
-\IfBooleanTF{#1}%
-{}%
+\ifthenelse{%
+ \NOT\equal{#1}{\BooleanTrue}\OR%
+ \cnttest{\csuse{LWR@depth#4}}{=}{\LWR@depthpart}%
+}%
{% not starred
\setcounter{LWR@prevFileDepth}{\csuse{LWR@depth#4}}%
}% not starred
+{}%
+\ifstrempty{#3}%
+{}%
+{%
+\global\boolfalse{LWR@forcinghtmlpage}%
+\global\boolfalse{LWR@forcinghtmltoc}%
+}%
\LWR@traceinfo{LWR@section: done}%
}
-\@ifundefined{chapter}
-{}
-{%
\DeclareDocumentCommand{\part}{s o m}{%
\LWR@epubprintpendingfootnotes%
\LWR@stoppars%
@@ -4285,7 +4299,6 @@ end -- not --version
\LWR@section{#1}{#2}{#3}{part}%
}
-}
\@ifundefined{chapter}
{}
@@ -4297,9 +4310,7 @@ end -- not --version
\LWR@startnewdepth{\LWR@depthchapter}{\LWR@printclosechapter}%
-\LWR@traceinfo{chapter: about to LWR@section}%
\LWR@section{#1}{#2}{#3}{chapter}%
-\LWR@traceinfo{chapter: done}%
}
}
@@ -6280,7 +6291,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
\renewcommand*{\numberline}[1]{%
-\LWR@sectionnumber{#1}%
+\LWR@sectionnumber{#1}\quad%
}
\NewDocumentCommand{\hypertoc}{m m +m m}{%
@@ -6341,20 +6352,20 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
\newcounter{LWR@autoglossary}
\setcounter{LWR@autoglossary}{0}
-\@ifundefined{chapter}
- {\newcommand*{\LWR@indexsection}{\section{\indexname}}}
- {\newcommand*{\LWR@indexsection}{\chapter{\indexname}}}
-
\let\LWR@origprintindex\printindex
\renewcommand*{\printindex}
{
-\LWR@indexsection
\LWR@startpars
\LWR@origprintindex
}
+\@ifundefined{chapter}
+{\newcommand*{\LWR@indexsection}[1]{\section*{#1}}}
+{\newcommand*{\LWR@indexsection}[1]{\chapter*{#1}}}
+
\renewenvironment*{theindex}{%
+\LWR@indexsection{\indexname}%
\let\item\LWR@indexitem%
\let\subitem\LWR@indexsubitem%
\let\subsubitem\LWR@indexsubsubitem%
@@ -6499,7 +6510,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
}
}{}% not eq > 0
}
-
+\newcommand*{\LWR@restoreorigrelsize}{}
\newcommand*{\LWR@restoreorigformatting}{%
\LWR@traceinfo{LWR@restoreorigformatting}%
\LetLtxMacro{\hspace}{\LWR@orighspace}%
@@ -6562,6 +6573,7 @@ class="#3"\LWR@orignewline}#2\LWR@htmltag{/a}%
\LWR@restoremoreorigxcolor%
\LWR@restoreorigtextcomp%
\LWR@restoreorigaccents%
+\LWR@restoreorigrelsize%
\LWR@FBcancel%
}
@@ -8068,7 +8080,9 @@ width:\rndprintlength{\LWR@tempwidth}%
\begin{warpHTML}
-\newcommand*{\phantomsection}{\section*{}}
+\newcommand*{\phantomsection}{%
+\section*{}%
+}
\end{warpHTML}
@@ -8131,6 +8145,7 @@ width:\rndprintlength{\LWR@tempwidth}%
\end{warpHTML}
+
\endinput
%%
%% End of file `lwarp.sty'.