From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sander Boer Subject: Search current branch for custom export Date: Wed, 04 May 2016 12:31:00 +0200 Message-ID: <23D9FD77-C2C1-43E2-A0D5-B2F53C2F8D1C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----SMVHPNZO4EJ3JGS95CXZX7UQ20AK8T" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axu5g-0007xd-6Z for emacs-orgmode@gnu.org; Wed, 04 May 2016 06:31:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axu5U-0002UV-Jq for emacs-orgmode@gnu.org; Wed, 04 May 2016 06:31:30 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:35659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axu5T-0002Q3-7L for emacs-orgmode@gnu.org; Wed, 04 May 2016 06:31:24 -0400 Received: by mail-wm0-x22d.google.com with SMTP id e201so181575617wme.0 for ; Wed, 04 May 2016 03:31:08 -0700 (PDT) Received: from [100.83.251.152] ([31.161.139.255]) by smtp.gmail.com with ESMTPSA id r204sm4161760wmg.20.2016.05.04.03.31.03 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 May 2016 03:31:04 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org ------SMVHPNZO4EJ3JGS95CXZX7UQ20AK8T Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Hi all, I use orgmode to org my projects and I would like to add invoices to the mix. These invoices would be the conclusion to a task in a hierarchy like so: *project ** task *** invoice I know how to export a subtree and get a latex invoiceboht of it, but I am still searching for a decent way to add client data. I am looking into two solutions: 1. Org-contacts [b/c mu4e] - How do I read address and other generic data from org-contacts ? - How do I store a link to the address and follow it in the export ? 2. Define client data in the root or a dedicated branch. - how do I search the current branch ? Go back up to root, crawl downwards? - any insight on a good way to store client data ? Org-contacts uses property drawers, why not branches with dedicated headlines ? Any and all tips are greatly appreciated. Gr Sanderh -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ------SMVHPNZO4EJ3JGS95CXZX7UQ20AK8T Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi all,

I use orgmode to org my projects and I would like to add invoices to the mix.
These invoices would be the conclusion to a task in a hierarchy like so:

*project
** task
*** invoice

I know how to export a subtree and get a latex invoiceboht of it, but I am still searching for a decent way to add client data.
I am looking into two solutions:
1. Org-contacts [b/c mu4e]
- How do I read address and other generic data from org-contacts ?
- How do I store a link to the address and follow it in the export ?
2. Define client data in the root or a dedicated branch.
- how do I search the current branch ? Go back up to root, crawl downwards?
- any insight on a good way to store client data ? Org-contacts uses property drawers, why not branches with dedicated headlines ?

Any and all tips are greatly appreciated.

Gr
Sanderh

--
Sent from my Android device with K-9 Mail. Please excuse my brevity. ------SMVHPNZO4EJ3JGS95CXZX7UQ20AK8T--