Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 3.97 KB

README.md

File metadata and controls

81 lines (50 loc) · 3.97 KB

Front Matter

This is a collection of practice problems designed to assist students in Math 110. These problems have been obtained from a variety of openly available textbooks (see references). Each question provides a link to the original source of the question. The hints, answers, and solutions are new.

Acknowledgements

The creation of this resource was financially supported by the University of Victoria Open Educational Resources Grant.

Colophon

Creative Commons BY-SA-NC

PreText

This book uses PreText, an uncomplicated XML vocabulary for authors of research articles, textbooks, and monographs.

To Contribute

All of the following instructions can be found on the PreTeXt page.

Download necessary tools

       Instructions for downloading and installing xsltproc can also be found here

       It is recommended that you install the xsltproc in your default Git Bash directory in order to follow along with the commands.

  • Sign-up for a github account. https://github.com

  • Clone the mathbook repository to your root. In your Git Bash shell:

    git clone https://github.com/rbeezer/mathbook.git
    cd mathbook
    git checkout dev

    Note: (git pull before each work session to make sure you're updated with the latest mathbook features)

Compiling a PTX file

  • Navigate to to the folder containing the PTX or XML file.

    Example: cd Documents /c/Users/username/Documents/MATH110OER

  • Enter the following command to compile the main PTX or XML file.

    ~/xsltproc/xsltproc --xinclude ~/mathbook/xsl/pretext-html.xsl index.ptx

Seeing the xrefs

You won't be able to see the xrefs when running locally because of the Cross Origin Resource Sharing issues. Therefore, you can run a simple local host if you have python installed. First check which version of python you have installed by running the command:

python --version

In the folder of your Math110OER repo, run the command (first is for python 2, second is for python 3)

python -m SimpleHTTPServer or python3 -m http.server

Then go to 'http://localhost:8000/

You should now be able to see the references! You can check this by going to any exercise and clicking on its resource link on the right.

Regularly contributing

We'll go through an example for contributing to the solutions for section 5.1, but this can be applied to contributing to any changes, including fixing typos and such.

Make sure you are at least in the MATH110OER folder and on the master branch.

  • git checkout master

Pulling the latest changes from main (master)

  • git pull

Branching off of main (master)

  • git checkout -b section-5-1-exercise-set-solutions

Now add solutions to Section 5.1

Committing your changes

  • git add .
  • git commit -am "Adds solutions to the first three problems within Section 5.1"

Add a commit message that describes the changes you are committing.

Pushing up your changes and making a Pull Request

  • git push origin section-5-1-exercise-set-solutions

Now go to the github repo, you should see a message about opening a pull request. Click on the button and add a description of your changes to open a pull request. Merge your changes on approval.