1
0
This commit is contained in:
Jeff Lance 2024-03-05 22:47:14 +01:00
parent f26c44015a
commit 03de9e2ae7
5 changed files with 45 additions and 0 deletions

View File

@ -54,5 +54,24 @@
url = "https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh"
refreshPeriod = "168h"
{{- if ne .latex false -}}
["texmf/tex/latex/latex-homework"]
type = "git-repo"
url = "https://git.jefflance.me/jeff/latex-homework.git"
refreshPeriod = "168h"
["texmf/tex/latex/latex-beamer-themes"]
type = "git-repo"
url = "https://git.jefflance.me/jeff/latex-beamer-themes.git"
refreshPeriod = "168h"
["texmf/tex/latex/emerald"]
type = "git-repo"
url = "https://git.jefflance.me/jeff/emerald.git"
refreshPeriod = "168h"
[".asy"]
type = "git-repo"
url = "https://git.jefflance.me/jeff/asymptote-config.git"
refreshPeriod = "168h"
{{- end }}

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
TEXMF=texmf/tex/latex
{{- if (ne .latex false) -}}
log "Begin LaTeX initialization"
texhash "${HOME}/${TEXMF}"
log "Finish LaTeX initialization"
{{- end }}