zsh-workers
 help / color / mirror / code / Atom feed
* zsh.pdf: table of contents is at the end of pdf
@ 2014-06-26 13:37 Jun T.
  0 siblings, 0 replies; only message in thread
From: Jun T. @ 2014-06-26 13:37 UTC (permalink / raw)
  To: zsh-workers

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))\x01
 includefile(Zsh/intro.yo)\x01
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()\
 )
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-26 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-26 13:37 zsh.pdf: table of contents is at the end of pdf Jun T.

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).