Loading...
 
Skip to main content

Features / Usability


Ugly HTML to PDF generation

Anyone noticed issues in PDFs generated from HTML wiki pages? (i.e. wiki pages created using HTML rather than wiki markup).

I seem to get a whole bunch of extraneous tags in the PDF output - e.g. opening and closing
< tt >
tags appear on each line of a pre-formatted block of text, and almost every line gets an additional
< br / >
tag at the end. Moreover, rendering of the content in the PDF appears different to how Tiki renders the wiki page.


PDFs generated from wiki pages created with wiki markup are, for the most part, fine (still a few odd characters inserted, but nowhere near as bad as for HTML wiki pages).

I'm testing on a "vanilla" install of Tiki 1.9.6 with php-xml 5.1.6-1.2.

Any feedback / workarounds appreciated - I have already tried searching Tiki bug lists, mailing lists, documentation etc. but nothing came up that was relevant / more recent then February 2006 in regards to PDF generation issues.

Cheers

> Any feedback / workarounds appreciated - I have already tried searching Tiki bug lists, mailing lists, documentation etc. but nothing came up that was relevant / more recent then February 2006 in regards to PDF generation issues.
>
> Cheers

As an alternative to the PDF feature, I use the Print feature and print to a local PDF print driver like CutePDFQuestion.

> As an alternative to the PDF feature, I use the Print feature and print to a local PDF print driver like CutePDFQuestion.

Hmm something like that did cross my mind.. I guess my users will have to do it that way. If I had a lot of spare time I'd try fixing the PDF generation myself, but unfortunately I don't.
Cheers