Last active
July 27, 2022 12:00
-
-
Save habernal/5ca5b42c5115516d9fc7023ac1b7f2b1 to your computer and use it in GitHub Desktop.
Installing latest TU-Da templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# exit when any command fails | |
set -e | |
cd ~/texmf/tex/latex | |
ver="2.10" | |
# remove old installation if exists | |
rm -rf tuda-ci | |
rm tuda-ci_${ver}_ctan.zip -f | |
# download from releases -- only those before update to 3.0, this breaks everything | |
# https://github.com/tudace/tuda_latex_templates/releases | |
wget https://github.com/tudace/tuda_latex_templates/releases/download/v${ver}/tuda-ci_${ver}_ctan.zip | |
unzip tuda-ci_${ver}_ctan.zip | |
# clean up | |
rm tuda-ci_${ver}_ctan.zip | |
# download TU-Da logo | |
wget https://raw.githubusercontent.com/habernal/tuda-logo/main/tuda_logo.pdf --timestamping | |
# update tex | |
texhash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment