Giter Club home page Giter Club logo

discrete-book's Introduction

discrete-book

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.

Compilation Instructions

This text is written in Mathbook XML, so the primary source files can be found in the MBX directory. These can be compiled into html or LaTeX files (as well as some other formats). If you do not want to bother with this step or just want to grab some LaTeX to use in a worksheet or the like, the generated LaTeX is already provided in the latex folder.

MBX Compilation

To compile from source, you will need a copy of the mathbook xsl stylesheets, as well as xsltproc installed (should be easy on linux or MacOS, but also possible on Windows---see some windows installation notes).

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

git clone https://github.com/rbeezer/mathbook

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

To generate LaTeX, change to the latex directory of the discrete-book folder:

cd discrete-book/latex

and run

xsltproc --xinclude ../xsl/dmoi-latex.xsl ../mbx/dmoi.mbx

This will use the custom thin xsl stylesheet I have created with some customizations. It calls the mathbook-latex.xsl file from mathbook using relative paths, so it is important that you leave the mathbook and discrete-book directories parallel.

To generate html, change to the html folder. We first need to generate the svg images from the mbx code. This is done using the mbx script from mathbook:

../../mathbook/script/mbx -v -c latex-image -f svg -d images ../mbx/dmoi.mbx

You will need to have python and some other tools installed. See the mathbook documentation. Then to produce the html, run:

xsltproc --xinclude ../xsl/dmoi-html.xsl ../mbx/dmoi.mbx

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.

Fall 2015 corrected edition

If you are looking for the previous edition of this text, switch branches to the Fall2015-corrected branch, which contains source files for the corrected version of the Fall 2015 edition. Use this in case you have that edition or want to continue using that edition.

ToDo

While teaching Discrete Mathematics this fall semester, I will try to keep track of typos and other errors, as well as add exercises as I think of them.

discrete-book's People

Contributors

oscarlevin avatar davidfarmer avatar

Watchers

James Cloos avatar Alexandre Linhares avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.