Adjust page header/footer widths for tweaked textwidths
In 2c builds, Legal and TOC pages are temporarily switched to
1c mode, without adjusting header/footer width.
I was lazy in commit 114e330a528a ("Narrow textwidth of legal and
TOB pages in 2c build") and failed to investigate other approaches.
It turns out that the "geometry" package provides useful macros for
similar purposes with the bonus of natural adjustment of header/footer
widths.
Let's apply the "geometry" way of switching between 2c/1c layouts.
For bibliography pages, use slightly wider textwidth than that of
-1c builds for non-ebook size builds.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 file changed