summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-ooffice.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-13 03:01:03 +0000
committerNorbert Preining <norbert@preining.info>2021-10-13 03:01:03 +0000
commitf3646ee8d559655d609cfc1108a77dea360c933a (patch)
tree2be9068915923c430bb3e04fc6346e1e3f56ecb6 /support/TeX4ht/source/tex4ht-ooffice.tex
parent20b79660fb560eb1dd8e80d44837e0d4c17ca03c (diff)
CTAN sync 202110130301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-ooffice.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-ooffice.tex10
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}
}
>>>