71 | | WikiPrint exports the wiki format to HTML first, then converts the HTML to PDF using xhtml2pdf library. Links and image references in the wiki to html conversion are made as absolute URLS, and then absolute urls (like http://myserver/myproject/wiki/attachments/myimage.jpg) are replaced by the environment local path before converting to PDF (like c:/path/to/my/environment/wiki/attachments/myimage.jpg). This should be done automatically, with no additional settings, from the URL in the request. |
72 | | |
73 | | * '''PLEASE NOTE''': There are some limitations in the supported image formats, due to the way the Image macro works. See #4865 |
74 | | * '''PLEASE NOTE''': When linking to an attachment, the format !attachment:file.ext or [attachment:file.ext] won't work. Use [attachment:wiki:PageName:file.ext] instead. The problem is in the trac code, I'll try to prepare a bug report and link here. |
| 75 | !WikiPrint exports the wiki format to HTML first, then converts the HTML to PDF using xhtml2pdf library. Links and image references in the wiki to html conversion are made as absolute URLS, and then absolute urls (like http://myserver/myproject/wiki/attachments/myimage.jpg) are replaced by the environment local path before converting to PDF (like c:/path/to/my/environment/wiki/attachments/myimage.jpg). This should be done automatically, with no additional settings, from the URL in the request. |