public inbox for [email protected]
help / color / mirror / Atom feedFrom: Josh Kupershmidt <[email protected]>
To: Bruce Momjian <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: Edward Hooper <[email protected]>
Cc: [email protected]
Subject: Re: PostgreSQL docs in ePub format
Date: Wed, 9 Jan 2013 22:09:02 -0700
Message-ID: <CAK3UJRFA23_M-OtKbYjyQVdi6XcO_H14trBN3V4ji5d-GgPFGg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAPFnL1VCSZpVpLPkZxKeJHdVJzMvk8Pp3a_3cvinC3FsBS6M=A@mail.gmail.com>
<[email protected]>
<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
On Wed, Jan 9, 2013 at 3:10 PM, Bruce Momjian <[email protected]> wrote:
> On Wed, Jan 9, 2013 at 04:59:17PM -0500, Peter Eisentraut wrote:
>> On 1/9/13 2:13 PM, Edward Hooper wrote:
>> > I want to make an attempt to take the DocBook/SGML text that comes with
>> > PostgreSQL and produce an ePub file. However, I have no experience with
>> > this. I would like to get together with other like minded PostgreSQL
>> > users and produce something useful.
>>
>> Do this:
>>
>> cd doc/src/sgml/
>> make postgres.xml
>> xsltproc http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl postgres.xml
>> echo 'application/epub+zip' > mimetype
>> zip -r postgres.epub META-INF OEBPS mimetype
>
> Should this be in the SGML docs?
Note, this trick didn't work so cleanly on my Debian lenny machine,
which complained:
warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl";
cannot parse http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl
I eventually was able to build the .epub by using wget to mirror the
chunks of http://docbook.sourceforge.net/... which I needed.
Josh
--
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
view thread (15+ 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], [email protected], [email protected]
Subject: Re: PostgreSQL docs in ePub format
In-Reply-To: <CAK3UJRFA23_M-OtKbYjyQVdi6XcO_H14trBN3V4ji5d-GgPFGg@mail.gmail.com>
* 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