public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alvaro Herrera <[email protected]>
To: Jürgen Purtz <[email protected]>
Cc: [email protected]
Subject: Re: Docbook 5.x
Date: Wed, 4 May 2016 12:18:48 -0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
Jürgen Purtz wrote:
> I measured following elapsed times on an Intel i5 processor:
>
> 1. generate all HTML files with dsl script (make html): 0:48 min.
> 2. generate all HTML files with xslt script (make xslthtml): 16:01 min.
> 3. generate all HTML files with xslt script in the new environment
> (pure Docbook5): 4:07 min.
> 4. Generating different things via dsl scripts in the new environment
> may be possible. But the changelog of the Docbook5 dsl scripts
> shows, that the last modification occurred in 2004 - this way is a
> dead end.
Thanks.
The dsl toolchain has a "make html" format which creates the index and a
"make draft" that doesn't. You timed the former only. What's the
timing for an equivalent of "make draft" in the xslt chain? If it
exists and is short enough, it seems acceptable to me that the complete
(with index) build takes ~4x as long as today; the draft timing is more
critical, I would think.
Man pages are already generated using xslt, so I suppose that wouldn't
change. PDF creation timing is also critical.
FWIW, in my laptop "make draft" takes 1m18.788s and a "make html"
takes 1m26.676s. So it's just 8 seconds to generate the SGML file for
the index, and no reruns required ... hmm. I think I'm gonna forget
about "make draft" in the future.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
view thread (86+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Docbook 5.x
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox