You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# this script will install the templates inside your home folder, in a way that lets you use the automated book-creator script I've inserted inside the repo (mkbook.sh)
# v0.1 06/04/2022 12.06
template=$(ls $HOME | awk '/[Tt]emplate[s]*/')
if [[ -z "$template" ]]
then
mkdir -p $HOME/Templates
template="Templates"
fi
if [[ -e "$HOME/texmf" ]]
then
localtex="$HOME/texmf/tex/latex"
else
mkdir -p "$HOME/texmf/tex/latex"
fi
sed -i '/\/templates\/\/$template\//g' ./mkbook.sh