I write Scheme code to generate TeXdraw commands which TeX translates into Postscript which is embedded into the DVI file which dvips translates to Postscript which ps2pdf (with the appropriate command arguments) translates to PDF
And somehow this seems natural to me.
Brad