Commit graph

113 commits

Author SHA1 Message Date
John Wiegley
7c33b61bd8 Roel Vanhout's build files for Visual Studio 2008 2011-03-25 03:20:21 -04:00
Matt Palmer
09a95b474c Doc: Cannot separate multiple files with colons 2010-12-30 02:44:01 -05:00
Matt Palmer
f17125150c Doc: Each option in ledgerrc must go on it's own line 2010-12-30 02:43:52 -05:00
Martin Michlmayr
2a787205b4 Corrected syntax error in new ledger3 doc 2010-07-30 05:01:27 -04:00
John Wiegley
81bf38584e Added new --bold-if option 2010-06-22 01:27:05 -04:00
John Wiegley
b589829646 Initial skeleton for the 3.0 manual 2010-06-19 15:47:32 -04:00
John Wiegley
6fd512cc11 Added NEWS entries for 2.6.2 and 2.6.3 2010-06-19 13:34:03 -04:00
John Wiegley
5da1e7756d Added new option --inject=KEY[,KEY...]
If you have a typed metadata key which contains an amount, you can use
--inject=KEY to inject a posting with that amount wherever a match
occurs.  There are two main forms of usage:

  2010-06-18 Sample
      ; Key:: $100
      Expenses:Food                $100.00
      Assets:Checking

The command would be:

  ledger reg --inject=Key

In the above, transactional form, a posting under the account "Key" will
be injected before the first posting reported for this transaction.
It's amount will be $100.  This only happens once for the whole
transaction.

It is also possible to associate the key with a posting:

  2010-06-18 Sample
      Expenses:Food                $100.00
      ; Key:: $100
      Assets:Checking

Now the injected posting is generated whenever that particular post is
reported.
2010-06-18 02:28:12 -04:00
John Wiegley
76b1ed6850 Corrected list of options shown in the man page 2010-06-15 04:37:05 -04:00
John Wiegley
3e4b08478b Use UTF-8 as the proper encoding for Texinfo docs 2010-06-12 00:30:00 -04:00
John Wiegley
dea2aed0b5 Untabified all source files 2010-06-11 17:02:25 -04:00
John Wiegley
474d95adeb Corrected a misleading example in the manual 2010-06-09 04:56:57 -04:00
Martin Michlmayr
fb7cafa896 @ characters in the manual need to be escaped. 2010-06-02 01:15:01 -04:00
Martin Michlmayr
33d119d3ea Fixed a typo in the manual 2010-05-28 01:12:56 -06:00
Martin Michlmayr
6bd2fa2d52 Simplify introductory section of the manual
I found the first example confusing because it includes "(100") without
any explanation.  Transaction codes are only explained later on and this
one isn't needed, so remove it.
2010-05-28 01:11:59 -06:00
Martin Michlmayr
38c119c036 Fix a cosmetic problem in the manual 2010-05-28 01:11:08 -06:00
Martin Michlmayr
9c976c1185 Add a missing word to the manual 2010-05-28 01:10:18 -06:00
Michael Norrish
1a276543d0 Documentation fixes. 2010-05-28 01:06:57 -06:00
John Wiegley
e3ba0117a3 Updated NEWS file that there will be less news 2010-05-22 21:35:02 -04:00
John Wiegley
87ad6f52f8 ldg-texi.el now auto-generates regression tests 2010-03-15 01:27:52 -04:00
John Wiegley
dc1b390720 Make the manual encoding be utf-8 2010-03-05 22:14:14 -05:00
John Wiegley
ab416f759f Updated copyrights to 2003-2010 2010-03-05 22:14:10 -05:00
John Wiegley
d8c6fd7010 Removed doc/Ledger.scriv 2010-02-04 04:23:17 -05:00
John Wiegley
1413085977 Added a --pivot=TAG option
This is equivalent to the following:

  --account='"TAG:" + tag(/TAG/)'
