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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Jan 7 14:00:27 CET 2022


Author: michal_h21
Date: 2022-01-07 13:00:27 +0000 (Fri, 07 Jan 2022)
New Revision: 1050

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
correctly handle centering in enumerate items

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-01-07 10:28:32 UTC (rev 1049)
+++ trunk/lit/ChangeLog	2022-01-07 13:00:27 UTC (rev 1050)
@@ -1,5 +1,8 @@
 2022-01-07  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-ooffice.tex (ooffice.4ht): correctly handle text alignment
+	environments inside enumerate items.
+
 	* tex4ht-ooffice.tex (ooffice.4ht): added NoSection option to
 	disable frames around text alignment environments.
 

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2022-01-07 10:28:32 UTC (rev 1049)
+++ trunk/lit/tex4ht-ooffice.tex	2022-01-07 13:00:27 UTC (rev 1050)
@@ -1856,8 +1856,10 @@
       {\EndP\HCode{<text:p
            text:style-name="Inside-enumerate|<cond rtl class|>"
              >}}
-      {\HCode{</text:p>\Hnewline}}     {\HCode{</text:p>\Hnewline}}}
-   {\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline
+      {\HCode{</text:p>\Hnewline}}     {\HCode{</text:p>\Hnewline}}
+      \gHAdvance\BegEnd:D by 1%
+    }
+   {\gHAdvance\BegEnd:D by -1\EndP\IgnorePar \egroup \HCode{</text:list-item>\Hnewline
      </\text:orderedlist>\Hnewline}\ShowPar}
    {\EndP\end at Item\DeleteMark}
    {\HCode{<text:list-item>}\par\ShowPar



More information about the tex4ht-commits mailing list.