Cross referencing in Ddoc

Jacob Carlborg doob at me.com
Fri Jan 3 03:12:44 PST 2014


On 2014-01-03 01:56, Jonathan M Davis wrote:

> That depends on how you go about post-processing. If you design your ddoc
> macros with the idea that there's going to be post-processing, then they can
> convert to other ddoc macros which are designed for the post-processor to be
> able to handle, and then the post-processor can convert those into another set
> of macros that you run ddoc on again to get the final result. That's
> essentially what I've done when using ddoc for stuff like a table of contents
> or index.
>
> Now, if the post-processing is really the last step rather than just post one
> of multiple runs of ddoc, then it's stuck dealing with whatever the target
> format is, but if you do multiple runs of ddoc with a separate program
> operating on the intermediate results of the macro expansion and then
> generating a new set of ddoc macros for another run of ddoc, then your post-
> processor doesn't have to understand the target format.

Seems unnecessary complicated.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list