Is it possible to generate latex files with dmd and macro definitions? The main problem I see, is that dmd escapes characters for html and this behavior cannot be customized. Has someone ever done that?