From 57e4f26d200985559b7f349653e6f8a9310041d6 Mon Sep 17 00:00:00 2001 From: Ben Whitney Date: Wed, 3 Jan 2018 12:20:43 -0500 Subject: [PATCH] Awesome: avoid LaTeX error with undefined label. --- themes/awesome/src/latex/examples/cv.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/awesome/src/latex/examples/cv.tex b/themes/awesome/src/latex/examples/cv.tex index 74a84ce..f7e33fe 100644 --- a/themes/awesome/src/latex/examples/cv.tex +++ b/themes/awesome/src/latex/examples/cv.tex @@ -52,7 +52,7 @@ % Comment any of the lines below if they are not required %------------------------------------------------------------------------------- \name{[~ print(h.initialWords( r.name )) ~]}{[[ h.lastWord( r.name ) ]]} -\position{[[ r.info.label ]]} +[~ if (r.info.label) { ~]\position{[[ r.info.label ]]}[~ } ~] \address{[[ r.location.address ]]} \mobile{[[ r.contact.phone ]]}