diff options
author | Karl Berry <karl@freefriends.org> | 2023-10-16 20:45:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-10-16 20:45:27 +0000 |
commit | 849fe44f91d4ffdf3d8919c4622598712d45bb39 (patch) | |
tree | b3f95859cc06458b17755b203bfbc5ee44a0ba9c /Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | |
parent | f6d220d6845de4aa9f95f90d45b3d4881a58d187 (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-4ht.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 7c441dad277..53ca499d287 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1389 2023-10-13 13:36:04Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1394 2023-10-16 13:06:26Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2023 TeX Users Group @@ -5912,6 +5912,14 @@ TeX4ht code. >>> +Some other commands that are not defined when Hyperref detects TeX4ht. +They are used by some packages, for example Lastpage, so we need to declare them to prevent errors. + +\<config hyperref\><<< +\def\Hy@PageAnchorSlidesPlain{}% +\def\Hy@PageAnchorSlide{}% +>>> + %%%%%%%%%%%%%%%%%%%%%%%%% \SubSection{Forms} %%%%%%%%%%%%%%%%%%%%%% @@ -33128,6 +33136,40 @@ our versions. >>> %%%%%%%%%%%%%%%%%%%%%%% +\Section{changepage.sty} +%%%%%%%%%%%%%%%%%%%%%%% +\<changepage.4ht\><<< +% changepage.4ht (|version), generated from |jobname.tex +% Copyright 2023 TeX Users Group +|<TeX4ht license text|> +|<changepage shared config|> +\Hinput{changepage} +\endinput + +>>> \AddFile{7}{changepage} + +Changepage uses a list environment to make a text with changed left and right margin. +We will instead save the margin didmension for the further processing in the output +format configuration. + +\<changepage shared config\><<< +\NewConfigure{adjustwidth}{2} + +\def\:tempa#1#2{% + \def\adjustwidth:left{#1}% + \def\adjustwidth:right{#2}% + \a:adjustwidth% +} +\HLet\adjustwidth\:tempa +\expandafter\HLet\csname adjustwidth*\endcsname\:tempa + +\def\:tempa{\b:adjustwidth} +\HLet\endadjustwidth\:tempa +\expandafter\HLet\csname endadjustwidth*\endcsname\:tempa + +>>> + +%%%%%%%%%%%%%%%%%%%%%%% \Section{alltt.sty} %%%%%%%%%%%%%%%%%%%%%%% |