4

This problem appeared after I installed XeTeX from TeX Live 2011. Now, many of my files are rendering with a very wide right-hand margin.

Here is some sample code:

\documentclass{octavo}
\usepackage{lipsum}
\begin{document}
    \lipsum
\end{document}

When running pdflatex or xelatex on the file, the right 60% of the file is white and the text is all to the right. With xelatex, the output PDF always ignores my custom page dimensions and only gives A4 paper with my text printed very small in the top left corner.

1 Answer 1

8

Octavo does not set \pdfpagewidth and \pdfpageheight. You need to do it yourself, for example

\documentclass[crown]{octavo}
\pdfpagewidth=5in
\pdfpageheight=7.5in
\usepackage{lipsum}
\begin{document}
    \lipsum[1-12]
\end{document}

(see http://www.trussel.com/books/booksize.htm or octavo source code for other classic sizes).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .