[tex4ht] Wrong fontsize in footnotes with diacritics [oolatex]
Nicolai Rostov
nicolai.rostov at gmail.com
Wed Feb 27 23:53:25 CET 2013
Hi,
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---
\documentclass{article}
\begin{document}
First sentence.\footnote{First footnote.}
Second sentence.\footnote{S{\' e}cond footnote.}
\end{document}
---END---
$ mk4ht oolatex mydoc.tex
The patch below is based on michal.h21's workaround at
http://tex.stackexchange.com/questions/88498/
---BEGIN---
diff --git a/ooffice.4ht b/ooffice.4ht
index dd286a4..4f05560 100644
--- a/ooffice.4ht
+++ b/ooffice.4ht
@@ -2507,8 +2507,7 @@
xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew
}
{\EndNoFonts \RecallEndP
\HCode{</\text:footnote-citation><\text:footnote-body>
- <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 @@
xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew
{\HCode{</text:p>}}%
\ShowPar \special{t4ht@)}%
}
- {\RecallHtmlPar \HCode{</text:p></\text:footnote-body></\text:footnote>}%
+ {\RecallHtmlPar
\EndNoFonts\HCode{</text:p></\text:footnote-body></\text:footnote>}%
\expandafter\global\expandafter
\let\csname (fn\FNnum x\minipageNum
)\endcsname\def
---END---
Thank you,
Nicolai
More information about the tex4ht
mailing list