Skip to: Site menu | Main content

Playing Tenuki

Integrating OmniGraffle and Latexmk

Compiling LaTeX documents can be quite a hassle, because it’s an iterative process, and the dependancies are not really clear. There is one gem of a tool, however, that any regular LaTeXer should know: Latexmk.

Latexmk handles all the common TeX pipelines (DVI, PS, PDF…), detects most if not all the dependancies if your document is split into several source files, and will (re-)run LaTeX, BibTeX, etc. as needed, effectively reducing building most documents to this invocation:

$ latexmk

Very nice indeed, but what about figures created in an external editor like OmniGraffle? Going through OmniGraffle’s menus to export documents to PDF after each change quickly gets boring.

Many LaTeX documents, one BibTeX database

As a researcher, I spend most of my time writing LaTeX, using many tools, among which BibTeX, the bibliography database processor. Our team manages a huge .bib file centralizing all publications we read and might need to cite someday.

Since nearly everything we write uses that file, so it gets linked or copied into each the source directory of each new document. Some of us even have a bash alias to automate that copy, but they still have to invoke it for each new paper. But…

Zero cost solution:
Just put the database somewhere in BibTeX’s search path!

Playing Tenuki (eponym)

I know, this is yet another re-opening-my-blog blog post ;)

I’ve already maintained a blog before; it was a Typo instance running on a venerable Sun Ultra 5 workstation behind my home DSL. As you can guess, Ruby on a 360MHz CPU is not fast, so it was getting painful to edit, and then I moved to Swiss, and the poor server got neglected.

However, I now maintain these static web pages using Webgen, which has recently been given blog support by Matteo Collina. Fiddle, hack, tweak, and here’s the result.

Why the name?
 
 

Last updated on 2010-02-26.  Generated by webgen, sass, markdown/maruku, ruby, hyphenator.js (toggle hy-phe-na-ti-on)…
This website by Damien Pollet is licensed under a Creative Commons Attribution-Share Alike 2.0 France License.
Creative Commons License