Correction, it still don't work. I was eagerly optimistic in my early
message. But I think I found out what's happening. I'll do a little bit
more of test with my modified ddoc file and will post the results.
Yep. That seems to do the trick. Maybe this should be documented, that the
ddoc file should be the first file passed to the command line. Thanks
Walter.
--
Yao G.
Yao G. wrote:
% dmd.exe calendar.d docbook.ddoc -Dfcalendar.xml
And it doesn't work.
Try reversing the order of calendar.d and docbook.ddoc on the command line.
Forwarded from digitalmars.D.learn, because I don't know if there's the
place to report this kind of things or here.
According to the DDOC spec (http://digitalmars.com/d/2.0/ddoc.html) if you
want to redefine some macros, one way is to pass one file with the .ddoc
extension to the command line