summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-html4.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-17 03:01:53 +0000
committerNorbert Preining <norbert@preining.info>2023-10-17 03:01:53 +0000
commit3e9c5c6e1c118283b7775fd707379f8c9fdd3fd5 (patch)
tree40f420b2cc25378ebd0cd509854828b1b7aa337f /support/TeX4ht/source/tex4ht-html4.tex
parentc4125da665ac93db063e3c177f4fc5d172f5866f (diff)
CTAN sync 202310170301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-html4.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex21
1 files changed, 18 insertions, 3 deletions
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index ae6efcef89..5d5e52f60d 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1388 2023-10-13 11:46:56Z michal_h21 $
+% $Id: tex4ht-html4.tex 1393 2023-10-16 12:00:17Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -13857,7 +13857,7 @@ for margin pars.
\Picture[\a:GraphicsAlt]{{\Gin@base.svg} |<graphics dim|>}}
\Configure{graphics*}
{eps}
- {\openin15=\csname Gin@base\endcsname\PictExt\relax%
+ {\openin15={\csname Gin@base\endcsname\PictExt}\relax%
\ifeof15%
\Needs{\a:EpsConvert}%
\fi%
@@ -13899,7 +13899,7 @@ for margin pars.
{\ifdefined\Gin@page\else\def\Gin@page{1}\fi%
\edef\svg:filename{\Gin@base-\Gin@page.\a:PdfConvert}%
% test for existence of the converted file
- \openin15=\svg:filename\relax
+ \openin15={\svg:filename}\relax
\ifeof15
\Needs{\b:PdfConvert}%
\fi
@@ -21712,6 +21712,21 @@ users redefine the latter macro.
\Configure{texttransparent}{\HCode{<span class="texttransparent" style="opacity:\transparent:opacity;">}}{\HCode{</span>}}
>>>
+%%%%%%%%%%%%%%%%%%%%%%
+\section{changepage}
+%%%%%%%%%%%%%%%%%%%%%%
+
+\<configure html4 changepage\><<<
+% convert the used dimension to em
+\def\pt:to:em#1{\strip@pt\dimexpr#1/\f@size em}
+
+\Configure{adjustwidth}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="ajdustwidth"
+ style="margin-left:\pt:to:em\adjustwidth:left;margin-right:\pt:to:em\adjustwidth:right;">}%
+\par\ShowPar}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}
+>>>
+
\section{fontmath.ltx}