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

PATCH: pws-22: zsh.texi - move layout info to the beginning



This patch moves both @afourpaper/@setchapternewpage before @setfilename. The
reasons are:

 - @setfilename reads systemwide texinfo.cnf that can be used to override page
dimensions
 - texi2dvi has option to run command after @setfilename

With this patch you can use either method to change default formatting (that was
not easy before). @setchapternewpage off is actually redundant and can be
omitted. The same probably applies to @afourpaper, because for some obscure
reasons it still formats for US Letter instead of A4

/andrej

--- zsh.yo.org  Mon Jun 14 20:14:29 1999
+++ zsh.yo      Wed Jun 16 19:15:28 1999
@@ -15,12 +15,10 @@
 def(ifzshone)(1)()\
 def(ifzshall)(1)()\
 )\
-ifztexi(\
+ifztexi(
 texinfo(zsh.info)(zsh)
-NOTRANS(@setchapternewpage off
-@iftex
+NOTRANS(@iftex
 @finalout
-@afourpaper
 @end iftex)
 texititlepage()
 texititle(The Z Shell Guide)
--- ztexi.yo.org        Mon Jun 14 20:14:29 1999
+++ ztexi.yo    Wed Jun 16 17:48:35 1999
@@ -11,7 +11,6 @@

 ATEXIT(\
   NL()\
-  NOTRANS(@setchapternewpage off)NL()\
   NOTRANS(@contents)NL()\
   NOTRANS(@bye)NL()\
 )
@@ -47,6 +46,10 @@
   STDPAR()\
   NOTRANS(\input texinfo.tex)NL()\
   NOTRANS(@c %**start of header)NL()\
+  NOTRANS(@iftex)NL()\
+  NOTRANS(@afourpaper)NL()\
+  NOTRANS(@setchapternewpage off)NL()\
+  NOTRANS(@end iftex)NL()\
   NOTRANS(@setfilename )ARG1NL()\
   NOTRANS(@settitle )ARG2NL()\
   NOTRANS(@c %**end of header)NL()\



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