emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Frozenlock <frozenlock@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bill-of-materials
Date: Thu, 20 Oct 2011 22:23:26 -0400	[thread overview]
Message-ID: <CACjB3duc+X5Aot2dn1Ye9ttkKp8_wf6wQfkjzfsh=2TmbGYqSw@mail.gmail.com> (raw)

Hi,

This is a much better version of the little add-on I've written:

Bill-of-materials (org-bom.el)

I've used this for over 6 months now, daily.
If you ever need to quickly make a quote for a client, or simply
make easy to-buy list, this should help you.

You can find the code here: http://pastebin.com/K11QpQ6Q

The tutorial is included with it, but here is an eye-friendly version:

http://frozenlock.wordpress.com/2011/10/20/bom-bills-of-materials/


Finally, just to tease you, this is a table generated from various
data gathered inside a buffer:

#+BEGIN: bom :total t :no-tag t :description t :price t
| Component       | Quantity | Price | Description  |
|-----------------+----------+-------+--------------|
| CDs             |       50 |       | Not DVDs     |
| Headset         |        1 |       | N/A          |
| Keyboard        |        3 |   120 | Used to type |
| Mouse           |        2 |       | N/A          |
| USB flash drive |       23 |       | N/A          |
|-----------------+----------+-------+--------------|
| TOTAL:          |          |   120 |              |
    #+TBLFM: @>$3=vsum(@I..@>>)
 #+END:


Enjoy!

             reply	other threads:[~2011-10-21  2:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21  2:23 Frozenlock [this message]
2011-10-22  8:26 ` Bill-of-materials Bastien
2011-10-22 16:32   ` Bill-of-materials Nick Dokos
2011-10-22 17:18     ` Bill-of-materials Frozenlock
2011-10-26  2:54   ` Bill-of-materials Frozenlock
2011-10-26  5:51     ` Bill-of-materials Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACjB3duc+X5Aot2dn1Ye9ttkKp8_wf6wQfkjzfsh=2TmbGYqSw@mail.gmail.com' \
    --to=frozenlock@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).