No description
Find a file
2008-04-13 02:41:23 -04:00
scripts *** empty log message *** 2008-04-13 02:40:48 -04:00
acprep Use libtoolize if glibtoolize can't be found. 2008-04-13 02:41:22 -04:00
amount.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
amount.h *** empty log message *** 2008-04-13 02:41:17 -04:00
balance.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
balance.h updated to version 2.0 2008-04-13 02:40:47 -04:00
binary.cc Added in.clear() before resetting I/Os streams. Again, thanks to the 2008-04-13 02:41:22 -04:00
binary.h (write_binary_journal): Removed unused "files" parameter. 2008-04-13 02:40:52 -04:00
config.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
config.h Added support for outputting to CSV format. 2008-04-13 02:41:21 -04:00
configure.in Added build logic for the Emacs file. 2008-04-13 02:41:22 -04:00
datetime.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
datetime.h Added input_format' array, and made formats' external. 2008-04-13 02:41:10 -04:00
debug.cc updated to version 2.0 2008-04-13 02:40:47 -04:00
debug.h updated to version 2.0 2008-04-13 02:40:47 -04:00
derive.cc (derive_new_entry): Added an error check if only a payee is specified 2008-04-13 02:41:21 -04:00
derive.h updated to version 2.0 2008-04-13 02:40:47 -04:00
emacs.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
emacs.h Added an Emacs formatter, accessible with the new "emacs" command. 2008-04-13 02:40:56 -04:00
error.h updated to version 2.0 2008-04-13 02:40:47 -04:00
fdstream.hpp Whitespace changes. 2008-04-13 02:41:01 -04:00
format.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
format.h Removed Python integration support. 2008-04-13 02:41:21 -04:00
gnucash.cc Added in.clear() before resetting I/Os streams. Again, thanks to the 2008-04-13 02:41:22 -04:00
gnucash.h updated to version 2.0 2008-04-13 02:40:47 -04:00
journal.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
journal.h (class transaction_t): Initialize _date_eff to zero. 2008-04-13 02:41:20 -04:00
ledger.el Added "=" to the character set used to scan for dates at the beginning 2008-04-13 02:41:22 -04:00
ledger.h Restructed the code that it can build and be used as a shared library. 2008-04-13 02:41:21 -04:00
ledger.texi Removed Python integration support. 2008-04-13 02:41:21 -04:00
ledger.vim *** empty log message *** 2008-04-13 02:41:17 -04:00
LICENSE *** no comment *** 2008-04-13 02:41:21 -04:00
main.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
Makefile.am *** no comment *** 2008-04-13 02:41:22 -04:00
mask.cc Changes to support building with gcc 2.95. 2008-04-13 02:40:57 -04:00
mask.h updated to version 2.0 2008-04-13 02:40:47 -04:00
NEWS *** no comment *** 2008-04-13 02:41:22 -04:00
ofx.cc (ofx_proc_transaction_cb): Applied patch for a bad reference to 2008-04-13 02:41:22 -04:00
ofx.h Added preliminary support for OFX, using libofx. Needs much 2008-04-13 02:40:55 -04:00
option.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
option.h updated to version 2.0 2008-04-13 02:40:47 -04:00
parser.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
parser.h Restructed the code that it can build and be used as a shared library. 2008-04-13 02:41:21 -04:00
qif.cc Added in.clear() before resetting I/Os streams. Again, thanks to the 2008-04-13 02:41:22 -04:00
qif.h updated to version 2.0 2008-04-13 02:40:47 -04:00
quotes.cc Added a safety check to see if moment is less than date. 2008-04-13 02:41:21 -04:00
quotes.h updated to version 2.0 2008-04-13 02:40:47 -04:00
README Removed Python integration support. 2008-04-13 02:41:21 -04:00
reconcile.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
reconcile.h Removed the --reconcilable option, since the pending flag is now being 2008-04-13 02:41:05 -04:00
sample.dat updated to version 2.0 2008-04-13 02:40:47 -04:00
startup.cc Restructed the code that it can build and be used as a shared library. 2008-04-13 02:41:21 -04:00
textual.cc Relaxed parsing so that tabs are allowed in several places that 2008-04-13 02:41:23 -04:00
textual.h Restructed the code that it can build and be used as a shared library. 2008-04-13 02:41:21 -04:00
timeclock.el Removed Python integration support. 2008-04-13 02:41:21 -04:00
timing.h Restructed the code that it can build and be used as a shared library. 2008-04-13 02:41:21 -04:00
util.h Added a fix for FreeBSD, so that Ledger can compile there. 2008-04-13 02:40:59 -04:00
valexpr.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
valexpr.h Removed Python integration support. 2008-04-13 02:41:21 -04:00
value.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
value.h updated to version 2.0 2008-04-13 02:40:47 -04:00
walk.cc Removed Python integration support. 2008-04-13 02:41:21 -04:00
walk.h Restructed the code that it can build and be used as a shared library. 2008-04-13 02:41:21 -04:00
xml.cc Added in.clear() before resetting I/Os streams. Again, thanks to the 2008-04-13 02:41:22 -04:00
xml.h Support has been added for clearing of individual transactions. Set 2008-04-13 02:41:19 -04:00

			  Welcome to Ledger

		 the command-line accounting program

Introduction
============

Ledger is an accounting program which is invoked from the command-line
using a textual ledger file.  To start using Ledger, you will need to
create such a file containing your financial transactions.  A sample
has been provided in the file "sample.dat".  See the documentation
(ledger.pdf, or ledger.info) for full documentation on creating a
ledger file and using Ledger to generate reports.

Once you have such a file -- you might call it "ledger.dat" -- you can
start looking at balances and account registers using commands like
the following:

  ledger -f ledger.dat balance assets:checking
  ledger -f ledger.dat register expenses:food

This assumes, of course, that like the sample file you use account
names such as "Assets:Checking" and "Expenses:Food".  If you use other
account names, you will need to vary the reporting commands you use
accordingly.


Building
========

To build Ledger, you will need a fairly modern C++ compiler (gcc 2.95
will not work), and at least these two libraries installed:

    gmp        GNU multi-precision library
    pcre       Perl regular expression library

(On some GNU/Linux systems, the packages you need to install are
called "gmp-dev" and "pcre-dev").

If you wish to read Gnucash data files, you will also need two XML
libraries, which may or may not be available in a single package (it
depends on your distribution):

    libexpat, or libxmlparse and libxmltok

Once you have determined where the headers and libraries for the above
packages are installed, run the script "configure", passing those
paths.  If you installed everything under /usr/local, you can probably
just type "./configure".  Otherwise, do this:

    ./configure CPPFLAGS=-I<INCLUDE-PATH>  LDFLAGS=-L<LIBRARY-PATH>

If you need to specify multiple include or library paths, then do
this:

    ./configure CPPFLAGS="-I<PATH1> -I<PATH2>"  LDFLAGS="-L<PATH1> -L<PATH2>"

Once configure is done running, just type:

    make install


Mailing List and IRC
====================

If you need help on how to use Ledger, or run into problems, you can
join the Ledger mailing list at the following Web address:

    https://lists.sourceforge.net/lists/listinfo/ledger-discuss

You can also find help at the #ledger channel on the IRC server
irc.freenode.net.