Build PDF on Actions, convert to EPUB and MOBI and expose as artifacts#3515
Open
prekel wants to merge 18 commits intorealworldocaml:masterfrom
Open
Build PDF on Actions, convert to EPUB and MOBI and expose as artifacts#3515prekel wants to merge 18 commits intorealworldocaml:masterfrom
prekel wants to merge 18 commits intorealworldocaml:masterfrom
Conversation
no explicit targets on build install texlive-xetex install texlive-fonts-recommended install texlive-fonts-extra mobi artifact
405a424 to
5ad3958
Compare
Contributor
Author
|
I note that Pandoc filter isn't working for |
Contributor
Author
|
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. |
Member
|
This looks cool! But I'll defer to @avsm for actually reviewing the build rules. |
Contributor
Author
|
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). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Command for converting
mdtoepubis borrowed from #3514. Runned Action with artifacts looks like this: https://github.com/prekel/book/actions/runs/1717097234