https://github.com/transpect/epub2epub
XProc library for migrating mostly older EPUBs to newer EPUB standards
https://github.com/transpect/epub2epub
Last synced: 5 months ago
JSON representation
XProc library for migrating mostly older EPUBs to newer EPUB standards
- Host: GitHub
- URL: https://github.com/transpect/epub2epub
- Owner: transpect
- License: bsd-2-clause
- Created: 2023-11-07T09:38:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-18T14:33:16.000Z (6 months ago)
- Last Synced: 2025-12-21T19:33:17.635Z (6 months ago)
- Language: XProc
- Homepage:
- Size: 91.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# epub2epub
This library takes EPUB 2.0 and EPUB 3.0 and converts them to more recent standards.
## Options
| Option | Description |
|---|---|
| href | Path to the EPUB file. |
| outdir | Where the output will be stored. |
| create-epub | Whether to create an EPUB with transpect epubtools module. When set to 'no', the contents and epub-config extracted from the input EPUB are stored to outdir. |
| epub-version | EPUB version for conversion, e.g. 'EPUB2', 'EPUB3'. For example, if the EPUB is simply invalid, you can simply keep the version and repair it. |
| html-subdir-name | Name of the directory where the HTML files are stored in the EPUB package. |
| toc-page | (HTML) page index after there the toc is inserted. |
| remove-chars-regex | Regular expression which matches characters to be deleted in filenames. |
| debug | Pass "yes" to switch on storing debugging output. |
| debug-dir-uri | The URI where the debug files are stored. |
| status-dir-uri | The URI where messages are stored. |
| terminate-on-error | Abort on error or attempt to catch it. |