Store to move back to normal tex files

This commit is contained in:
2026-02-19 16:52:35 +01:00
parent 201423b8a3
commit 811dc9f9eb
28 changed files with 673 additions and 954 deletions

22
install.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
cd build/
python build.py
cd ..
loc="s"
read -p "Local (l) or system (s) installation? (Defaults to system) " loc
if [[ "$loc" == "l" ]]; then
if [[ -z "${TEXMFHOME+x}" ]]; then
export TEXMFHOME=~/texmf/
fi
mkdir -p $TEXMFHOME/tex/latex/janishutz-helpers
cp ./janishutz-helpers.sty $TEXMFHOME/tex/latex/janishutz-helpers/
else
sudo mkdir -p /usr/share/texmf/tex/latex/janishutz-helpers
sudo cp ./janishutz-helpers.sty /usr/share/texmf/tex/latex/janishutz-helpers/
echo "Updating file database"
sudo texhash
fi