Skip to content

EPUB to PDF improvement - EPUB -> HTML -> Typst -> PDF#583

Open
Explosion-Scratch wants to merge 1 commit intop2r3:masterfrom
Explosion-Scratch:epub-typst-pdf
Open

EPUB to PDF improvement - EPUB -> HTML -> Typst -> PDF#583
Explosion-Scratch wants to merge 1 commit intop2r3:masterfrom
Explosion-Scratch:epub-typst-pdf

Conversation

@Explosion-Scratch
Copy link
Copy Markdown
Contributor

Added epub.ts which converts EPUB to HTML using epubjs. Extends Pandoc for HTML -> Typst (allowing asset inlining), registers epubjs-html pandoc and typst earlier so that path prefers them.

Result is correct EPUB to PDF conversion with pagebreaks and formatting, and EPUB to HTML looks amazing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant