chiark / gitweb /
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/cfd
authorMark Wooding <mdw@distorted.org.uk>
Mon, 27 Apr 2020 09:07:45 +0000 (10:07 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 27 Apr 2020 09:07:45 +0000 (10:07 +0100)
* 'master' of git.distorted.org.uk:~mdw/publish/public-git/cfd:
  texinice.tex: Cope with new names for page-dimension registers.

texinice.tex

index 27b84cf2e82bc10fb598181370db8134a7a0f0f0..35ba1270c00b360b04f4aeba9f4770abde43ea0f 100644 (file)
   \global\outervsize=\vsize
   \global\advance\outervsize by 0.6in
 
-  \global\pagewidth=\hsize
-  \global\pageheight=\vsize
+  \ifx\txipagewidth\@@undefined
+    \global\let\txipagewidth=\pagewidth
+    \global\let\txipageheight=\pageheight
+  \fi
+  \global\txipagewidth=\hsize
+  \global\txipageheight=\vsize
 }
 
 \global\contentsrightmargin = 0pt