GeneralPS to PDF Conversion

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mmutoo
Posts: 8
Joined: Mon Jan 23, 2012 1:21 am

PS to PDF Conversion

Post by mmutoo »

Hi guys,

I am a Linux user, and I am using a portable installation of TeX Live 2011 for my documents. I have combined it with TeXstudio and I have set the commands for it manually. I can convert my source files to PDF directly. Also, I tried to convert a source file to DVI and DVI to PS which all have been successful. But when it comes to converting PS to PDF (which I used to do in windows with the application ps2pdf.exe) I get the error:

Code: Select all

Error: Could not start the command: /home/<username>/programs/texlive_linux/bin/i386-linux/ps2pdf -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=letter -dPDFSETTINGS=/printer -dCompatibilityLevel=1.3 -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile="some_file".pdf "same_file".ps
/home/<username>/programs/texlive_linux is the directory where my source files are, and the other parameters are just for embedding the font and other formatting purposes. Obviously, the first clue is to check if the binary file (ps2pdf) exists. And surprise! It does not! So here is my question. What is the binary file for PS to PDF conversion in TeX Live under Linux?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

alanq
Posts: 21
Joined: Mon Dec 28, 2009 3:03 am

PS to PDF Conversion

Post by alanq »

Hi mmutoo

It wouldn't have occurred to me that there was a ps2pdf in TeX Live.

I would simply use:

Code: Select all

$ ps2pdf input.ps output.pdf
Using the ps2pdf which is at /usr/bin/ps2pdf. You can find it with

Code: Select all

$ whereis ps2pdf
Alan
mmutoo
Posts: 8
Joined: Mon Jan 23, 2012 1:21 am

Re: PS to PDF Conversion

Post by mmutoo »

Hi Alan,

surprisingly, it is there! Thanks. I supposed it is a part of the latex system! Anyway, it is there indeed.
Post Reply