Last year I kluged together a C program that makes my school timetable in SVG for me out of a plain text definition. I kluged further to make it do generic tables to help my old one-banana job at Coles.
This year I rewrote it from the ground up. It's still very messy, but it does: * Notice when you put one box on top of another * Put cute little pointy bits on all the corners.
If you're still reading after fully two paragraphs, here are the links:
example input & output: http://yoyo.its.monash.edu.au/~trent/src/src/examples/
sources: http://yoyo.its.monash.edu.au/~trent/src/src/mktable.c http://yoyo.its.monash.edu.au/~trent/src/src/convenience.h http://yoyo.its.monash.edu.au/~trent/src/src/convenience.c
instructions: cc *.c -o mktable ./mktable < foo.table > foo.svg
HAND -trent