texinice.tex: Cope with new names for page-dimension registers.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 7 Apr 2020 19:14:44 +0000 (20:14 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 7 Apr 2020 19:14:44 +0000 (20:14 +0100)
Texinfo 6.2 apparently renamed `\pagewidth' to `\txipagewidth', and
similarly for `\pageheight', to avoid some conflict with LuaTeX.  Fix
`@afourpaper' to with these new names.

texinice.tex

index 27b84cf..35ba127 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