Skip to content

Commit

Permalink
edition: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
v-gb committed May 3, 2024
1 parent 2b1c632 commit a191669
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions edition/alice
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,15 @@ case "${1-}" in
)
ebook-convert \
Alice_au_pays_des_merveilles-manual-conv.epub \
Alice_au_pays_des_merveilles-manual-conv-tmp.pdf \
Alice_au_pays_des_merveilles-manual-conv.pdf \
--pdf-page-numbers \
--pdf-use-document-margins \
--pdf-default-font-size=16 \
--pdf-page-number-map='n < 11 ? 0 : n - 11 + 1' \
--remove-paragraph-spacing \
--remove-paragraph-spacing-indent-size=-1 \
--pdf-hyphenate $(true pour le chapitre 1, image du rideau) \
--pdf-no-cover \
--pdf-footer-template "$(cat <<EOF
<footer>
<div style="margin: auto; font-size: smaller"></div>
Expand Down Expand Up @@ -273,8 +274,5 @@ a {
*/
EOF
)
qpdf Alice_au_pays_des_merveilles-manual-conv-tmp.pdf --pages . 2-z -- \
Alice_au_pays_des_merveilles-manual-conv.pdf
# rm -f Alice_au_pays_des_merveilles-manual-conv{,1}.epub
rm -f Alice_au_pays_des_merveilles-manual-conv-tmp.pdf
esac

0 comments on commit a191669

Please sign in to comment.