mPDF is an open source PHP class that generates PDF files from HTML.
This plugin is an open source alternative for PDF generation if the license fee for
PrinceXML is a barrier for users of Pressbooks.
Pressbooks is a requirement in order for this plugin to do anything useful.
IMPORTANT!
You must first install
Pressbooks. This plugin won't work without it.
The Pressbooks github repository is updated frequently.
Stay up to date.
Using Git
- cd /wp-content/plugins
- git clone https://github.com/BCcampus/pressbooks-mpdf.git
- Activate the plugin at the network level, through the 'Plugins' menu in WordPress
OR, go to the WordPress Dashboard
- Navigate to the Network Admin -> Plugins
- Search for 'mPDF for Pressbooks'
- Click 'Network Activate'
OR, upload manually
- Upload
pressbooks-mpdf
to the /wp-content/plugins/
directory
- Activate the plugin at the network level, through the 'Plugins' menu in WordPress
See:
https://github.com/BCcampus/pressbooks-mpdf/commits/master for more detail
3.3.1 (2019/04/11)
- update author to org, travis
3.3.0 (2019/04/09)
- update mPDF dependency to v8.0.0
3.2.5 (2019/04/09)
- compatibility with PB v5.7.0
- update dependencies
3.2.4 (2018/12/19)
- update mPDF to v7.1.7
- compatibility with PB v5.6.3
3.2.3 (2018/11/21)
- [bug] fix options not saving margin size
3.2.2 (2018/10/15)
- update mPDF to v7.1.5
- compatibility with PB v5.5.3
- enforced coding standards
3.2.1 (2018/08/09)
- update mPDF to v7.1.3
- compatibility with PB v5.4.5
3.2.0 (2018/07/12)
3.1.3 (2018/06/18)
- better dependency management
3.1.2 (2018/05/22)
- updating to mPDF v7.1.0
- added paper size information (props @colomet for the suggestion)
- fixed image centering for .aligncenter css class (props @gotomary for reporting)
3.1.1 (2018/03/13)
- fix for Table of Contents missing titles (props @beckej13820 for reporting)
- update toc bookmark numbering (props @colomet for the suggestion)
3.1.0 (2018/02/27)
- compatibility with PB5
- updating to mPDF v7.0.3
- plugin name change
3.1.0-rc.1 (2018/02/23)
- Release Candidate, compatibility with PB 5
3.0.0 (2017/12/15)
- Compatibility with Pressbooks 4.5.0
- Requires PHP 7+ and WP 4.9.1
- Updated mpdf to v7.0.2
- Theme parity (export style matches theme)
- Uses XHTML file as data source (same as PrinceXML)
2.0.0
- Compatibility with Pressbooks 4.0.0
- Moved temp directories into uploads directory, eliminating the need for making subdirectories of the plugin writeable (fixes #19)
- Fixed an issue with mPDF theme options introduced by an earlier release of Pressbooks
1.7.0 (2017/05/31)
- compatibility with Pressbooks 3.9.9
1.6.2.3 (2017/04/20)
- compatibility with Pressbooks 3.9.8.2
1.6.2.2 (2017/04/18)
- fix for redeclare htmlawed error
1.6.2.1 (2017/04/10)
- compatibility with modifications to htmlawed dependency
1.6.2 (2017/04/07)
- compatibility with Pressbooks 3.9.8 (props @greatislander)
1.6.1 (2017/02/08)
- updated mPDF dependency to 6.1
- switched to composer for dependency management
1.0.1 (2015/12/15)