From edbd96c2ee0c6a55ae446c262b02b36af1cfc0ce Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Tue, 10 Jan 2012 00:39:11 +0000 Subject: [PATCH] keys.keeper-cards: Fallback plan in case `mdwfonts' doesn't exist. Organization: Straylight/Edgeware From: Mark Wooding Just don't fiddle with the fonts in that case. --- keys.keeper-cards | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/keys.keeper-cards b/keys.keeper-cards index 825f6f5..01c1444 100755 --- a/keys.keeper-cards +++ b/keys.keeper-cards @@ -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. -- [mdw]