From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id RZQsDS90819HVwAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 20:01:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GFemCC9081++NgAAB5/wlQ (envelope-from ) for ; Mon, 04 Jan 2021 20:01:51 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2AA56940148 for ; Mon, 4 Jan 2021 20:01:50 +0000 (UTC) Received: from localhost ([::1]:34568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwW31-000310-JC for larch@yhetil.org; Mon, 04 Jan 2021 15:01:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwW2a-00030h-3M for emacs-orgmode@gnu.org; Mon, 04 Jan 2021 15:01:20 -0500 Received: from ciao.gmane.io ([116.202.254.214]:40440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwW2X-0006q5-HD for emacs-orgmode@gnu.org; Mon, 04 Jan 2021 15:01:19 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kwW2V-00096V-DD for emacs-orgmode@gnu.org; Mon, 04 Jan 2021 21:01:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: Re: accounting Date: Mon, 04 Jan 2021 21:01:01 +0100 Message-ID: <8735zg5v5u.fsf@mat.ucm.es> References: <87ble56q1j.fsf@mat.ucm.es> <87o8i5t35l.fsf@web.de> <87eej06ff0.fsf@mat.ucm.es> <87k0ssls43.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:h/bk1WJRqWvILRLnqIcFAK5vbac= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 2AA56940148 X-Spam-Score: -3.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0X2R2HLLY3fU --=-=-= Content-Type: text/plain >>> "ESF" == Eric S Fraga writes: > On Monday, 4 Jan 2021 at 13:43, Uwe Brauer wrote: >> The example in this link is ok, also the output (the result of the >> ledger operation) is not very nicely formatted. > ledger does allow you to control, in detail, how the output should be > formatted. The default output is suitable for a console display but you > can modify this through appropriate arguments to the ledger command line > via babel. For instance, I have this line in my org file for generating > a balance of my assets: > ,#+call: year2020[:cmdline -V --format "%-20A %14T\n" bal --flat assets ]() I am not sure I understand this (I admit I never used ledger, I used for some time gnucash) Do you mean this? #+call: allinone[:cmdline -V --format "%-20A %14T\n" bal --flat assets ]() #+name: allinone #+begin_src ledger 2010/01/01 * Starting balance assets:bank:savings 1300.00 income:starting balances 2010/07/22 * Got paid assets:bank:chequing 1000.00 income:salary 2010/07/23 Rent expenses:rent 250.00 assets:bank:chequing 2010/07/24 Food expenses:food 150.00 assets:bank:chequing 2010/07/31 * Interest on bank savings assets:bank:savings 3.53 income:interest 2010/07/31 * Transfer savings assets:bank:savings 250.00 assets:bank:chequing 2010/08/01 got paid again assets:bank:chequing 1000.00 income:salary #+end_src --=-=-= Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCE8cw ggWDMIIDa6ADAgECAg9dk40wZzbIBh0ax1SEaQcwDQYJKoZIhvcNAQELBQAwOzELMAkGA1UEBhMC RVMxETAPBgNVBAoMCEZOTVQtUkNNMRkwFwYDVQQLDBBBQyBSQUlaIEZOTVQtUkNNMB4XDTA4MTAy OTE1NTk1NloXDTMwMDEwMTAwMDAwMFowOzELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQtUkNN MRkwFwYDVQQLDBBBQyBSQUlaIEZOTVQtUkNNMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKC AgEAunGAekyGbn/IE23Axn0cAJePLAwjuxCaQKkat4eI+JtWavvme46Lko6nJV1ZEds2LrdRFx+p CB8EFyRYqjdKGN/lOdRX/dfBLJEBkeIi1APAWPx3R+yP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