Skip to content

ChrisMayfield/ThinkJava2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Think Java

Second Edition

Think Java is an introduction to computer science and programming intended for people with little or no experience. The goal is to help students learn to design and implement object-oriented solutions to non-trivial problems.

This book is free to read online and available for purchase in print and electronic formats.

Are you using this book in a class? We'd like to know about it! Please consider filling out this short survey.

Reading the Book

** Free HTML Version**: Read online at GitHub Pages

** Purchase Options** (affiliate links):

Building from Source

Note: Most readers won't need to build from source. The free HTML version is available online.

Prerequisites

  • LaTeX distribution (texlive-latex-extra, texlive-fonts-recommended on Linux)
  • Python 3.6+ for conversion scripts
  • Quarto for HTML generation

Build Commands

# PDF version (LaTeX)
make pdf

# HTML version (Quarto)
make html

# Legacy HTML versions
make hevea    # static HTML
make trinket  # interactive version

Repository Structure

ThinkJava2/
├── quarto/              # Quarto book project
│   ├── _quarto.yml      # Book configuration
│   ├── split_book.py    # LaTeX to QMD converter
│   ├── convert.py       # LaTeX command converter
│   └── custom.css       # Custom styling
├── book/                # Generated Quarto output
├── code/                # Example Java programs
├── figs/                # Source figures (xfig, dia)
├── ch*.tex             # Chapter source files
├── app*.tex            # Appendix source files
├── thinkjava2.tex      # Main LaTeX file
└── Makefile            # Build automation

License

Copyright (c) 2020 Allen B. Downey and Chris Mayfield.

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. See LICENSE for details.

About

LaTeX source for Think Java, 2nd edition, by Allen Downey and Chris Mayfield.

Resources

Stars

Watchers

Forks

Contributors 5