[tex4ht-commits] [SCM] tex4ht updated: r1373 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Mon Sep 25 13:08:51 CEST 2023
Author: michal_h21
Date: 2023-09-25 11:08:51 +0000 (Mon, 25 Sep 2023)
New Revision: 1373
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-ooffice.tex
Log:
don't use text:h element in list environments
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-09-22 15:05:09 UTC (rev 1372)
+++ trunk/lit/ChangeLog 2023-09-25 11:08:51 UTC (rev 1373)
@@ -1,3 +1,10 @@
+2023-09-25 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-ooffice.tex (ooffice.4ht): use <text:p> elements instead of
+ <text:h> for list environments. They were included in the TOC after
+ automatic TOC update in LibreOffice.
+ https://tug.org/pipermail/tex4ht/2023q3/003399.html
+
2023-09-22 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): test for the existence of
Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex 2023-09-22 15:05:09 UTC (rev 1372)
+++ trunk/lit/tex4ht-ooffice.tex 2023-09-25 11:08:51 UTC (rev 1373)
@@ -2018,11 +2018,11 @@
\HCode{</text:list-item>}%
}%
\HCode{<text:list-item>%
- <text:h text:style-name="dt|<cond rtl class|>"\Hnewline >%
+ <text:p text:style-name="dt|<cond rtl class|>"\Hnewline >%
}%
}
{\EndP
- \HCode{</text:h>}%
+ \HCode{</text:p>}%
\HCode{<!--dd\Hnewline class="description"-->}%
\par
}
@@ -2292,9 +2292,9 @@
\RecallHtmlPar
\HCode{</text:list-item></text:list>}\ShowPar}
{\end:itm \global\def\end:itm{\EndP\HCode{</text:list-item>}}%
- \HCode{<text:list-item><text:h
+ \HCode{<text:list-item><text:p
text:style-name="dt|<cond rtl class|>"\Hnewline >}\bgroup \bf}
- {\egroup\HCode{</text:h>}\par\ShowPar}
+ {\egroup\HCode{</text:p>}\par\ShowPar}
>>>
@@ -2608,7 +2608,7 @@
\PopMacro\end:Itm \global\let\end:Itm\end:Itm
\HCode{</text:list>}\RecallHtmlPar \ShowPar}
{\end:itm \end:Itm \gdef\end:Itm{\HCode{</text:list-item>}}%
- \gdef\end:itm{\HCode{</text:h>}}\HCode{<text:list-item><text:h
+ \gdef\end:itm{\HCode{</text:p>}}\HCode{<text:list-item><text:p
text:style-name="dt|<cond rtl class|>"\Hnewline >}\bgroup \bf}
{\egroup \end:itm \gdef\end:itm{\HCode{</text:p>}}%
\HCode{<text:p\Hnewline
@@ -2774,7 +2774,7 @@
\PopMacro\end:Itm \global\let\end:Itm\end:Itm
\HCode{</text:list>}\RecallHtmlPar \ShowPar}
{\end:itm \end:Itm \gdef\end:Itm{\HCode{</text:list-item>}}%
- \gdef\end:itm{\HCode{</text:h>}}\HCode{<text:list-item><text:h
+ \gdef\end:itm{\HCode{</text:p>}}\HCode{<text:list-item><text:p
text:style-name="dt|<cond rtl class|>"\Hnewline >}\bgroup \bf}
{\egroup \end:itm \gdef\end:itm{\HCode{</text:p>}}%
\HCode{<text:p\Hnewline
@@ -3156,10 +3156,10 @@
\EndP\HCode{</text:p></text:list-item></text:list>}\ShowPar}
{\ifvmode \IgnorePar\fi \EndP
\end:itm \global\def\end:itm{\EndP\HCode{</text:p></text:list-item>}}%
- \HCode{<text:list-item><text:h
+ \HCode{<text:list-item><text:p
text:style-name="printthebibliography-dt"\Hnewline>}\bgroup \bf}
{\ifvmode \IgnorePar\fi \EndP
- \egroup\HCode{</text:h><text:p
+ \egroup\HCode{</text:p><text:p
text:style-name="printthebibliography-dd"\Hnewline>}\par\ShowPar}
>>>
@@ -3175,15 +3175,15 @@
\HCode{<text:list
text:style-name="printshorthands"
text:name="printshorthands"\Hnewline
- ><text:list-item><text:h
+ ><text:list-item><text:p
text:style-name="printshorthands-dt"\Hnewline>}%
}
{\ifvmode \IgnorePar\fi \EndP
\HCode{</text:list-item></text:list>}}
{\ifvmode \IgnorePar\fi \EndP
- \HCode{</text:list-item><text:list-item><text:h
+ \HCode{</text:list-item><text:list-item><text:p
text:style-name="printshorthands-dt"\Hnewline>}}
- {\HCode{</text:h><text:p text:style-name="printshorthands-dd">}%
+ {\HCode{</text:p><text:p text:style-name="printshorthands-dd">}%
\Next:EndP{\HCode{</text:p>}}%
}
\Configure{@shorthands}
@@ -8071,7 +8071,7 @@
\special{t4ht at .}%
}
{\end:itm \end:Itm \gdef\end:Itm{\HCode{</text:list-item>}}%
- \gdef\end:itm{\HCode{</text:h>}\special{t4ht at .}}\HCode{<text:list-item><text:h
+ \gdef\end:itm{\HCode{</text:p>}\special{t4ht at .}}\HCode{<text:list-item><text:p
text:style-name="algorithmic-dt|<cond rtl class|>"\Hnewline >}\bgroup \bf
\special{t4ht at . }%
}
@@ -10770,9 +10770,9 @@
\RecallHtmlPar
\HCode{</text:list-item></text:list>}\ShowPar}
{\end:itm \global\def\end:itm{\EndP\HCode{</text:list-item>}}%
- \HCode{<text:list-item><text:h
+ \HCode{<text:list-item><text:p
text:style-name="dt|<cond rtl class|>"\Hnewline >}\bgroup \bf}
- {\egroup\HCode{</text:h>}\par\ShowPar}%
+ {\egroup\HCode{</text:p>}\par\ShowPar}%
}
>>>
More information about the tex4ht-commits
mailing list.