TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:


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
up vote 7 down vote accepted

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


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

share|improve this answer

Your Answer


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.