On 15.8.2012 18:38, Richard L Hamilton wrote:
> At different times I've used kindlegen and calibre for ePub to MOBI conversion, with varying results, but I've never been 100% happy with the result from either.
>
> Does anyone on the list have any suggestions as to which of these (or which alternative) is the best choice for conversion when the ePub was generated using the DocBook stylesheets?
Personally I haven't faced many serious problem when I was converting
output of epub3 stylesheet with Calibre. What I did was to adjust
resulting XHTML files prior packing into .epub. I used attached
stylesheet and simple Ant target:
<target name="kindleize">
<xslt style="${home.dir}/kindleize.xsl" force="true"
basedir="${out.dir}" includes="*.xhtml" destdir="${out.dir}/kindle">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${saxon9.jar}"/>
</xslt>
</target>
HTH,
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail:
jirka@kosek.cz http://xmlguru.cz------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------