From 916b6828e77bd92bd88d57bad094c4520f0ad65c Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 30 Jun 2021 03:03:03 +0000 Subject: CTAN sync 202106300303 --- macros/latex/contrib/lwarp/lwarp.dtx | 277 ++++++++++++++++++++++++----------- 1 file changed, 195 insertions(+), 82 deletions(-) (limited to 'macros/latex/contrib/lwarp/lwarp.dtx') diff --git a/macros/latex/contrib/lwarp/lwarp.dtx b/macros/latex/contrib/lwarp/lwarp.dtx index 0692faa1a3..54b4857907 100644 --- a/macros/latex/contrib/lwarp/lwarp.dtx +++ b/macros/latex/contrib/lwarp/lwarp.dtx @@ -16,7 +16,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{lwarp} -% [2021/05/24 v0.898 Allows LaTeX to directly produce HTML5 output.] +% [2021/06/29 v0.899 Allows LaTeX to directly produce HTML5 output.] % %<*driver> \documentclass{ltxdoc} @@ -2828,6 +2828,8 @@ use an absolute width for \cs{keyfig}, instead of \optn{lw}-proportional widths. (The \optn{[H]} option forces the use of a minipage, which internally adjusts for a virtual 6-inch wide minipage, which then corrupts the \optn{lw} option.) + +For wrapped figures, overhang and number of lines are ignored. } \newcommand{\limitssiunitx}{% @@ -3098,7 +3100,7 @@ This boolean may be tested by the user for later use. %<*package> % \fi % -% \CheckSum{54272} +% \CheckSum{54297} % % \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 @@ -3238,6 +3240,7 @@ This boolean may be tested by the user for later use. % \changes{v0.896}{2021/04/08}{\ 2021/04/08} % \changes{v0.897}{2021/05/24}{\ 2021/05/24} % \changes{v0.898}{2021/05/29}{\ 2021/05/29} +% \changes{v0.899}{2021/06/29}{\ 2021/06/29} @@ -3341,6 +3344,8 @@ This boolean may be tested by the user for later use. % \begin{center} % \setlength{\parskip}{1ex} % \color{blue} +% For a quick-start tutorial, see \cref{sec:tutorial}, \nameref{sec:tutorial}. +% % For a list of supported features, see \cref{tab:supported}: \nameref{tab:supported}. % % To update existing projects, see \cref{sec:updates}: \nameref{sec:updates}. @@ -3461,6 +3466,15 @@ This boolean may be tested by the user for later use. % % \begin{description} % \needspace{2\baselineskip} +% \item[v0.899:] Minor updates. +% \begin{itemize} +% \item \prog{lwarpmk}: Warns if |\usepackage{lwarp}| is not detected. +% \item \pkg{graphics}: Added support for \optn{keepaspectratio}. +% \margintag{packages} +% \item \pkg{keyfloat}: Fix: \optn{lw} with \optn{h}. +% \item \pkg{multicol}: Improved \CSS. +% \end{itemize} +% \needspace{2\baselineskip} % \item[v0.898:] Minor updates. % \begin{itemize} % \item Fewer underfull \cs{hbox} warnings. @@ -6790,6 +6804,16 @@ This boolean may be tested by the user for later use. % % \subsection{Compiling the print version with \prog{lwarpmk}} % +% \newcommand*{\LWRenablelwarpmk}{% +% If you have not yet done so, +% \trouble[Enable \prog{lwarpmk}]{lwarpmk=\filenm{lwarpmk.conf}} +% \trouble{lwarpmk=\prog{lwarpmk}} +% add \texttt{\cs{usepackage}\{lwarp\}} to the document, +% then compile the project a single time using \prog{pdflatex}, \prog{lualatex}, +% or \prog{xelatex}. This generates the file \filenm{lwarpmk.conf}, +% which then allows the \prog{lwarpmk} program to be used. +% } +% % The \prog{lwarpmk} utility program is used to compile either the printed or % the \HTML\ version of the document. % @@ -6797,6 +6821,8 @@ This boolean may be tested by the user for later use. % % \begin{enumerate} % +% \item \LWRenablelwarpmk +% % \item Re-compile the print version: \userentry{lwarpmk print} % % \prog{lwarpmk} prints an introduction then checks to see if the document @@ -6846,6 +6872,7 @@ This boolean may be tested by the user for later use. % |lwarpmk html| is used to recompile an \HTML\ version of the document. % % \begin{enumerate} +% \item \LWRenablelwarpmk % \item Compile the \HTML\ version: % \userentry{lwarpmk html} % @@ -17720,6 +17747,7 @@ This boolean may be tested by the user for later use. % \changes{v0.893}{2020/10/18}{\filenm{lwarp.css}: Added \pkg{keystroke}.} % \changes{v0.894}{2020/12/15}{\filenm{lwarp.css}: \TeX\ logos no longer below baseline.} % \changes{v0.896}{2021/03/04}{\filenm{lwarp.css}: Added \element{main}, adjusted \element{sidetoccontainer} margin.} +% \changes{v0.899}{2021/06/25}{\filenm{lwarp.css}: Improved \pkg{multicol}.} % % ^^A *lwarp.css % @@ -19103,8 +19131,11 @@ section.textbody { margin: 0ex 1em 0ex 1em ;} div.multicolsheading { -webkit-column-span: all; -moz-column-span: all; column-span: all; } -div.multicols { -webkit-columns: 3 380px ; - -moz-columns: 3 380px ; columns: 3 380px ; } +div.multicols { + -webkit-columns: 3 auto ; + -moz-columns: 3 auto ; + columns: 3 auto ; +} div.multicols p {margin-top: 0ex} @@ -19412,6 +19443,14 @@ nav.botnavigation { display:none; } /* Only display the sidetoc's webpage title if a small screen */ span.sidetocthetitle { display: none } +@media screen and (max-width: 100em) { + div.multicols { + -webkit-columns: 2 auto ; + -moz-columns: 2 auto ; + columns: 2 auto ; + } +} + @media screen and (max-width: 50em) { div.sidetoccontainer { float: none ; @@ -19432,6 +19471,11 @@ span.sidetocthetitle { display: none } display:block ; margin: 1ex 1em 1ex 1em ; } + div.multicols { + -webkit-columns: 1 auto ; + -moz-columns: 1 auto ; + columns: 1 auto ; + } } @media print { @@ -20505,6 +20549,7 @@ MathJax = { % \changes{v0.81}{2020/03/04}{\prog{lwarpmk}: Improved error if in \pkg{lwarp} source directory.} % \changes{v0.84}{2020/03/30}{\prog{lwarpmk}: \optn{clean} also removes \filenm{comment_*.cut}} % \changes{v0.89}{2020/08/29}{\prog{lwarpmk}: \optn{clean} also removes \filenm{*.bbl}} +% \changes{v0.899}{2021/05/30}{\prog{lwarpmk}: Warn if \pkg{lwarp} package not detected.} % % The following is only generated if the \optn{lwarpmk} option % was given to \pkg{lwarp}. @@ -20520,7 +20565,7 @@ MathJax = { -- Copyright 2016-2021 Brian Dunn -printversion = "v0.898" +printversion = "v0.899" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -20587,7 +20632,9 @@ function splitfile (destfile,sourcefile) -- Split one large sourcefile into a number of files, -- starting with destfile. -- The file is split at each occurance of