Closed drguildo closed 5 years ago
I get the same error, except image sources. I'm on Windows 10 (OS Build 14393.693). Using Bash on Ubuntu.
$ magicbook build
Config file detected: magicbook.json
Prince XML error
Same error build on Ubuntu. After investigation i downloaded and installed libpng12-0 http://packages.ubuntu.com/xenial/libpng12-0 Works perfectly now !
Hi guys, you need to download prince xml via http://www.princexml.com/download/
Can be also done from brew brew cask install prince
See reference here. https://github.com/shiffman/The-Nature-of-Code/issues/137#issuecomment-330720154
(Windows10)
All done right (prince installed) :
images always not linked at building
Sun Feb 18 10:39:15 2018: ---- begin Sun Feb 18 10:39:16 2018: build/build1/intro/intro_ex01.png: warning: can't open input file: No such file or directory Sun Feb 18 10:39:16 2018: build/build1/intro/intro_01.png: warning: can't open input file: No such file or directory Sun Feb 18 10:39:16 2018: build/build1/intro/intro_ex02.png: warning: can't open input file: No such file or directory Sun Feb 18 10:39:16 2018: build/build1/intro/intro_ex03.png: warning: can't open input file: No such file or directory
in build1 and 2, HTML img tag should point to the image files that are in assets directory but without /assets/ !?
In build1 dir, If I move all the files in assets/, down a dir level, le links work fine in consolidated.html
So I did the same in build2 to get a better looking with html version but html files are not consolidated in this dir.
Is there a way to get pdf version build with all the images?
(I bought version 1.0 on line in july 2016)
Thanks a lot for your reply
(sorry for my English)
DoMi
Prince (used as desktop app) tell me at compiling there is a problem with too long dir names... perhaps a track?
Please follow noc-book-2 for the new build system!
Trying to build the book on Windows I get the following output:
While the
build
directory is populated with files, all the images etc. are broken.errors.txt