aboutsummaryrefslogtreecommitdiff
path: root/SETUP.md
blob: 7808edfe30e5e2534c85a45eef0d29d290831356 (plain)

Setting up environment for building thoughtroam assets

System requirements

Debian

Install required packages:

sudo apt install texlive-luatex texlive-binaries-sse2 texlive-lang-european texlive-latex-extra texlive-fonts-extra
sudo apt install git make citation-style-language-styles plantuml inkscape latexdiff

Quarto

Download and install newest stable version of Quarto from their website.

hedgedoc-cli

Clone code project hedgedoc-cli:

mkdir --parents ~/Projects
cd ~/Projects
git clone https://github.com/hedgedoc/cli hedgedoc-cli

Link to cloned CLI script from personal bin folder:

mkdir --parents ~/bin
cd ~/bin
ln --symbolic --target-directory=. ../Projects/hedgedoc-cli/bin/hedgedoc

Fonts

Install fonts included with project.

mkdir --parents ~/.fonts
cp --target-directory ~/.fonts fonts/*/opentype/*

PlantUML

Download newest version of PlantUML from their website.

Replace Debian-packaged plantuml with the downloaded file:

sudo mv /usr/share/plantuml/plantuml.jar /usr/share/plantuml/plantuml.jar.orig
sudo cp ~/Downloads/plantuml-1.2024.3.jar /usr/share/plantuml/plantuml.jar
udo chown root: /usr/share/plantuml/plantuml.jar