diff options
author | Craig Earls <enderw88@gmail.com> | 2011-11-14 18:53:14 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-10 09:11:05 -1000 |
commit | dac22ae33d1b81795898b97f31106b121a7c5e6e (patch) | |
tree | de527f75597e517813eb47560e2d514acb67b148 | |
parent | dedec9de709fd91922466fedd83e0a73b2320496 (diff) | |
download | ledger-dac22ae33d1b81795898b97f31106b121a7c5e6e.tar.gz ledger-dac22ae33d1b81795898b97f31106b121a7c5e6e.tar.bz2 ledger-dac22ae33d1b81795898b97f31106b121a7c5e6e.zip |
added details about using commodity names with whitespace and numerics
-rw-r--r-- | doc/ledger3.texi | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index dc198261..dd08bc8b 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @titlepage @title Ledger: Command-Line Accounting @subtitle For Version 3.0 of Ledger -@subtitle Draft Manual Time-stamp: <2011-11-14 18:45 (cpearls)> +@subtitle Draft Manual Time-stamp: <2011-11-14 18:52 (cpearls)> @author John Wiegley @end titlepage @@ -1706,10 +1706,26 @@ my wallet. The bottom line balances to zero, but is shown in two lines since we haven't told ledger to convert commodities. @menu +* Naming Commodities:: * Buying and Selling Stock:: @end menu -@node Buying and Selling Stock, , Currency and Commodities, Currency and Commodities +@node Naming Commodities, Buying and Selling Stock, Currency and Commodities, Currency and Commodities +@subsection Naming Commodities +Commodity names can have any character, including whitespace. However, +if you include whitespace or numeric characters the commodity name must +be enclosed in double quotes: +@smallexample +1999/06/09 ! Achat + Actif:SG PEE STK 49.957 "Arcancia Equilibre 454" + Actif:SG PEE STK $-234.90 + +2000/12/08 ! Achat + Actif:SG PEE STK 215.796 "Arcancia Equilibre 455" + Actif:SG PEE STK $-10742.54 +@end smallexample + +@node Buying and Selling Stock, , Naming Commodities, Currency and Commodities @subsection Buying and Selling Stock @cindex buying stock |