Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 of 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.

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

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).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.