I am having a problem trying to make a presentation in Latex, which will be much faster and easier than OO or PowerPoint if I can get it to work. I am compiling to dvi, converting that to ps (dvips) then converting that to pdf (ps2pdf) but ps2pdf insists on using a letter paper size so my slides are getting cut off as prosper outputs to A4 size. I have tried everything I could find and nothing is working. I know the problem is with ps2pdf/gs because the .ps file is the correct size, though the wrong orientation when I open it in evince.
I have tried:
-Using the -sPAPERSIZE=a4 option to ps2pdf
-Using the -dDEVICEWIDTHPOINTS= -dDEVICEHEIGHTPOINTS= options to ps2pdf
-Setting the default papersize to a4 in /etc/papersize and /etc/paper (the latter of which didn't exist prior to my creating it)
-Various environment variables which are supposed to set the gs default paper size
-Enabling the default paper size in gs_init.ps
I am at my wit's end as I have a presentation deadline coming up and would love to use Latex for it. Any help would be a life saver.
Also, if it is of any relevance I am doing this in a Linux system (which is evident from some of what I have said) and, in particular, Ubuntu.
Conversion Tools ⇒ ps2pdf page size problem
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
ps2pdf page size problem
The prosper class is obsolete [1]. Furthermore I can't see any relation between the A4 paper size and a presentation that actually runs on a screen.
[1] View topic: Obsolete packages and document classes - Avoid usage!
Best regards and welcome to the board
Thorsten
[1] View topic: Obsolete packages and document classes - Avoid usage!
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
Re: ps2pdf page size problem
There was a bug with dvips in TeXLive 2008
You should update to TeXLive2009. However, prosper
is no more maintained. Use the successor "powerdot".
Herbert
You should update to TeXLive2009. However, prosper
is no more maintained. Use the successor "powerdot".
Herbert
Re: ps2pdf page size problem
Thanks a lot for the suggestions guys. I didn't know prosper was deprecated or never would have even messed with it. I am using powerdot now and it's working great. It uses a standard letter size so the problem was avoided altogether. It did produce a PDF with the wrong orientation (was portrait when it should have been landscape) but a simple rotation in evince solved that problem. Thanks again for the help!
Re: ps2pdf page size problem
FWIW (not a lot) I fixed this using dvips -T and specifying width and height.
HTH
Ed
HTH
Ed