-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build PDF on Actions, convert to EPUB and MOBI and expose as artifacts #3515
base: master
Are you sure you want to change the base?
Conversation
no explicit targets on build install texlive-xetex install texlive-fonts-recommended install texlive-fonts-extra mobi artifact
405a424
to
5ad3958
Compare
I note that Pandoc filter isn't working for |
There is no way to pass arguments to pandoc filter for distinguishing A new filter for epub successfully handles cross-references, but I don't know how to display block-notes in epub. Thus, block-notes are just text index heading-6. |
This looks cool! But I'll defer to @avsm for actually reviewing the build rules. |
The latest pandoc (2.17.1 from brew) breaks the build (https://github.com/realworldocaml/book/runs/5076046684?check_suite_focus=true), so I switch to apt (2.5). |
Command for converting
md
toepub
is borrowed from #3514. Runned Action with artifacts looks like this: https://github.com/prekel/book/actions/runs/1717097234