Inline Figures in Org-Mode Paper Drafts

Writing a paper often comes along with a problem known as information fragmentation: figures, tables and the respective data sources related to the paper certainly are somewhere on your hard disk – but where? How did I name the file with the data-points again? And, the heck, which commands did I use to create that [...]

List Only Subdirectories for Shell Scripting

I like to have the following snippet in my .zshrc (or .bashrc) for convenience
alias lsd=”ls -l|awk ‘/^d/ {print \$9}’”
It displays all subdirectories underneath the current directory. The goodness in this variant is that it gives you the pure names and that you can use it in loops without hassle :
for d in `lsd`; do
mv $d/resultfile.dat [...]

Finding out where your Program Crashes with the Emacs GUD

This post describes a very, very elementary debugging skill. Yet, I could not find any concise tutorial about it on the web. So, here we go!
Assume you’re developing a small software under Linux, maybe using C or C++ and the GCC compiler. Testing your program, you find that it crashes with an error (segfault, assertion, [...]

Economic Crisis coming faster than Great Depression

Since weeks  the media is reporting about the severity of the current economic crisis, comparing it with the Great Depression (GD) that began 1929. However, to me this seemed like a historic exaggeration since I couldn’t really rediscover the severe effects of the GD in the current crisis. However, I now found some figures that [...]

Including Math Formulas Into Emails

Today I stumbled over a very neat extension for the email client Mozilla Thunderbird. It allows you to include LaTeX style formulas into your email. Simply write down the formula enclosed in $$’s, e.g. $$\alpha = 5$$. Hitting a button will then convert all formulas into images and thereby allows you to send the email [...]

Online Memorizing Revisited

In december, I wrote an article about spaced repetition systems for learning vocabuly and other facts. The both web- and desktop-based tool Anki turned out to be particularly suitable for our purposes (see older post). One requirement was the ability to instantly share entered facts among a group of people, which interestingly was problematic for [...]

Fetch Bibliographic Data within Emacs

Are you frequently working with bibliographies, e.g. writing LaTeX documents with BibTeX? Finding the references you want to cite, and fetching/inserting the bibliographic data usually involves a number of clicks and database searches. There is an Emacs extension that may help you out here: Pub-Mode streamlines the whole process down to a couple of keystrokes.
Also, [...]

Using Emacs Org-mode to Draft Papers

Scientific papers are mostly written in LaTeX, a markup language for typesetting. With LaTeX, a document is programmed rather than edited in a WYSIWYG-way. There is a great deal of specialized editors or editor modes (e.g. AucTeX) simplifying the creation of LaTeX documents. In many cases, however, you just want to quickly write down what’s [...]

Directly Edit and Play with Plots in R

The R-project describes itself as a “free software environment for statistical computing and graphics”. It can produce nice graphics indeed, but in practice editing them often gets tedious since any alteration must be given as one or multiple command-line commands. At least I thought so – until I found out about the playwith package. With [...]

Activate extended globbing!

This one is for zsh users. As you read this, open your editor at once an add the following line to your .zshrc
setopt extendedglob
This will activate extended globbing and allow you to do even more zsh commandline candy. Here some examples
rm ^important.txt # remove all files in the current dir but important.txt
rm *.log~apache.log # [...]