Remove debug print.

Change-Id: Icf168a7bd5dabc19955a4e510362e7fab181dc07
Add pythhon pretty printing of source.

Change-Id: Ia4b8f53bee4f80f88fe0ab13cf2e9e0677592633
Ensure table is filled with cells.

Having some rows with no third cell was causing it not to convert
to latex and thus not appear as a table in the PDF.

Change-Id: I888b98f22d7ecd35c8c6e4dba8178c04992fa85e
Move final build to function.

This makes it easier to also output other formats during dev.

Change-Id: I87ad7c20137df7456a90f2f258cd77223e951783