Re: process hangs when converting sgml documentation to PDF - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: process hangs when converting sgml documentation to PDF
Date
Msg-id 200506071957.17269.peter_e@gmx.net
Whole thread Raw
In response to Re: process hangs when converting sgml documentation to PDF  (Alvaro Herrera <alvherre@surnet.cl>)
Responses Re: process hangs when converting sgml documentation to PDF
List pgsql-docs
Alvaro Herrera wrote:
> Excellent :-(  How about we discuss again whether to move to XML?

You can already use "XML" today.  Go to doc/src/sgml and type "make
testxml" and you'll get HTML documentation built using XSLT
stylesheets.

The bad news, however, is that using the XSLT toolchain the state of the
print-output-generating tools is even worse.  FOP crashes left and
right, PassiveTeX is unmaintained and incredibly hard to set up, and
the rest costs big cash.  In fact, the only reason the DSSSL toolchain
is still barely maintained is to generate print output.

> AFAIR the problem was that there wasn't a way to include certain
> parts of the documentation depending on whether some symbol was
> defined or not.  Is that still true?  Furthermore, do we use that
> feature and how, and is there a way to work around the problem?

The way around that would be to use the profiling feature of the XSLT
stylesheets.  But the way it's set up right now, storing the files in
SGML and converting them to XML on the fly, works out just as well.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-docs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: process hangs when converting sgml documentation to PDF
Next
From: "Joshua D. Drake"
Date:
Subject: Re: process hangs when converting sgml documentation to PDF