a combined quick reference, aka "rosetta stone"
Covers the essentials of Ledger/hledger/Beancount journal format. The master copy is in google docs for easier table editing, but this will likely change in future.
This commit is contained in:
11
quickref/a.beancount
Normal file
11
quickref/a.beancount
Normal file
@@ -0,0 +1,11 @@
|
||||
2016-01-01 open Assets:Checking
|
||||
2016-01-01 open Equity:Opening-Balances
|
||||
2016-01-01 open Expenses:Groceries
|
||||
|
||||
2016-01-01 txn "set opening balance"
|
||||
Assets:Checking 1.000,0001USD
|
||||
Equity:Opening-Balances
|
||||
|
||||
2016/1/5 txn "farmer's market"
|
||||
Expenses:Groceries 50 USD
|
||||
Assets:Checking
|
||||
7
quickref/a.hledger
Normal file
7
quickref/a.hledger
Normal file
@@ -0,0 +1,7 @@
|
||||
2016/1/1 set opening balance
|
||||
assets:checking $500.00
|
||||
equity:opening balances
|
||||
|
||||
2016/1/5 farmer's market
|
||||
expenses:groceries $50.00
|
||||
assets:checking
|
||||
7
quickref/a.ledger
Normal file
7
quickref/a.ledger
Normal file
@@ -0,0 +1,7 @@
|
||||
2016/1/1 set opening balance
|
||||
assets:checking $500.00
|
||||
equity:opening balances
|
||||
|
||||
2016/1/5 farmer's market
|
||||
expenses:groceries $50.00
|
||||
assets:checking
|
||||
0
quickref/images/.gitkeep
Normal file
0
quickref/images/.gitkeep
Normal file
1105
quickref/index.html
Executable file
1105
quickref/index.html
Executable file
File diff suppressed because it is too large
Load Diff
41
quickref/quickref.css
Normal file
41
quickref/quickref.css
Normal file
@@ -0,0 +1,41 @@
|
||||
tr {
|
||||
vertical-align:top;
|
||||
}
|
||||
/* TOC */
|
||||
/* update these class ids on each save */
|
||||
p { margin:0; }
|
||||
p.c37 { visibility:hidden; }
|
||||
p.c26 { margin-left:1em; }
|
||||
p.c24 { margin-left:3em; }
|
||||
p.c19 { margin-left:2em; }
|
||||
/* heading cells */
|
||||
tr:first-child {
|
||||
font-weight:bold;
|
||||
}
|
||||
td:first-child {
|
||||
/* font-weight:bold; */
|
||||
}
|
||||
tr:first-child a {
|
||||
font-size:small;
|
||||
/* white-space:nowrap; */
|
||||
}
|
||||
td:first-child {
|
||||
width:10%;
|
||||
}
|
||||
/* body cells */
|
||||
tr:not(:first-child) td:not(:first-child) span:first-child {
|
||||
white-space:nowrap;
|
||||
font-weight:bold;
|
||||
color:navy;
|
||||
font-family:monospace;
|
||||
/* font-family:monaco; */
|
||||
/* font-size:small; */
|
||||
}
|
||||
tr:not(:first-child) td:not(:first-child) span:not(:first-child) {
|
||||
/* white-space:nowrap; */
|
||||
/* font-family:monospace; */
|
||||
font-size:small;
|
||||
}
|
||||
td:not(:first-child) {
|
||||
width:30%;
|
||||
}
|
||||
11
quickref/tests.shelltest
Executable file
11
quickref/tests.shelltest
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env shelltest
|
||||
# -*- sh -*-
|
||||
|
||||
ledger -f a.ledger print
|
||||
>>>=0
|
||||
|
||||
hledger -f a.hledger print
|
||||
>>>=0
|
||||
|
||||
beancount -f a.beancount print
|
||||
>>>=0
|
||||
Reference in New Issue
Block a user