diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-18 22:12:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-18 22:12:39 +0000 |
commit | 45c6e09eb8045e03b06158780f9fde21742d4cb3 (patch) | |
tree | 3503fb0d0e0a5c6006e13c2e33776210b9cabd9f /Master/texmf-dist/tex/latex/tex4ebook | |
parent | a276123bbbc409023c9148d82eae1f94c79fdd13 (diff) |
tex4ebook (18feb22)
git-svn-id: svn://tug.org/texlive/trunk@62076 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tex4ebook')
-rw-r--r-- | Master/texmf-dist/tex/latex/tex4ebook/tex4ebook-epub3.4ht | 11 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.4ht | 2 |
2 files changed, 7 insertions, 6 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 diff --git a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.4ht b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.4ht index c078eee57e2..8686c2932f5 100644 --- a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.4ht +++ b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.4ht @@ -342,7 +342,7 @@ href="#1" media-type="\a:CoverMimeType" />}} % define toc levels which should be included in the NCX file \NewConfigure{resettoclevels}{1} -\Configure{resettoclevels}{part,chapter,section,subsection,subsubsection,paragraph} +\Configure{resettoclevels}{part,appendix,chapter,section,subsection,subsubsection,paragraph} \def\:tempa{% \EndP% |