2010-02-02 17:07:05 -05:00
Aristid Breitkreuz
87a1b1a6c3 Several changes to the sample.dat file 2009-11-20 18:08:54 -05:00
John Wiegley
21a9fe108e Made the account and tag directives more rational
Now you must specify "account / end account", and "tag / end tag".  For
backwards compatability, plain "end" is the same as "end account".
2009-11-15 05:49:54 -05:00
John Wiegley
d098b116e8 Moved a usage of Ar in the man page 2009-11-13 14:37:54 -05:00
John Wiegley
fea1b42fa9 All commands are now documented in the man page 2009-11-12 02:40:29 -05:00
John Wiegley
c8641a6de6 Added support for Boost.Regex w/ ICU
This allows for correct searching of UTF-8 encoded strings, such as
lower-case versions of Russian words to find mixed-case words.
2009-11-07 08:34:13 -05:00
John Wiegley
ade0a8b6f3 Added file relating to last doc update 2009-10-27 22:30:09 -04:00
John Wiegley
c4f4e6b5be Added note to doc file. 2009-10-27 22:24:51 -04:00
John Wiegley
1f5ceb0db5 Added beginning draft of manual for 3.0
This is being kept in Scrivener format, for ease of writing.
2009-10-25 23:11:30 -04:00
John Wiegley
dbcaa35d4b Fixed a bug in the man page 2009-03-15 04:05:06 -04:00
John Wiegley
fb9af0f111 Removed the --totals option 2009-03-05 23:26:21 -04:00
John Wiegley
eb45a0a4f4 Normalized how account totals are calculated 2009-03-03 17:08:11 -04:00
John Wiegley
cf2548c29c Several corrections to the man page 2009-03-03 17:03:00 -04:00
John Wiegley
30c2252b05 Removed a license file that's no longer relevant 2009-02-28 06:18:39 -04:00
John Wiegley
38cf0e56f5 Added --lots-actual, to not print calc'd details 2009-02-27 15:45:21 -04:00
John Wiegley
6b62be59fb Added generate command, --seed, and GenerateTests 2009-02-27 03:58:43 -04:00
John Wiegley
c49b98fc4c Added an --unround option, to show full precision 2009-02-27 03:04:05 -04:00
John Wiegley
7e43b93782 Changed --exchange's short option from -x to -X 2009-02-25 13:52:17 -04:00
John Wiegley
cdaba43fa7 Fixed the --gain option for balance reports 2009-02-25 02:07:57 -04:00
John Wiegley
ac8e27a4b8 Added a new --depth option 2009-02-25 01:15:53 -04:00
John Wiegley
68d41d7dc0 Added some new valexpr functions to the man page 2009-02-24 12:43:19 -04:00
John Wiegley
d84638045a Added note to docs about "primary" commodities
Whenever a commodity is exchanged for another in a posting, one of the
two is considered "primary", and the other secondary.  Primariness of a
commodity is remembered, since the --market option only renders balances
into secondary commodities, never primaries.  To render primaries, use
the --exchange=COMMODITY option.

In all of the following examples, the P commodity is considered primary
and the S is secondary (the P at the beginning of the line indicates a
price-setting directive):

    2009/01/01 Sample 1a
        Assets:Brokerage:Stocks                100 S
        Assets:Brokerage:Cash                 -100 P

    P 2009/01/15 00:00:00 S 2 P

    2009/02/01 Sample 2a
        Assets:Brokerage:Stocks                100 S @ 1 P
        Assets:Brokerage:Cash

    P 2009/02/01 00:00:00 S 4 P

    2009/03/01 Sample 3a
        Assets:Brokerage:Stocks                100 S @@ 100 P
        Assets:Brokerage:Cash

    P 2009/03/01 00:00:00 S 8 P

    2009/04/01 Sample 4a
        Assets:Brokerage:Cash                  100 P
        Assets:Brokerage:Stocks               -100 S {1 P}

    P 2009/04/01 00:00:00 S 16 P
2009-02-24 03:56:27 -04:00
John Wiegley
ecf03b96a7 Removed the largely useless --performance option 2009-02-24 03:47:23 -04:00
John Wiegley
944c63e6f2 The Great Renaming, Part II
The last commit did not contain the majority of changes because of a
slight mishap.  This contains the real changeset.
2009-02-23 19:07:30 -04:00
John Wiegley
a576842865 Added --revalued-total option, used by --gain
This option sets the total by which revalued transactions are
determined.  Only needed if the display total is not appropriate.
2009-02-23 15:37:39 -04:00
John Wiegley
6777a8f33b Updated manpage about the new --exchange changes 2009-02-22 18:34:00 -04:00
John Wiegley
e124811d8a Added --exchange (-x) option
This is like -V, except it lets you specify the goal commodity to report
in terms of, for example:

    reg -x CAD
2009-02-22 04:51:11 -04:00