Dear all,
we are using XWiki for the project websites and online
documentation of our open source projects and are
(almost) very happy with it.
For releasing distributions and for easy printing of multi-page
documents, we would like to use the PDF export facility
of XWiki. The problem is that the
On Fri, Jun 11, 2010 at 14:50, Alexander Pokahr
wrote:
> Dear all,
>
> we are using XWiki for the project websites and online
> documentation of our open source projects and are
> (almost) very happy with it.
>
> For releasing distributions and for easy printing of multi-page
> documents, we would
Dear Thomas,
thanks for your quick reply.
I tried following the instructions at:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel
I even tried with very simple css snippets such as:
h1
{
color: blue;
}
but it doesn't seem to have any effect o
On Fri, Jun 11, 2010 at 17:22, Alexander Pokahr
wrote:
> Dear Thomas,
>
> thanks for your quick reply.
> I tried following the instructions at:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel
>
> I even tried with very simple css snippets such
Hi Tomas, all,
debugging XWiki in eclipse, I found at least part of the problem:
In PdfExportImpl.convertToStrictXHtml() the page is converted
to strict xhtml using jtidy. Unfortunately, jtidy also imposes its own
indentation on the document, which effectively breaks any
environment like the one
Dear all,
this issue is really a showstopper for us.
What I did now was adding two hacks to PdfExportImpl.java:
1) Remove call to JTidy in convertToStrictXHtml() and instead just
do a trim() on the html string.
2) Do not apply the user CSS rules if there are none (i.e. don't call
applyCSS() if c
Did you tryed to export a xwiki/20 document which is using the new
{{code}} macro instead ? This one is not based on so you should
not get the same issues.
On Wed, Jun 16, 2010 at 15:43, Alexander Pokahr
wrote:
> Dear all,
>
> this issue is really a showstopper for us.
> What I did now was addin
Dear Thomas,
thanks for the suggestion. I'll try it out and let you know.
Cheers,
Alex
Thomas Mortagne schrieb:
> Did you tryed to export a xwiki/20 document which is using the new
> {{code}} macro instead ? This one is not based on so you should
> not get the same issues.
>
> On Wed, Jun 16, 2