1
0

Mise à jour de 'home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl'

This commit is contained in:
2024-03-08 17:50:18 +00:00
parent 66dfb11176
commit 50ceaf6833

View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Logging function
log() {
printf "$(tput setaf 4)$(tput bold)>>>>> %s <<<<<$(tput sgr0)\n" "$1"
}
inf() {
printf "$(tput setaf 2)╚═══ᐳ $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1"
}
# Environment variables
export TEXMF=texmf/tex/latex
{{- if (ne .latex false) -}}
log "Begin LaTeX repo initialization"
texhash "${HOME}/${TEXMF}"
log "Finish LaTeX repo initialization"
{{- end }}