Dodatki i ulepszenia

This commit is contained in:
2026-02-14 20:28:51 +01:00
parent fa5b4a9be6
commit b14c6ff5d3
5 changed files with 698 additions and 3 deletions

View File

@@ -38,8 +38,11 @@ setup-deps:
command -v gpg &>/dev/null || { echo "Brak gpg: brew install gnupg"; err=1; }
[ $err -eq 1 ] && exit 1
missing=""
# Sprawdzamy dostępność plików .sty używając kpsewhich (standardowy sposób)
for pkg in tocloft fontspec selnolig; do
tlmgr list --only-installed 2>/dev/null | grep -q "$pkg" || missing="$missing $pkg"
if ! kpsewhich ${pkg}.sty &>/dev/null; then
missing="$missing $pkg"
fi
done
if [ -n "$missing" ]; then
echo "Instaluję pakiety LaTeX:$missing"