From f62fe4278e3b4ebdd6402d341d6b4c24b0576c85 Mon Sep 17 00:00:00 2001 From: stevejpurves Date: Wed, 6 Dec 2023 09:52:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20defensive=20keywords=20usage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template.tex | 5 +++++ template.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/template.tex b/template.tex index ed96969..0a27f8d 100644 --- a/template.tex +++ b/template.tex @@ -63,7 +63,12 @@ [# endif #] % Include a list of keywords after the abstract +[# if doc.keywords #] \keywords{[-doc.keywords|join(", ")-]} +[# else #] +\keywords{} +[# endif #] + [-CONTENT-] diff --git a/template.yml b/template.yml index 701e62f..2e3123f 100644 --- a/template.yml +++ b/template.yml @@ -4,7 +4,7 @@ description: >- A template using the styles provided by the SPIE for publications in their proceedings authors: - - name: SPIE + - name: SPIE Society website: https://www.spie.org/ affiliations: - SPIE