wkhtmltopdf output is one page?

273 views
Skip to first unread message

Eric Pugh

unread,
Jul 19, 2010, 4:34:23 PM7/19/10
to Glyph
Hi,
On OSX, I downloaded wkhtmltopdf and used it to dump out a very long
textile document, that using Firefox preview -> PDF comes out as 7
pages. But using wkhtmltopdf it comes out as one very long PDF page!

Eric

h3raLd

unread,
Jul 19, 2010, 5:41:12 PM7/19/10
to Glyph
Hello Eric,

I assume you used Glyph and the textile[] macro to convert your
textile document, right? At any rate... *maybe* it could be a CSS
problem. Do you have "height: 100%" set for the body tag or similar?
If that's the case that could create problems in some cases when
paginating documents.

wkhtmltopdf support is going to be officially released with the next
Glyph release. I didn't test it extensively, but I did manage to
generate Glyph's book with it (and therefore using Glyph's default.css
and pagination.css), and didn't run into any particular problem.

Hope it helps!

Fabio

On Jul 19, 10:34 pm, Eric Pugh <ep...@opensourceconnections.com>
wrote:
Reply all
Reply to author
Forward
0 new messages