From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Guix Manual in epub format Date: Wed, 13 Jun 2018 09:21:50 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------6BE583CCDBB50FE4975D669A" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fT06Q-0006EJ-6K for guix-devel@gnu.org; Wed, 13 Jun 2018 03:21:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fT06N-0005Ox-0H for guix-devel@gnu.org; Wed, 13 Jun 2018 03:21:58 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:48382) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fT06M-0005OE-Lo for guix-devel@gnu.org; Wed, 13 Jun 2018 03:21:54 -0400 In-Reply-To: Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia , Guix-devel This is a multi-part message in MIME format. --------------6BE583CCDBB50FE4975D669A Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Am 13.06.2018 um 05:38 schrieb swedebugia: > Hi > I use an ebook reader for reading long detailed documents and books. > I would like a copy of the guix Manual on my reader. > I searched a little and there seem to be no ready tool to convert > info2epub. > > I found this: > > latexml --dest=$1.xml $1.tex > latexmlpost -dest=$1.html $1.xml > ebook-convert $1.html $1.epub --language en --no-default-epub-cover This looks quite complicated. With a short internet search i found: https://github.com/jlhg/texinfo2epub which basically does this: makeinfo --docbook $INPUT_FILE_PATH -o out.xml xsltproc $EPUB_XSL out.xml The stylesheet seams to be part of docbook-xsl already. https://github.com/ikrukov/epub does not provide a script, but describes the same approach. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------6BE583CCDBB50FE4975D669A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Am 13.06.2018 um 05:38 schrieb swedebugia:
Hi
I use an ebook reader for reading long detailed documents and books.
I would like a copy of the guix Manual on my reader.
I searched a little and there seem to be no ready tool to convert info2epub.

I found this:

latexml --dest=$1.xml $1.tex
latexmlpost -dest=$1.html $1.xml
ebook-convert $1.html $1.epub --language en --no-default-epub-cover

This looks quite complicated. With a short internet search i found:

https://github.com/jlhg/texinfo2epub which basically does this:
makeinfo --docbook $INPUT_FILE_PATH -o out.xml
xsltproc $EPUB_XSL out.xml
The stylesheet seams to be part of docbook-xsl already.
https://github.com/ikrukov/epub does not provide a script, but describes the same approach.
-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------6BE583CCDBB50FE4975D669A--