Re: [AD] Re: [AL] allegro DTD

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On December 3, 2004 05:03 pm, Stepan Roh wrote:
> On Fri, 3 Dec 2004, Thomas Fjellstrom wrote:
> > But now I remember my main issue with that tag, the changes will make it
> > easy to just @include other doc files to inline, like the faq, a
> > turotrial maybe. does each doc have a titlepage?
>
> Front page is not mandatory (it's frontpage? in DTD). Chapters can
> override front page (that's intended for (chapter) split outputs, but is
> ignored by others).
>
>
> My original idea was that each chapter has its own file with <chapter> as
> document element. Documents (with <document> as document element) include
> chapters as external entities. That means FAQ file is rendered from
> faq-doc.xml which includes faq-chapter.xml which is also included in big
> allegro-doc.xml.

While thats what I thought would happen, its not nesesary. the big long format 
can be easily split with xslt.

> > why not just make everything start with a <document><chapter> combo?
>
> You would have to guess which chapter is front page and which is not to be
> able to render it correctly to some outputs (or omit it for others).

In the current setup, its the first section that doesnt belong to a chapter.

> Have a nice day.
>
> Stepan Roh
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/