So, what is Vim? Posted late Thursday evening, February 10th, 2011

A (famous) 12 metre yacht:

Vim: Designed in 1939 by Olin Stephens who considered the possibilities given by every aspect of the rules and produced a very fast boat. Vim had numerous innovative features including a trim tab on the rudder, two-speed winches and a lighter mast made of duralamin (a form of aluminium used in the aircraft industry). Vim is considered a benchmark design which was continually refined over her racing career. In 1939 Vim came to the UK and won 19 races out of 28. The next generations of 12-metres designed and built 20 years after Vim was launched still found Vim extremely difficult to beat in competition.

And, of course, Vim is the power:

Sampson vim recuperavit, et templum ruerit

Tags: vim
Text Processing Posted at noon on Saturday, February 5th, 2011

How do you people fulfill your text processing needs?

More specifically: how do you:

  • Write documents?
  • Keep notes?
  • Create presentations (slides)?

These days I mostly write in markdown, and either keep what I write somewhere online (the wiki), or I convert it to LaTeX, and do a bit of fine-tuning if need be. This is handled gracefully by either ikiwiki (which I see mostly as a tool for adding linking and structure to already existent documents, which are intended to be online) or by pandoc, which does the markdown->LaTeX conversion.

I also use the approach described above to handle long documents, which span through several files. Pandoc lets you concatenate several markdown files and outputs a single document, with a proper heading. And LaTeX has \include, \input and \subfiles to cover those cases.

If I need more control over the layout, write math, or any other advanced stuff in the document, I write it using LaTeX. Or I abuse markdown and embed HTML in the markdown code.

Most of the note-taking is done using ikiwiki, or The Vim Outliner.

Regarding slides, I also use LaTeX for that; I create them with the beamer package.

The documents written for any of these tools (markdown/ikiwiki, vim OTL, LaTeX) can be put under version control easily (Git), and since both of them are plain text, even merging different versions and collaborating is a non-issue, provided the collaborator knows a bit of version control.

What do you do, and how do you solve these problems:

  • Version control/group collaboration
  • Advanced formatting/math
  • Generation of online (HTML) and printable (PDF) outputs of the document
  • Create one document from several others (say, put together a book when having one chapter per file).

I'm waiting for your comments.


Older posts

ikiwiki-nav 2.0
Posted Sunday evening, September 12th, 2010
Every time you use the arrow keys in vim...
Posted early Monday morning, August 23rd, 2010
Nananananana, fishing!
Posted Wednesday evening, August 4th, 2010
Randomize the lines in a file
Posted Wednesday night, March 24th, 2010
ikiwiki-nav
Posted at midnight, February 8th, 2010
Debian package dependency graphs
Posted Saturday evening, December 20th, 2008