summaryrefslogtreecommitdiff
path: root/support/tex4ebook/tex4ebook-epub3.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'support/tex4ebook/tex4ebook-epub3.4ht')
-rw-r--r--support/tex4ebook/tex4ebook-epub3.4ht4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/tex4ebook/tex4ebook-epub3.4ht b/support/tex4ebook/tex4ebook-epub3.4ht
index 0e1bcd85db..a470e053d5 100644
--- a/support/tex4ebook/tex4ebook-epub3.4ht
+++ b/support/tex4ebook/tex4ebook-epub3.4ht
@@ -25,7 +25,7 @@
}{\b:NavMap}{}{}{}
%%%%%%%%%%%
\newcount\:toccount
-\Configure{NavMap}{\ifvmode\IgnorePar\fi\EndP\boolfalse{tocnoempty}\global\advance\:toccount by1\HCode{<nav id="toc\the\:toccount" \ifnum\:toccount<2 epub:type="toc"\fi>\Hnewline<ol>}%
+\Configure{NavMap}{\ifvmode\IgnorePar\fi\EndP\boolfalse{tocnoempty}\global\advance\:toccount by1\HCode{<nav id="toc\the\:toccount" class="toc" \ifnum\:toccount<2 epub:type="toc"\fi>\Hnewline<ol>}%
\opf:registerfilename{\FileName}
\ifnum\:toccount<2 \opf:add:property{nav}\fi
}{\usetoclevels{part,appendix,chapter,section,subsection,subsubsection}%
@@ -36,7 +36,7 @@
\booltrue{tocnoempty}
\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;}}
+\Css{nav.toc ol{list-style: none;}}
%%%% End toc nav configuration
\def\CoverMetadata#1{%
\special{t4ht+@File: #1}%