Skip to content

Commit

Permalink
;examples:invoicing: cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Jan 5, 2024
1 parent 735fbae commit 840b8ba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/invoicing/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Example files related to invoicing and billing:

- **pandoc-bash-hledger-invoice** - a somewhat flexible bash/pandoc script for generating HTML and PDF invoices from hledger data,
- **pandoc-bash-hledger-invoice** - a somewhat flexible bash script using pandoc and unix tools to generate HTML and PDF invoices from hledger data,
based on SM's invoicing setup (2022)

- **pandoc-make-invoice** - a simpler make/pandoc script for generating HTML and PDF invoices, with less hledger integration,
- **pandoc-make-invoice** - a simpler make file using pandoc to generate HTML and PDF invoices,
based on SM's previous setup (2021)

- some examples of invoicing-related journal entries
Expand Down
6 changes: 3 additions & 3 deletions examples/invoicing/pandoc-make-invoice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Generates HTML/PDF invoices from a markdown template

help:
@echo "make copy # copy last invoice to YYYYMMab.md, open in emacs"
@echo "(edit)"
@echo "make invoice # make YYYYMMab.pdf and YYYYMMab.html, git commit, add invoice transaction to journal"
@echo "1. make copy # copy last invoice to YYYYMMab.md, open in emacs"
@echo "2. (edit)"
@echo "3. make invoice # make YYYYMMab.pdf and YYYYMMab.html, git commit, add invoice transaction to journal"

CSS=invoice.css
LAST=`ls -t 2*md | head -1`
Expand Down
7 changes: 6 additions & 1 deletion examples/invoicing/pandoc-make-invoice/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
Scripts adapted from a real-world setup, not guaranteed to be current or working.
Scripts adapted from a real-world setup, not guaranteed to be current or working. Normal usage:

1. `make copy` (copy last invoice to YYYYMMab.md, open in emacs)
2. edit the md file, pasting in appropriate numbers
3. `make invoice` (make YYYYMMab.pdf and YYYYMMab.html; git commit; print invoice journal entry)

0 comments on commit 840b8ba

Please sign in to comment.