Go to file
Pat Morin 9d22c44906 Fixing two issues pointed out by Günter Rote 2019-12-08 09:37:03 -05:00
c Pedantic warning fix 2015-08-23 16:42:59 -04:00
cpp Fix SLList::Node constructor 2017-10-17 10:15:13 -04:00
java Made peek() return null on empty queue 2019-01-17 11:55:56 -05:00
latex Fixing two issues pointed out by Günter Rote 2019-12-08 09:37:03 -05:00
python Merge pull request #63 from rikudoayush/master 2018-02-02 11:41:34 -05:00
.gitignore Added a few more file types 2014-02-03 10:37:00 -05:00
COPYING Miscellaneous wording and reference fixes 2011-06-20 13:13:44 -04:00
Makefile This the version I'm posting 2014-02-04 15:31:26 -05:00
README Another typo fix 2017-05-10 11:33:35 -04:00

README

latex/ contains the latex sources
java/ods contains the java sources
cpp contains the C++ sources (still under development)

To make the books (ods-java.pdf and ods-cpp.pdf and ods-python.pdf):
  mkdir ~/texmf/tex/latex/ods/
  cp ods-colors.sty ~/texmf/tex/latex/ods/
  cd latex ; make
This will require a decent installation of pdflatex, perl, ipe, inkscape,
gnuplot, and pdftk.  

If you have problems with tikz figures, consult the solution here: 
http://goo.gl/hCvlyp

If ipetoipe generates errors about ods-colors.sty, then try this:

  mkdir -p ~/texmf/tex/latex/ods/
  ln -s $PWD/latex/ods-colors.sty ~/texmf/tex/latex/ods/
  texhash


To make the Java archive ods.jar:
  cd java ; make

To make both:
  make

What's in here:
  java/test    - Test code from Sun/Oracle and Apache
  java/junk    - Small sample code snippets used in the text
  java/ods     - The Java data structures sources
  cpp          - The C++ data structures sources and sample code
  python       - The Python code used to generate the pseudocode version
  python/tests - Unit tests for the Python code
  latex        - The book's latex source code and scripts
  latex/figs   - The book's ipe figures
  latex/images - Images used in the book


How it works:
The Makefile and Perl script in ./latex do the following:
  1. Convert ipe figures in ./latex/figs into pdf
  2. Convert svg figures in ./latex/images into pdf
  3. Scan the latex sources and generate -java.tex and -cpp.tex files
     that include source code from ./java and ./cpp directories
  4. Run pdflatex and bibtex to generate the file ods-java.pdf and
     ods-cpp.pdf