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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Mar 25 19:15:54 CET 2021


Author: michal_h21
Date: 2021-03-25 20:15:53 +0200 (Thu, 25 Mar 2021)
New Revision: 896

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 parallel package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-03-06 17:05:28 UTC (rev 895)
+++ trunk/lit/ChangeLog	2021-03-25 18:15:53 UTC (rev 896)
@@ -1,3 +1,8 @@
+2021-03-25  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (parallel.4ht),
+	* tex4ht-html4.tex (html4.4ht): added support for the parallel package.
+
 2021-03-06  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-sty.tex (tex4ht.sty): preparing for a new LaTeX release, where

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2021-03-06 17:05:28 UTC (rev 895)
+++ trunk/lit/Makefile	2021-03-25 18:15:53 UTC (rev 896)
@@ -112,7 +112,7 @@
   latex.4ht lettrine.4ht listings.4ht longtable.4ht \
   magyar.4ht mdframed.4ht memoir.4ht minted.4ht multicol.4ht multirow.4ht \
   nameref.4ht natbib.4ht \
-  proof.4ht pstricks.4ht pythontex.4ht \
+  parallel.4ht proof.4ht pstricks.4ht pythontex.4ht \
   quoting.4ht \
   reading.4ht \
   scrartcl.4ht scrbook.4ht scrreprt.4ht scrjura.4ht sectionbreak.4ht \

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2021-03-06 17:05:28 UTC (rev 895)
+++ trunk/lit/mktex4ht-cnf.tex	2021-03-25 18:15:53 UTC (rev 896)
@@ -353,6 +353,7 @@
 \AddFile{9}{framed}
 \AddFile{9}{mdframed}
 \AddFile{9}{tcolorbox}
+\AddFile{9}{parallel}
 \AddFile{9}{skak}
 \AddFile{9}{animate}
 \AddFile{9}{sectionbreak}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-03-06 17:05:28 UTC (rev 895)
+++ trunk/lit/tex4ht-4ht.tex	2021-03-25 18:15:53 UTC (rev 896)
@@ -31767,7 +31767,28 @@
    \let\SOverline|=\overline \let\Overline|=\overline
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{parallel.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%
+\<parallel.4ht\><<<
+% parallel.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht license text|>
+|<parallel.sty|>
+\Hinput{parallel}
+\endinput
+>>> \AddFile{9}{parallel}
 
+
+\<parallel.sty\><<<
+\NewConfigure{ParallelLText}{2}
+\NewConfigure{ParallelRText}{2}
+\renewcommand\ParallelRText[1]{\a:ParallelRText#1\b:ParallelRText}
+\renewcommand\ParallelLText[1]{\a:ParallelLText#1\b:ParallelLText}
+>>>
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%
 \Section{skak.sty}
 %%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2021-03-06 17:05:28 UTC (rev 895)
+++ trunk/lit/tex4ht-html4.tex	2021-03-25 18:15:53 UTC (rev 896)
@@ -19181,6 +19181,24 @@
 >>>
 
 %%%%%%%%%%%%%%%%%
+\section{parallel}
+
+\<configure html4 parallel\><<<
+\Configure{ParallelLText}{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="ltext">}\par}{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par}
+\Configure{ParallelRText}{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="rtext">}\par}{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par}
+\ConfigureEnv{Parallel}{\ifvmode\IgnorePar\fi\EndP\HCode{<section class="parallel">}}{\ifvmode\IgnorePar\fi\EndP\HCode{</section>}\par}{}{}
+
+\Css{.parallel .ltext{
+  width: 48\%;
+  float:left;
+}}
+\Css{.parallel .rtext{
+  width: 48\%;
+  margin-left: 52\%;
+}}
+>>>
+
+%%%%%%%%%%%%%%%%%
 \section{skak}
 
 \<configure html4 skak\><<<



More information about the tex4ht-commits mailing list.