Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtAOL-0006mL-QO for pgsql-docs@arkaria.postgresql.org; Thu, 10 Jan 2013 05:09:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TtAOL-0004ih-9o for pgsql-docs@arkaria.postgresql.org; Thu, 10 Jan 2013 05:09:25 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtAOK-0004hr-7l for pgsql-docs@postgresql.org; Thu, 10 Jan 2013 05:09:24 +0000 Received: from mail-vc0-f175.google.com ([209.85.220.175]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TtAOI-00014a-Tr for pgsql-docs@postgresql.org; Thu, 10 Jan 2013 05:09:23 +0000 Received: by mail-vc0-f175.google.com with SMTP id fy7so141975vcb.34 for ; Wed, 09 Jan 2013 21:09:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=nxmtYFp1Vm9tm2nHM2rGBeMm7vQ6HHFTOeoADbkjRG0=; b=ZjIM+I0zt64tPXwEBcnwY4U8pLkOB/jS/NK33vuiwh6DmMKkM0P9dyggU2Wb5LnWkv 1OlQye0ES4929yVGXLGKzBKiNuOl9BJZblC7EfGvbgj3f+Go6OjVLr5KwL5A3k/IjTq/ H+s0fVocceRTRvBC6AOCfumTkOA/T+w/S2+/tE/wcQRF58Fz3EldnxZjUhj5Oo3WLQga mtqOcB90ug/nWV28zKXuoEbwrhToFdJNTK8I3ytHmYfIG7g+viEWR/f6Z4UL3bM2COGx HjrV8VLA6omNqTKmCaPSb8U4XSXs3Y3ThBFmdCaEgk8D9NpOYkJ7VOkPafukeYy8NKWb KWgQ== Received: by 10.58.210.65 with SMTP id ms1mr91107967vec.59.1357794562119; Wed, 09 Jan 2013 21:09:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.85.41 with HTTP; Wed, 9 Jan 2013 21:09:02 -0800 (PST) In-Reply-To: <20130109221056.GC8545@momjian.us> References: <50EDE835.9090706@gmx.net> <20130109221056.GC8545@momjian.us> From: Josh Kupershmidt Date: Wed, 9 Jan 2013 22:09:02 -0700 Message-ID: Subject: Re: PostgreSQL docs in ePub format To: Bruce Momjian Cc: Peter Eisentraut , Edward Hooper , pgsql-docs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Wed, Jan 9, 2013 at 3:10 PM, Bruce Momjian 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 (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs