Skip to content

Commit

Permalink
Use current pandoc/latex image to generate epub (#703)
Browse files Browse the repository at this point in the history
Replace use of older `uppalabharath/pandoc-latex-cjk:latest`
image with `pandoc/latex:edge-ubuntu`.

At present the older image is from November 2021 and contains
Pandoc 2.16.1, whereas the `pandoc/latex:edge-ubuntu` image
is from March 2023 and provides Pandoc 3.1.1.

epub files generated using this newer image successfully import
into Google Play Books without error.

refs GH-598

Co-authored-by: Adam Chalkley <atc0005@users.noreply.github.com>
  • Loading branch information
atc0005 and atc0005 authored Sep 28, 2023
1 parent 6b481cf commit b4b789b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.books.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ docker run --rm -v `pwd`:/data uppalabharath/pandoc-latex-cjk:latest --from=gfm+
http-handlers-revisited.md \
anti-patterns.md

docker run --rm -v `pwd`:/data uppalabharath/pandoc-latex-cjk:latest --from=gfm+rebase_relative_paths --to=epub --file-scope title.txt -o learn-go-with-tests.epub --pdf-engine=xelatex --toc --toc-depth=1 \
docker run --rm -v `pwd`:/data pandoc/latex:latest --from=gfm+rebase_relative_paths --to=epub --file-scope title.txt -o learn-go-with-tests.epub --pdf-engine=xelatex --toc --toc-depth=1 \
gb-readme.md \
why.md \
hello-world.md \
Expand Down

0 comments on commit b4b789b

Please sign in to comment.