Ddoc to PDF

Lutger lutger.blijdestijn at gmail.com
Mon Oct 18 13:15:02 PDT 2010


Walter Bright wrote:

> Alix Pexton wrote:
>> After a lot of thought, I have come to the conclusion that giving DDoc
>> the power required to calculate layout in a way that is general enough
>> to be used not only by PDF but by any other layout technology, and the
>> ability to work with a flattened tree, is a non starter.
> 
> Perhaps you're right. But it strikes me as possible that a Ddoc template
> that emits the text in some custom format, which is then read by a custom
> pdf generator program, could work. In other words, a two step process.

ddoc -> LaTeX -> profit

LaTeX produces most beautiful output, including (amongst others) well 
rendered pdf. No need to write a custom generator.


More information about the Digitalmars-d mailing list