How to find which package provides a file in Debian based releases, such as Linux Mint, Ubuntu? You can use dpkg: dpkg -S /path/to/the/file Or for a command file such as ps2pdf: dpkg -S `which ps2pdf`
With the command -dPDFSETTINGS=/print for ps2pdf, I got: GPL Ghostscript 9.10: Set UseCIEColor for UseDeviceIndependentColor to work properly. Unrecoverable error: stackunderflow in .setdistillerparams make: *** [pdf-print] Error 255 How to fix it? I use this workaround: ps2pdf -dColorConversionStrategy=/LeaveColorUnchanged -dPDFSETTINGS=/printer psfile.ps from this. An alternative is to use -dPDFSETTINGS=/prepress.
How to compile Latex on Linux, and what’s the needed packages? On Fedora, the packages needed can be simply installed via: # yum install texlive* dvipdfmx To compile a latex document (say doc.tex) with bibtex used: $ latex doc $ bibtex doc $ latex doc $ latex doc $ dvips doc.dvi $ ps2pdf doc.ps The
How to convert a ps file to a pdf file that is available for publish (embedded fonts, etc)? Convert the file.ps ps file to file.pdf: $ ps2pdf -dPDFSETTINGS=/printer file.ps file.pdf</pre> Embedding Fonts in PDFs with pdflatex by Jeffrey P. Bigham: http://www.manticmoo.com/articles/jeff/programming/latex/embedding-fonts-with-pdflatex.php