[tex4ht-commits] [SCM] tex4ht updated: r615 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Oct 24 16:07:56 CEST 2019


Author: michal_h21
Date: 2019-10-24 17:07:55 +0300 (Thu, 24 Oct 2019)
New Revision: 615

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
Added support for the appendix package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-10-16 20:29:45 UTC (rev 614)
+++ trunk/lit/ChangeLog	2019-10-24 14:07:55 UTC (rev 615)
@@ -1,3 +1,8 @@
+2019-10-24 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (appendix.4ht), 
+	tex4ht-html4.tex (html4.4ht): fixed the appendix package.
+
 2019-10-16 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): fix for basic text formatting commands on

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2019-10-16 20:29:45 UTC (rev 614)
+++ trunk/lit/Makefile	2019-10-24 14:07:55 UTC (rev 615)
@@ -42,7 +42,7 @@
 tex4ht_cond4ht_derived = cond4ht.4ht mktex4ht.4ht
 derived += $(tex4ht_4ht_derived)
 tex4ht_4ht_derived = \
-  adjustbox.4ht algorithmic.4ht amsmath.4ht animate.4ht authblk.4ht \
+  adjustbox.4ht algorithmic.4ht amsmath.4ht animate.4ht authblk.4ht appendix.4ht \
   biblatex.4ht biblatex-chicago.4ht book.4ht bussproofs.4ht \
   caption.4ht cleveref.4ht color.4ht colortbl.4ht \
   fontspec.4ht fontspec-4ht.lua fontspec-luatex.4ht fontspec-xetex.4ht \

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2019-10-16 20:29:45 UTC (rev 614)
+++ trunk/lit/mktex4ht-cnf.tex	2019-10-24 14:07:55 UTC (rev 615)
@@ -226,6 +226,7 @@
 \AddFile{9}{everyshi}
 \AddFile{9}{quoting}
 \AddFile{9}{titling}
+\AddFile{9}{appendix}
 \AddFile{9}{res}
 \AddFile{9}{res-a}
 \AddFile{9}{algorithmic}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-10-16 20:29:45 UTC (rev 614)
+++ trunk/lit/tex4ht-4ht.tex	2019-10-24 14:07:55 UTC (rev 615)
@@ -27955,7 +27955,31 @@
 \def\maketitle{\new:titling:maketitle}
 >>>
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%
+\Section{appendix}
+
+\<appendix.4ht\><<<
+% appendix.4ht (|version), generated from |jobname.tex
+% Copyright 2019 TeX Users Group
+|<TeX4ht license text|>
+\renewcommand{\@chap at pppage}{%
+  \chapter*{\appendixpagename}
+}
+
+\renewcommand{\@sec at pppage}{%
+  \section*{\appendixpagename}
+  \nobreak
+  \@afterheading
+}
+
+\ifdefined\theHchapter\else\newcommand\theHchapter{\Alph{chapter}}\fi
+\ifdefined\theHsection\else\newcommand\theHsection{\Alph{section}}\fi
+\Hinput{appendix}
+\endinput
+>>> \AddFile{9}{appendix}
+
+%%%%%%%%%%%%%%%%%%%%%%%%
 \Section{res}
 
 \<res.4ht\><<<

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2019-10-16 20:29:45 UTC (rev 614)
+++ trunk/lit/tex4ht-html4.tex	2019-10-24 14:07:55 UTC (rev 615)
@@ -21989,6 +21989,11 @@
 >>>
 
 
+%%%%%%%%%%%%%%%%%
+\section{appendix}
+\<configure html4 appendix\><<<
+\ConfigureEnv{appendices}{\ifvmode\IgnorePar\fi\EndP{<div class="appendices">}}{\ifvmode\IgnorePar\fi\EndP{</div>}}{}{}
+>>>
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list