Skip to content

Commit 1af9726

Browse files
committed
Add requirements for epub creation
1 parent a906ab2 commit 1af9726

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

meta/metadata.xml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<dc:title>Paradigms of Artificial Intelligence Programming</dc:title>
2+
<dc:language>en-GB</dc:language>
3+
<dc:creator opf:file-as="Norvig, Peter" opf:role="aut">Peter Norvig</dc:creator>
4+
<dc:publisher>norvig.com</dc:publisher>
5+
<dc:date opf:event="publication">2018-04-21</dc:date>
6+
<dc:rights>Copyright © 2018 Peter Norvig</dc:rights>

meta/stylesheet.css

Whitespace-only changes.

meta/title.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
% Paradigms of Artificial Intelligence Programming
2+
% Peter Norvig

scripts/make-epub.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pandoc \
2+
-o PAIP-alpha.epub \
3+
meta/title.txt \
4+
docs/{frontmatter.md,preface.md,chapter?.md,chapter??.md,appendix.md,bibliography.md} \
5+
--epub-cover-image=docs/_media/paip-cover.gif \
6+
--css=meta/stylesheet.css \
7+
--epub-metadata=meta/metadata.xml \
8+
--table-of-contents

0 commit comments

Comments
 (0)