Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh.pdf: table of contents is at the end of pdf



The table of contents (TOC) of the zsh.pdf is at the *end* of the document.
Is this intentional? I guess this is not what most of the users expect.

Moving it to the beginning (just after the cover pages) seems to be easy
(see the patch below), but I wonder if there might be some (secret) reason
for putting the TOC at the end.


diff --git a/Doc/zsh.yo b/Doc/zsh.yo
index 0d815c2..7f6dbd2 100644
--- a/Doc/zsh.yo
+++ b/Doc/zsh.yo
@@ -41,6 +41,7 @@ permission notice identical to this one.
 Permission is granted to copy and distribute translations of this manual
 into another language, under the above conditions for modified versions.
 texiendtitlepage()
+NOTRANS(@contents)
 )\
 ifnzman(includefile(Zsh/manual.yo))
 includefile(Zsh/intro.yo)
diff --git a/Doc/ztexi.yo b/Doc/ztexi.yo
index e58ff39..6368961 100644
--- a/Doc/ztexi.yo
+++ b/Doc/ztexi.yo
@@ -16,7 +16,6 @@ def(CMT)(0)(NOTRANS(@c))
 
 ATEXIT(\
   NL()\
-  NOTRANS(@contents)+NL()\
   NOTRANS(@bye)NL()\
 )
 





Messages sorted by: Reverse Date, Date, Thread, Author