summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-16 20:45:27 +0000
committerKarl Berry <karl@freefriends.org>2023-10-16 20:45:27 +0000
commit849fe44f91d4ffdf3d8919c4622598712d45bb39 (patch)
treeb3f95859cc06458b17755b203bfbc5ee44a0ba9c /Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
parentf6d220d6845de4aa9f95f90d45b3d4881a58d187 (diff)
changepage package, tex4ht r1392; pdf/eps filenames with spaces, tex4ht r1393; declare \Hy@PageAnchorSlide, tex4ht r1394
git-svn-id: svn://tug.org/texlive/trunk@68570 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex21
1 files changed, 18 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
index ae6efcef89e..5d5e52f60d2 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/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}