Skip to content

Commit

Permalink
Lulu-specific build tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ao5357 committed Apr 25, 2015
1 parent a8e4ddb commit d91110b
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 1 deletion.
Binary file added assets/build/book-lulu.pdf
Binary file not shown.
Binary file modified assets/build/sharons-cookbook.docx
Binary file not shown.
Binary file modified assets/build/sharons-cookbook.epub
Binary file not shown.
Binary file modified assets/build/sharons-cookbook.mobi
Binary file not shown.
Binary file modified assets/build/sharons-cookbook.pdf
Binary file not shown.
Binary file added assets/lulu-covers.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions assets/working/.~lock.lulu-covers.odt#
@@ -0,0 +1 @@
,brad,adele,24.04.2015 22:56,file:///home/brad/.config/libreoffice/4;
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/working/825x1075-Casewrap/ReadMe_EN.pdf
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/working/lulu-covers.odt
Binary file not shown.
7 changes: 6 additions & 1 deletion build.sh
Expand Up @@ -16,8 +16,13 @@ pandoc -S -t epub -o ../../assets/build/sharons-cookbook.epub --epub-metadata=..

# Make a pdf.
pandoc -S -o ../../assets/build/book-plain.pdf --latex-engine=xelatex index.html
pdfunite ../../assets/pdf_cover.pdf ../../assets/build/book-plain.pdf ../../assets/build/sharons-cookbook.pdf
pdfunite ../../assets/pdf_cover.pdf ../../assets/lulu-covers.pdf ../../assets/build/book-plain.pdf ../../assets/build/sharons-cookbook.pdf

# Make another pdf for lulu.
pdfunite ../../assets/lulu-covers.pdf ../../assets/build/book-plain.pdf ../../assets/build/book-nocover.pdf
gs -o ../../assets/build/book-lulu.pdf -sDEVICE=pdfwrite -dPDFFitPage -r300x300 -g2475x3225 ../../assets/build/book-nocover.pdf
rm ../../assets/build/book-plain.pdf
rm ../../assets/build/book-nocover.pdf

# Word processor format
pandoc -S -o ../../assets/build/sharons-cookbook.docx index.html
Expand Down

0 comments on commit d91110b

Please sign in to comment.