X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/1f79a056146f0b172111b8379ccc344002848e66..9419af788cb0a97690da8b3ee6c59f2665d36533:/texinice.tex diff --git a/texinice.tex b/texinice.tex index bb2b678..b4d84de 100644 --- a/texinice.tex +++ b/texinice.tex @@ -11,12 +11,12 @@ % 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. @@ -43,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