summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp.sty14
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index 2fca6085b4a..89678d63968 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}
- [2019/09/02 v0.74 Allows LaTeX to directly produce HTML5 output.]
+ [2019/09/23 v0.75 Allows LaTeX to directly produce HTML5 output.]
@@ -1029,6 +1029,9 @@
\newlength{\LWR@userspaperheight}
\setlength{\LWR@userspaperheight}{\paperheight}
+
+\newlength{\LWR@usersmarginparwidth}
+\setlength{\LWR@usersmarginparwidth}{\marginparwidth}
\LWR@origgeometry{
reset,
paperheight=190in,
@@ -2342,7 +2345,7 @@ div.marginblock, div.marginparblock {
div.marginblock div.minipage,
div.marginparblock div.minipage {
- display: block ;
+ display: inline-block ;
margin: 0pt auto 0pt auto ;
}
@@ -4085,7 +4088,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-
-- Copyright 2016-2019 Brian Dunn
-printversion = "v0.74"
+printversion = "v0.75"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -11487,7 +11490,7 @@ autopage-\theLWR@currentautosec%
\NewDocumentEnvironment{LWR@HTML@sub@minipage}{m m m m}
{%
\LWR@traceinfo{minipage}%
-\begingroup
+\begingroup%
\setlength{\LWR@minipagewidth}{#4}%
\ifthenelse{\cnttest{\value{LWR@minipagedepth}}{=}{0}}{%
\LWR@orignewpage%
@@ -11536,7 +11539,8 @@ autopage-\theLWR@currentautosec%
\ifblank{#2}{}{height:\LWR@printlength{\LWR@minipageheight} ; }%
"}%
-\setlength{\linewidth}{#4}% the original width
+\setlength{\linewidth}{\LWR@minipagewidth}% the padded width
+\addtolength{\linewidth}{-3em}% the original width
\setlength{\textwidth}{6in}%
\setlength{\textheight}{9in}%
\LWR@print@raggedright%