Here, solved your problem by allowing Balance directives after closure: https://github.com/beancount/beancount/commit/12f0e87012fbb5ef7ee11d12bcb6d0c9944ac587
Read commentary and patch for justification. On Mon, Nov 16, 2020 at 9:57 PM Martin Blais <[email protected]> wrote: > FWIW, I've preserved your PR in the transition to GitHub as > pr137_hoostus_balanceend, it's in the repository. > > > > On Sun, Nov 15, 2020 at 8:36 PM Justus Pendleton <[email protected]> > wrote: > >> On Sunday, November 15, 2020 at 12:30:55 AM UTC+7 James Cook wrote: >> >>> This is a minor issue, easy to work around, but I'm wondering if I'm >>> missing something. >>> >> >> There's an open issue for this and last year I implemented a variant of it >> https://groups.google.com/g/beancount/c/3ItOYS9DJx4/m/ENDoYpk5DgAJ >> >> But while doing so I realized that the easy implementation originally >> suggested in the ticket had exactly the problem you're running into so I >> didn't spend much energy trying to get my PR merged. >> >> I just use the workaround in the meantime. >> >> -- >> 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/bbac0921-cfb5-4f7a-a016-7cec5455f735n%40googlegroups.com >> <https://groups.google.com/d/msgid/beancount/bbac0921-cfb5-4f7a-a016-7cec5455f735n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/CAK21%2BhN6fruvFLc-wdghduBXeK%2BRXoC%2BR9TUuTaUV8RRBmOZwQ%40mail.gmail.com.
