Gradle infrastructure to build LaTeX lectures
01_lecture | 2 years ago | ||
.gitignore | 2 years ago | ||
README.md | 2 years ago | ||
build.gradle.kts | 2 years ago | ||
lecture.gradle.kts | 2 years ago | ||
lecturedates.tex | 2 years ago | ||
paper_init.tex | 2 years ago | ||
settings.gradle.kts | 2 years ago |
Gradle infrastructure to build Information Science lectures based on Nigel’s LaTeX lecture classes.
Features:
latexmk
This repository serves as both the canonical source for the Gradle files and as an example of how to set things up.
lectures
directory..gitignore
into lectures
.01_foo
, 02_bar
, …. The prefix numbering is important. Gradle uses it to figure out the lecture number.build.gradle.kts
and settings.gradle.kts
into lectures
.settings.gradle.kts
in 01_foo
, 02_bar
, etc.lecture.gradle.kts
into 01_foo
, 02_bar
, etc.lecture.gradle.kts
to configure targets and images.The way Nigel does things 😁.
lectures 01_foo/ build.gradle.kts -> ../build.gradle.kts doc_init.tex images/ ... lecture.gradle.kts lecture_content.tex lecture_handout.tex lecture_slides.tex lecturedates.tex -> ../lecturedates.tex paper_init.tex -> ../paper_init.tex pdfs/ lecture_01_handout.pdf lecture_01_slides.pdf settings.gradle.kts 02_bar/ ... 03_baz etc... .gitignore build.gradle.kts lecturedates.tex paper_init_tex settings.gradle.kts
As applicable depending on which document targets are enabled. This list is not comprehensive, see gradle tasks --all
for a complete list.
A dynamic task is created for each generated image, e.g.: