RE: [docbook-apps] epub from dbook
Hi, You can also create ePub from docbook with a shell motorized transformation : http://www.christopher.compagnon.name/sitewww/docbook-epub.html (french version) Cordialement, Christopher COMPAGNON AXA GROUP SOLUTIONS - Procurement, BI Supply Département Solutions Business Intelligence Domaine BI France - Reporting Opérationnel ( 01 44 45 04 16 (55 04 16) E-mail: christopher.compagnon.a...@axa-groupsolutions.com Pensez à l'environnement avant d'imprimer ce message -Message d'origine- De : Dave Pawson [mailto:da...@dpawson.co.uk] Envoyé : jeudi 29 avril 2010 17:16 À : docbook-apps Objet : [docbook-apps] epub from dbook http://bit.ly/9rAAeL Build a digital book with EPUB The open XML-based eBook format Liza Daly, Software Engineer and Owner, Threepress Consulting Inc. regards -- Dave Pawson XSLT XSL-FO docbook FAQ. http://www.dpawson.co.uk -- regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] epub from dbook
On Fri, Apr 30, 2010 at 4:11 AM, Compagnon Christopher christopher.compagnon.a...@axa-groupsolutions.com wrote: You can also create ePub from docbook with a shell motorized transformation : http://www.christopher.compagnon.name/sitewww/docbook-epub.html Thank you for providing this. One refinement: ePub requires that the mimetype file be the first archive in the ZIP and uncompressed, so your invocation of zip -r ./ should be broken into two phases: zip -q0X [zipfile] mimetype zip -qXr9D [zipfile] ./ More: http://blog.threepress.org/2009/11/06/3-scripts-for-epub-creation/ Regards, Keith - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] Including procedures in regular toc
Nevermind, it's working, just another customization was messing it up. Robert Fekete wrote: Hi, In my docs I have a lot of sections that are just wrappers for procedures, and now I am trying to have docbook include the procedures in the normal table of contents, that is, listed as sections. I have followed Bob's book at http://www.sagehill.net/docbookxsl/ TOCcontrol.html#AddElemsToc , but I can't get it work. So far I have: - Addded the procedure toc line to xsl:param name=generate.toc - customized the xsl:template match=preface|chapter|appendix| article mode=toc template and added xsl:variable name=nodes select=section|sect1| procedure[title]/ - customized the xsl:template match=section mode=toc template and added xsl:if test=$toc.section.depth $depth and $toc.max.depth $depth.from.context and (section or procedure) !-- Added procedure to the list -- and xsl:apply-templates select=section|procedure[title]|qandaset [$qanda.in.toc != 0] mode=toc !-- Added procedure to the list -- - created a template for procedures in toc: xsl:template match=procedure mode=toc xsl:call-template name=toc.line/ /xsl:template - I have also tried to add the |$toc-context/procedure line to xsl:variable name=nodes in xsl:template name=division.toc, but that did not help either. Any suggestions about what I am doing wrong is appreciated. Regards, Robert Fekete - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org