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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu May 11 16:46:56 CEST 2017


Author: michal_h21
Date: 2017-05-11 17:46:56 +0300 (Thu, 11 May 2017)
New Revision: 313

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
Added basic support for mdvlist environments in ooffice output

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2017-05-10 22:21:22 UTC (rev 312)
+++ trunk/lit/ChangeLog	2017-05-11 14:46:56 UTC (rev 313)
@@ -1,5 +1,10 @@
 2017-05-10  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-ooffice.tex (ooffice.4ht): Added basic support for mdwlist
+	environments enumerate* and itemize*
+
+2017-05-10  Michal Hoftich  <michal.h21 at gmail.com>
+
 	* mktex4ht-cnf.tex: uncommented mktex4ht configuration.
 	* tex4ht-info.tex (info4ht.4ht),
 	tex4ht-info-html4.tex (infoht4.4ht),

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2017-05-10 22:21:22 UTC (rev 312)
+++ trunk/lit/tex4ht-ooffice.tex	2017-05-11 14:46:56 UTC (rev 313)
@@ -10905,6 +10905,51 @@
 \Hnewline
 >>>
 
+\subsection{mdwlist}
+
+\<configure ooffice mdwlist\><<<
+
+\ConfigureList{itemize*}%
+   {\EndP\HCode{|<input line num|><\text:unorderedlist
+      text:style-name="Itemize|<cond rtl class|>"
+        >\Hnewline}\def\end at Item{}\bgroup
+     \Configure{HtmlPar}
+        {\EndP\HCode{<text:p
+            text:style-name="Inside-itemize|<cond rtl class|>"
+                     >}}
+        {\EndP\HCode{<text:p
+            text:style-name="Inside-itemize|<cond rtl class|>"
+                      >}}
+        {\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:unorderedlist>\Hnewline}\ShowPar}
+   {\EndP\end at Item\DeleteMark}
+   {\HCode{<text:list-item>}\par\ShowPar
+      \def\end at Item{\HCode{</text:list-item>\Hnewline}}}
+
+\ConfigureList{enumerate*}%
+   {\EndP\HCode{<\text:orderedlist
+      text:style-name="Enumerate|<cond rtl class|>"
+       >\Hnewline}\def\end at Item{}\bgroup
+     \Configure{HtmlPar}
+      {\EndP\HCode{<text:p
+           text:style-name="Inside-enumerate|<cond rtl class|>"
+            >}}
+      {\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
+     </\text:orderedlist>\Hnewline}\ShowPar}
+   {\EndP\end at Item\DeleteMark}
+   {\HCode{<text:list-item>}\par\ShowPar
+     \def\end at Item{\HCode{</text:list-item>\Hnewline}}}
+>>>
+
 %%%%%%%%%%%%%%%%%%
 \section{Verbatim}
 %%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list