Skip to content

{ Monthly Archives } December 2007

Perl and Postmodernism

The procedural aspects of LaTeX markup naturally suggests a connection with scripting languages. Any anyone serious about writing with strutural markup will eventually benefit with some familiarity with a scripting language, be it Perl, Ruby, Lua or what have you. (I have been learning Ruby.) Larry Wall author of Perl has written some reflections on […]

Bash Emacs Mode

Navigating the command line on Apple’s terminal can be frustrating. The arrow keys only allow you to move one character at a time. So if you have typed a long command, say:

$ perl texWordCount.pl /Users/markkalderon/Documents/TheHub/Research/Metamerism/Drafts/metamerism.tex

and you realize you have forgotten an option, in this case -T:

$ perl -T texWordCount.pl /Users/markkalderon/Documents/TheHub/Research/Metamerism/Drafts/metamerism.tex

it can be tedious to move […]

LaTeX and Word Count Revisited

In an earlier post I described a TextMate command for determining the word count for a LaTeX document. Simpling using

wc -w

gives an inflated estimate since it will include LaTeX commands. One alternative is to use detex:

detex mydocument.tex | wc -w

This will strip the LaTeX commands first before counting words but this assumes that you are […]

Getting Git

While I have been a happy subversion user, there are some areas that are a continual source of frustration. No commits offline. Limited merging facilities. (See my earlier post.) The limitations on merging is the serious issue for me. Prose production presents opportunities for merging that subverion cannot handle (at least at present). Distributed version […]

FireStats icon Powered by FireStats