-
Notifications
You must be signed in to change notification settings - Fork 197
Using plain text OCR and Markdown for EPUB PDF export
I have seen a feature request in the issues page for exporting to epub. This can be done quite easy using the Markdown format, it is very easy to learn and does not involve much coding. Here is a cheat sheet.
I use these workflows in Linux, so Windows users may have to adapt a bit.
Pandoc (pdf/epub) pandoc.
Here are some examples:
https://jdhao.github.io/2019/05/30/markdown2pdf_pandoc/
https://learnbyexample.github.io/customizing-pandoc/
https://keleshev.com/my-book-writing-setup/
CTAN/markdown package. With this, you can either embed Markdown syntax in your latex files, or embed .md files themself. I don't recommend LaTeX or ConTeXT for epub exporting.
This IDE has a nice addon called bookdown and allows you to export Markdown and r-markdown to pdf/epub.
ePub is mostly HTML/CSS code, if you export your OCR Markdown text to Ppub, you can use Sigil to fine tune your ePub, like cover picture, ToC, CSS etc.