Skip to content

certik/theoretical-physics

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Theoretical Physics Reference

This is an opensource book, available online at:

https://theoretical-physics.com

All files in the repository are licensed under the MIT license. The source code of the repository is available at:

https://github.com/certik/theoretical-physics

Build

Install prerequisites:

sudo apt-get install python-sphinx texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra dvipng

To build the book, do:

make web

This builds both html and pdf versions, that you can find in the _build directory.

Build Using Conda

Conda build:

mamba env create -f environment.yml
conda activate tprbook
make latex
tectonic _build/latex/theoretical-physics.tex

How to Push to Github

First fetch the gh-pages branch and then use this script:

./copy-docs

and optionally push the gh-pages branch to github:

git push github