-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support OT 2.x and 1.x #58
Comments
Using this issue to fix some cosmetic issues in the EPUB transform (incorrect informational messages, debug handling, etc.). |
Partial support for OT 2.x implemented as of release 1.0.0RC18. However, full testing not yet done. XSLT uses now-deprecated templates for getting strings. |
The generated EPUBs using DITA OT 2.x are invalid according to EPUB Checker because they contain HTML 5 elements like article, main and also attributes like "aria-labelledby" which do not point to a specific target.
there is a template:
which no longer gets called for your output, template which removes various HTML 5 elements and attributes.
you could add your own equivalent filtering:
|
Also the @scale attribute is not supported on images. There is a new DITA OT 2.x ANT target called "xhtml.image-metadata" which enriches the image elements in the DITA temporary topics with special attributes which list the original width and height detected from the image and it should get called before the main XSLT part of the EPUB plugin. |
Need to be able to run with OT 1.x or 2.x from same code distribution.
The text was updated successfully, but these errors were encountered: