The \newgeometry{} command is for index pages in 1c-layout can have three-column layout. It is not necessary for ebook-size build. Furthermore, ebook size can not afford the three-column index pages. Use the two-column layout instead. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- perfbook-lt.tex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/perfbook-lt.tex b/perfbook-lt.tex index 1272fc95..8a29310d 100644 --- a/perfbook-lt.tex +++ b/perfbook-lt.tex @@ -545,15 +545,17 @@ \cleardoublepage \phantomsection \IfTwoColumn{}{ +\IfEbookSize{\idxlayout{columns=2}}{ \newgeometry{body={6.5in,8.25in},centering=true,columnsep=0.25in} -} +}} \printindex \cleardoublepage \phantomsection \printindex[api] \IfTwoColumn{}{ +\IfEbookSize{}{ \restoregeometry -} +}} }{} % page-layout dimensions -- 2.17.1