WL2PDF is an XSL-FO based converter from WLML (format used
by wolnelektury.pl for writing e-books) to print-friendly PDFs.
LICENSE SECTION
---------------
Copyright © 2009,2010 Łukasz Rekucki
WL2PDF is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
WL2PDF is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with WL2PDF. If not, see .
REQUIREMENTS
------------
- Fairly new Java Runtime (1.5+)
- Apache FOP
(at least version 0.95, trunk is recommended)
- XSLT 2.0 processor: Saxon9
- Hyphenation is done via FOP, so read a section on it in their docs.
- Some unicode-capable font, like DejaVu.
CONFIGURING
-----------
1) Compile FOP if needed.
2) Generate font metrics (refer to FOP Documentation on that)
3) Make a "fop-config.xml" out of the supplied example and place it in this directory.
RUNNING
-------
With Jython:
jython wl2pdf
With Java:
java org.lqsoft.wlml.WL2PDF
(Rember to place FOP, it's libraries and Saxon under your classpath).