A textbook on Einstein's theory of general relativity.
Ruby TeX Perl Makefile Other
Latest commit 69c69f4 Jan 11, 2017 Ben Crowell fix typos in ch 1, 3
Permalink
Failed to load latest commit information.
ch01 fix typos in ch 1, 3 Jan 11, 2017
ch02 fix broken refs Apr 17, 2016
ch03 fix typos in ch 1, 3 Jan 11, 2017
ch04 fix broken refs Apr 17, 2016
ch05 more on curvature scalars Nov 21, 2015
ch06 fix broken refs Apr 17, 2016
ch07 get rid of flying punctuation after equations Nov 10, 2015
ch08 fix broken refs Apr 17, 2016
ch09 update ch 9, aLIGO result Feb 15, 2016
ch99 fix broken refs Apr 17, 2016
code volume expansion scalar in the case of cosmological models Mar 14, 2011
config software Jan 3, 2012
cover add example of finite curvature scalars, incomplete geodesics Nov 14, 2015
scripts fix typos in ch 1, 3 Jan 11, 2017
Makefile hyperlinks to problems i toc Sep 14, 2014
README hyperlinked brief contents Sep 8, 2014
TODO add Einstein papers and alternative derivation of E=mc2 Jan 16, 2010
birdtracks.sty rewording SR axioms Apr 6, 2013
book.config fix ruby 1.9 breakage Jan 22, 2011
custom_html.yaml fix problems with html output May 24, 2015
fruby code cleanup Jan 6, 2012
fullembed.map switch from gs filtering to fullembed.map mechanism Sep 7, 2012
genrel.cls simplify tikz stuff Feb 12, 2013
genrel.m4 earlier introduction of birdtracks circle for gradients Feb 25, 2013
genrel.tex update ch 9, aLIGO result Feb 15, 2016
learn-cmd-syntax.sty cleaning up html translation code, environment definitions are now in… Jan 9, 2012
lmcommon.sty get rid of flying punctuation after equations Nov 10, 2015
lmenvironments.sty initial setup of git repository Nov 21, 2009
lmfigs.sty only vacuum static spacetimes are fully described by a scalar potential Jun 16, 2014
lmlanguage.sty initial setup of git repository Nov 21, 2009
lmlayout.sty initial setup of git repository Nov 21, 2009
lmmath.sty fix goof in der command Jan 22, 2014
mv_silent code cleanup Jan 6, 2012
mytocloft.sty initial setup of git repository Nov 21, 2009
process_geom_file.pl code cleanup Jan 6, 2012
shaddap.sty hyperlinked brief contents Sep 8, 2014

README

=================================================================
producing pdf output
=================================================================
Compiling the book into pdf format is fairly easy on a Linux
machine. Basically you just need to install some open-source
software. The following are the relevant packages on a Debian-based
system such as Ubuntu:
  texlive-full qpdf m4 inkscape ruby1.9

Make sure you have at least inkscape 0.47 and ruby 1.9. As of
January 2010, ruby 1.9 is the stable version, and it's available
in the ruby1.9 package in ubuntu 9.10 (karmic koala). To test
whether your version of ruby is new enough to use, do this:
  make test_ruby
If you need to upgrade, you can download 1.9 from:
  http://www.ruby-lang.org/en/

Go to the main directory (the one where you found this README).

Make all the files in the scripts directory exectable:
  chmod +x scripts/*

Convert all the figures from editable svg format to pdf format:
  make all_figures

Produce pdf output of all the books:
  make

I haven't tried compiling the books on MacOS X or Windows. I suspect
it could be done on MacOS X without any heroic measures, and I suspect
that it would be a real pain on Windows.

=================================================================
producing html output
=================================================================
To produce html output requires a little more software. First, you
need the following additional Debian packages:
  xpdf imagemagick tex4ht dvipng
(The xpdf dependency is because of pdftoppm, which comes bundled
with it.)

You'll also need footex:
  http://www.lightandmatter.com/footex/footex.html

====================

More technical details about the software setup are in INTERNALS.