configuring default pagesize for ps2pdf

Help
2013-03-26
2013-03-26
  • Bob Tennent

    Bob Tennent - 2013-03-26

    I've set the default pagesize to A4 in the Settings window. Using TeX -> dvips -> ps2pdf, Postscript files have %%DocumentPaperSizes: a4 but PDF files have papersize letter. Shouldn't ps2pdf respect the DocumentPaperSizes declaration and how does one set the default papersize for ps2pdf in MiKTeX?

     
  • Bob Tennent

    Bob Tennent - 2013-03-26

    I'll just add that the option -sPAPERSIZE=a4 doesn't work with the MiKTeX ps2pdf.

     
  • Bob Tennent

    Bob Tennent - 2013-03-26

    What does work is to use dvips -ta4 ..., which generates

    %%BeginPaperSize: a4
    %%EndPaperSize

    instead of

    %%PaperSize: A4

    Looks to me like a dvips configuration bug.

     
  • Bob Tennent

    Bob Tennent - 2013-03-26

    It seems that A4size and A4 in the Settings window generate different dvips configurations. The A4 one is right for ps2pdf.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks