Debian Codegraph @

texmf-dist/tex/generic/tex4ht/changepage.4ht

raw
1 % changepage.4ht (2024-01-04-13:21), generated from tex4ht-4ht.tex
2 % Copyright 2023-2024 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2024-01-04-13:21}
20
21 \NewConfigure{adjustwidth}{2}
22
23 \def\:tempa#1#2{%
24 % arguments can be empty, in that case we must declare
25 % the margins as null dimension, to prevent calculation errors
26 \edef\adjustwidth:left{\if\relax#1\relax0pt\else#1\fi}%
27 \edef\adjustwidth:right{\if\relax#2\relax0pt\else#2\fi}%
28 \a:adjustwidth%
29 }
30 \HLet\adjustwidth\:tempa
31 \expandafter\HLet\csname adjustwidth*\endcsname\:tempa
32
33 \def\:tempa{\b:adjustwidth}
34 \HLet\endadjustwidth\:tempa
35 \expandafter\HLet\csname endadjustwidth*\endcsname\:tempa
36
37
38 \Hinput{changepage}
39 \endinput
40
41