{"id":40473,"date":"2015-12-15T21:11:38","date_gmt":"2015-12-15T21:11:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pressbooks-mpdf\/"},"modified":"2019-04-11T22:46:40","modified_gmt":"2019-04-11T22:46:40","slug":"pressbooks-mpdf","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/pressbooks-mpdf\/","author":10226821,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.3.1","stable_tag":"3.3.1","tested":"5.1.22","requires":"5.1.1","requires_php":"7.1","requires_plugins":"","header_name":"mPDF for Pressbooks","header_author":"BCcampus","header_description":"","assets_banners_color":"","last_updated":"2019-04-11 22:46:40","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/github.com\/bccampus\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":3620,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.6.1","1.6.2","1.6.2.1","1.6.2.2","1.6.2.3","1.7.0","2.0.0","3.0.0","3.1.0","3.1.1","3.1.2","3.1.3","3.2.0","3.2.1","3.2.3","3.2.4","3.3.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1787865","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1787865","resolution":"2","location":"assets"}},"screenshots":{"1":"The mPDF options of the PDF export.","2":"Select the PDF (mPDF) format for exporting your book as PDF."}},"plugin_section":[],"plugin_tags":[24239,50931,50932],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-40473","plugin","type-plugin","status-closed","hentry","plugin_tags-mpdf","plugin_tags-pressbooks","plugin_tags-textbook","plugin_committers-aparedes","plugin_committers-bdolor"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/pressbooks-mpdf.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/pressbooks-mpdf\/assets\/screenshot-1.png?rev=1787865","caption":"The mPDF options of the PDF export."},{"src":"https:\/\/ps.w.org\/pressbooks-mpdf\/assets\/screenshot-2.png?rev=1787865","caption":"Select the PDF (mPDF) format for exporting your book as PDF."}],"raw_content":"<!--section=description-->\n<p><a href=\"https:\/\/github.com\/mpdf\/mpdf\">mPDF<\/a> is an open source PHP class that generates PDF files from HTML.<\/p>\n\n<p>This plugin is an open source alternative for PDF generation if the license fee for <a href=\"http:\/\/www.princexml.com\/\">PrinceXML<\/a> is a barrier for users of Pressbooks.<\/p>\n\n<p><a href=\"https:\/\/wordpress.org\/plugins\/pressbooks\/\">Pressbooks<\/a> is a requirement in order for this plugin to do anything useful.<\/p>\n\n<h3>How to contribute code<\/h3>\n\n<p>Pull requests are enthusiastically received <strong>and<\/strong> scrutinized for quality.<\/p>\n\n<ul>\n<li>The best way is to initiate a pull request on <a href=\"https:\/\/github.com\/BCcampus\/pressbooks-mpdf\">GitHub<\/a>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>IMPORTANT!<\/p>\n\n<p>You must first install <a href=\"https:\/\/github.com\/pressbooks\/pressbooks\">Pressbooks<\/a>. This plugin won't work without it.\nThe Pressbooks github repository is updated frequently. <a href=\"https:\/\/github.com\/pressbooks\/pressbooks\/tree\/master\">Stay up to date<\/a>.<\/p>\n\n<h4>Using Git<\/h4>\n\n<ol>\n<li>cd \/wp-content\/plugins<\/li>\n<li>git clone https:\/\/github.com\/BCcampus\/pressbooks-mpdf.git<\/li>\n<li>Activate the plugin at the network level, through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<h4>OR, go to the WordPress Dashboard<\/h4>\n\n<ol>\n<li>Navigate to the Network Admin -&gt; Plugins<\/li>\n<li>Search for 'mPDF for Pressbooks'<\/li>\n<li>Click 'Network Activate'<\/li>\n<\/ol>\n\n<h4>OR, upload manually<\/h4>\n\n<ol>\n<li>Upload <code>pressbooks-mpdf<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin at the network level, through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What is mPDF?<\/dt>\n<dd><p>[mPDF](https:\/\/mpdf.github.io\/: A PHP library to generate PDF files from HTML with Unicode\/UTF-8 and CJK support<\/p>\n\n<p>It is based on FPDF and HTML2FPDF with a number of enhancements.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>See: https:\/\/github.com\/BCcampus\/pressbooks-mpdf\/commits\/master for more detail<\/p>\n\n<h4>3.3.1 (2019\/04\/11)<\/h4>\n\n<ul>\n<li>update author to org, travis<\/li>\n<\/ul>\n\n<h4>3.3.0 (2019\/04\/09)<\/h4>\n\n<ul>\n<li>update mPDF dependency to v8.0.0<\/li>\n<\/ul>\n\n<h4>3.2.5 (2019\/04\/09)<\/h4>\n\n<ul>\n<li>compatibility with PB v5.7.0<\/li>\n<li>update dependencies<\/li>\n<\/ul>\n\n<h4>3.2.4 (2018\/12\/19)<\/h4>\n\n<ul>\n<li>update mPDF to v7.1.7<\/li>\n<li>compatibility with PB v5.6.3<\/li>\n<\/ul>\n\n<h4>3.2.3 (2018\/11\/21)<\/h4>\n\n<ul>\n<li>[bug] fix options not saving margin size<\/li>\n<\/ul>\n\n<h4>3.2.2 (2018\/10\/15)<\/h4>\n\n<ul>\n<li>update mPDF to v7.1.5<\/li>\n<li>compatibility with PB v5.5.3<\/li>\n<li>enforced coding standards<\/li>\n<\/ul>\n\n<h4>3.2.1 (2018\/08\/09)<\/h4>\n\n<ul>\n<li>update mPDF to v7.1.3<\/li>\n<li>compatibility with PB v5.4.5<\/li>\n<\/ul>\n\n<h4>3.2.0 (2018\/07\/12)<\/h4>\n\n<ul>\n<li>update mPDF to v7.1.1<\/li>\n<\/ul>\n\n<h4>3.1.3 (2018\/06\/18)<\/h4>\n\n<ul>\n<li>better dependency management<\/li>\n<\/ul>\n\n<h4>3.1.2 (2018\/05\/22)<\/h4>\n\n<ul>\n<li>updating to mPDF v7.1.0<\/li>\n<li>added paper size information (props @colomet for the suggestion)<\/li>\n<li>fixed image centering for .aligncenter css class (props @gotomary for reporting)<\/li>\n<\/ul>\n\n<h4>3.1.1 (2018\/03\/13)<\/h4>\n\n<ul>\n<li>fix for Table of Contents missing titles (props @beckej13820 for reporting)<\/li>\n<li>update toc bookmark numbering (props @colomet for the suggestion)<\/li>\n<\/ul>\n\n<h4>3.1.0 (2018\/02\/27)<\/h4>\n\n<ul>\n<li>compatibility with PB5<\/li>\n<li>updating to mPDF v7.0.3<\/li>\n<li>plugin name change<\/li>\n<\/ul>\n\n<h4>3.1.0-rc.1 (2018\/02\/23)<\/h4>\n\n<ul>\n<li>Release Candidate, compatibility with PB 5<\/li>\n<\/ul>\n\n<h4>3.0.0 (2017\/12\/15)<\/h4>\n\n<ul>\n<li>Compatibility with Pressbooks 4.5.0<\/li>\n<li>Requires PHP 7+ and WP 4.9.1<\/li>\n<li>Updated mpdf to v7.0.2<\/li>\n<li>Theme parity (export style matches theme)<\/li>\n<li>Uses XHTML file as data source (same as PrinceXML)<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Compatibility with Pressbooks 4.0.0<\/li>\n<li>Moved temp directories into uploads directory, eliminating the need for making subdirectories of the plugin writeable (fixes #19)<\/li>\n<li>Fixed an issue with mPDF theme options introduced by an earlier release of Pressbooks<\/li>\n<\/ul>\n\n<h4>1.7.0 (2017\/05\/31)<\/h4>\n\n<ul>\n<li>compatibility with Pressbooks 3.9.9<\/li>\n<\/ul>\n\n<h4>1.6.2.3 (2017\/04\/20)<\/h4>\n\n<ul>\n<li>compatibility with Pressbooks 3.9.8.2<\/li>\n<\/ul>\n\n<h4>1.6.2.2 (2017\/04\/18)<\/h4>\n\n<ul>\n<li>fix for redeclare htmlawed error<\/li>\n<\/ul>\n\n<h4>1.6.2.1 (2017\/04\/10)<\/h4>\n\n<ul>\n<li>compatibility with modifications to htmlawed dependency<\/li>\n<\/ul>\n\n<h4>1.6.2 (2017\/04\/07)<\/h4>\n\n<ul>\n<li>compatibility with Pressbooks 3.9.8 (props @greatislander)<\/li>\n<\/ul>\n\n<h4>1.6.1 (2017\/02\/08)<\/h4>\n\n<ul>\n<li>updated mPDF dependency to 6.1<\/li>\n<li>switched to composer for dependency management<\/li>\n<\/ul>\n\n<h4>1.0.1 (2015\/12\/15)<\/h4>\n\n<ul>\n<li>initial release<\/li>\n<\/ul>","raw_excerpt":"mPDF for Pressbooks","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40473"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bdolor"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40473"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40473"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40473"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40473"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40473"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}