GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
LaTeX
Browse code
Added Git-based installation instructions
master
1 parent
8e64ef0
commit
4c2456dbfc4c96c6ea75164f34fe704046311942
Nigel Stanger
authored
on 23 Feb 2021
Patch
Showing
1 changed file
README.md
Ignore Space
Show notes
View
README.md
Various LaTeX classes. Note that some of this exists as independent LaTeX repostiories (e.g., ouexam, beamerthemes). You can find these repositories on [Github][]. ## Installation approach 1: Git `git clone` this repository into somewhere suitable in your local LaTeX tree. Then you can simply `git pull` to update to newer versions. This means you have a lot of irrelevant git-related files in your LaTeX tree, but it’s simple to manage. ## Installation approach 2: Make To install, ensure that `$TEXMFHOME` is set to your personal texmf tree (e.g., `~/.texmf`), then: ``` git clone https://github.com/Otago-InfoSci-Database/LaTeX.git cd LaTeX make install ``` Everything should just work beyond that point (fingers crossed! ☺), barring any backwards incompatible changes to classes or the like. ### For developers only ### *Normal users of the LaTeX repository should ignore the following!* The `beamerthemes`, `lectures`, `listings`, and `ouexam` subdirectories are git subtrees pointing to independent repositories. If you’re intending to edit the contents of these directories, you make a separate clone of the original repository. To pull upstream changes to the subtrees (e.g., for `ouexam`): `git subtree pull --prefix=ouexam --squash ouexam master` Cloning the repository will lose the subtree associations. To restore these: ```sh git remote add -f beamerthemes https://github.com/nstanger/beamerthemes.git git remote add -f lectures https://github.com/nstanger/lectures.git git remote add -f listings https://github.com/nstanger/listings.git git remote add -f ouexam https://github.com/nstanger/ouexam.git ``` then update using the command above. [github]: https://github.com/nstanger "Github"
Various LaTeX classes. Note that some of this exists as independent LaTeX repostiories (e.g., ouexam, beamerthemes). You can find these repositories on [Github][]. To install, ensure that `$TEXMFHOME` is set to your personal texmf tree (e.g., `~/.texmf`), then: ``` git clone https://github.com/Otago-InfoSci-Database/LaTeX.git cd LaTeX make install ``` Everything should just work beyond that point (fingers crossed! ☺), barring any backwards incompatible changes to classes or the like. ### For developers only ### *Normal users of the LaTeX repository should ignore the following!* The `beamerthemes`, `lectures`, `listings`, and `ouexam` subdirectories are git subtrees pointing to independent repositories. If you’re intending to edit the contents of these directories, you make a separate clone of the original repository. To pull upstream changes to the subtrees (e.g., for `ouexam`): `git subtree pull --prefix=ouexam --squash ouexam master` Cloning the repository will lose the subtree associations. To restore these: ```sh git remote add -f beamerthemes https://github.com/nstanger/beamerthemes.git git remote add -f lectures https://github.com/nstanger/lectures.git git remote add -f listings https://github.com/nstanger/listings.git git remote add -f ouexam https://github.com/nstanger/ouexam.git ``` then update using the command above. [github]: https://github.com/nstanger "Github"
Show line notes below