This is pretty interesting...
It appear as though your workflow is pretty similar to mine when producing technical documentation. I need to dig into this a bit. Hope you don't mind me asking a question after only having done a quick fly-by...
What is the ob type 'compile'? I've never seen that one. Something you've created or something that has just been under my radar?