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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Nov 26 23:45:07 CET 2020


Author: michal_h21
Date: 2020-11-27 00:45:07 +0200 (Fri, 27 Nov 2020)
New Revision: 847

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
support for \paragraph etc. in Koma classes

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-11-26 20:07:45 UTC (rev 846)
+++ trunk/lit/ChangeLog	2020-11-26 22:45:07 UTC (rev 847)
@@ -5,6 +5,9 @@
 	tex4ht-ooffice.tex (ooffice.4ht): support for Csquotes quotation
 	environments.
 	https://puszcza.gnu.org.ua/bugs/?490
+	* tex4ht-ooffice.tex (ooffice.4ht): support for \subsubsection and
+	\paragraphs in the scrbook class.
+	https://puszcza.gnu.org.ua/bugs/?491
 
 2020-11-23  Karl Berry  <karl at freefriends.org>
 

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2020-11-26 20:07:45 UTC (rev 846)
+++ trunk/lit/tex4ht-ooffice.tex	2020-11-26 22:45:07 UTC (rev 847)
@@ -4095,9 +4095,48 @@
 
 
 
+\<basic scr ooffice sections\><<<
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else \@seccntformat{subsubsection}\fi }
+\Configure{subsubsection}
+   {\IgnorePar\EndP \HCode{<!--start of subsubsection-->}}   
+   {\IgnorePar\EndP \HCode{<!--end of subsubsection-->}}
+   {\HCode{<text:h 
+           text:style-name="\csname a:Heading-4|<cond rtl class|>\endcsname"
+                   \text:outlinelevel="4"   ><text:span
+                   text:style-name="subsubsection"  >}\TitleMark\space
+    \HCode{</text:span>}\IgnoreIndent}
+   {\HCode{</text:h>\Hnewline}\par\ShowPar}
 
+\Configure{paragraph}
+   {\par\ShowPar \noindent\HCode{<!--start of paragraph-->}}   
+   {\HCode{<!--end of paragraph-->}\par\ShowPar}
+   {\HCode{<text:span text:style-name="paragraph-h" >}}
+   {\HCode{</text:span><text:s/><text:s/>\Hnewline}\IgnorePar}
+\Configure{subparagraph}
+   {\par\ShowPar \noindent\HCode{<!--start of subparagraph-->}}   
+   {\HCode{<!--end of subparagraph-->}\par\ShowPar}
+   {\HCode{<text:span text:style-name="subparagraph-h" >}}
+   {\HCode{</text:span><text:s/><text:s/>\Hnewline}\IgnorePar}
+\NewConfigureOO{paragraph-h}
+\ConfigureOO{paragraph-h}{
+   <style:style style:name="paragraph-h" style:family="text">\Hnewline
+      <style:text-properties fo:font-style="normal" 
+                        fo:font-weight="bold"/>\Hnewline
+   </style:style>\Hnewline
+}
+\NewConfigureOO{subparagraph-h}
+\ConfigureOO{subparagraph-h}{
+   <style:style style:name="subparagraph-h" style:family="text">\Hnewline
+      <style:text-properties fo:font-style="normal" 
+                        fo:font-weight="bold"/>\Hnewline
+   </style:style>\Hnewline
+}
+>>>  
 
 
+
 \<scrbook end units\><<<
 \Configure{endlikeparagraph}
    {paragraph,subsubsection,likesubsubsection,subsection,%



More information about the tex4ht-commits mailing list.