Hi Mohamed,
On 24 Mar 2018, at 19:12, Mohamed Ashraf
<morybtf(a)gmail.com> wrote:
Currently, the PDF export of XWiki is implemented based on XSL-FO and
transformation of XHTML to FO. This poses a couple of problems, mainly
related to the current level of support of FO from libraries implementing
FO to PDF transformation, as well as the limitations of automatized
transformation of XHTML to FO. The problems are mainly related to styling
limitations, auto-layouting, etc.
The idea is to try to replace this with a pure XHTML & CSS (paged CSS)
export, using an open source library for producing PDFs out of this
,
Sure, but which one?
The only alternative I know is flying saucer (which is dead:
https://github.com/flyingsaucerproject/flyingsaucer). Is that what you mean?
Do you know a maintained fork of it? One that I know is used by a competing wiki:
https://bitbucket.org/atlassian/xhtmlrenderer-atlassian
Are you doing this as part of this GSOC project:
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/ImplementPDFexportwi…
?
Thanks
-Vincent
and I will see LaTeX ,
thanks
2018-03-24 19:52 GMT+02:00 Vincent Massol <vincent(a)massol.net>et>:
> Hi Mohamed,
>
>> On 24 Mar 2018, at 18:44, Mohamed Ashraf <morybtf(a)gmail.com> wrote:
>>
>> If we should replacing the XSL-FO which we use to export PDF file out of
>> XML,
>> with XML and CSS only with open-source library ,
>>
>> and I think * ”CSS Paged Media “ *
>>
>> is this good enough to do that ,
>> or there are any suggestion
>
> Sorry but I don’t understand your question. Why would you want toi replace
> XSL-FO in your XWiki install?
>
> If you’d like to contribute to XWiki dev, then could you provide more
> context and explain why you want to replace XSL-FO and by what.
>
> You may also be interested by the LaTeX exporter which can be used to
> generate PDFs:
http://extensions.xwiki.org/xwiki/bin/view/Extension/LaTeX/
>
> Thanks
> -Vincent
>
>
>