machine-learning-systems-design icon indicating copy to clipboard operation
machine-learning-systems-design copied to clipboard

Build PDF failed

Open ttpro1995 opened this issue 3 years ago • 1 comments

I try to build with

magicbook build

It print out console like this

Config file detected: magicbook.json
Prince XML error
-> HTML build finished

In build folder, there are no PDF(s)

ttpro1995 avatar Jan 12 '22 06:01 ttpro1995

Solution: Need to manually install prince xml into system.

Download prince xml here https://www.princexml.com/download/

Then install. If you are using ubuntu 18.04, the installation command is:

sudo dpkg -i prince_14.2-1_ubuntu18.04_amd64.deb 

After install prince without error, magicbook should be able to render pdf. The install the node package prince and princexml is not enough, and it will not work without prince.

ttpro1995 avatar Jan 12 '22 06:01 ttpro1995