You could implement this on top of Fava (
http://beancount.github.io/fava/):
- Generate your report as HTML and then print it as PDF. There are also libraries (
http://weasyprint.org for example) that can do that on the server (in Fava) for you, so you can render a HTML-page to a PDF and then send it to the browser.
- In your HTML-template, use metadata for custom names and ordering. This could be optional, so if present it will be used, and the account name by default.
open 2016-01-01 Assets:FixedAssets:Equip USD
report-name: "Equipment & Machinery"
report-order: 2
- If you want to make it even more generic, use a custom option in beancount that let's you specify the path to a custom CSS file, so other users can include their own logo, colors, fonts and other styling without rewriting Python code.
I would love to help if you submit a PR to Fava to include this as a new feature.
Best regards,
Dominik
> --
> You received this message because you are subscribed to the Google Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
beancount+...@googlegroups.com.
> To post to this group, send email to
bean...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/3dc4fc4a-3ec1-46ef-b3d7-2733613be376%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.