-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:potassco-asp-course/course into main
- Loading branch information
Showing
4 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
all: | ||
all: init | ||
latexmk main.tex -pdf | ||
|
||
watch: | ||
watch: init | ||
latexmk main.tex -pdf -pvc | ||
|
||
clean: | ||
latexmk main.tex -pdf -C | ||
|
||
init: .initialized | ||
|
||
SHELL=bash | ||
.initialized: | ||
test ! -d .git || git config -f .gitmodules --get-regexp '^submodule\..*\.path$$' | \ | ||
while read path_key path_val; do \ | ||
url_key=$$(echo $$path_key | sed 's/\.path/.url/'); \ | ||
url=$$(git config -f .gitmodules --get "$$url_key"); \ | ||
git submodule add $$url $$path_val || true; \ | ||
git submodule update --init --recursive $$path_val; \ | ||
done | ||
touch .initialized | ||
|
||
.PHONY: all watch clean init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ The main repository integrating the LaTeX beamer-based slides for a MSc class on | |
## Structure | ||
|
||
- mostly implemented by LaTeX' `\part` and `\section` commands | ||
- separate slides with `% ` following by 70 `-` | ||
- separate slides with `% ` followed by 70 `-` | ||
|
||
## Logic | ||
|
||
|
@@ -15,6 +15,13 @@ The main repository integrating the LaTeX beamer-based slides for a MSc class on | |
|
||
- use `itemize` environments with `\structure{}` (rather than `description` environment) | ||
|
||
## Installation | ||
|
||
1. Clone main repository `[email protected]:potassco-asp-course/course.git` | ||
2. Go to course `cd course` | ||
3. Retrieve submodules `git submodule update --init --recursive` | ||
4. Run `latexmk main.tex` | ||
|
||
## Production | ||
|
||
1. uncomment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters