Skip to content
/ wl2pdf Public

XSL-FO based converter of WLML (book standard used by wolnelektury.pl) to print-friendly PDFs.

License

Notifications You must be signed in to change notification settings

lqc/wl2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WL2PDF is an XSL-FO based converter from WLML (format used by wolnelektury.pl to print-friendly PDFs).

License

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 <http://www.gnu.org/licenses/>.

Requirements

  • Fairly new Java Runtime (1.5+)

  • Apache FOP (at least version 0.95, trunk is recommended)

  • Saxon for XSLT2

  • Hyphenation is done via FOP, so read a section on it in their docs.

  • Some unicode-capable font, like DejaVu.

Configuration

  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 <list_of_files_to_convert>

With Java:

java org.lqsoft.wlml.WL2PDF <path_to_config> <file_to_convert>

Rember to place FOP, it's libraries and Saxon under your classpath.

About

XSL-FO based converter of WLML (book standard used by wolnelektury.pl) to print-friendly PDFs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published