Graphics, Figures & Tables ⇒ Beamer error with PDF images
-
- Posts: 4
- Joined: Sun Feb 13, 2011 7:22 pm
Beamer error with PDF images
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Beamer error with PDF images
My preferred way of doing this is to make sure that the PDFs you are including themselves use a lower version number. You'll first want to check whether the program you used to create the PDFs itself has an option for lowering their version number to 1.4.
If not, you can use Ghostscript to change their version numbers. Ghostscript comes with a program called ps2pdf14 that takes either postscript files, or PDF files, as input, and outputs a PDF 1.4 file.
Code: Select all
ps2pdf14 mypdf.pdf mypdf-14.pdf
-
- Posts: 4
- Joined: Sun Feb 13, 2011 7:22 pm
Re: Beamer error with PDF images
Beamer error with PDF images
If the output looks fine, this probably isn't a big deal, but if you wanted to follow my other advice, I think you'd have to do something like this... this is some guesswork, since I don't have Windows installed, and Windows generally drives me nuts, but I think it should work to do this:
- Open the "Command Prompt" (or DOS prompt)".
- Type in:
Obviously, use the real folder names.
Code: Select all
cd "C:\Path to\Where your\PDF files\are"
- Now for each one type in:
If that doesn't work, you might need to put in the full path to ps2pdf14.bat, which I'd guess was something like:
Code: Select all
ps2pdf14.bat "filename1.pdf" "filename1-14.pdf"
That's a guess, and is probably wrong. Try to find ps2pdf14.bat in Windows Explorer if need be. If you can't find it, I think ps2pdf.bat would also work. You'll need to check where Ghostscript is installed (and of course install it if you don't have it installed already!)Code: Select all
"C:\Program Files\gs\gs9.00\bin\ps2pdf14.bat" "filename1.pdf" "filename1-14.pdf"
If there are really quite a lot, it should be possible to loop over them, but I'd have to remind myself a bit about how that worked under DOS. (Ugh.) - open filename1-14.pdf and check to make sure it looks OK, and then either edit your source to insert filename1-14.pdf, or else replace filename1.pdf with the modified filename1-14.pdf.