summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2017-04-06 00:32:26 +0000
committerNorbert Preining <preining@logic.at>2017-04-06 00:32:26 +0000
commit3c806bd4ccf248e9411683a41ef534d1a909bc99 (patch)
tree53ff9c044159e20bafcc4e534e2e92a663cde7c7
parent6440a25141e789128a11f2475f4de3c19f4ca847 (diff)
lwarp (6Apr)
git-svn-id: svn://tug.org/texlive/trunk@43705 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua2
-rw-r--r--Master/texmf-dist/doc/latex/lwarp/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/lwarp/lwarp.pdfbin1403056 -> 1414033 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/lwarp/lwarpmk.lua2
-rw-r--r--Master/texmf-dist/source/latex/lwarp/lwarp.dtx634
-rw-r--r--Master/texmf-dist/source/latex/lwarp/lwarp.ins3
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty50
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty41
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty54
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty69
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty66
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp.sty22
12 files changed, 789 insertions, 156 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua b/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
index 05e21bd3f78..12eabe3643e 100755
--- a/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
+++ b/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
@@ -4,7 +4,7 @@
-- Print the usage of the lwarpmk command:
-printversion = "v0.26"
+printversion = "v0.27"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
diff --git a/Master/texmf-dist/doc/latex/lwarp/README.txt b/Master/texmf-dist/doc/latex/lwarp/README.txt
index 0f5102a117e..b7c6e153de7 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.26 README.txt
+LaTeX lwarp package v0.27 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 28f4cf41643..e6373450446 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/scripts/lwarp/lwarpmk.lua b/Master/texmf-dist/scripts/lwarp/lwarpmk.lua
index 05e21bd3f78..12eabe3643e 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.26"
+printversion = "v0.27"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
index 82ef9997c87..ad02aec941e 100644
--- a/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
+++ b/Master/texmf-dist/source/latex/lwarp/lwarp.dtx
@@ -16,7 +16,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lwarp}
-%<package> [2017/03/31 v0.26 Allows LaTeX to directly produce HTML5 output.]
+%<package> [2017/04/04 v0.27 Allows LaTeX to directly produce HTML5 output.]
%
%<*driver>
\documentclass{ltxdoc}
@@ -581,6 +581,15 @@ Use \acro{CSS} or \cs{textcolor} where possible.
\end{itemize}
}
+\newcommand{\limitssaveboxes}{%
+\LaTeX\ boxes are placed inline and do not allow line breaks, so boxes
+with long contents may overflow the line during \acro{HTML} conversion.
+This is mostly a problem when the boxes contain objects which themselves
+hold large \acro{HTML} tags, such as rotation commands with long contents.
+When this object overflows the line, some \acro{HTML} code will be lost and
+the page will be corrupted.
+}
+
\newcommand{\limitsminipage}{%
Minipages and parboxes will be placed side-by-side in \acro{HTML}
unless you place a \cs{newline} between them.
@@ -822,7 +831,7 @@ operating-system path separator used by \pkg{lwarp}.
%<*package>
% \fi
%
-% \CheckSum{0}
+% \CheckSum{10774}
%
% \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
@@ -887,6 +896,7 @@ operating-system path separator used by \pkg{lwarp}.
% \changes{v0.25}{2017/03/22}{\ 2016/03/22}
% \changes{v0.25}{2017/03/16}{Docs: Adds credits for patched code.}
% \changes{v0.26}{2017/03/31}{\ 2017/03/31}
+% \changes{v0.27}{2017/04/04}{\ 2017/04/04}
@@ -1020,6 +1030,13 @@ operating-system path separator used by \pkg{lwarp}.
% For a detailed list of changes, see the Change History on page \pageref{sec:changehistory}.
%
% \begin{description}
+% \item[v0.27:] \
+% \begin{itemize}
+% \item Improved documentation for MacOS install.
+% \item Fix for \pkg{microtype} with \XeLaTeX\ and \LuaLaTeX.
+% \item Fix for table footnote paragraph tags.
+% \item Adds \pkg{lettrine}, \pkg{ulem}, and \pkg{soul}.
+% \end{itemize}
% \item[v0.26:] \
% \begin{itemize}
% \item Improved installation instructions for MiK\TeX\ regarding generating
@@ -1243,9 +1260,9 @@ operating-system path separator used by \pkg{lwarp}.
% \protect\pkg{lwarp} package ---
% Supported functions\label{tab:supported}} \endfirsthead
% \warpprintonly{\multicolumn{2}{c}{\pkg{lwarp} Supported Functions --- continued} \\
-% Package or Macro & Status \\ \toprule \endhead}
+% Category & Status \\ \toprule \endhead}
% \toprule
-% Package or Macro & Status \\
+% Category & Status \\
% \midrule
% Engines: & pdf\LaTeX, \XeLaTeX, \LuaLaTeX \\
% \midrule
@@ -1257,7 +1274,7 @@ operating-system path separator used by \pkg{lwarp}.
% Files may be numbered sequentially or named according to section name.
% Common short words and punctuation is removed from the filenames. \\
% Table of Contents, Figures, Tables: & Supported, with hyperlinks. \\
-% \cs{maketitle}, \env{titlepage}, \pkg{titling}: & Supported, with optional
+% Title page: & \cs{maketitle}, \env{titlepage}, \pkg{titling}. Optional
% \pkg{titling}-based commands for published and subtitle. \\
% \env{abstract}: & Supported \\
% \midrule
@@ -1267,8 +1284,8 @@ operating-system path separator used by \pkg{lwarp}.
% \cs{nameref}, \cs{ref},
% the \pkg{cleveref} commands, and index entries.\\
% \midrule
-% Footnotes, pkg{footnote}, \pkg{footmisc}, \pkg{pagenote}, \pkg{endnotes}: &
-% Supported. \\
+% Footnotes: & \pkg{footnote}, \pkg{footmisc},
+% \pkg{marginnote}, \pkg{sidenote}, \pkg{pagenote}, \pkg{endnotes}. \\
% Indexing: & \cmds{texindy} is used, with hyperlinks. \\
% Bibliography: & Supported, without hyperlinks so far. \\
% \midrule
@@ -1278,16 +1295,13 @@ operating-system path separator used by \pkg{lwarp}.
% \AmS{} environments are supported.
% User-defined macros are available during converson,
% due to native \LaTeX{} processing.\\
-% \pkg{theorem}, \pkg{amsthm}, \pkg{ntheorem}: & Supported, with added \acro{CSS} tags. \\
+% Theorems: & Support for native \LaTeX\ theorems, plus
+% \pkg{theorem}, \pkg{amsthm}, \pkg{ntheorem}. \\
% \midrule
-% Floats: & Supported, appear where declared.
-% \pkg{float} is emulated, \pkg{newfloat} is supported,
-% \pkg{caption} and \pkg{subcaption} are supported,
-% \pkg{subfig} is supported,
-% \pkg{capt-of} is supported,
-% \pkg{placeins} is ignored,
-% \pkg{trivfloat} is supported, \pkg{floatrow} is emulated,
-% \pkg{keyfloat} is supported, \pkg{wrapfig} is emulated. \\
+% Floats: & Appear where declared.
+% \pkg{float}, \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
@@ -1333,7 +1347,8 @@ operating-system path separator used by \pkg{lwarp}.
% \midrule
% Direct formatting: & \cs{emph}, \cs{textsuperscript},
% \cs{textbf}, etc are supported.
-% \cs{bfseries}, etc.\ are not yet supported. \\
+% \cs{bfseries}, etc.\ are not yet supported.
+% \pkg{lettrine}, \pkg{ulem}, and \pkg{soul} 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
@@ -1601,14 +1616,6 @@ operating-system path separator used by \pkg{lwarp}.
%
% \item[Poppler PDF utilities:] \
%
-% These might be provided by your operating-system package manager.
-%
-% From Poppler: \url{poppler.freedesktop.org}.
-%
-% For Windows, also see: \\
-% \url{https://sourceforge.net/projects/poppler-win32/} \quad and: \\
-% \url{http://blog.alivate.com.au/poppler-windows/}
-%
% \begin{description}
%
% \item[pdftotext:] Used to convert \acro{PDF} to text.
@@ -1622,6 +1629,18 @@ operating-system path separator used by \pkg{lwarp}.
%
% \end{description}
%
+% These might be provided by your operating-system package manager.
+%
+% From Poppler: \url{poppler.freedesktop.org}.
+%
+% For MacOS\textregistered, see
+% \url{https://brew.sh/}, install Homebrew, then enter \\
+% \hspace*{2em}|brew install poppler|
+%
+% For Windows, see: \\
+% \url{https://sourceforge.net/projects/poppler-win32/} \quad and: \\
+% \url{http://blog.alivate.com.au/poppler-windows/}
+%
% \item[Perl:] \
%
% This may be provided by your operating-system package manager, and is
@@ -1841,18 +1860,15 @@ operating-system path separator used by \pkg{lwarp}.
%
% \subsection{Installing additional utilities}
%
-% The \TeX\ utilities |latexmk| and |pdfcrop| may be provided by
-% the installation of additional \TeX-relatex operating-system packages.
+% \changes{v0.27}{2017/04/02}{Docs: Installing utilities for MacOS.}
%
-% The tools from the \textsc{Poppler} project may also be provided by your
-% operating system's package-installation tools.
-% For Windows, see \cref{tab:utility} on \cpageref{tab:utility}.
+% \begin{description}
+% \item [To test for the existence of the additional utilities:] \
%
-% Perl may require installation as well. See \cref{tab:utility}.
+% Enter the following in a command line. If each programs' version is
+% displayed, then that utility is already installed.
+% See \cref{tab:utility} on page \pageref{tab:utility}.
%
-% \begin{description}
-% \item [To test for the existence of the additional utilities:]
-% Enter the following in a command line:
% \userentry{luatex --version}
% \userentry{xindy --version}
% \userentry{latexmk --version}
@@ -1861,16 +1877,39 @@ operating-system path separator used by \pkg{lwarp}.
% \userentry{pdftotext -v}
% \userentry{pdfseparate --version}
% \userentry{pdftocairo -v}
-% \end{description}
%
-% Any utilities installed by hand must be added to the |PATH|.
+% \item [To install |xindy|, |latexmk|, and |pdfcrop|:] \
+%
+% The \TeX\ utilities |xindy|, |latexmk|, and |pdfcrop| may be provided by
+% your operating system's package manager, and are also provided by
+% the CTAN archive: \\
+% \hspace*{2em}\url{http://ctan.org/pkg/xindy} \\
+% \hspace*{2em}\url{http://ctan.org/pkg/latexmk} \\
+% \hspace*{2em}\url{http://ctan.org/pkg/pdfcrop}
%
+%
+% \item [To install the Poppler utilities to a Unix/Linux system:] \
% \DescribeProgram[requirement]{pdftotext}\index{Poppler}
% \DescribeProgram[requirement]{pdfseparate}
% \DescribeProgram[requirement]{pdftocairo}
-% \begin{description}
-% \item [To add the Poppler utilities to a Windows machine:] \
+%
+% The tools from the \textsc{Poppler} project should be provided by your
+% operating system's package manager.
+%
+%
+% \item [To install the Poppler utilities to a MacOS machine:] \
+% \begin{enumerate}
+% \item Install Homebrew from \url{https://brew.sh/}:
+% \userentry{~ \\ \hspace*{-2in}/usr/bin/ruby -e "\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"}
+% \item Install the Poppler utilities:
+% \userentry{brew install poppler}
+% \end{enumerate}
+%
+%
+% \item [To install the Poppler utilities to a Windows machine:] \
+%
% \begin{enumerate}
+% \item See \cref{tab:utility} on \cpageref{tab:utility}.
% \item Download and extract the Poppler utilities |pdftotext|, |pdfseparate|,
% and |pdftocairo| to a directory, such as |Poppler|.
% \item In the Start window, type "Path" to search for results
@@ -1885,11 +1924,9 @@ operating-system path separator used by \pkg{lwarp}.
% Be sure to include |\bin|.
% \item Click "Ok" when done.
% \end{enumerate}
-% \end{description}
%
+% \item [To install Perl to a Windows machine:] \
% \DescribeProgram[requirement]{perl}\index{Perl}
-% \begin{description}
-% \item [To add Perl to a Windows machine:] \
% \begin{enumerate}
% \item Download and install a version of Perl, such as Straweberry Perl,
% to a directory without a space in its name, such as |C:\Strawberry|.
@@ -1900,8 +1937,12 @@ operating-system path separator used by \pkg{lwarp}.
% Be sure to include |\bin|.
% \item Click "Ok" when done.
% \end{enumerate}
+%
% \end{description}
%
+% \vspace{1in}
+% \textcolor{red}{\textbf{Any utilities installed by hand must be added to the |PATH|.}}
+%
%
%
% \clearpage
@@ -3031,7 +3072,7 @@ operating-system path separator used by \pkg{lwarp}.
%
% \DescribeEnv{titlepage}
% The \env{titlepage} environment may be used to hold a custom title page.
-% The titlepage will be set in a |div| class |titlepage|, and \cs{printtitle}, etc.\ may be used
+% The titlepage will be set in a \tag{div} class |titlepage|, and \cs{printtitle}, etc.\ may be used
% inside this environment.
%
% \DescribeEnv{titlingpage}
@@ -3050,25 +3091,25 @@ operating-system path separator used by \pkg{lwarp}.
%
% In |\author|, use |\protect| before formatting commands such as |\textsc|.
% \watchout
-% In \acro{HTML}, the author will appear in a |div| class |author|.
+% In \acro{HTML}, the author will appear in a \tag{div} class |author|.
% \cs{affiliation} is a new addition to \pkg{lwarp}.
%
% \DescribeMacro{\date} \marg{date}
%
% |\date| works as expected.
-% In \acro{HTML}, this will appear in a |div| class |titledate|.
+% In \acro{HTML}, this will appear in a \tag{div} class |titledate|.
%
% \DescribeMacro{\subtitle} \marg{subtitle}
%
% A new command which sets a subtitle. Newlines are allowed.
% The default is empty.
-% In \acro{HTML}, this will appear in a |div| class |subtitle|.
+% In \acro{HTML}, this will appear in a \tag{div} class |subtitle|.
%
% \DescribeMacro{\published} \marg{published}
%
% A new command which sets a publisher.
% The default is empty.
-% In \acro{HTML}, this will appear in a |div| class |published|.
+% In \acro{HTML}, this will appear in a \tag{div} class |published|.
%
%
% \DescribeMacro{\thanks} \marg{text}
@@ -3176,13 +3217,22 @@ operating-system path separator used by \pkg{lwarp}.
% \limitstabular
%
%
+% \subsubsection{Save Boxes}
+%
+% \changes{v0.27}{2017/04/04}{Docs: Limitations of saveboxes.}
+%
+% \limitssaveboxes
+%
+%
% \subsubsection{Minipages}
%
% \limitsminipage
%
+%
% \subsubsection{Mdframed}
%
% \limitsmdframed
+%
%
% \subsubsection{\pkg{float}, \pkg{trivfloat}, and/or \pkg{algorithmicx} together}
%
@@ -3974,6 +4024,7 @@ Please use the #2 package instead}
\LWR@loadafter{keyfloat}
\LWR@loadafter{layout}
\LWR@loadafter{letterspace}
+\LWR@loadafter{lettrine}
\LWR@loadafter{lips}
\LWR@loadafter{listings}
\LWR@loadafter{longtable}
@@ -4003,6 +4054,7 @@ Please use the #2 package instead}
\LWR@loadafter{showkeys}
\LWR@loadafter{sidecap}
\LWR@loadafter{sidenotes}
+\LWR@loadafter{soul}
\LWR@loadafter{subfig}
\LWR@loadafter{tabularx}
\LWR@loadafter{textpos}
@@ -4014,6 +4066,7 @@ Please use the #2 package instead}
\LWR@loadafter{titletoc}
\LWR@loadafter{tocloft}
\LWR@loadafter{trivfloat}
+\LWR@loadafter{ulem}
\LWR@loadafter{varioref}
\LWR@loadafter{verse}
\LWR@loadafter{wallpaper}
@@ -4241,12 +4294,13 @@ Please use the #2 package instead}
% \end{itemize}
%
% \changes{v0.20}{2017/01/12}{Page geometry set to 6in wide with large margins.}
+% \changes{v0.27}{2017/04/04}{Page geometry modified to reduce line overflow.}
%
% \codehtml
% \begin{macrocode}
\begin{warpHTML}
\RequirePackage[paperheight=190in,paperwidth=20in,%
-left=7in,right=7in,%
+left=2in,right=12in,%
top=1in,bottom=1in,%
]{geometry}
\end{warpHTML}
@@ -5490,7 +5544,7 @@ top=1in,bottom=1in,%
%
-% \begin{environment}{LWR@nestspan} Disable \env{minipage}, \cs{parbox} inside a |span|.
+% \begin{environment}{LWR@nestspan} Disable \env{minipage}, \cs{parbox} inside a \tag{span}.
%
% |\begin{LWR@nestspan}| must follow the opening |<span>| tag to allow
% \watchout
@@ -5779,7 +5833,7 @@ top=1in,bottom=1in,%
%
%
% \begin{macro}{\BlockClassSingle} \marg{class} \marg{text} \quad
-% A single-line |div|, without a paragraph tag for the line of text.
+% A single-line \tag{div}, without a paragraph tag for the line of text.
%
% \changes{v0.20}{2017/01/03}{Renamed from "LWR@htmldivclassline".}
%
@@ -5810,7 +5864,7 @@ top=1in,bottom=1in,%
% \codehtml
% \begin{macrocode}
\begin{warpHTML}
-\NewDocumentCommand{\InlineClass}{m o m}{%
+\NewDocumentCommand{\InlineClass}{m o +m}{%
\LWR@htmlspanclass{#1}[#2]{#3}%
}
\end{warpHTML}
@@ -5818,7 +5872,7 @@ top=1in,bottom=1in,%
% \codeprint
% \begin{macrocode}
\begin{warpprint}
-\NewDocumentCommand{\InlineClass}{m o m}{#3}
+\NewDocumentCommand{\InlineClass}{m o +m}{#3}
\end{warpprint}
% \end{macrocode}
% \end{macro}
@@ -5941,7 +5995,7 @@ top=1in,bottom=1in,%
\ifbool{LWR@doingstartpars}%
{% handling pars
% \end{macrocode}
-% See if have already started a \env{lateximage} or a |span|.
+% See if have already started a \env{lateximage} or a \tag{span}.
% If so, do not generate nested paragraph tags.
% \begin{macrocode}
\ifthenelse{%
@@ -5950,12 +6004,12 @@ top=1in,bottom=1in,%
}% nested par tags?
% \end{macrocode}
% If so: Do nothing if already started a \env{lateximage} page. Cannot nest a \env{lateximage}.
-% Also do nothing if already inside a |span|. Do not nest paragraph tags
-% inside a |span|.
+% Also do nothing if already inside a \tag{span}. Do not nest paragraph tags
+% inside a \tag{span}.
% \begin{macrocode}
{}% no nested par tags
% \end{macrocode}
-% Else: No \env{lateximage} or |span| has been started yet,
+% Else: No \env{lateximage} or \tag{span} has been started yet,
% so it's OK to generate paragraph tags.
% \begin{macrocode}
{% yes nest par tags
@@ -6010,14 +6064,14 @@ top=1in,bottom=1in,%
% \begin{macrocode}
{% handling pars
% \end{macrocode}
-% See if already started a \env{lateximage} or a |span|:
+% See if already started a \env{lateximage} or a \tag{span}:
% \begin{macrocode}
\ifthenelse{%
\cnttest{\value{LWR@lateximagedepth}}{>}{0} \OR%
\cnttest{\value{LWR@spandepth}}{>}{0}%
}%
% \end{macrocode}
-% Do nothing if already started a \env{lateximage} or a |span|,
+% Do nothing if already started a \env{lateximage} or a \tag{span},
% but add a parbreak if in a span but not a \env{lateximage}.
% \begin{macrocode}
{% no nested par tags
@@ -6032,7 +6086,7 @@ top=1in,bottom=1in,%
{}%
}% no nested par tags
% \end{macrocode}
-% If have not already started a \env{lateximage} or a |span|:
+% If have not already started a \env{lateximage} or a \tag{span}:
% \begin{macrocode}
{% yes nest par tags
% \end{macrocode}
@@ -6388,7 +6442,6 @@ top=1in,bottom=1in,%
% Patch \LaTeX\ footnotes to use a new \cs{box} for \pkg{lwarp} footnotes.
% \begin{macrocode}
\newbox\LWR@footnotes
-\setbox\LWR@footnotes=\vbox{}
% \end{macrocode}
%
% Much of the following has unneeded print-mode formatting removed.
@@ -6396,19 +6449,23 @@ top=1in,bottom=1in,%
\long\def\@makefntext#1{\textsuperscript{\@thefnmark} #1}
\def\@makefnmark{\hbox{\textsuperscript{\@thefnmark}}}
-
+% \end{macrocode}
+%
+% Footnotes may be in regular text, in which case paragraphs are tagged,
+% or in a table data cell, in which case paragraph tags must be added manually.
+%
+% \changes{v0.27}{2017/04/04}{Fix for table footnote par tags.}
+%
+% \begin{macrocode}
\long\def\@footnotetext#1{%
\global\setbox\LWR@footnotes=\vbox{\unvbox\LWR@footnotes%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark%
}% @currentlabel
\color@begingroup%
+\ifbool{LWR@doingstartpars}{}{\LWR@htmltagc{\LWR@tagregularparagraph}}%
\@makefntext{#1}%
-% \end{macrocode}
-%
-% A closing paragraph tag is required here:
-% \begin{macrocode}
-\LWR@htmltagc{/\LWR@tagregularparagraph}%
+\ifbool{LWR@doingstartpars}{\par}{\LWR@htmltagc{/\LWR@tagregularparagraph}}%
\color@endgroup%
}% vbox
}%
@@ -6442,11 +6499,13 @@ top=1in,bottom=1in,%
% Enclose the footnotes in a class, print, then clear:
% \begin{macrocode}
\newcommand*{\LWR@printpendingfootnotes}{%
+\ifvoid\LWR@footnotes\else
\begin{BlockClass}{footnotes}
\LWR@origmedskip
\unvbox\LWR@footnotes
\setbox\LWR@footnotes=\vbox{}
\end{BlockClass}
+\fi
}
% \end{macrocode}
@@ -13108,7 +13167,7 @@ class="lateximagesource"{}} \LWR@orignewline
\let\tabular\LWR@origtabular%
\let\endtabular\LWR@origendtabular%
\let\newline\LWR@orignewline%
-\LWR@origlabel{LWRlateximage\arabic{LWR@lateximagenumber}}% *8*
+\LWR@origlabel{LWRlateximage\arabic{LWR@lateximagenumber}}%
}% end of outer-most lateximage
}% end of \begin{lateximage}
{% start of \end{lateximage}
@@ -13760,7 +13819,7 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline
% \end{macrocode}
% Select |inline-block| so that \acro{HTML} will transform this span:
% \begin{macrocode}
-\LWR@htmltagc{span style="display: inline-block;
+\LWR@htmltagc{span style="display: inline-block; %
% \end{macrocode}
% If an origin was given, translate and print the origin information:
% \begin{macrocode}
@@ -14691,7 +14750,7 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline
% \index{horizontal space>between minipages}
% Minipages are often placed side-by-side inside figures, with a bit of
% horizontal space to separate them. Since \acro{HTML} does not allow
-% a |div| to be inside a |p|, paragraphs must be turned off during the
+% a \tag{div} to be inside a |p|, paragraphs must be turned off during the
% generation of the minipage, then turned on after the minipage is complete.
% When this occurs between side-by-side minipages, |lwarp| correctly
% surpresses the paragraph tags between the minipages, unless some other
@@ -15645,6 +15704,58 @@ div.epigraph p { padding: .5ex ; margin: 0ex ;}
div.epigraphsource p { padding: .5ex 0ex 0ex 0ex ; margin: 0ex ;}
+/* lettrine package: */
+span.lettrine { font-size: 3ex ; float: left ; }
+span.lettrinetext { font-variant: small-caps ; }
+
+/* ulem and soul packages: */
+span.uline {
+ text-decoration: underline ;
+ text-decoration-skip ;
+}
+
+span.uuline {
+ text-decoration: underline ;
+ text-decoration-skip ;
+ text-decoration-style: double ;
+}
+
+span.uwave {
+ text-decoration: underline ;
+ text-decoration-skip ;
+ text-decoration-style: wavy ;
+}
+
+span.sout {
+ text-decoration: line-through ;
+}
+
+span.xout {
+ text-decoration: line-through ;
+}
+
+span.dashuline {
+ text-decoration: underline ;
+ text-decoration-skip ;
+ text-decoration-style: dashed ;
+}
+
+span.dotuline {
+ text-decoration: underline ;
+ text-decoration-skip ;
+ text-decoration-style: dotted ;
+}
+
+span.letterspacing { letter-spacing: .2ex ; }
+
+span.capsspacing {
+ font-variant: small-caps ;
+ letter-spacing: .1ex ;
+}
+
+span.highlight { background: #F8E800 ; }
+
+
html body {
@@ -15733,6 +15844,7 @@ div.titlepage {
font-size: .85em ;
margin: 3ex 1em 0ex 1em ;
padding-bottom: 1ex ;
+ border-top: 1px solid silver ;
}
.marginpar {
@@ -17270,7 +17382,7 @@ MathJax.Hub.Config({
-- Print the usage of the lwarpmk command:
-printversion = "v0.26"
+printversion = "v0.27"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
@@ -17873,8 +17985,8 @@ end -- not --version
%
%
-% Inside the \env{algorithmic} environment, level indenting is converted to a |span|
-% of the required length, and comments are placed inside a |span| which is floated right.
+% Inside the \env{algorithmic} environment, level indenting is converted to a \tag{span}
+% of the required length, and comments are placed inside a \tag{span} which is floated right.
%
% \limitscombiningfloats
%
@@ -17965,12 +18077,12 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
% \begin{description}
% \item[CSS styling of theorems and proofs:] \
% \begin{description}
-% \item [Theorem:] |div| of class |amsthmbody<theoremstyle>|
-% \item [Theorem Name:] |span| of class |amsthmname<theoremtyle>|
-% \item [Theorem Number:] |span| of class |amsthmnumber<theoremstyle>|
-% \item [Theorem Note:] |span| of class |amsthmnote<theoremstyle>|
-% \item [Proof:] |div| of class |amsthmproof|
-% \item [Proof Name:] |span| of class |amsthmproofname|
+% \item [Theorem:] \tag{div} of class |amsthmbody<theoremstyle>|
+% \item [Theorem Name:] \tag{span} of class |amsthmname<theoremtyle>|
+% \item [Theorem Number:] \tag{span} of class |amsthmnumber<theoremstyle>|
+% \item [Theorem Note:] \tag{span} of class |amsthmnote<theoremstyle>|
+% \item [Proof:] \tag{div} of class |amsthmproof|
+% \item [Proof Name:] \tag{span} of class |amsthmproofname|
% \end{description}
% where |<theoremstyle>| is |plain|, |definition|, etc.
% \end{description}
@@ -19091,7 +19203,7 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
% ^^A \begin{environment}{floatrow} \oarg{numfloats}
% \changes{v0.20}{2016/08/20}{Fix: \cs{linewidth} in a floatrow.}
%
-% The row of floats is placed into a |div| of class |floatrow|.
+% The row of floats is placed into a \tag{div} of class |floatrow|.
% \begin{macrocode}
\newenvironment*{floatrow}[1][2]
{
@@ -19196,7 +19308,7 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
% ^^A \begin{macro}{\floatfoot} \marg{text}
%
% Places additional text inside a float,
-% inside a \acro{CSS} |div| of class |floatfoot|.
+% inside a \acro{CSS} \tag{div} of class |floatfoot|.
% \begin{macrocode}
\NewDocumentCommand{\floatfoot}{s +m}{%
\begin{BlockClass}{floatfoot}
@@ -19220,7 +19332,7 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
\newenvironment*{subfloatrow}[1][2]
{
% \end{macrocode}
-% The row of floats is placed into a |div| of class |floatrow|:
+% The row of floats is placed into a \tag{div} of class |floatrow|:
% \begin{macrocode}
\BlockClass{floatrow}
% \end{macrocode}
@@ -20290,6 +20402,72 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
% \clearpage
%
% \iffalse
+%<*lettrine>
+% \fi
+%
+% \part{lwarp-lettrine.sty}
+%
+% \section{Lettrine}
+%
+% \credits{Daniel Flipo}
+%
+% \DescribePackage{lettrine} Emulated.
+%
+% \changes{v0.27}{2017/04/02}{\pkg{lettrine}: Added.}
+%
+% \codehtml
+%
+% Discard all options for \pkg{lwarp-lettrine}:
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{lettrine}
+% \end{macrocode}
+%
+% The initial letter is in a \tag{span} of class |lettrine|, and the following
+% text is in a \tag{span} of class |lettrinetext|.
+% \cs{lettrine} \oarg{keys} \marg{letter} \marg{additional text}
+% \begin{macrocode}
+\DeclareDocumentCommand{\lettrine}{o m m}{%
+\InlineClass{lettrine}{#2}\InlineClass{lettrinetext}{#3} %
+}
+
+\newcounter{DefaultLines}
+\setcounter{DefaultLines}{2}
+\newcounter{DefaultDepth}
+\newcommand*{\DefaultOptionsFile}{\relax}
+\newcommand*{\DefaultLoversize}{0}
+\newcommand*{\DefaultLraise}{0}
+\newcommand*{\DefaultLhang}{0}
+\newdimen\DefaultFindent
+\setlength{\DefaultFindent}{\z@}
+\newdimen\DefaultNindent
+\setlength{\DefaultNindent}{0.5em}
+\newdimen\DefaultSlope
+\setlength{\DefaultSlope}{\z@}
+\newdimen\DiscardVskip
+\setlength{\DiscardVskip}{0.2\p@}
+\newif\ifLettrineImage
+\newif\ifLettrineOnGrid
+\newif\ifLettrineRealHeight
+
+\newcommand*{\LettrineTextFont}{\scshape}
+
+\newcommand*{\LettrineFontHook}{}
+
+\newcommand*{\LettrineFont}[1]{\InlineClass{lettrine}{#1}}
+\newcommand*{\LettrineFontEPS}[1]{\includegraphics[height=1.5ex]{#1}}
+% \end{macrocode}
+%
+% \iffalse
+%</lettrine>
+% \fi
+%
+%
+%
+%
+%
+% \clearpage
+%
+% \iffalse
%<*lips>
% \fi
@@ -20898,10 +21076,10 @@ span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"%
%
% Environments created or encapsulated by \pkg{mdframed} are enclosed in a
% \margintag{CSS classes}
-% |div| of class |md<environmentname>|, or |mdframed| otherwise.
+% \tag{div} of class |md<environmentname>|, or |mdframed| otherwise.
%
-% Frame titles are placed into a |span| of class |mdframedtitle|.
-% Subtitles are in a |span| of class |mdframedsubtitle|, and likewise for subsubtitles.
+% Frame titles are placed into a \tag{span} of class |mdframedtitle|.
+% Subtitles are in a \tag{span} of class |mdframedsubtitle|, and likewise for subsubtitles.
%
% Pre-existing hooks are used to patch extra functions before and after the frames.
%
@@ -20958,7 +21136,7 @@ endinnercode={\LWR@stoppars},
% ^^A \begin{macro}{\LWR@mdframedstart}
% Actions before an mdframe starts.
%
-% Encapsulate a frame inside a |div| of the desired |class|.
+% Encapsulate a frame inside a \tag{div} of the desired |class|.
% \begin{macrocode}
\newcommand*{\LWR@mdframedstart}{%
% \end{macrocode}
@@ -20971,7 +21149,7 @@ endinnercode={\LWR@stoppars},
% \begin{macrocode}
\uselengthunit{PT}%
% \end{macrocode}
-% Open a |div| and with custom |class| and custom |style|:
+% Open a \tag{div} and with custom |class| and custom |style|:
% \begin{macrocode}
\LWR@htmltagc{div class="\LWR@mdthisenv" \LWR@orignewline
style=" \LWR@orignewline
@@ -21017,11 +21195,11 @@ box-shadow:
% ^^A \begin{macro}{\LWR@mdframedend}
% Actions after an mdframe ends.
%
-% After closing the |div|, globally restore to the default environment type:
+% After closing the \tag{div}, globally restore to the default environment type:
% \begin{macrocode}
\newcommand*{\LWR@mdframedend}{
% \end{macrocode}
-% Close the custom |div|:
+% Close the custom \tag{div}:
% \begin{macrocode}
\LWR@htmldivclassend{\LWR@mdthisenv}
% \end{macrocode}
@@ -21040,7 +21218,7 @@ box-shadow:
% ^^A \begin{macro}{\mdfframedtitleenv} \marg{title}
%
% Encapsulation of the original which places the title
-% inside a |span| of class |mdframedtitle|:
+% inside a \tag{span} of class |mdframedtitle|:
% \begin{macrocode}
\let\LWR@origmdfframedtitleenv\mdfframedtitleenv
@@ -21053,7 +21231,7 @@ box-shadow:
% \begin{macrocode}
\uselengthunit{PT}%
% \end{macrocode}
-% Open a |span| with a custom |class| and custom |style|:
+% Open a \tag{span} with a custom |class| and custom |style|:
% \begin{macrocode}
\LWR@htmltagc{span class="mdframedtitle" \LWR@orignewline
style=" \LWR@orignewline
@@ -21111,7 +21289,7 @@ border-radius:
%
% Common code for \cs{LWR@mdfsubtitle} and \cs{LWR@mdfsubsubtitle}.
%
-% Encapsulate the subtitle inside a |span| of class |mdframedsubtitle|:
+% Encapsulate the subtitle inside a \tag{span} of class |mdframedsubtitle|:
% \begin{macrocode}
\NewDocumentCommand{\LWR@mdfsubtitlecommon}{m o m}
{% the following empty line is required
@@ -21123,7 +21301,7 @@ border-radius:
% \begin{macrocode}
\let\par\LWR@origpar%
% \end{macrocode}
-% Open a |span| with a custom |class| and custom |style|:
+% Open a \tag{span} with a custom |class| and custom |style|:
% \begin{macrocode}
\LWR@htmltagc{span class="mdframed#1title"
style=" \LWR@orignewline
@@ -21299,6 +21477,7 @@ solid
% 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.}
%
% \codehtml
%
@@ -21308,28 +21487,27 @@ solid
% \end{macrocode}
% \begin{macrocode}
-\renewcommand*\DeclareMicrotypeSet[3][]{}
-\renewcommand*\UseMicrotypeSet[2][]{}
-\renewcommand*\DeclareMicrotypeSetDefault[2][]{}
-\renewcommand*\SetProtrusion[3][]{}
-\renewcommand*\SetExpansion[3][]{}
-\renewcommand*\SetTracking[3][]{}
-\renewcommand*\SetExtraKerning[3][]{}
-\renewcommand*\SetExtraSpacing[3][]{}
-\renewcommand*\DisableLigatures[2][]{}
-\renewcommand*\DeclareCharacterInheritance[3][]{}
-\renewcommand*\DeclareMicrotypeVariants[1]{}
-\renewcommand*\DeclareMicrotypeAlias[2]{}
-\renewcommand*\LoadMicrotypeFile[1]{}
-\renewcommand*\DeclareMicrotypeBabelHook[2]{}
-\renewcommand*\microtypesetup[1]{}
-\renewcommand*\microtypecontext[1]{}
-\renewcommand*\textmicrotypecontext[2]{#2}
+\DeclareDocumentCommand{\DeclareMicrotypeSet}{o m m}{}
+\DeclareDocumentCommand{\UseMicrotypeSet}{o m}{}
+\DeclareDocumentCommand{\DeclareMicrotypeSetDefault}{o m}{}
+\DeclareDocumentCommand{\SetProtrusion}{o m m}{}
+\DeclareDocumentCommand{\SetExpansion}{o m m}{}
+\DeclareDocumentCommand{\SetTracking}{o m m}{}
+\DeclareDocumentCommand{\SetExtraKerning}{o m m}{}
+\DeclareDocumentCommand{\SetExtraSpacing}{o m m}{}
+\DeclareDocumentCommand{\DisableLigatures}{o m}{}
+\DeclareDocumentCommand{\DeclareCharacterInheritance}{o m m}{}
+\DeclareDocumentCommand{\DeclareMicrotypeVariants}{m}{}
+\DeclareDocumentCommand{\DeclareMicrotypeAlias}{m m}{}
+\DeclareDocumentCommand{\LoadMicrotypeFile}{m}{}
+\DeclareDocumentCommand{\DeclareMicrotypeBabelHook}{m m}{}
+\DeclareDocumentCommand{\microtypesetup}{m}{}
+\DeclareDocumentCommand{\microtypecontext}{m}{}
+\DeclareDocumentCommand{\textmicrotypecontext}{m m}{#2}
\@ifpackageloaded{letterspace}{\let\MT@textls\relax}{%
-\renewcommand*\lsstyle{}
-\renewcommand\textls[2][]{}
-\def\textls#1#{}
-\renewcommand*\lslig[1]{#1}
+\DeclareDocumentCommand{\lsstyle}{}{}
+\DeclareDocumentCommand{\textls}{o +m}{}
+\DeclareDocumentCommand{\lslig}{m}{#1}
}
\def\DeclareMicrotypeSet#1#{\@gobbletwo}
\def\DeclareMicrotypeVariants#1#{\@gobble}
@@ -21399,9 +21577,9 @@ solid
% Multicols are converted into a 1--3 column display, browser-supported.
%
-% The optional multicols heading is placed inside a |div| of class |multicolsheading|.
+% The optional multicols heading is placed inside a \tag{div} of class |multicolsheading|.
%
-% The content is placed inside a |div| of class |multicols|.
+% The content is placed inside a \tag{div} of class |multicols|.
% \begin{macrocode}
\begin{warpHTML}
@@ -21715,8 +21893,8 @@ solid
% \begin{description}
% \item[CSS styling of theorems and proofs:] \
% \begin{description}
-% \item [Theorem:] |div| of class |theorembody<theoremstyle>|
-% \item [Theorem Header:] |span| of class |theoremheader<style>|
+% \item [Theorem:] \tag{div} of class |theorembody<theoremstyle>|
+% \item [Theorem Header:] \tag{span} of class |theoremheader<style>|
% \end{description}
% where |<theoremstyle>| is |plain|, |break|, etc.
% \end{description}
@@ -22415,7 +22593,7 @@ solid
% \pkg{rotating} is emulated during \acro{HTML} output, and
% the \pkg{rotating} package is ignored.
%
-% \textcolor{red}{This code is untested.}
+% All rotations are ignored in \acro{HTML} output.
%
% \codehtml
% \begin{macrocode}
@@ -22727,6 +22905,110 @@ solid
%
%
%
+% \clearpage
+%
+% \iffalse
+%<*soul>
+% \fi
+%
+% \part{lwarp-soul.sty}
+%
+% \section{Soul}
+%
+% \credits{Melchior FRANZ}
+%
+% \DescribePackage{soul} Emulated.
+%
+% \changes{v0.27}{2017/04/02}{\pkg{soul}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{soul}
+% \end{macrocode}
+%
+% Storage for the colors to use:
+% \begin{macrocode}
+\newcommand*{\LWR@soululcolor}{}
+
+\newcommand*{\LWR@soulstcolor}{}
+
+% \definecolor{LWR@soulhlcolordefault}{HTML}{F8E800}
+% \newcommand*{\LWR@soulhlcolor}{LWR@soulhlcolordefault}
+\newcommand*{\LWR@soulhlcolor}{}
+% \end{macrocode}
+%
+% Basic markup with \acro{CSS}:
+% \begin{macrocode}
+\newcommand{\so}[1]{\InlineClass{letterspacing}{#1}}
+\newcommand{\caps}[1]{\InlineClass{capsspacing}{#1}}
+% \end{macrocode}
+%
+% Add colors if not empty:
+% \begin{macrocode}
+\newcommand{\LWR@soulcolor}[4]{%
+\ifcsempty{#2}%
+{%
+\InlineClass{#3}{#1}}%
+{%
+\convertcolorspec{named}{\csuse{#2}}{HTML}\LWR@tempcolor%
+\InlineClass{#3}[#4: \#\LWR@tempcolor]{#1}%
+}%
+}
+
+\newcommand{\ul}[1]{%
+\LWR@soulcolor{#1}{LWR@soululcolor}{uline}{text-decoration-color}%
+}
+
+\newcommand{\st}[1]{
+\LWR@soulcolor{#1}{LWR@soulstcolor}{sout}{text-decoration-color}%
+}
+
+\newcommand{\hl}[1]{
+\LWR@soulcolor{#1}{LWR@soulhlcolor}{highlight}{background-color}%
+}
+% \end{macrocode}
+%
+% Nullified:
+% \begin{macrocode}
+\newcommand*{\soulaccent}[1]{}
+\newcommand*{\soulregister}[2]{}
+\newcommand{\sloppyword}[1]{#1}
+\newcommand*{\sodef}[5]{\DeclareRobustCommand*#1[1]{\so{##1}}}
+\newcommand*{\resetso}{}
+\newcommand*{\capsdef}[5]{}
+\newcommand*{\capsreset}{}
+\newcommand*{\capssave}[1]{}
+\newcommand*{\capsselect}[1]{}
+\newcommand*{\setul}[2]{}
+\newcommand*{\resetul}{}
+\newcommand*{\setuldepth}[1]{}
+\newcommand*{\setuloverlap}[1]{}
+% \end{macrocode}
+%
+% Set colors:
+% \begin{macrocode}
+\newcommand*{\setulcolor}[1]{\renewcommand{\LWR@soululcolor}{#1}}
+\newcommand*{\setstcolor}[1]{\renewcommand{\LWR@soulstcolor}{#1}}
+\newcommand*{\sethlcolor}[1]{\renewcommand{\LWR@soulhlcolor}{#1}}
+% \end{macrocode}
+%
+% Long versions of the user-level macros:
+% \begin{macrocode}
+\let\textso\so
+\let\textul\ul
+\let\texthl\hl
+\let\textcaps\caps
+% \end{macrocode}
+%
+% \iffalse
+%</soul>
+% \fi
+%
+%
+%
+%
+%
%
% \clearpage
%
@@ -23133,8 +23415,8 @@ solid
% \begin{description}
% \item[CSS styling of theorems and proofs:] \
% \begin{description}
-% \item [Theorem:] |div| of class |theorembody<theoremstyle>|
-% \item [Theorem Header:] |span| of class |theoremheader|
+% \item [Theorem:] \tag{div} of class |theorembody<theoremstyle>|
+% \item [Theorem Header:] \tag{span} of class |theoremheader|
% \end{description}
% where |<theoremstyle>| is |plain|, |break|, etc.
% \end{description}
@@ -24426,6 +24708,113 @@ solid
%
%
%
+%
+%
+% \clearpage
+%
+% \iffalse
+%<*ulem>
+% \fi
+%
+% \part{lwarp-ulem.sty}
+%
+% \section{Ulem}
+%
+% \credits{Donald Arseneau}
+%
+% \DescribePackage{ulem} Emulated.
+%
+% \changes{v0.27}{2017/04/02}{\pkg{ulem}: Added.}
+%
+% \codehtml
+%
+% Original \pkg{lwarp} definitions:
+% \begin{macrocode}
+\let\LWR@ulemorigemph\emph
+\let\LWR@ulemorigtextbf\textbf
+% \end{macrocode}
+%
+% Basic markup commands, using \acro{CSS}:
+% \begin{macrocode}
+\NewDocumentCommand{\uline}{+m}{%
+\InlineClass{uline}{#1}%
+}
+
+\NewDocumentCommand{\uuline}{+m}{%
+\InlineClass{uuline}{#1}%
+}
+
+\NewDocumentCommand{\uwave}{+m}{%
+\InlineClass{uwave}{#1}%
+}
+
+\NewDocumentCommand{\sout}{+m}{%
+\InlineClass{sout}{#1}%
+}
+
+\NewDocumentCommand{\xout}{+m}{%
+\InlineClass{xout}{#1}%
+}
+
+\NewDocumentCommand{\dashuline}{+m}{%
+\InlineClass{dashuline}{#1}%
+}
+
+\NewDocumentCommand{\dotuline}{+m}{%
+\InlineClass{dotuline}{#1}%
+}
+% \end{macrocode}
+%
+% Nullified parameters:
+% \begin{macrocode}
+\NewDocumentCommand{\ULthickness}{}{}
+\newlength{\ULdepth}
+% \end{macrocode}
+%
+% Nullified/emulated macros:
+% \begin{macrocode}
+\NewDocumentCommand{\markoverwith}{m}{}
+\NewDocumentCommand{\ULon}{+m}{\uline{#1}}
+% \end{macrocode}
+%
+% \cs{useunder} only works with \cs{textbf}, etc, but not \cs{bfseries}, etc.
+% \begin{macrocode}
+\NewDocumentCommand{\useunder}{m m m}{%
+\relax%
+\ifx\relax#3\relax\else % argumentative command
+ \def#3{#1}\MakeRobust{#3}\fi
+}
+% \end{macrocode}
+%
+% Triggered by package options, also available for the users:
+% \begin{macrocode}
+\newcommand*{\normalem}{\let\emph\LWR@ulemorigemph}
+\newcommand*{\ULforem}{\let\emph\uline}
+\ULforem% default
+% \end{macrocode}
+%
+%
+% Package options:
+% \begin{macrocode}
+\DeclareOption{normalem}{\normalem}
+\DeclareOption{ULforem}{\ULforem}
+\DeclareOption{normalbf}{}
+\DeclareOption{UWforbf}{\useunder{\uwave}{\bf}{\textbf}}
+% \end{macrocode}
+%
+% Emulate the original package:
+% \begin{macrocode}
+\LWR@ProvidesPackageDrop{ulem}
+% \end{macrocode}
+%
+% \iffalse
+%</ulem>
+% \fi
+%
+%
+%
+%
+%
% \clearpage
%
% \iffalse
@@ -24692,8 +25081,9 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; %
-% ^^A \begin{macro}{\LWR@colorstyle} \marg{1: styletext} \marg{2: model}
-% ^^A \marg{3: color} \marg{4: spancontents}
+% ^^A \begin{macro}{\LWR@colorstyle}
+% \cs{LWR@colorstyle} \marg{1: styletext} \marg{2: model}
+% \marg{3: color} \marg{4: spancontents}
%
% \changes{v0.19}{2016/06/01}{Supports colored \cs{rule}.}
%
@@ -24713,7 +25103,7 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; %
\ifthenelse{\equal{#1}{color:}}%
{\renewcommand*{\LWR@currenttextcolor}{\#\LWR@tempcolor}}{}%
% \end{macrocode}
-% Create the \acro{HTML} |span| with the styled color:
+% Create the \acro{HTML} \tag{span} with the styled color:
% \begin{macrocode}
\LWR@htmltagc{span style="#1\#\LWR@tempcolor"{}}%
\begin{LWR@nestspan}%
diff --git a/Master/texmf-dist/source/latex/lwarp/lwarp.ins b/Master/texmf-dist/source/latex/lwarp/lwarp.ins
index 276f61ba2d7..e381db11112 100644
--- a/Master/texmf-dist/source/latex/lwarp/lwarp.ins
+++ b/Master/texmf-dist/source/latex/lwarp/lwarp.ins
@@ -74,6 +74,7 @@ version 2005/12/01 or later.
\file{lwarp-keyfloat.sty}{\from{lwarp.dtx}{keyfloat}}
\file{lwarp-layout.sty}{\from{lwarp.dtx}{layout}}
\file{lwarp-letterspace.sty}{\from{lwarp.dtx}{letterspace}}
+\file{lwarp-lettrine.sty}{\from{lwarp.dtx}{lettrine}}
\file{lwarp-lips.sty}{\from{lwarp.dtx}{lips}}
\file{lwarp-listings.sty}{\from{lwarp.dtx}{listings}}
\file{lwarp-longtable.sty}{\from{lwarp.dtx}{longtable}}
@@ -104,6 +105,7 @@ version 2005/12/01 or later.
\file{lwarp-sidenotes.sty}{\from{lwarp.dtx}{sidenotes}}
\file{lwarp-showidx.sty}{\from{lwarp.dtx}{idx}}
\file{lwarp-showkeys.sty}{\from{lwarp.dtx}{showkeys}}
+\file{lwarp-soul.sty}{\from{lwarp.dtx}{soul}}
\file{lwarp-subfig.sty}{\from{lwarp.dtx}{subfig}}
\file{lwarp-tabularx.sty}{\from{lwarp.dtx}{tabularx}}
\file{lwarp-textpos.sty}{\from{lwarp.dtx}{textpos}}
@@ -116,6 +118,7 @@ version 2005/12/01 or later.
\file{lwarp-titling.sty}{\from{lwarp.dtx}{titling}}
\file{lwarp-tocloft.sty}{\from{lwarp.dtx}{tocloft}}
\file{lwarp-trivfloat.sty}{\from{lwarp.dtx}{trivfloat}}
+\file{lwarp-ulem.sty}{\from{lwarp.dtx}{ulem}}
\file{lwarp-verse.sty}{\from{lwarp.dtx}{verse}}
\file{lwarp-wallpaper.sty}{\from{lwarp.dtx}{wallpaper}}
\file{lwarp-wrapfig.sty}{\from{lwarp.dtx}{wrapfig}}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty
new file mode 100644
index 00000000000..def689ec591
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-lettrine.sty
@@ -0,0 +1,50 @@
+%%
+%% This is file `lwarp-lettrine.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `lettrine')
+%% 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{lettrine}
+\DeclareDocumentCommand{\lettrine}{o m m}{%
+\InlineClass{lettrine}{#2}\InlineClass{lettrinetext}{#3} %
+}
+
+\newcounter{DefaultLines}
+\setcounter{DefaultLines}{2}
+\newcounter{DefaultDepth}
+\newcommand*{\DefaultOptionsFile}{\relax}
+\newcommand*{\DefaultLoversize}{0}
+\newcommand*{\DefaultLraise}{0}
+\newcommand*{\DefaultLhang}{0}
+\newdimen\DefaultFindent
+\setlength{\DefaultFindent}{\z@}
+\newdimen\DefaultNindent
+\setlength{\DefaultNindent}{0.5em}
+\newdimen\DefaultSlope
+\setlength{\DefaultSlope}{\z@}
+\newdimen\DiscardVskip
+\setlength{\DiscardVskip}{0.2\p@}
+\newif\ifLettrineImage
+\newif\ifLettrineOnGrid
+\newif\ifLettrineRealHeight
+
+\newcommand*{\LettrineTextFont}{\scshape}
+
+\newcommand*{\LettrineFontHook}{}
+
+\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-microtype.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty
index 71130da10df..0061012e6e3 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-microtype.sty
@@ -20,28 +20,27 @@
\LWR@ProvidesPackageDrop{microtype}
-\renewcommand*\DeclareMicrotypeSet[3][]{}
-\renewcommand*\UseMicrotypeSet[2][]{}
-\renewcommand*\DeclareMicrotypeSetDefault[2][]{}
-\renewcommand*\SetProtrusion[3][]{}
-\renewcommand*\SetExpansion[3][]{}
-\renewcommand*\SetTracking[3][]{}
-\renewcommand*\SetExtraKerning[3][]{}
-\renewcommand*\SetExtraSpacing[3][]{}
-\renewcommand*\DisableLigatures[2][]{}
-\renewcommand*\DeclareCharacterInheritance[3][]{}
-\renewcommand*\DeclareMicrotypeVariants[1]{}
-\renewcommand*\DeclareMicrotypeAlias[2]{}
-\renewcommand*\LoadMicrotypeFile[1]{}
-\renewcommand*\DeclareMicrotypeBabelHook[2]{}
-\renewcommand*\microtypesetup[1]{}
-\renewcommand*\microtypecontext[1]{}
-\renewcommand*\textmicrotypecontext[2]{#2}
+\DeclareDocumentCommand{\DeclareMicrotypeSet}{o m m}{}
+\DeclareDocumentCommand{\UseMicrotypeSet}{o m}{}
+\DeclareDocumentCommand{\DeclareMicrotypeSetDefault}{o m}{}
+\DeclareDocumentCommand{\SetProtrusion}{o m m}{}
+\DeclareDocumentCommand{\SetExpansion}{o m m}{}
+\DeclareDocumentCommand{\SetTracking}{o m m}{}
+\DeclareDocumentCommand{\SetExtraKerning}{o m m}{}
+\DeclareDocumentCommand{\SetExtraSpacing}{o m m}{}
+\DeclareDocumentCommand{\DisableLigatures}{o m}{}
+\DeclareDocumentCommand{\DeclareCharacterInheritance}{o m m}{}
+\DeclareDocumentCommand{\DeclareMicrotypeVariants}{m}{}
+\DeclareDocumentCommand{\DeclareMicrotypeAlias}{m m}{}
+\DeclareDocumentCommand{\LoadMicrotypeFile}{m}{}
+\DeclareDocumentCommand{\DeclareMicrotypeBabelHook}{m m}{}
+\DeclareDocumentCommand{\microtypesetup}{m}{}
+\DeclareDocumentCommand{\microtypecontext}{m}{}
+\DeclareDocumentCommand{\textmicrotypecontext}{m m}{#2}
\@ifpackageloaded{letterspace}{\let\MT@textls\relax}{%
-\renewcommand*\lsstyle{}
-\renewcommand\textls[2][]{}
-\def\textls#1#{}
-\renewcommand*\lslig[1]{#1}
+\DeclareDocumentCommand{\lsstyle}{}{}
+\DeclareDocumentCommand{\textls}{o +m}{}
+\DeclareDocumentCommand{\lslig}{m}{#1}
}
\def\DeclareMicrotypeSet#1#{\@gobbletwo}
\def\DeclareMicrotypeVariants#1#{\@gobble}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty
index 33fbf306686..b1fd0af99d6 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-newproject.sty
@@ -237,6 +237,57 @@ div.epigraphsource{
div.epigraph p { padding: .5ex ; margin: 0ex ;}
div.epigraphsource p { padding: .5ex 0ex 0ex 0ex ; margin: 0ex ;}
+/* lettrine package: */
+span.lettrine { font-size: 3ex ; float: left ; }
+span.lettrinetext { font-variant: small-caps ; }
+
+/* ulem and soul packages: */
+span.uline {
+ text-decoration: underline ;
+ text-decoration-skip ;
+}
+
+span.uuline {
+ text-decoration: underline ;
+ text-decoration-skip ;
+ text-decoration-style: double ;
+}
+
+span.uwave {
+ text-decoration: underline ;
+ text-decoration-skip ;
+ text-decoration-style: wavy ;
+}
+
+span.sout {
+ text-decoration: line-through ;
+}
+
+span.xout {
+ text-decoration: line-through ;
+}
+
+span.dashuline {
+ text-decoration: underline ;
+ text-decoration-skip ;
+ text-decoration-style: dashed ;
+}
+
+span.dotuline {
+ text-decoration: underline ;
+ text-decoration-skip ;
+ text-decoration-style: dotted ;
+}
+
+span.letterspacing { letter-spacing: .2ex ; }
+
+span.capsspacing {
+ font-variant: small-caps ;
+ letter-spacing: .1ex ;
+}
+
+span.highlight { background: #F8E800 ; }
+
html body {
margin: 0 ;
line-height: 1.2;
@@ -318,6 +369,7 @@ div.titlepage {
font-size: .85em ;
margin: 3ex 1em 0ex 1em ;
padding-bottom: 1ex ;
+border-top: 1px solid silver ;
}
.marginpar {
@@ -1684,7 +1736,7 @@ MathJax.Hub.Config({
-- Print the usage of the lwarpmk command:
-printversion = "v0.26"
+printversion = "v0.27"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty
new file mode 100644
index 00000000000..1561eae959c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty
@@ -0,0 +1,69 @@
+%%
+%% This is file `lwarp-soul.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `soul')
+%% 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{soul}
+\newcommand*{\LWR@soululcolor}{}
+
+\newcommand*{\LWR@soulstcolor}{}
+
+\newcommand*{\LWR@soulhlcolor}{}
+\newcommand{\so}[1]{\InlineClass{letterspacing}{#1}}
+\newcommand{\caps}[1]{\InlineClass{capsspacing}{#1}}
+\newcommand{\LWR@soulcolor}[4]{%
+\ifcsempty{#2}%
+{%
+\InlineClass{#3}{#1}}%
+{%
+\convertcolorspec{named}{\csuse{#2}}{HTML}\LWR@tempcolor%
+\InlineClass{#3}[#4: \#\LWR@tempcolor]{#1}%
+}%
+}
+
+\newcommand{\ul}[1]{%
+\LWR@soulcolor{#1}{LWR@soululcolor}{uline}{text-decoration-color}%
+}
+
+\newcommand{\st}[1]{
+\LWR@soulcolor{#1}{LWR@soulstcolor}{sout}{text-decoration-color}%
+}
+
+\newcommand{\hl}[1]{
+\LWR@soulcolor{#1}{LWR@soulhlcolor}{highlight}{background-color}%
+}
+\newcommand*{\soulaccent}[1]{}
+\newcommand*{\soulregister}[2]{}
+\newcommand{\sloppyword}[1]{#1}
+\newcommand*{\sodef}[5]{\DeclareRobustCommand*#1[1]{\so{##1}}}
+\newcommand*{\resetso}{}
+\newcommand*{\capsdef}[5]{}
+\newcommand*{\capsreset}{}
+\newcommand*{\capssave}[1]{}
+\newcommand*{\capsselect}[1]{}
+\newcommand*{\setul}[2]{}
+\newcommand*{\resetul}{}
+\newcommand*{\setuldepth}[1]{}
+\newcommand*{\setuloverlap}[1]{}
+\newcommand*{\setulcolor}[1]{\renewcommand{\LWR@soululcolor}{#1}}
+\newcommand*{\setstcolor}[1]{\renewcommand{\LWR@soulstcolor}{#1}}
+\newcommand*{\sethlcolor}[1]{\renewcommand{\LWR@soulhlcolor}{#1}}
+\let\textso\so
+\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-ulem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
new file mode 100644
index 00000000000..f944feb537b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
@@ -0,0 +1,66 @@
+%%
+%% This is file `lwarp-ulem.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `ulem')
+%% 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.
+\let\LWR@ulemorigemph\emph
+\let\LWR@ulemorigtextbf\textbf
+\NewDocumentCommand{\uline}{+m}{%
+\InlineClass{uline}{#1}%
+}
+
+\NewDocumentCommand{\uuline}{+m}{%
+\InlineClass{uuline}{#1}%
+}
+
+\NewDocumentCommand{\uwave}{+m}{%
+\InlineClass{uwave}{#1}%
+}
+
+\NewDocumentCommand{\sout}{+m}{%
+\InlineClass{sout}{#1}%
+}
+
+\NewDocumentCommand{\xout}{+m}{%
+\InlineClass{xout}{#1}%
+}
+
+\NewDocumentCommand{\dashuline}{+m}{%
+\InlineClass{dashuline}{#1}%
+}
+
+\NewDocumentCommand{\dotuline}{+m}{%
+\InlineClass{dotuline}{#1}%
+}
+\NewDocumentCommand{\ULthickness}{}{}
+\newlength{\ULdepth}
+\NewDocumentCommand{\markoverwith}{m}{}
+\NewDocumentCommand{\ULon}{+m}{\uline{#1}}
+\NewDocumentCommand{\useunder}{m m m}{%
+\relax%
+\ifx\relax#3\relax\else % argumentative command
+ \def#3{#1}\MakeRobust{#3}\fi
+}
+\newcommand*{\normalem}{\let\emph\LWR@ulemorigemph}
+\newcommand*{\ULforem}{\let\emph\uline}
+\ULforem% default
+\DeclareOption{normalem}{\normalem}
+\DeclareOption{ULforem}{\ULforem}
+\DeclareOption{normalbf}{}
+\DeclareOption{UWforbf}{\useunder{\uwave}{\bf}{\textbf}}
+\LWR@ProvidesPackageDrop{ulem}
+\endinput
+%%
+%% End of file `lwarp-ulem.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index 0540344eb02..3cde0578003 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/03/31 v0.26 Allows LaTeX to directly produce HTML5 output.]
+ [2017/04/04 v0.27 Allows LaTeX to directly produce HTML5 output.]
@@ -159,6 +159,7 @@ Please use the #2 package instead}
\LWR@loadafter{keyfloat}
\LWR@loadafter{layout}
\LWR@loadafter{letterspace}
+\LWR@loadafter{lettrine}
\LWR@loadafter{lips}
\LWR@loadafter{listings}
\LWR@loadafter{longtable}
@@ -187,6 +188,7 @@ Please use the #2 package instead}
\LWR@loadafter{showkeys}
\LWR@loadafter{sidecap}
\LWR@loadafter{sidenotes}
+\LWR@loadafter{soul}
\LWR@loadafter{subfig}
\LWR@loadafter{tabularx}
\LWR@loadafter{textpos}
@@ -198,6 +200,7 @@ Please use the #2 package instead}
\LWR@loadafter{titletoc}
\LWR@loadafter{tocloft}
\LWR@loadafter{trivfloat}
+\LWR@loadafter{ulem}
\LWR@loadafter{varioref}
\LWR@loadafter{verse}
\LWR@loadafter{wallpaper}
@@ -247,7 +250,7 @@ spacing=false}
\begin{warpHTML}
\RequirePackage[paperheight=190in,paperwidth=20in,%
-left=7in,right=7in,%
+left=2in,right=12in,%
top=1in,bottom=1in,%
]{geometry}
\end{warpHTML}
@@ -921,12 +924,12 @@ top=1in,bottom=1in,%
\end{warpprint}
\begin{warpHTML}
-\NewDocumentCommand{\InlineClass}{m o m}{%
+\NewDocumentCommand{\InlineClass}{m o +m}{%
\LWR@htmlspanclass{#1}[#2]{#3}%
}
\end{warpHTML}
\begin{warpprint}
-\NewDocumentCommand{\InlineClass}{m o m}{#3}
+\NewDocumentCommand{\InlineClass}{m o +m}{#3}
\end{warpprint}
@@ -1146,19 +1149,18 @@ top=1in,bottom=1in,%
\begin{warpHTML}
\newbox\LWR@footnotes
-\setbox\LWR@footnotes=\vbox{}
\long\def\@makefntext#1{\textsuperscript{\@thefnmark} #1}
\def\@makefnmark{\hbox{\textsuperscript{\@thefnmark}}}
-
\long\def\@footnotetext#1{%
\global\setbox\LWR@footnotes=\vbox{\unvbox\LWR@footnotes%
\protected@edef\@currentlabel{%
\csname p@footnote\endcsname\@thefnmark%
}% @currentlabel
\color@begingroup%
+\ifbool{LWR@doingstartpars}{}{\LWR@htmltagc{\LWR@tagregularparagraph}}%
\@makefntext{#1}%
-\LWR@htmltagc{/\LWR@tagregularparagraph}%
+\ifbool{LWR@doingstartpars}{\par}{\LWR@htmltagc{/\LWR@tagregularparagraph}}%
\color@endgroup%
}% vbox
}%
@@ -1181,11 +1183,13 @@ top=1in,bottom=1in,%
\color@endgroup}%
}
\newcommand*{\LWR@printpendingfootnotes}{%
+\ifvoid\LWR@footnotes\else
\begin{BlockClass}{footnotes}
\LWR@origmedskip
\unvbox\LWR@footnotes
\setbox\LWR@footnotes=\vbox{}
\end{BlockClass}
+\fi
}
\end{warpHTML}
@@ -4034,7 +4038,7 @@ class="lateximagesource"{}} \LWR@orignewline
\let\tabular\LWR@origtabular%
\let\endtabular\LWR@origendtabular%
\let\newline\LWR@orignewline%
-\LWR@origlabel{LWRlateximage\arabic{LWR@lateximagenumber}}% *8*
+\LWR@origlabel{LWRlateximage\arabic{LWR@lateximagenumber}}%
}% end of outer-most lateximage
}% end of \begin{lateximage}
{% start of \end{lateximage}
@@ -4345,7 +4349,7 @@ img src="\thisgraphicspath\LWR@strresult\LWR@imageextension" \LWR@orignewline
\NewDocumentCommand{\LWR@rotatebox}{O{} m +m}{%
\renewcommand*{\LWR@rotboxorigin}{}
\setkeys{krotbox}{#1}%
-\LWR@htmltagc{span style="display: inline-block;
+\LWR@htmltagc{span style="display: inline-block; %
\ifthenelse{\NOT\equal{\LWR@rotboxorigin}{}}%
{transform-origin: \LWR@originnames{\LWR@rotboxorigin};\LWR@origtilde}{}%
\LWR@rotstyle{-ms-}{#2} %