Skip to content

An open textbook for Discrete Mathematics, as taught at the University of Northern Colorado

License

Notifications You must be signed in to change notification settings

jejemplo/discrete-book

 
 

Repository files navigation

Discrete Mathematics: An Open Introduction

An open textbook for Discrete Mathematics, as taught at the University of Northern Colorado. More information about the project is available on the book's main website.

The main branch now has the source code for the 3rd edition. Work on the 4th edition is done on the edition branch.

Compilation instructions

This text is written in PreTeXt, so the primary source files can be found in the source directory. These can be compiled into HTML or PDF files (as well as some other formats) using the following directions.

Preliminaries

The easiest way to build output formats from the source is to use the PreTeXt-CLI. To get this set up, follow the instructions in the PreTeXt guide. You will need Python, LaTeX, and pdf2svg (if you wish to compile the html version; this requires an extra step on Windows).

Open up a terminal and in your preferred directory, clone discrete-book repositories:

git clone https://github.com/oscarlevin/discrete-book.git

(If you had previously done this, you will likely want to get the most recent versions of the repository by entering git pull from the discrete-book folder.)

Then change to the discrete-book folder:

cd discrete-book

Compiling

If everything has been set up properly above, you can now execute the following commands to build the book. To create a PDF, you can enter:

python -m pretext build print

To make the HTML version:

python -m pretext build web

Contributing

Any and all suggestions to improve the text are welcome. Thanks to those who have already pointed out typos/issues they have found. If you would like to make a more substantial contribution, please contact me so we can discuss how best to proceed.

Previous editions

The previous editions have branches, and also tags. Feel free to switch to those if you want to grab the source for those editions.

About

An open textbook for Discrete Mathematics, as taught at the University of Northern Colorado

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 95.9%
  • XSLT 3.3%
  • Other 0.8%