summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht')
-rw-r--r--Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht
index d7f470552cb..b30e1c3ef15 100644
--- a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht
+++ b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht
@@ -32,7 +32,9 @@
%%%%%%%%%%%
\Configure{NavSection}{%
\booltrue{tocnoempty}
- \HCode{<li>}\setbox0=\hbox\bgroup}{\HCode{<ol>\Hnewline}}{\egroup}{\Tg</ol>\Tg</li>}
+ \HCode{<li>}}{\HCode{<ol>\Hnewline}}{}{\Tg</ol>\Tg</li>}
+% 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
\def\CoverMetadata#1{%
\special{t4ht+@File: #1}%
@@ -88,7 +90,7 @@
\ifvoid\footnotebox\else\unvbox\footnotebox\fi%
\IgnorePar%
\bgroup%
- \fnlink{}{fn\FNnum x\minipageNum}\NoFonts\Tg<p>%
+ \fnlink{}{fn\FNnum x\minipageNum}\Tg<p>%
}{\EndNoFonts}
{%
\HCode{</p>\Hnewline}