5
0
mirror of https://git.coop/cotech/fund.git synced 2024-12-18 09:33:05 +00:00
cotech-fund/ADMINISTRATION.md
2020-06-19 16:33:17 +01:00

28 lines
800 B
Markdown

# Administration
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
```
---
---
Alternatively, to make PDF invoices/receipts with markdown files [markdown themes](https://support.typora.io/About-Themes/) can be used. `theme/cotech.css` can be used as a CSS stylesheet and `invoice_template_themed.md` as template. Images path has to point to `img/` directory at the root of the repository. Invoices in `invoices/sent/2020` were created that way.