From 34eadf5d498718b4faa51820961f9d7c09d4a6d0 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Wed, 8 Apr 2015 13:29:13 -0400 Subject: [PATCH] Fix compilation of the template ACM-sigplan.lyx This template was only reported as failing to compile by LyX as of 0a6120cb. I do not know how long this template was actually failing to compile without error. The problem was that the class requires \doi to be defined. This might not have been a requirement in previous versions of the class. Thanks to Enrico for finding the problem and solution. --- lib/layouts/sigplanconf.layout | 7 +++++++ lib/templates/ACM-sigplan.lyx | 14 ++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/lib/layouts/sigplanconf.layout b/lib/layouts/sigplanconf.layout index 349c94a630..61bf94aee0 100644 --- a/lib/layouts/sigplanconf.layout +++ b/lib/layouts/sigplanconf.layout @@ -120,6 +120,13 @@ Style PreprintFooter End +Style DOI + CopyStyle CopyrightYear + LatexName doi + LabelString "Digital Object Identifier:" +End + + Input stdtitle.inc Input stdstruct.inc diff --git a/lib/templates/ACM-sigplan.lyx b/lib/templates/ACM-sigplan.lyx index edfdc2a1b2..2c24f9495b 100644 --- a/lib/templates/ACM-sigplan.lyx +++ b/lib/templates/ACM-sigplan.lyx @@ -147,6 +147,20 @@ is ignored unless document class option 'preprint' is used \end_inset +\end_layout + +\begin_layout DOI +10.1145/143365.143376 +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +the digital identifier assigned at doi.acm.org +\end_layout + +\end_inset + + \end_layout \begin_layout Title -- 2.39.2