From: Mark Wooding Date: Tue, 7 Apr 2020 19:14:44 +0000 (+0100) Subject: texinice.tex: Cope with new names for page-dimension registers. X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/commitdiff_plain/bc2bdee4506fc39997c8f0451a26277c8b57076d texinice.tex: Cope with new names for page-dimension registers. 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. (cherry picked from commits 892a9f865ad8baed5c67ddf9d68301c916bfb0f1 and 0b5f869b689a085655df9e1a261eacf8c7facade) --- diff --git a/texinice.tex b/texinice.tex index 27b84cf..b4d84de 100644 --- a/texinice.tex +++ b/texinice.tex @@ -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