Hi all,
I found this works
$ cat test.ledger
2023/1/1 test
Assets 12 AAPL (lot-note) @ 100 USD
Expenses
Income 20 AAPL
$ ledger -f test.ledger print
2023/01/01 test
Assets 12 APPL {100 USD} [2023/01/01]
(lot-note) @ 100 USD
Expenses
Income 20 AAPL
while this doesn't work
$ cat test.ledger
2023/1/1 test
Assets (20 * 0.6 APPL) (lot-note) @ 100 USD
Expenses
Income 20 AAPL
$ ledger -f test.ledger print
While parsing file "/home/kikeg/projects/ikegami-journal/test.ledger", line
2:
While parsing posting:
Assets (20 * 0.6 APPL) (lot-note) @ 100 USD
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unexpected char '(' (Note: inline math requires parentheses)
Is there any workaround for that?
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/a830dcea-32ec-44d7-b535-1de3ee0479bcn%40googlegroups.com.