One of the most frustrating features of LaTeX is its insistence on moving figures and tables (and other “floating matter”) to unexpected locations. However, there is a way to get some control over this problem.
Export LyX to LaTeX
Export *.lyx files automatically to LaTeX (pdfLaTeX in this case). This is one of the few things that work without starting the GUI. But hey, at least this works!
$ lyx --force-overwrite --export pdflatex thesis.lyx
Batch import CSV to LyX
Import every *.csv file of the current directory into a new LyX file and save it with a *.lyx extension. Makes adding several tables to a single document easier later on. It’s a bit slow because the LyX GUI is started for every *.csv file and closed again after importing.
But it works!
for I in *.csv; do /Applications/LyX.app/Contents/MacOS/lyx --import csv $I --execute lyx-quit; done

At 33 meters (3.28 ft) deep this is the worlds deepest manmade pool. The Nemo tank in Belgium is loved by scuba divers around the world.
Meta information
I’m aware of the crappyness of the design, so I’m happy to announce:
It will change!
Wohoo!
No really, it will. I don’t know when but I know vaguely how. So stay tuned and visit this site often!
Random insights, taken out of context
Die nutzlosen Dinge machen das Leben lebenswert.
It’s the useless things that make life worth living.
