keys.keeper-cards: Fallback plan in case `mdwfonts' doesn't exist.
[distorted-keys] / keys.keeper-cards
index 825f6f5..01c1444 100755 (executable)
@@ -101,7 +101,13 @@ cat >&3 <<'EOF'
 \documentclass[a4paper, landscape, 12pt]{article}
 \usepackage[utf8]{inputenc}
 \usepackage[T1]{fontenc}
+EOF
+if kpsewhich mdwfonts.sty >/dev/null; then
+  cat >&3 <<'EOF'
 \usepackage[palatino, helvetica, courier, maths = cmr]{mdwfonts}
+EOF
+fi
+cat >&3 <<'EOF'
 \usepackage{graphicx}
 
 %% Report errors with enough context that we can debug them.