Re: PostgreSQL docs in ePub format

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Edward Hooper <dokhebi(at)gmail(dot)com>, pgsql-docs(at)postgresql(dot)org
Subject: Re: PostgreSQL docs in ePub format
Date: 2013-01-10 05:09:02
Message-ID: CAK3UJRFA23_M-OtKbYjyQVdi6XcO_H14trBN3V4ji5d-GgPFGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, Jan 9, 2013 at 3:10 PM, Bruce Momjian <bruce(at)momjian(dot)us> 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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Magnus Hagander 2013-01-10 10:28:35 Re: PostgreSQL docs in ePub format
Previous Message Yuto HAYAMIZU 2013-01-10 03:28:52 Re: PostgreSQL docs in ePub format