CSS "vertical-align: 33%" NOT supported in ePub -> DocX Conversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The correct behavior would be for a positive vertical-align to become a superscript and a negative vertical-align to become a subscript. A bandaid fix would be to ignore the vertical-align entirely and generate a .docx.
Currently the .docx fails to be generated and an error is displayed.
This has been replicated on multiple platforms, but I have a MacBook Pro with Calibre 2.33.0 running 10.10.4. You can reach me at <email address hidden> if you need additional information.
From the error log:
Python function terminated unexpectedly: 'TextStyle' object has no attribute 'vertical_align'
Traceback (most recent call last):
File "/Applications/
return run_entry_point()
File "/Applications/
return getattr(pmod, func)()
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
AttributeError: 'TextStyle' object has no attribute 'vertical_align'
Attach an epub file demonstrating/ reproducing the problem to this bug report. You can do that by clicking the "Add attachment or patch" link at the bottom of the bug's page. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny lock icon next to "This report contains Public information" in the top right area of the bug's page.
status incomplete