Closed Gotomary closed 6 years ago
thanks @Gotomary for reporting - will try and recreate and get back to you.
@Gotomary
inc/modules/export/mpdf/class-pdf.php
Hello,
Thank you for your reply.
I have ticked the PDF options Display table of contents, and the file class-pdf.php is uncommented on the line that was suggested. However, the TOC is still not exporting,
I have written in http://discourse.pressbooks.org and they suggested it could be a bug?
The XHTML file is http://book.phang.org/wp/march/open/download?type=xhtml and the PDF is http://book.phang.org/wp/march/open/download?type=mpdf
Thanks again for your help.
sorry, could you try commenting out line 600?
Sorry, wasn't too sure what uncommenting meant (I'm a newbie) so thank you for that. It works!
Have a lovely day. :)
mPDF won’t export my table of contents when creating a PDF.
Will you be able to help point me in the right direction as to how to rectify this?
I have tried looking this up on the internet, but there has been no solution.
I’m using Pressbooks Version 4.5.1 and Pressbooks mPDF Version 3.0.0. and Wordpress Version 4.9.4.
I have ticked Display table of contents in the mPDF options tab in Theme Options.
The chapters have names and the parts are not hidden.
Thank you in advance.
System Information