zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: pws-22: zsh.texi - move layout info to the beginning
@ 1999-06-16 15:33 Andrej Borsenkow
  0 siblings, 0 replies; only message in thread
From: Andrej Borsenkow @ 1999-06-16 15:33 UTC (permalink / raw)
  To: ZSH workers mailing list

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()\


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

only message in thread, other threads:[~1999-06-16 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-16 15:33 PATCH: pws-22: zsh.texi - move layout info to the beginning Andrej Borsenkow

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).