mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
[provisioning] Add DND-5e-LaTeX-Template
This commit is contained in:
parent
68c4ddbd2e
commit
19ef110da5
2 changed files with 19 additions and 0 deletions
10
recipes/git
10
recipes/git
|
@ -13,3 +13,13 @@ case $_PLATFORM in
|
||||||
_apt git
|
_apt git
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
function _git {
|
||||||
|
local repo=$1
|
||||||
|
local dest=$2
|
||||||
|
if ! test -d "$dest"; then
|
||||||
|
_run "[git] Clone $repo to $dest" git clone --recursive $1 $2
|
||||||
|
else
|
||||||
|
echo "[git] $dest already exists, skipping."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
|
@ -23,6 +23,12 @@ function _tex {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function _tex_git {
|
||||||
|
local pkg=$1
|
||||||
|
local repo=$2
|
||||||
|
_git $2 "$(kpsewhich -var-value TEXMFHOME)/tex/latex/${pkg}"
|
||||||
|
}
|
||||||
|
|
||||||
_tex labbook
|
_tex labbook
|
||||||
_tex mdframed
|
_tex mdframed
|
||||||
_tex microtype
|
_tex microtype
|
||||||
|
@ -30,3 +36,6 @@ _tex minted
|
||||||
_tex moderncv
|
_tex moderncv
|
||||||
_tex soul
|
_tex soul
|
||||||
_tex tufte-latex
|
_tex tufte-latex
|
||||||
|
|
||||||
|
_recipe git
|
||||||
|
_tex_git dnd https://github.com/evanbergeron/DND-5e-LaTeX-Template.git
|
||||||
|
|
Loading…
Reference in a new issue