You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A production rule would be desirable that given a single docbook file produces an epub package. The styles are present in docbook-xsl (although without profiling). The difficulty comes from the fact that two directories are created, the images need to be copied in the proper location as an additional step, a few additional passes are required and the zip created.
The rule would receive a single file name and perform all these steps. The trickiest one could be the inclusion of the right images or auxiliary files, but parsing the opf file could help detect anomalies.
This issue is likely to be open for quite some time.
The text was updated successfully, but these errors were encountered:
Explored a bit more the issue. There should be a bit of processing to create the proper XML files surrounding the generated html. The step xml -> html is mature with the given stylesheets. Images need to be processed though to be scaled to the ebook resolution (600px wide). From python, the PIL package (http://effbot.org/zone/python-fileinfo.htm) gives the functionality to know the size of a picture and eventually scale it.
A production rule would be desirable that given a single docbook file produces an epub package. The styles are present in docbook-xsl (although without profiling). The difficulty comes from the fact that two directories are created, the images need to be copied in the proper location as an additional step, a few additional passes are required and the zip created.
The rule would receive a single file name and perform all these steps. The trickiest one could be the inclusion of the right images or auxiliary files, but parsing the opf file could help detect anomalies.
This issue is likely to be open for quite some time.
The text was updated successfully, but these errors were encountered: