[tex4ht] [bug #647] Sections create empty paragraphs in ODT
Michal Hoftich
puszcza-hackers at gnu.org.ua
Wed Feb 5 10:44:04 CET 2025
Follow-up Comment #1, bug #647 (project tex4ht):
Thanks for the report. Some code at the beginning of paragraphs seems to be
inserting spurious paragraphs. I cannot identify where, I am not even sure
whether LaTeX or TeX4ht inserts it. Anyway, this configuration file should
remove this extra paragraph:
\Preamble{xhtml}
\makeatletter
\catcode`\:=11
\def\@startsection#1{\ifvmode\HCode{}\IgnorePar\fi\@ifstar{\Configure{secType}{like#1}}%
{\Configure{secType}{#1}}%
\:Sc1\:startsection{#1}}%
\catcode`\:=12
\makeatother
\begin{document}
\EndPreamble
_______________________________________________________
Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?647>
_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>
More information about the tex4ht
mailing list.