3
0
mirror of https://git.coop/cotech/fund.git synced 2025-10-04 03:54:33 +00:00

Generate receipts for contributions

I based the pandoc stuff on a blog post[1] I found. I've generated 4
receipts for the contributions in
`statements/statement_2019-04-17_2019-06-03.pdf`.

[1] https://medium.com/@martin_betz/generate-pdf-invoices-from-markdown-using-pandoc-5cb3fe84ba3a
This commit is contained in:
Chris Lowis
2019-06-13 21:08:15 +01:00
parent d34714012f
commit 90db2499d0
12 changed files with 276 additions and 2 deletions

View File

@ -1,3 +1,18 @@
# fund
# Fund
Records and documentation for the CoTech fund
Records and documentation for the CoTech fund
## Generating receipts
Install `pandoc` and `wkhtmltopdf` using, for example homebrew on OS X
```
brew install pandoc
brew install Caskroom/cask/wkhtmltopdf
```
Then in `receipts/` create a markdown file from an existing one, and run, for example
```
pandoc -t html5 agile_collective_2019-2020.md -o agile_collective_2019-2020.pdf --css style.css
```