Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for OT 3.6+ #89

Closed
drmacro opened this issue Aug 3, 2021 · 2 comments
Closed

Update for OT 3.6+ #89

drmacro opened this issue Aug 3, 2021 · 2 comments
Assignees

Comments

@drmacro
Copy link
Member

drmacro commented Aug 3, 2021

Update EPUB transform to work properly with OT 3.6+

@drmacro
Copy link
Member Author

drmacro commented Aug 3, 2021

Several changes required to react to changes to the OT in version 3:

  • Must use pipeline elements to run XSLTs in order to have access to new storage API files (i.e., job.xml)
  • Graphic references are rewritten in the temp files and must be dereferenced via the job.xml file

@drmacro
Copy link
Member Author

drmacro commented Aug 5, 2021

Turns out using is both not required and breaks a number of things in the current transform, so not doing that.
Likewise, graphic references are not rewritten like they are in the PDF transform, so not an issue.

However, a number of other small issues have been fixed, including restoring copying of images properly and other small details that let to epubcheck errors and warnings.

WIth the various changes under this issue, the D4P user guide EPUB passes the latest epubcheck without any warnings or errors. Likewise, kindlepreviewer generates a good Kindle book without any issues from the D4P user guide EPUB.

@drmacro drmacro closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant