Generating headings for project files

I use the free software AutoHotkey (AHK) for automation of many things. One of those things is generating headings for my project file. I developed a simple AHK-script that asks me for the project name, the topic and then inserts the heading with additional information like my name, my E-mail address and a keyword for subversion.

The script is quite simple and I have adopted it for headings for several project files (tex, R and gams). The only difference being the characters used to comment out a line.

Here is the script

Read the rest “Generating headings for project files”

Blurry look of programs on your high display screen

My new ThinkPad T460s is lighter (1.4kg instead of 1.8kg), thinner and has more memory (20Gb) than my previous one (T430s). It has a much better screen with 1920 x 1080 pixels. This last feature is nice, but some of my programs get a fuzzy look as they are not yet adapted to this kind of display.

For example, Evernote is not ready for scaling on high DPI settings. If you look in the discussions on this issue, for programmers this seems to be a rather daunting task. Evernote explicitly does not promise anything in that direction (and it is … Read the rest “Blurry look of programs on your high display screen”

Using Powershell to clean up the animations your LaTeX file

In a previous post, I talked how to animate your Beamer presentations and how to print them as slides and article for the audience. One problem with a presentation with animations is that every element of an animation means one more slide. If you want to give the presentation to the audience so they can write on their slides using their ipad or touch screen notebook, they will complain that only one of the animated slides is complete.

The easiest way to remedy this, replace all overlays, \pause, etc. from your LaTeX file and print it like this. One could … Read the rest “Using Powershell to clean up the animations your LaTeX file”

Tricks with Beamer: Animations and Print-Outs

If you use Beamer for presentations, you might want to use “animations”: either show list elements successively or build up a diagram. Beamer has some nice possibilities for doing this:

  • In lists (enumerate, itemize) you can use the overlays. Just add <1-> after the first \item and this item will show up first. For the second item you just add <2->, etc. You can also let them disappear again by giving a range (e.g. <2-3>, which means that this item will appear at the second and third slide, but will disappear again after that. If you want all the list
Read the rest “Tricks with Beamer: Animations and Print-Outs”

Backing up your subversion repository on a remote Windows server using batch files

My subversion repository is on a server by Webfaction (probably the best and cheapest way to host your repository. I have 100 Gigabyte space). I used to have a backup script that would save the backup on the same server, which then was transferred to my Windows 8 computer. Because I wanted to replace the complete backup with a new one, I ran into problems, as the backup procress was taking to much of the server CPU. Support pointed me to svnradmin, which is a tool comming with the command tools of tortoisesvn (otherwise you will find these tools on … Read the rest “Backing up your subversion repository on a remote Windows server using batch files”