incorrect paper size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
prosper (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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[
\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
Changed in prosper: | |
assignee: | pascal-devuyst → nobody |
status: | Incomplete → New |
Thanks for your bug report.
Please attach the output of the printingbug info script for some basic information about your printing setup, it can be found here: https:/ /wiki.ubuntu. com/PrintingBug InfoScript.
Does changing the system wide default paper size give any difference, use the following command from a terminal:
$ sudo dpkg-reconfigure libpaper1