Hi, On Tue, Nov 27, 2012 at 07:40:01PM +0100, Kacper Perschke wrote: > On 27 November 2012 14:23, Osamu Aoki <os...@debian.org> wrote: > > [...] > > Why not just build source simply by "debuild". > > I have used debuild after Osamu gave me same advices about building > environment for such action. Thanks! > > > It will call debian/rules after few actions. > > It did and produced maint-guide.en.dbk among others build targets. > Then I've invoked 'dbtoepub -c maint-guide.css maint-guide.en.dbk' > and did got maint-guide.en.dbk.epub. > Epubcheck Version 3.0b4 claimed a little bit about, but calibre[1] and > Sony PRS650[2] are both able to use such file.
I know it creates EPUB from my debian-reference experiment. I also checked now with Kobo. It is readable than PDF but everything is propotional font which breaks some ASCII art. Bold and Italics work. (This seems to be platform problem. Maybe, by installing mono font, it is fixed.) But it does not do "META-INF/container.xml nor content.opf nor toc.ncx" as I understand. These seem to be for compatibility with old equipment but xmlto support. These seem to exist in many publisged EPUBs. Do you know exact reason why these exist? > Should I do some more investigations, or just try to insert it in to Makefile? If you add dbtoepub, we create Ruby dependency plus package install. If you figure out to add function to xmlto, then it is easier since this is shell script. Just because you can build locally is not good enough for Debian server ... Let's go slow a step by step. > Or may be there exist completely different procedures I'm not aware. Since xmlto is R-H standard tool, it is more used etc., I am looking solution along this. Can you? Regards, Osamu > [1] http://packages.debian.org/sid/text/calibre > [2] http://en.wikipedia.org/wiki/Sony%20Reader -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org