Category Archives: TeX

(e)ps to pdf conversion in Linux

To convert EPS files used with latex to PDF for pdflatex:
ps2pdf -dEPSCrop -dAutoRotatePages=/None filename.eps

ps2pdf in my experience does the most precise conversion. -dEPSCrop option is needed to prevent ps2pdf from outputting a full A4 page.

More control of ps2pdf:
All Ghostscript options (call with -dOption):

To batch process a whole directory:
for FILE in *.eps
ps2pdf -dEPSCrop -dAutoRotatePages=/None $FILE

(This code is to be written to a text file, which is then made executable and run.)

LaTeX to SVG

Presentations and posters can be made in Inkscape.

Scientific material often requires equations.

Inkscape doesn’t have an equation editor.

It is possible to compose math in LaTeX, typeset (compile) it to DVI, and convert DVI to SVG using dvisvgm.

Use the command dvisvgm filename.dvi -n to specify that the characters should be converted to paths.


Update: For those who prefer a GUI interface to working with the command line, you can achieve similar results with (Thanks to Peter for sending in the link.)


biblatex is a modern tool for typesetting bibliography with LaTeX. It is more powerful than the good old BibTeX but uses the same database language (bib-files). This makes switching to biblatex easy. You can still use the bibliography management tool of your choice (like JabRef, Mendeley etc.) provided that it supports the bib-files.

While biblatex was first publicly released in 2006, the first stable version (version 1.0) was released on 2010-11-19. As a result, biblatex is mature and well supported by the community, including the availability of several custom bibliography styles.

Support on biblatex can be obtained at comp.text.tex and Stackexchange. Biblatex is written by Phillip Lehmann.

Update: biblatex styles: