summaryrefslogtreecommitdiff
path: root/support/tex4ebook/tex4ebook-epub3.4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-02-19 03:02:56 +0000
committerNorbert Preining <norbert@preining.info>2022-02-19 03:02:56 +0000
commit1db3acf2bbb07034aafc552f322633a96b748cf4 (patch)
tree01227822acc2f3b2641e108b814d38c64031ff4e /support/tex4ebook/tex4ebook-epub3.4ht
parent41041c6bdcedcc33698491c2caec4cd725a4fe97 (diff)
CTAN sync 202202190302
Diffstat (limited to 'support/tex4ebook/tex4ebook-epub3.4ht')
-rw-r--r--support/tex4ebook/tex4ebook-epub3.4ht11
1 files changed, 6 insertions, 5 deletions
diff --git a/support/tex4ebook/tex4ebook-epub3.4ht b/support/tex4ebook/tex4ebook-epub3.4ht
index b30e1c3ef1..9d49b624e6 100644
--- a/support/tex4ebook/tex4ebook-epub3.4ht
+++ b/support/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