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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Fri Jan 18 12:40:07 CET 2019


Author: michal_h21
Date: 2019-01-18 13:40:07 +0200 (Fri, 18 Jan 2019)
New Revision: 485

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
Added configurations for verse.4ht

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-01-17 22:44:35 UTC (rev 484)
+++ trunk/lit/ChangeLog	2019-01-18 11:40:07 UTC (rev 485)
@@ -1,3 +1,7 @@
+2019-01-18  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-ooffice.tex (ooffice.4ht): added configurations for verse.4ht.
+
 2019-01-17  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (tuenc-xetex-input.4ht): fixed Unicode range character

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2019-01-17 22:44:35 UTC (rev 484)
+++ trunk/lit/tex4ht-ooffice.tex	2019-01-18 11:40:07 UTC (rev 485)
@@ -6768,6 +6768,70 @@
 \Hnewline}
 >>>
 
+\<configure ooffice verse\><<<
+\ConfigureEnv{verse}
+   {|<begin env section|>%
+    \HCode{<!--start verse-->}%
+    \bgroup
+\Configure{HtmlPar}
+   {\ifvmode \IgnorePar\fi \EndP\end:verseln
+    \HCode{<text:p text:style-name="verse-stanza"  >}}
+   {\ifvmode \IgnorePar\fi \EndP\end:verseln
+     \HCode{<text:p text:style-name="verse-stanza"  >}}
+   {\HCode{</text:p>}\let\end:verseln\empty}
+   {\HCode{</text:p>}\let\end:verseln\empty}%
+       \let\end:verseln\empty
+   }
+   {\egroup 
+   \ifvmode \IgnorePar\fi \EndP\HCode{<!--end verse-->}|<end env section|>
+   \par\ShowPar}
+   {}{}
+
+\ConfigureList{verse}
+   {} {\ifvmode \IgnorePar\fi \EndP \end:verseln}
+   {\parindent=\z@}  {}
+
+\Configure{verseline}
+   {\ifvmode \IgnorePar\fi \EndP \end:verseln  
+    \HCode{<text:p text:style-name="verse">}\def\end:verseln{\HCode{</text:p>}}}
+   {\ifvmode \IgnorePar\fi \EndP \end:verseln
+    \HCode{<text:p text:style-name="verse">}%
+    \def\end:verseln{\HCode{</text:p>}}}  
+
+\ConfigureOO{verse}{\Hnewline
+<style:style style:name="verse"
+             style:family="paragraph"
+             style:parent-style-name="Text-body"
+             style:next-style-name="Text-body">
+<style:paragraph-properties  fo:margin-left="1.499cm"
+             fo:margin-right="1cm"
+             fo:margin-top="0cm"
+             fo:margin-bottom="0cm"
+             fo:text-indent="-0.499cm"
+             style:auto-text-indent="false">
+   <style:tab-stops/>
+</style:paragraph-properties >
+</style:style>
+\Hnewline}
+
+\NewConfigureOO{verse-stanza}
+\ConfigureOO{verse-stanza}{\Hnewline
+<style:style style:name="verse-stanza"
+             style:family="paragraph"
+             style:parent-style-name="Text-body"
+             style:next-style-name="Text-body">
+<style:paragraph-properties  fo:margin-left="1.499cm"
+             fo:margin-right="1cm"
+             fo:margin-top="0.5cm"
+             fo:margin-bottom="0cm"
+             fo:text-indent="-0.499cm"
+             style:auto-text-indent="false">
+   <style:tab-stops/>
+</style:paragraph-properties >
+</style:style>
+\Hnewline}
+>>>
+
 %%%%%%%%%%%%%
 \subsection{Paragraph}
 %%%%%%%%%%%%%
@@ -6789,6 +6853,7 @@
 
 
 
+
 %%%%%%%%%%%%%
 \subsection{Table}
 %%%%%%%%%%%%%



More information about the tex4ht-commits mailing list