added booklet and back

pull/22/head
Merlijn Sebrechts 4 years ago
parent 9488847576
commit f4e5bcccf3
  1. 10
      .travis.yml
  2. 8
      CONTRIBUTING.md
  3. 3336
      back.pdf
  4. 11551
      cover+back.ai
  5. BIN
      cover.pdf
  6. 9
      include-back.tex

@ -14,12 +14,18 @@ language: R
# - dvipng
# - lmodern
install: tlmgr install mdframed mweights needspace sourcecodepro sourcesanspro collection-fontsextra
script: pandoc --verbose pandoc-metadata.yaml README.md [0-9]*.md -o hack-the-hackerspace.pdf --template eisvogel.tex --toc --listings --metadata date="`date +%D`" --include-before-body=include-cover.tex
script: |
pandoc --verbose pandoc-metadata.yaml README.md [0-9]*.md -o hack-the-hackerspace.pdf --template eisvogel.tex --toc --listings --metadata date="`date +%D`" --include-before-body=include-cover.tex
numpages=$(pdfinfo hack-the-hackerspace.pdf | awk '/^Pages/ { print $2}')
pdfbook hack-the-hackerspace.pdf 2-$(($numpages-2)) -o hack-the-hackerspace-booklet-body.pdf
deploy:
provider: releases
api_key:
secure: cIRIKuDWejK79Kojh2URkQBmQcKDJtH/MmrzgCySQ7ArjbZ6/cPkS014QbNmUft4GiRGZzIiulfkkvLtdT4UVGVXEw7gTK/V5b6bEci6fst4rDPL/hCDeXcLutOxcOwb7vei38V5XhE+1D2UcFQFNJFkeo60WKWR9ybIQ7pAemo=
file: hack-the-hackerspace.pdf
file:
- hack-the-hackerspace.pdf
- hack-the-hackerspace-booklet-cover.pdf
- hack-the-hackerspace-booklet-body.pdf
skip_cleanup: true
on:
repo: "0x20/HTH"

@ -13,3 +13,11 @@ Generate the print version using `pandoc`.
```bash
pandoc pandoc-metadata.yaml README.md [0-9]*.md -o hack-the-hackerspace.pdf --template eisvogel.tex --toc --listings --metadata date="`date +%D`" --include-before-body=include-cover.tex
```
Generate the booklet version from the print version. The cover and back should be printed separately.
```bash
pandoc --verbose pandoc-metadata.yaml README.md [0-9]*.md -o hack-the-hackerspace.pdf --template eisvogel.tex --toc --listings --metadata date="`date +%D`" --include-before-body=include-cover.tex
numpages=$(pdfinfo hack-the-hackerspace.pdf | awk '/^Pages/ { print $2}')
pdfbook hack-the-hackerspace.pdf 2-$(($numpages-2)) -o hack-the-hackerspace-booklet-body.pdf
```

3336
back.pdf

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -0,0 +1,9 @@
% This file contains latex code that should be added at the front of the
% generated latex document. This is done by using the pandoc command line
% option `--include-before-body=include-cover.tex'
%
% Note that, in order for this to work, \usepackage{pdfpages} also
% needs to be added to the header of the latex document. This is done
% in pandoc-metadata.yaml
%
\includepdf[pages=-]{back.pdf} % include the cover PDF
Loading…
Cancel
Save