How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG

Reading about Gerard Huet's paper on the geometry of the Shri Yantra available in PDF format at this link http://pauillac.inria.fr/~huet/SKT/sanskrit.html.orig, I was prompted to try out the Postscript code he had in and Appendix in the paper. After typing the code into a .txt file, the file did not render using Evince or a PDF … Continue reading How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG

Convert any image file to pdf in Linux

Linux has a convert command that can manipulate images of any popular format from the command line individually or in a batch. In addition¬†to the above, it can also convert image files into PDF files. To try it out,¬† open a terminal window and type following command at the $ prompt: $ convert image.jpg image.pdf … Continue reading Convert any image file to pdf in Linux