X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/b91e23910ae2f433757880fa1c7e7b4a66c586e6..bc2bdee4506fc39997c8f0451a26277c8b57076d:/texinice.tex

diff --git a/texinice.tex b/texinice.tex
index 8e7be39..b4d84de 100644
--- a/texinice.tex
+++ b/texinice.tex
@@ -1,7 +1,5 @@
 @tex % -*-tex-*-
 %
-% $Id: texinice.tex,v 1.1 1999/05/05 19:23:47 mdw Exp $
-%
 % Make Texinfo printed output look nice
 %
 % (c) 1998 Mark Wooding
@@ -13,23 +11,16 @@
 % it under the terms of the GNU General Public License as published by
 % the Free Software Foundation; either version 2 of the License, or
 % (at your option) any later version.
-% 
+%
 % This file is distributed in the hope that it will be useful,
 % but WITHOUT ANY WARRANTY; without even the implied warranty of
 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 % GNU General Public License for more details.
-% 
+%
 % You should have received a copy of the GNU General Public License
 % along with this file; if not, write to the Free Software Foundation,
 % Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-%----- Revision history -----------------------------------------------------
-%
-% $Log: texinice.tex,v $
-% Revision 1.1  1999/05/05 19:23:47  mdw
-% Initial revision
-%
-
 \global\parskip = 10pt
 \global\parindent = 0pt
 \global\defaultparindent = 0pt
@@ -52,8 +43,12 @@
   \global\outervsize=\vsize
   \global\advance\outervsize by 0.6in
 
-  \global\pagewidth=\hsize
-  \global\pageheight=\vsize
+  \ifx\txipagewidth\xxundefined
+    \global\let\txipagewidth=\pagewidth
+    \global\let\txipageheight=\pageheight
+  \fi
+  \global\txipagewidth=\hsize
+  \global\txipageheight=\vsize
 }
 
 \global\contentsrightmargin = 0pt
