Proper fix for issue #16

We withhold an application of the :latex filter until we generate HTML.