summaryrefslogtreecommitdiff
path: root/docs/coversizing.py
diff options
context:
space:
mode:
authorAlexandre Bourget <alexandre.bourget@savoirfairelinux.com>2011-03-24 12:07:09 -0400
committerAlexandre Bourget <alexandre.bourget@savoirfairelinux.com>2011-03-24 12:07:09 -0400
commit95e799d074de2e81914d513b4c331df1e738c00e (patch)
treeb3039037533610d8c86d82bb28f139d8a3777013 /docs/coversizing.py
parent22d3253a26767501827d86b56db3a9b79bef6c4e (diff)
parentb596e1812627c359908759d7a8d83c339f08e385 (diff)
downloadpyramid-95e799d074de2e81914d513b4c331df1e738c00e.tar.gz
pyramid-95e799d074de2e81914d513b4c331df1e738c00e.tar.bz2
pyramid-95e799d074de2e81914d513b4c331df1e738c00e.zip
Merge remote branch 'source/master'
Conflicts: docs/narr/hooks.rst
Diffstat (limited to 'docs/coversizing.py')
-rw-r--r--docs/coversizing.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/coversizing.py b/docs/coversizing.py
new file mode 100644
index 000000000..054a741eb
--- /dev/null
+++ b/docs/coversizing.py
@@ -0,0 +1,19 @@
+# see https://www.createspace.com/Products/Book/#content4
+# https://www.createspace.com/Help/Index.jsp?orgId=00D300000001Sh9&id=50170000000I7be
+
+page_count = 600
+bleed = .125
+spine_width = .002252 * page_count
+trim_width = 7.5
+trim_height = 9.25
+min_cover_width = bleed + trim_width + spine_width + trim_width + bleed
+min_cover_height = bleed + trim_height + bleed
+
+print "spine width ", spine_width, "inches"
+print "min cover width ", min_cover_width, "inches"
+print "min cover height ", min_cover_height, "inches"
+
+print "barcode placeholder width: 2 inches"
+print "barcode placeholder height: 1.2 inches"
+print "bottom of barcode must be .25 inches from bottom trim line of cover"
+print "right side of barcode must be .25 inches to left of spine"