A Django site.
June 16, 2008

Hans Fugal
no nic
The Fugue :
» Markdown Makefile Idiom

I can never remember this, and I use it frequently, so I thought I'd put it here where I can find it faster.

all: $(patsubst %.txt,%.html,$(wildcard *.txt))
%.html: %.txt header.html footer.html
    cat header.html > $@
    markdown $< >> $@
    cat footer.html >> $@

August 6, 2008

Dennis Muhlestein
nonic
All My Brain
» GTK+ programs with GtkBuilder and dynamic signal handlers.

Well, I decided to review some GTK+ and Gnome development lately. With GTK+, a nice way to create a user interface is with the Glade Interface Designer. Glade produces an xml file with a glade-interface element that can be loaded by libglade. You can then change attributes of the user interface without [...]

March 31, 2008

Dennis Muhlestein
nonic
All My Brain
» Using a Makefile to generate Latex documents

So, you're using Latex to compile a paper, article, or book. If you have any type of table of contents, index, or bibliography, you've probably noticed that you have to run latex two (or sometimes 3) times to generate the final document. In addition, you probably have to run a conversion program to [...]