#123 incorrectly sized page

open
nobody
styles (10)
5
2006-06-16
2006-06-16
Regueiro
No

Hi,

The page number is cutoff and whitespace appears at the
bottom of the page. I think the page size is incorrect
when I convert to ps and then pdf.

Attached is the pdf file.

Here is the top line

\documentclass[ps,contemporain,slideColor,colorBG,accumulate,nototal]{prosper}

I'm using latex, dvips, and ps2pdf.

Does anyone know why the page size is not correct, and
if so how to fix it?

Thanks,

Rich Regueiro

Discussion

  • Regueiro

    Regueiro - 2006-06-16

    title page

     
  • Sinisa Segvic

    Sinisa Segvic - 2007-08-06

    Logged In: YES
    user_id=362110
    Originator: NO

    Hi,

    I see the same behaviour at Ubuntu feisty.

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

     
  • Sinisa Segvic

    Sinisa Segvic - 2007-08-06

    Logged In: YES
    user_id=362110
    Originator: NO

    Hi,

    I see the same behaviour at Ubuntu feisty.

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

     
  • Vincent Lönngren

    Logged In: YES
    user_id=2001281
    Originator: NO

    I'm getting this problem too, with these versions: prosper 1.6, dvipdf 8.61, dvips 5.96.1 and GPL Ghostscript 8.61.

     
  • Vincent Lönngren

    Logged In: YES
    user_id=2001281
    Originator: NO

    The workaround of ssegvic does not work for me for some reason. Also, wouldn't it produce a4-output? That's nice for paper printing, but I'd prefer most presentations to be screen shaped.

     

Log in to post a comment.