xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Walton <noloa...@gmail.com>
Subject Re: Default XSL Stylesheet for PDF?
Date Tue, 25 Oct 2011 09:11:44 GMT
On Tue, Oct 25, 2011 at 4:31 AM, Eduard Tibet <eduard.tibet@i-free.com> wrote:
> Jeff,
>
> Despite your question is more about Docbook specific points, than FOP, I'll try to give
you an idea.
My bad. When the other tools did not work, someone (on a mailing list)
suggested I use Apache FOP.

> If you are using Docbook, try the following 2-step transformation.
>
> 1. Use xsltproc to create a FO file using default Docbook:
>
> xsltproc --xinclude --output book.fo <path_to_your_docbook_xsl_stylesheets>/docbook-xsl-1.76.1/fo/docbook.xsl
book.xml
>
> As a result you will get .fo-file: book.fo
>
> 2. Using FOP try to create PDF: fop book.fo book.pdf
>
> Hope this helps.
>
> P.S. If you are using Windows OS, replace the slash to the opposite one (sorry, but I
forgot about what slash is reverse and what is normal).
Thanks for the help,

jeff

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message