diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht')
-rw-r--r-- | Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht index b30e1c3ef15..9d49b624e67 100644 --- a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht +++ b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht @@ -13,9 +13,10 @@ %%%%%%%%%%%%%%%%%%%%%%% \Configure{tableofcontents}{ \a:NavMap - \resettoclevels{part,chapter,section,subsection,subsubsection} - \navsection{part}{part,chapter,section,subsection,subsubsection} - \navsection{chapter}{chapter,section,subsection,subsubsection} + \resettoclevels{part,appendix,chapter,section,subsection,subsubsection} + \navsection{part}{part,appendix,chapter,section,subsection,subsubsection} + \navsection{appendix}{appendix,chapter,section,subsection,subsubsection} + \navsection{chapter}{appendix,chapter,section,subsection,subsubsection} \navsection{section}{section,subsection,subsubsection} \navsection{subsection}{subsection,subsubsection} \navsection{subsubsection}{subsubsection} @@ -26,13 +27,13 @@ \Configure{NavMap}{\ifvmode\IgnorePar\fi\EndP\boolfalse{tocnoempty}\HCode{<nav id="toc" epub:type="toc">\Hnewline<ol>}% \opf:registerfilename{\FileName} \opf:add:property{nav} -}{\usetoclevels{part,chapter,section,subsection,subsubsection}% +}{\usetoclevels{part,appendix,chapter,section,subsection,subsubsection}% \ifbool{tocnoempty}{}{\HCode{<li><a href="\jobname.\:html">Document</a></li>}} \HCode{</ol></nav>}} %%%%%%%%%%% \Configure{NavSection}{% \booltrue{tocnoempty} - \HCode{<li>}}{\HCode{<ol>\Hnewline}}{}{\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 |