mirror of
https://github.com/davidkeegan/dklrt
synced 2024-12-25 09:59:19 +01:00
WIP: Texi.
This commit is contained in:
parent
79dc45e7c6
commit
94a1fd7988
2 changed files with 42 additions and 19 deletions
18
dklrt.ldg
18
dklrt.ldg
|
@ -1,3 +1,12 @@
|
|||
2013-10-01 Payee8
|
||||
Premium:Sns:Total €-2620.83
|
||||
Premium:Sns:Dk:Monthly €2124.97
|
||||
Premium:Sns:Sns:Monthly €495.86
|
||||
|
||||
2013-10-10 Payee Details
|
||||
Asset:Bank:Boi:Current:Dk €10.00
|
||||
Expense:Misc:Charity
|
||||
|
||||
2013-10-14 Payee1
|
||||
Asset:Cash:Euro €50.00
|
||||
Expense:Education
|
||||
|
@ -10,15 +19,6 @@
|
|||
Liability:CreditCard:Mc €5.25
|
||||
Expense:Groceries
|
||||
|
||||
2013-10-01 Payee8
|
||||
Premium:Sns:Total €-2620.83
|
||||
Premium:Sns:Dk:Monthly €2124.97
|
||||
Premium:Sns:Sns:Monthly €495.86
|
||||
|
||||
2013-10-10 Payee Details
|
||||
Asset:Bank:Boi:Current:Dk €10.00
|
||||
Expense:Misc:Charity
|
||||
|
||||
2013-11-01 Payee8
|
||||
Premium:Sns:Total €-2620.83
|
||||
Premium:Sns:Dk:Monthly €2124.97
|
||||
|
|
43
dklrt.texi
43
dklrt.texi
|
@ -125,7 +125,16 @@ transactions.
|
|||
|
||||
@enumerate
|
||||
@item
|
||||
DkTbd: Only ISO Dates are supported: YYYY-MM-DD.
|
||||
In the configuration file, transaction dates must be
|
||||
expressed in ISO format, eg ``YYYY-MM-DD'' or
|
||||
``YYYY/MM/DD'', and this format is preserved when the
|
||||
transaction is appended to the ledger file. This is
|
||||
compatible with ledger's default date format, and should
|
||||
work with ledger-mode.
|
||||
|
||||
Problems can be expected if --input-date-format has been
|
||||
configured with a non-ISO format in the ledger init file
|
||||
(.ledgerrc) or on the ledger command line.
|
||||
|
||||
@item
|
||||
Depends on some python code which is included in the package
|
||||
|
@ -146,19 +155,34 @@ the same directory as the ledger file, and its filename is
|
|||
the same as that of the ledger file except that the ledger
|
||||
file suffix is replaced by @file{.rec} (configurable).
|
||||
|
||||
A recurring transactions configuration file contains one or
|
||||
more transactions in ledger file format, but with the
|
||||
following restrictions on the initial (date/payee) line of
|
||||
the transaction:
|
||||
The configuration file contains one or more transactions in
|
||||
ledger file format. I must not contain any of the following
|
||||
ledger constructs:
|
||||
|
||||
@enumerate
|
||||
@item
|
||||
The transaction date must be in ISO format: YYYY-MM-DD.
|
||||
DkTbd.
|
||||
Stand-alone comment (ie not part of a transaction).
|
||||
|
||||
@item
|
||||
Automated transactions (beginning with ``='' are not
|
||||
supported.
|
||||
Historical commodity price (starts with ``P'').
|
||||
|
||||
@item
|
||||
Automated transaction (starts with ``='').
|
||||
|
||||
@item
|
||||
Period transaction (starts with ``~'').
|
||||
|
||||
@item
|
||||
Command directive.
|
||||
@end enumerate
|
||||
|
||||
In addition the following rules apply to the the initial
|
||||
(date/payee) line of each transaction:
|
||||
|
||||
@enumerate
|
||||
@item
|
||||
The transaction date must be in ISO format: ``YYYY-MM-DD'' or
|
||||
``YYYY/MM/DD''.
|
||||
|
||||
@item
|
||||
Auxiliary dates (date1=date2) are not supported.
|
||||
|
@ -190,7 +214,6 @@ A single character from the following y (year), m (month) w
|
|||
(week), d (day), specifying the period unit and following
|
||||
immediately after the integer without intervening space.
|
||||
@end table
|
||||
|
||||
@end enumerate
|
||||
|
||||
@node Operations
|
||||
|
|
Loading…
Reference in a new issue