https://github.com/transpect/pdf2fxl
PDF to EPUB3 Fixed Layout converter
https://github.com/transpect/pdf2fxl
epub3 fixed-layout fxlepub pdf
Last synced: 12 months ago
JSON representation
PDF to EPUB3 Fixed Layout converter
- Host: GitHub
- URL: https://github.com/transpect/pdf2fxl
- Owner: transpect
- License: bsd-2-clause
- Created: 2015-08-27T13:51:42.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-04-18T17:00:49.000Z (about 4 years ago)
- Last Synced: 2025-03-02T13:17:20.761Z (over 1 year ago)
- Topics: epub3, fixed-layout, fxlepub, pdf
- Language: XProc
- Homepage:
- Size: 181 KB
- Stars: 25
- Watchers: 18
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pdf2fxl – A PDF to Fixed Layout EPUB Converter
## Prerequisites
1. [Poppler](http://poppler.freedesktop.org/), in particular poppler’s
`pdftohtml` binary
2. [ImageMagick](http://www.imagemagick.org/)
Poppler and ImageMagick are available for many package managers,
including Cygwin’s. We made sure that the Bash front-end script runs on
the Oracle Java for Windows / Cygwin combo. We have also tried to avoid
utilities/options such as `readlink -f` that are known to not work on
vanilla Mac OS X / BSD systems. However, we didn’t try it yet on a Mac
and we’d like to hear from you whether it’s woking there.
The other prerequisites are Java 1.7 (or newer) and bash.
## Clone the repository
It's necessary to clone the repository with the `--recursive` option
to include the Git submodules.
```
git clone http://github.com/transpect/pdf2fxl --recursive
```
## Invocation
`./pdf2fxl -d -e sample/demojam.pdf`
pdf2fxl {PDF}
| switch | options |
|--------|-------------------------|
| -z | zoom factor |
| -o | custom output directory |
| -r | raster text as image |
| -e | create epub |
| -p | omit poppler |
| -d | turn debug mode on |