Extension:DownloadBook

DownloadBook extension allows Extension:Collection to generate PDF files without external MWServe server.

It can use third-party utilities such as pandoc (for ePub, ODT, etc.) or WeasyPrint (for PDF). They exist as packages in many Linux distributions.

Troubleshooting
Add the following to your LocalSettings.php:


 * IMPORTANT: 99,9% of issues are caused by incorrect installation of pandoc, permission errors, etc. You will see the cause in the log. Developer of this extension is NOT going to troubleshoot your server configuration for you.

Advanced configuration
You can modify the conversion commands in LocalSettings.php, for example:

Please see the file  for other configuration options. Also note that keys in  array are the same as formats in Extension:Collection (i.e.   is the command for PDF).

Again, installing third-party conversion tool is your own reponsibility. This extension simply calls that tool, and then provides the result to Extension:Collection.