}
% Disable numbering of the TOC by the reading system, numbers are added by tex4ht
\Css{nav.toc ol{list-style: none;}}
%%%% End toc nav configuration
@@ -68,7 +68,7 @@
\Configure{@HEAD}{}
\Configure{@HEAD}{\HCode{\Hnewline}}
\Configure{@HEAD}{\HCode{\Hnewline}}
+ (http://www.cse.ohio-state.edu/\string~gurari/TeX4ht/)" />\Hnewline}}
\Configure{@HEAD}{\HCode{\Hnewline}}
@@ -85,37 +85,38 @@
% footnotebox - configure box in which footnotes are printed
% default configuration doesn't work in ibooks, don't know why
\NewConfigure{footnotebox}{2}
-\Configure{footnotebox}{\HCode{\Hnewline}}
-{\HCode{\Hnewline\Hnewline}}
-\newbox\footnotebox
+\Configure{footnotebox}{\ifvmode\IgnorePar\fi\HCode{\Hnewline}}%
+{\ifvmode\IgnorePar\fi\HCode{\Hnewline\Hnewline}}%
+\newbox\footnotebox%
% We must create new link command, so footnote mark can link to footnote text
\LinkCommand\fnlink{aside,href,id,class="footnote" epub:type="footnote"}
-\Configure{footnotemark}{\NoFonts\Link[ epub:type="noteref"]{fn\FNnum x\minipageNum}{}}{\EndLink\EndNoFonts}
-\Configure{footnotetext}{\global\setbox\footnotebox=\vtop\bgroup\NoFonts%
- \ifvoid\footnotebox\else\unvbox\footnotebox\fi%
- \IgnorePar%
- \bgroup%
- \fnlink{}{fn\FNnum x\minipageNum}\Tg