No description
Find a file
2008-04-13 03:38:31 -04:00
docs Did some optimization and memory cleanup 2008-04-13 03:38:28 -04:00
gdtoa All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
ledger.xcodeproj Got make distcheck working (yet again). 2008-04-13 03:35:36 -04:00
scripts Changed bang path. 2008-04-13 03:38:27 -04:00
tests All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
.gitignore All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
acconf.h.in All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
aclocal.m4 Started adding commodity tests 2008-04-13 03:35:35 -04:00
acprep All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
amount.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
amount.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
amounts.cc (read_binary_journal): Fixed a tiny memory leak when reading from a 2008-04-13 02:41:28 -04:00
AUTHORS Miscellaneous changes 2008-04-13 03:35:34 -04:00
balance.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
balance.h Added missing destructor. 2008-04-13 03:38:30 -04:00
binary.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
binary.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
compile make distcheck now works. 2008-04-13 03:35:34 -04:00
config.cc Made separate modules for the csv command, since the prior method was 2008-04-13 02:41:33 -04:00
config.guess Started adding commodity tests 2008-04-13 03:35:35 -04:00
config.h Made separate modules for the csv command, since the prior method was 2008-04-13 02:41:33 -04:00
config.sub Started adding commodity tests 2008-04-13 03:35:35 -04:00
configure All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
configure.in All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
context.h More work done toward rearranging the utility code. 2008-04-13 03:38:31 -04:00
COPYING Added a reference to gdtoa, for doing expected conversion of double to amount. 2008-04-13 03:35:33 -04:00
csv.cc Check in all changes made so far toward 3.0. 2008-04-13 03:35:00 -04:00
csv.h Check in all changes made so far toward 3.0. 2008-04-13 03:35:00 -04:00
depcomp Started adding commodity tests 2008-04-13 03:35:35 -04:00
derive.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
derive.h Check in all changes made so far toward 3.0. 2008-04-13 03:35:00 -04:00
Doxyfile Changed date parser to use lex/yacc. 2008-04-13 03:38:27 -04:00
elisp-comp Added some pre-generated files. 2008-04-13 03:38:26 -04:00
emacs.cc Check in all changes made so far toward 3.0. 2008-04-13 03:35:00 -04:00
emacs.h Check in all changes made so far toward 3.0. 2008-04-13 03:35:00 -04:00
error.h More work done toward rearranging the utility code. 2008-04-13 03:38:31 -04:00
fdstream.hpp Whitespace changes. 2008-04-13 02:41:01 -04:00
format.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
format.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
gnucash.cc Did some optimization and memory cleanup 2008-04-13 03:38:28 -04:00
gnucash.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
install-sh Started adding commodity tests 2008-04-13 03:35:35 -04:00
journal.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
journal.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
ledger.el Made the amount/balance/value interface a bit more rational; added 2008-04-13 03:38:28 -04:00
ledger.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
ledger.info Added some pre-generated files. 2008-04-13 03:38:26 -04:00
ledger.pdf We now compile with boost_date_time (although parts of the code have 2008-04-13 03:38:17 -04:00
ledger.texi *** no comment *** 2008-04-13 03:35:32 -04:00
ledger.vim *** empty log message *** 2008-04-13 02:41:17 -04:00
LICENSE Miscellaneous changes 2008-04-13 03:35:31 -04:00
ltmain.sh Added all of the files necessary for building with configure (i.e., so 2008-04-13 03:35:34 -04:00
main.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
Makefile.am More work done toward rearranging the utility code. 2008-04-13 03:38:31 -04:00
Makefile.in All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
mask.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
mask.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
missing Started adding commodity tests 2008-04-13 03:35:35 -04:00
NEWS Miscellaneous changes 2008-04-13 03:35:31 -04:00
ofx.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
ofx.h Did some optimization and memory cleanup 2008-04-13 03:38:28 -04:00
option.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
option.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
parser.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
parser.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
parsetime.yy More refactoring 2008-04-13 03:38:28 -04:00
py_amount.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
py_eval.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
py_eval.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
pyfstream.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
pyledger.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
pyledger.h Check in all changes made so far toward 3.0. 2008-04-13 03:35:00 -04:00
PyUnitTests.py We now compile with boost_date_time (although parts of the code have 2008-04-13 03:38:17 -04:00
qif.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
qif.h Did some optimization and memory cleanup 2008-04-13 03:38:28 -04:00
quotes.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
quotes.h Did some optimization and memory cleanup 2008-04-13 03:38:28 -04:00
README Made the amount/balance/value interface a bit more rational; added 2008-04-13 03:38:28 -04:00
reconcile.cc Check in all changes made so far toward 3.0. 2008-04-13 03:35:00 -04:00
reconcile.h Check in all changes made so far toward 3.0. 2008-04-13 03:35:00 -04:00
register.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
register.h Made the amount/balance/value interface a bit more rational; added 2008-04-13 03:38:28 -04:00
report.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
report.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
scantime.ll changes 2008-04-13 03:38:29 -04:00
session.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
session.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
setup.py All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
startup.cc Added a DATETIME value type. 2008-04-13 02:41:29 -04:00
system.hh Moved all system includes into system.hh; added support for using system.hh as a pre-compiled header 2008-04-13 03:38:30 -04:00
test.py Added much better error location. 2008-04-13 02:41:29 -04:00
texinfo.tex Added some pre-generated files. 2008-04-13 03:38:26 -04:00
textual.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
textual.h Did some optimization and memory cleanup 2008-04-13 03:38:28 -04:00
timeclock.el Removed Python integration support. 2008-04-13 02:41:21 -04:00
times.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
times.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
transform.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
transform.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
util.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
util.h More work done toward rearranging the utility code. 2008-04-13 03:38:31 -04:00
utils.cc More work done toward rearranging the utility code. 2008-04-13 03:38:31 -04:00
utils.h More work done toward rearranging the utility code. 2008-04-13 03:38:31 -04:00
valexpr.cc *** empty log message *** 2008-04-13 02:41:32 -04:00
valexpr.h *** empty log message *** 2008-04-13 02:41:32 -04:00
value.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
value.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
walk.cc Reworked the way date/times are handled. 2008-04-13 02:41:32 -04:00
walk.h Reworked the way date/times are handled. 2008-04-13 02:41:32 -04:00
xml.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
xml.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
xmlparse.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
xmlparse.h Did some optimization and memory cleanup 2008-04-13 03:38:28 -04:00
xpath.cc All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
xpath.h All system headers (except Boost) now included through system.hh; 2008-04-13 03:38:31 -04:00
ylwrap Changed date parser to use lex/yacc. 2008-04-13 03:38:27 -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 libraries installed:

    gmp        GNU multi-precision library
    boost      Boost C++ 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.