Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build PDF failed #12

Open
ttpro1995 opened this issue Jan 12, 2022 · 1 comment
Open

Build PDF failed #12

ttpro1995 opened this issue Jan 12, 2022 · 1 comment

Comments

@ttpro1995
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant