aboutsummaryrefslogtreecommitdiff
path: root/SETUP.md
blob: 6c664a2b8785fb333d6208f5842820bb1ece0c96 (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
sudo chown root: /usr/share/plantuml/plantuml.jar

JabRef

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

Set File → Preferences → Linked files → Main library to the path of your local library, e.g. /home/jonas/Projects/RUC/LIB.