Difference between revisions of "Talk:Pdf-export.php"
From Organic Design wiki
(properties example) |
(In-page rendering parameters with HTML comments) |
||
Line 1: | Line 1: | ||
− | = Overriding default | + | = In-page rendering parameters with HTML comments = |
+ | See http://www.htmldoc.org/documentation.php/Comments.html | ||
+ | |||
+ | = Overriding default rendering parameters = | ||
Here's an example of using article properties to override the default rendering parameters of the pdf export: | Here's an example of using article properties to override the default rendering parameters of the pdf export: | ||
<table class=document-code><tr><td>[[+Xml:Category:Zenovia/Business Plan]]</table> | <table class=document-code><tr><td>[[+Xml:Category:Zenovia/Business Plan]]</table> |
Revision as of 00:21, 13 February 2007
Contents
In-page rendering parameters with HTML comments
See http://www.htmldoc.org/documentation.php/Comments.html
Overriding default rendering parameters
Here's an example of using article properties to override the default rendering parameters of the pdf export:
+Xml:Category:Zenovia/Business Plan |
Images
Images aren't working either, the docs say it can load all the normal kinds, and I've added the --jpeg option, but images are just blank. --Nad 08:58, 25 Jan 2007 (NZST)
- I've used htmldoc before quite a while ago and I seem to remember something about image embedding. I think you need to provide an absolute (fully qualified) URL or something like that. --Rob 09:01, 25 Jan 2007 (NZST)
- Yip that was the issue :-) images working now - I had to do a regexp to convert the href's to absolute, but of course the images use src not href so they were still relative. --Nad 10:04, 25 Jan 2007 (NZST)
Colour
PDF export very good. Can we have colour? --Rob 08:36, 25 Jan 2007 (NZST)
- According to the docs you can, but I've added the --color switch, but to no avail - I think it may only work for colours done with html font tags not CSS/style tags. --Nad 08:39, 25 Jan 2007 (NZST)