I am working on a long pdf divided in several chapters chapter1.html, chapter2.html... and so on. Doing some test with the baseline snap() function I can't make it work when combining multiple html into a single PDF:
Does not work
both html have:
if I run
It works without any issue and images height is adjusted, any ideas on why this happens?
Many thanks!
prince-books --javascript ch1.html ch2.html -o book.pdf
Does not work
both html have:
<body onload="debug(); snap('14pt', 'img', 'height');">
if I run
prince-books --javascript ch2.html -o book.pdf
It works without any issue and images height is adjusted, any ideas on why this happens?
Many thanks!