Public bug reported:

When creating pdf presentations with prosper in feisty,
the resulting pdf files have a wrong paper size,
letter instead of A4.

How to reproduce:
===========

% file: try.tex
\documentclass[a4paper,pdf,default]{prosper}
\begin{document}
  bla bla bla
\end{document}

$ latex try 
$ dvips -ta4 try.dvi -o try.ps
$ ps2pdf -sPAPERSIZE=a4 try.ps

$ gv try.ps % (A4 paper, OK)
$ xpdf try.pdf % (letter paper, WRONG)
$ pdfinfo try.pdf % (says A4!)

How to fix
======
0. open try.ps in vi
1. search for CropBox
2. replace the line below...
SDict begin [ /CropBox [10 40 594 800] /PAGES pdfmark end
3. with the following line
SDict begin [ /CropBox [0 0 595 842] /PAGES pdfmark end
4. ps2pdf -sPAPERSIZE=a4 try.ps
5. xpdf try.pdf % a4 paper, OK)


How this came to pass
==============

I guess some other package (used by prosper)
redefines pdf cropping box
which is set in prosper to A4,
despite we say a4paper in documentclass...

HTH,

SiniĊĦa

** Affects: prosper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
incorrect paper size
https://bugs.launchpad.net/bugs/130593
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to