thesis/README.md
Jean-Marie 'Histausse' Mineau 65cf19ff74
All checks were successful
/ test_checkout (push) Successful in 50s
add link to ci build for slides
2025-12-06 20:59:50 +01:00

2 KiB

Thesis Manuscript

By Jean-Marie Mineau, supervised by Jean-François Lalande and Valérie Viet Triem Tong, at CentraleSupélec, campus Rennes.

Build

Currently build on typst 0.14.0.

To build, you need to install the template: https://git.mineau.eu/histausse/template-thesis-matisse

mkdir -p ~/.local/share/typst/packages/local/template-thesis-matisse/
git clone https://git.mineau.eu/histausse/template-thesis-matisse.git ~/.local/share/typst/packages/local/template-thesis-matisse/0.0.1

Alternatively, for easier access to the template:

mkdir -p ~/.local/share/typst/packages/local/template-thesis-matisse/
git clone https://git.mineau.eu/histausse/template-thesis-matisse.git
ln -s $(pwd)/template-thesis-matisse ~/.local/share/typst/packages/local/template-thesis-matisse/0.0.1

Then to build the manuscript:

typst compile main.typ

Additionally, the argument --input commit=$(git rev-parse --short HEAD) will add the current commit at the beginning of the draft, and --input draft=false will build the clean version, without TODOs or line numbers.

The abstract can be compile separately:

typst compile --input draft=false --input abstract-only=true main.typ abstract.pdf

The CI should build the latest draft at https://git.mineau.eu/api/packages/these-android-re/generic/thesis/latest/draft.pdf

Slides

To build the slides, you will need to install coldy 1.3.1 locally (the released is not yet published in the typt repository). This release allows the highlight part of the code without modifying the spacing.

TMP="$(mktemp -d)"
curl -L https://github.com/Dherse/codly/archive/refs/tags/v1.3.1.zip -o "${TMP}/c.zip" 
unzip -d "${TMP}" "${TMP}/c.zip"
mkdir -p ~/.local/share/typst/packages/local/codly
mv "${TMP}/codly-1.3.1" ~/.local/share/typst/packages/local/codly/1.3.1 
rm -rf "${TMP}"

Then to build the slides:

typst compile slides.typ

The CI also build the slides, at https://git.mineau.eu/api/packages/these-android-re/generic/thesis/latest/slides.pdf