diff options
Diffstat (limited to 'support/TeX4ht/source/tex4ht-ooffice.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-ooffice.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/support/TeX4ht/source/tex4ht-ooffice.tex b/support/TeX4ht/source/tex4ht-ooffice.tex index 1eac506543..bce861e38f 100644 --- a/support/TeX4ht/source/tex4ht-ooffice.tex +++ b/support/TeX4ht/source/tex4ht-ooffice.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-ooffice.tex 983 2021-09-17 14:27:15Z michal_h21 $ +% $Id: tex4ht-ooffice.tex 993 2021-10-12 15:19:37Z michal_h21 $ % compile 3 times: latex tex4ht-ooffice % htlatex tex4ht-ooffice "xhtml,4,sections+" % @@ -467,10 +467,10 @@ in the character style passed as the second argument. \<utilities\><<< \def\:DefineParagraph#1#2{% \Configure{#1} - {\IgnorePar\EndP \HCode{<!--start of #1 -->}} - {\IgnorePar\EndP \HCode{<!--start of #1 -->}} - {\bgroup\HTML:PAR{#1-p}{#1-p}\par\HCode{<text:span text:style-name="#2" >}} - {\HCode{</text:span><text:s/><text:s/>\Hnewline}\egroup} + {\ifvmode\IgnorePar\fi\EndP \HCode{<!--start of #1 -->}} + {\ifvmode\IgnorePar\fi\EndP \HCode{<!--start of #1 -->}} + {\bgroup\HTML:PAR{#1-p}{#1-p}\ifvmode\IgnorePar\fi\EndP\par\HCode{<text:span text:style-name="#2" >}} + {\HCode{</text:span><text:s/><text:s/>\Hnewline}\egroup\IgnorePar} \:ParagraphStyle{#1-p} } >>> |