Skip to content

Advanced-Systems/lecture-notes

Repository files navigation

Advanced Systems Lecture Notes

Remarks

This document is a compilation of lecture notes for intermediate mathematics. It is intended to serve as a study guide for members of the Advanced System organization.

Prerequisites

You can use texliveonfly to install document-specific packages on the fly from the terminal automatically:

tlmgr install texliveonfly

You then this program like this:

texliveonfly ./src/document.tex

This example also uses the Advanced Systems' Math Macros as a git submodule, although you can easily remove references to this library if you don't need these macros.

git submodule update --init --recursive

Compile

Both TeX Live and MikTeX come with latexmk, though since this is a perl script you need to have perl installed on your system to run this command. Alternatively, use the pdflatex command.

latexmk -cd ./src/document.tex -outdir='../build' -pdf --interaction=batchmode

Clear Cache

latexmk -C -outdir=build

Editors Notes

This project uses .editorconfig to ensure that consisting formatting is applied everywhere. If you are using a fresh texlive installation, chances are that you will encounter the following error message upon invoking latexindent:

Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module...

In this case, run the following commands:

sudo cpan Unicode::GCString
sudo cpan App::cpanminus
sudo cpan YAML::Tiny
sudo perl -MCPAN -e 'Install "File::HomeDir"'