Gradle infrastructure for building LaTeX lectures
|01_lecture||#1)||2 months ago|
|buildSrc||#1)||2 months ago|
|.gitignore||10 months ago|
|README.md||2 months ago|
|build.gradle||#1)||2 months ago|
|lecturedates.tex||10 months ago|
|paper_init.tex||10 months ago|
|settings.gradle||#1)||2 months ago|
Gradle infrastructure to build Information Science lectures based on Nigel’s LaTeX lecture classes.
This repository serves as both the canonical source for the Gradle files and as an example of how to set things up.
lecturesand rename it to something that makes sense. The prefix numbering is important. Gradle uses it to figure out the lecture number (but you can override this manually per lecture). You can duplicate and rename this folder for each new lecture you need (e.g.,
lectures/settings.gradleand make sure there is an
includeline for each individual lecture. Remember to update if you change things later, otherwise things will probably not build.
build.gradleto configure targets and images. The individual lecture folders must not have a
settings.gradlefile, it will break things.
git pullin the plugin repository.
buildSrcdirectory to your
The way Nigel does things 😁.
lectures 01_foo/ build.gradle 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 lecturedates.tex paper_init_tex settings.gradle
As applicable depending on which document targets are enabled. This list is not comprehensive, run
gradle tasks --all for a complete list.
A dynamic task is created for each generated image, e.g.: