]> git.lyx.org Git - features.git/commitdiff
Fix compilation of the template ACM-sigplan.lyx
authorScott Kostyshak <skostysh@lyx.org>
Wed, 8 Apr 2015 17:29:13 +0000 (13:29 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Wed, 8 Apr 2015 17:41:59 +0000 (13:41 -0400)
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
lib/templates/ACM-sigplan.lyx

index 349c94a630b4a1bd5d6bf77bcd101b066e7d07cc..61bf94aee0691818c5f4e0776275eaf543089f71 100644 (file)
@@ -120,6 +120,13 @@ Style PreprintFooter
 End
 
 
+Style DOI
+       CopyStyle       CopyrightYear
+       LatexName       doi
+       LabelString     "Digital Object Identifier:"
+End
+
+
 Input stdtitle.inc
 Input stdstruct.inc
 
index edfdc2a1b22b764a712021a6667a82ebda1d724c..2c24f9495b485fb2784c97d419af2d3c09396f40 100644 (file)
@@ -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