mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
doc: journal: update sample in generated manuals
This commit is contained in:
parent
0df616cdfe
commit
8313695306
@ -53,6 +53,10 @@ Here\[aq]s an example:
|
||||
\ \ \ \ expenses:supplies\ \ \ \ \ $1\ \ \ \ ;\ <\-\ this\ transaction\ debits\ two\ expense\ accounts
|
||||
\ \ \ \ assets:cash\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ;\ <\-\ $\-2\ inferred
|
||||
|
||||
2008/10/01\ take\ a\ loan
|
||||
\ \ \ \ assets:bank:checking\ \ $1
|
||||
\ \ \ \ liabilities:debts\ \ \ \ $\-1
|
||||
|
||||
2008/12/31\ *\ pay\ off\ \ \ \ \ \ \ \ \ \ \ \ ;\ <\-\ an\ optional\ *\ or\ !\ after\ the\ date\ means\ "cleared"\ (or\ anything\ you\ want)
|
||||
\ \ \ \ liabilities:debts\ \ \ \ \ $1
|
||||
\ \ \ \ assets:bank:checking
|
||||
|
@ -46,6 +46,10 @@ assisted by the helper modes for emacs or vim.
|
||||
expenses:supplies $1 ; <- this transaction debits two expense accounts
|
||||
assets:cash ; <- $-2 inferred
|
||||
|
||||
2008/10/01 take a loan
|
||||
assets:bank:checking $1
|
||||
liabilities:debts $-1
|
||||
|
||||
2008/12/31 * pay off ; <- an optional * or ! after the date means "cleared" (or anything you want)
|
||||
liabilities:debts $1
|
||||
assets:bank:checking
|
||||
@ -1047,83 +1051,83 @@ Text Wrangler https://github.com/ledger/ledger/wiki/Editing-Ledger-files-wit
|
||||
|
||||
Tag Table:
|
||||
Node: Top78
|
||||
Node: FILE FORMAT2292
|
||||
Ref: #file-format2418
|
||||
Node: Transactions2625
|
||||
Ref: #transactions2748
|
||||
Node: Postings3313
|
||||
Ref: #postings3442
|
||||
Node: Dates4437
|
||||
Ref: #dates4554
|
||||
Node: Simple dates4619
|
||||
Ref: #simple-dates4747
|
||||
Node: Secondary dates5113
|
||||
Ref: #secondary-dates5269
|
||||
Node: Posting dates6832
|
||||
Ref: #posting-dates6963
|
||||
Node: Status8337
|
||||
Ref: #status8461
|
||||
Node: Account names10175
|
||||
Ref: #account-names10315
|
||||
Node: Amounts10802
|
||||
Ref: #amounts10940
|
||||
Node: Virtual Postings13041
|
||||
Ref: #virtual-postings13202
|
||||
Node: Balance Assertions14422
|
||||
Ref: #balance-assertions14599
|
||||
Node: Assertions and ordering15495
|
||||
Ref: #assertions-and-ordering15683
|
||||
Node: Assertions and included files16383
|
||||
Ref: #assertions-and-included-files16626
|
||||
Node: Assertions and multiple -f options16959
|
||||
Ref: #assertions-and-multiple--f-options17215
|
||||
Node: Assertions and commodities17347
|
||||
Ref: #assertions-and-commodities17584
|
||||
Node: Assertions and subaccounts18280
|
||||
Ref: #assertions-and-subaccounts18514
|
||||
Node: Assertions and virtual postings19035
|
||||
Ref: #assertions-and-virtual-postings19244
|
||||
Node: Balance Assignments19386
|
||||
Ref: #balance-assignments19555
|
||||
Node: Prices20674
|
||||
Ref: #prices20809
|
||||
Node: Transaction prices20860
|
||||
Ref: #transaction-prices21007
|
||||
Node: Market prices23163
|
||||
Ref: #market-prices23300
|
||||
Node: Comments24260
|
||||
Ref: #comments24384
|
||||
Node: Tags25497
|
||||
Ref: #tags25617
|
||||
Node: Implicit tags27046
|
||||
Ref: #implicit-tags27154
|
||||
Node: Directives27671
|
||||
Ref: #directives27786
|
||||
Node: Account aliases27979
|
||||
Ref: #account-aliases28125
|
||||
Node: Basic aliases28729
|
||||
Ref: #basic-aliases28874
|
||||
Node: Regex aliases29564
|
||||
Ref: #regex-aliases29734
|
||||
Node: Multiple aliases30449
|
||||
Ref: #multiple-aliases30623
|
||||
Node: end aliases31121
|
||||
Ref: #end-aliases31263
|
||||
Node: account directive31364
|
||||
Ref: #account-directive31546
|
||||
Node: apply account directive31842
|
||||
Ref: #apply-account-directive32040
|
||||
Node: Multi-line comments32699
|
||||
Ref: #multi-line-comments32891
|
||||
Node: commodity directive33019
|
||||
Ref: #commodity-directive33205
|
||||
Node: Default commodity34077
|
||||
Ref: #default-commodity34252
|
||||
Node: Default year34789
|
||||
Ref: #default-year34956
|
||||
Node: Including other files35379
|
||||
Ref: #including-other-files35538
|
||||
Node: EDITOR SUPPORT35935
|
||||
Ref: #editor-support36055
|
||||
Node: FILE FORMAT2374
|
||||
Ref: #file-format2500
|
||||
Node: Transactions2707
|
||||
Ref: #transactions2830
|
||||
Node: Postings3395
|
||||
Ref: #postings3524
|
||||
Node: Dates4519
|
||||
Ref: #dates4636
|
||||
Node: Simple dates4701
|
||||
Ref: #simple-dates4829
|
||||
Node: Secondary dates5195
|
||||
Ref: #secondary-dates5351
|
||||
Node: Posting dates6914
|
||||
Ref: #posting-dates7045
|
||||
Node: Status8419
|
||||
Ref: #status8543
|
||||
Node: Account names10257
|
||||
Ref: #account-names10397
|
||||
Node: Amounts10884
|
||||
Ref: #amounts11022
|
||||
Node: Virtual Postings13123
|
||||
Ref: #virtual-postings13284
|
||||
Node: Balance Assertions14504
|
||||
Ref: #balance-assertions14681
|
||||
Node: Assertions and ordering15577
|
||||
Ref: #assertions-and-ordering15765
|
||||
Node: Assertions and included files16465
|
||||
Ref: #assertions-and-included-files16708
|
||||
Node: Assertions and multiple -f options17041
|
||||
Ref: #assertions-and-multiple--f-options17297
|
||||
Node: Assertions and commodities17429
|
||||
Ref: #assertions-and-commodities17666
|
||||
Node: Assertions and subaccounts18362
|
||||
Ref: #assertions-and-subaccounts18596
|
||||
Node: Assertions and virtual postings19117
|
||||
Ref: #assertions-and-virtual-postings19326
|
||||
Node: Balance Assignments19468
|
||||
Ref: #balance-assignments19637
|
||||
Node: Prices20756
|
||||
Ref: #prices20891
|
||||
Node: Transaction prices20942
|
||||
Ref: #transaction-prices21089
|
||||
Node: Market prices23245
|
||||
Ref: #market-prices23382
|
||||
Node: Comments24342
|
||||
Ref: #comments24466
|
||||
Node: Tags25579
|
||||
Ref: #tags25699
|
||||
Node: Implicit tags27128
|
||||
Ref: #implicit-tags27236
|
||||
Node: Directives27753
|
||||
Ref: #directives27868
|
||||
Node: Account aliases28061
|
||||
Ref: #account-aliases28207
|
||||
Node: Basic aliases28811
|
||||
Ref: #basic-aliases28956
|
||||
Node: Regex aliases29646
|
||||
Ref: #regex-aliases29816
|
||||
Node: Multiple aliases30531
|
||||
Ref: #multiple-aliases30705
|
||||
Node: end aliases31203
|
||||
Ref: #end-aliases31345
|
||||
Node: account directive31446
|
||||
Ref: #account-directive31628
|
||||
Node: apply account directive31924
|
||||
Ref: #apply-account-directive32122
|
||||
Node: Multi-line comments32781
|
||||
Ref: #multi-line-comments32973
|
||||
Node: commodity directive33101
|
||||
Ref: #commodity-directive33287
|
||||
Node: Default commodity34159
|
||||
Ref: #default-commodity34334
|
||||
Node: Default year34871
|
||||
Ref: #default-year35038
|
||||
Node: Including other files35461
|
||||
Ref: #including-other-files35620
|
||||
Node: EDITOR SUPPORT36017
|
||||
Ref: #editor-support36137
|
||||
|
||||
End Tag Table
|
||||
|
@ -47,6 +47,10 @@ DESCRIPTION
|
||||
expenses:supplies $1 ; <- this transaction debits two expense accounts
|
||||
assets:cash ; <- $-2 inferred
|
||||
|
||||
2008/10/01 take a loan
|
||||
assets:bank:checking $1
|
||||
liabilities:debts $-1
|
||||
|
||||
2008/12/31 * pay off ; <- an optional * or ! after the date means "cleared" (or anything you want)
|
||||
liabilities:debts $1
|
||||
assets:bank:checking
|
||||
@ -805,6 +809,8 @@ EDITOR SUPPORT
|
||||
ting-started
|
||||
Sublime Text https://github.com/ledger/ledger/wiki/Using-Sub-
|
||||
lime-Text
|
||||
|
||||
|
||||
Textmate https://github.com/ledger/ledger/wiki/Using-Text-
|
||||
Mate-2
|
||||
Text Wrangler https://github.com/ledger/ledger/wiki/Edit-
|
||||
|
Loading…
Reference in New Issue
Block a user