hook: initial latex output support.
opt_templates: give latex output 'literal-literal'

Signed-off-by: Thell Fowler <thell@tbfowler.name>
Merge branch 'implement-rnw-support'