Generating Latex from DDoc

Markus Dangl danglm at in.tum.de
Sun Aug 6 17:50:37 PDT 2006


Walter Bright schrieb:
> Frank Benoit wrote:
>> 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?
> 
> I'd love to support Latex with Ddoc. If you can give it a try with the 
> macros to see how close we can come, I can see about closing the gap.

If you could generate proper XML with Ddoc, you could - perhaps - write 
an XSLT program yielding latex output...
One of the problems here is that Ddoc allows the use of html tags in 
documentation comments - there were some more, minor problems which may 
not even exist anymore. It's been some time since i tried to write an 
XML generator.



More information about the Digitalmars-d mailing list