Gradle infrastructure to build LaTeX lectures
01_lecture | #1) | 1 year ago | |
buildSrc | #1) | 1 year ago | |
.gitignore | 2 years ago | ||
README.md | #1) | 1 year ago | |
build.gradle.kts | #1) | 1 year ago | |
lecture.build.gradle.kts | #1) | 1 year ago | |
lecturedates.tex | 2 years ago | ||
paper_init.tex | 2 years ago | ||
settings.gradle.kts | #1) | 1 year 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
.lecture.build.gradle.kts
into 01_foo
, 02_bar
, etc., and rename it to build.gradle.kts
build.gradle.kts
to configure targets and images.The way Nigel does things 😁.
lectures 01_foo/ build.gradle.kts doc_init.tex images/ ... 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 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.: