On 1/5/2013 3:44 PM, Andrei Alexandrescu wrote:
On 1/5/13 4:38 PM, Philippe Sigaud wrote:
Btw, I just played a bit with macros and defined a small bunch of
LaTex-producing macros. I'll post that.
It doesn't help that DMD inserts a HTML comment at the beginning:
<!-- Generated by Ddoc from filename.d -->
HTML hardwired into the final result, whatever the doc says :(
Yah, I also played with producing LaTeX and hit the same problem. Had to sed
away the first line. Walter, could you please fix that - thanks.
C:>grep DDOC_COMMENT *.c
doc.c:DDOC_COMMENT = <!-- $0 -->\n\
doc.c: buf.printf("$(DDOC_COMMENT Generated by Ddoc from %s)\n",
srcfile->toChars());
I.e. override the DDOC_COMMENT macro.