Skip to content

Commit 44397a7

Browse files
committed
use PDF format suitable for Sony Digital Paper.
1 parent 25d32e8 commit 44397a7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ebooks.mk

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ html: $(name).html
2525
%.pdf: $(name).html
2626
cp tutorial-simple.css tutorial.css
2727
ebook-convert $< $@ \
28-
--margin-bottom 25 \
29-
--margin-top 25 \
30-
--margin-left 20 \
31-
--margin-right 20 \
28+
--override-profile-size \
29+
--margin-bottom 10 \
30+
--margin-top 10 \
31+
--margin-left 10 \
32+
--margin-right 10 \
3233
--no-chapters-in-toc \
3334
--book-producer 'agentzh' \
34-
--pdf-default-font-size 1 \
35-
--pdf-mono-font-size 1 \
35+
--pdf-default-font-size 12 \
36+
--pdf-mono-font-size 12 \
3637
--paper-size a4 \
37-
--output-profile kindle \
3838
--title "$(title)" --publisher 'agentzh' \
3939
--language $(lang2) --authors 'agentzh'
4040
git co tutorial.css

0 commit comments

Comments
 (0)