chiark
/
gitweb
/
~mdw
/
cfd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
67a6b78
)
texinice.tex: Cope with new names for page-dimension registers.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 7 Apr 2020 19:14:44 +0000
(20:14 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 May 2020 01:46:39 +0000
(
02:46
+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.
(cherry picked from commits
892a9f865ad8baed5c67ddf9d68301c916bfb0f1
and
0b5f869b689a085655df9e1a261eacf8c7facade
)
texinice.tex
patch
|
blob
|
blame
|
history
diff --git
a/texinice.tex
b/texinice.tex
index 27b84cf2e82bc10fb598181370db8134a7a0f0f0..b4d84de89ee504d248447bac83f814f2fa5514bd 100644
(file)
--- 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