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
{{ message }}
This repository has been archived by the owner on May 4, 2019. It is now read-only.
TLDR: I think the problem is in the attributes/values within the <Table> element that @youthelectronix is using. Tables created with the current default Pressbooks markup export no problem in mPDF. And when I removed style="width: auto;" from the table element, I was able to export the table in mPDF.
So I don't know if this is a bug or if the table just needs to be recreated using the updated Pressbooks markup. Here are the specifics of what I found:
When I used the following table markup, which is the deafult table markup I get when I create a new table in Pressbooks, I have no problems exporting a table in mPDF:
HTML view: mPDF view:
However, when I imitate the html provided in the above example, I get the following:
HTML view: Visual Editor view: MPDF view:
**Note that I also tried creating the table using the same width="XXpx" values used in the previous example, but that did not affect the mPDF output.
When I removed style="width: auto;" from the table element, I get the following:
The style="width: auto;" is not a problem in Prince PDF exports. Table elements with that attribute/value appear fine, so this is definately a mPDF problem.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Table is not appearing in an mPDF export.
Pressbooks version
text editor
mPDF version
System Information
The text was updated successfully, but these errors were encountered: