[tex4ht] Wrong fontsize in footnotes with diacritics [oolatex]

Nicolai Rostov nicolai.rostov at gmail.com
Wed Feb 27 23:53:25 CET 2013


I'd like to submit a bug report. When a LaTeX document containing 2
footnotes in which footnote #1 is plain ASCII, but footnote #2 has
diacritics or other extended characters, is converted to OpenDocument
Text, the number appended to footnote #1 on the bottom of the page is
smaller than the number in footnote #2.

For example:

---BEGIN mydoc.tex---
First sentence.\footnote{First footnote.}
Second sentence.\footnote{S{\' e}cond footnote.}

$ mk4ht oolatex mydoc.tex

The patch below is based on michal.h21's workaround at

diff --git a/ooffice.4ht b/ooffice.4ht
index dd286a4..4f05560 100644
--- a/ooffice.4ht
+++ b/ooffice.4ht
@@ -2507,8 +2507,7 @@
    {\EndNoFonts \RecallEndP
-    <text:p\Hnewline text:style-name="Footnote">%<text:s/>
+    <text:p\Hnewline text:style-name="Footnote">}\NoFonts%
     \SaveHtmlPar \Configure{HtmlPar}
    {\EndP \HCode{<text:p text:style-name="Footnote">}}
    {\EndP \HCode{<text:p text:style-name="Footnote">}}
@@ -2516,7 +2515,7 @@
 \ShowPar \special{t4ht@)}%
-   {\RecallHtmlPar \HCode{</text:p></\text:footnote-body></\text:footnote>}%
+   {\RecallHtmlPar
    \let\csname (fn\FNnum x\minipageNum

Thank you,


More information about the tex4ht mailing list