Topic on Extension talk:Mpdf

How to: Some small settings and changes?

1
OOZ.MOO (talkcontribs)

Hi again, I need help regarding some issues I'm having with some settings for my PDF output. Would greatly appreciate your help:

-At the end of the PDF document, there's a footer which is printed out (A grey line) which I need to remove. I haven't found anywhere in the php codes where this line is produced. It's not the general footer, it's just one line which is there always after the last line of the last page. It casues sometime a new extra page to be added.

(Update:The footer is embeded in the Skin from Mediawiki. It's unrelated to the mPDF and must be taken out from the skins)


-Some special characters which are embeded into Wiki pages (for example "->" written by the tag "→" ) are not translated in the output. Can this be fixed somehow?

-Can I choose if the auto-generated Table of Contents to not be printed in the output? I need to keep them in the wiki online page, but don't want them in the PDF output. The same goes for the "Tooltips" which can be embeded into wiki page by the code "{{tip|" . Can you somehow tell mPDF to jump over these tags?

-My output layout is a two sided A5 page, and I need to have always the text and description on the left page(odd pages) and the pictures on the right (even pages). Is there anyway to achieve this automatically? I can reach it somehow with page breaks before or after the pictures, but that means doing it for every single entry I have in my Wiki page. Is there a hack to it maybe with the PHP codes?

-Lastly, have you managed to add the "collect and print different/all pages of a wiki into one single pdf file? Or do you have any perspective on this?

Thanks a million times for your time and effort in this extension.

Reply to "How to: Some small settings and changes?"