On Sat, Sep 5, 2020 at 11:39 PM K O'Neill <[email protected]> wrote:
> *Thanks for the help. So I guess the first step is defining my metadata
> key pn for post-narrations.*
You do not need to define, just start using it.
> *Then the next step would be to see if a plugin can be written to parse
> strings that come after the amounts and insert them into the pn metadata
> automatically. I don't believe such a plugin exists already. I've found
> various plugins here and there but no centralized directory of user plugins
> to confirm this. I hope that the plugin can suppress Parser errors.*
>
It will be hard, since comments are dropped during the parsing phase by
design.
I suggest filling the pn metadata manually. It is much easier than
pre-processing a beancount file...
For example with "comment" metadata:
2020-04-29 * "Bauhaus"
Expenses:House 5,000.00 HUF
comment:"Cutter"
Expenses:House 2,000.00 HUF
comment:"Strings"
Expenses:House 1,000.00 HUF
comment:"Duct tape"
Assets:Bank -8,000.00 HUF
I still hope that eventually Beancount will be able to parse posting and
transaction comments and put it into metadata, so I could use the following
with the same meaning:
2020-04-29 * "Bauhaus"
Expenses:House 5,000.00 HUF ; Cutter
Expenses:House 2,000.00 HUF ; Strings
Expenses:House 1,000.00 HUF ; Duct tape
Assets:Bank -8,000.00 HUF
Mefju.
(Farkas Máté)
--
You received this message because you are subscribed to the Google Groups
"Beancount" 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/beancount/CABOOhz9r7OZyHFhtxbEqZ2U9aHn0m-Uz1QqzXShpv8xt6p8fYA%40mail.gmail.com.