]> git.lyx.org Git - features.git/commitdiff
Compatibility fix for acmsiggraph.cls v0.93
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 19 Feb 2017 11:25:23 +0000 (12:25 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 19 Feb 2017 11:27:33 +0000 (12:27 +0100)
Reported by Jean-Pierre Chrétien, fix suggested by Günter Milde.

Also add a note about obsolescence of the class, by Jean-Pierre.

lib/layouts/acmsiggraph-0-92.layout

index f9fd34230f3580ecbf58ec63ebbdfe14d61daf36..deb0503278b907037da339c27471d9ab1f7010d0 100644 (file)
@@ -8,6 +8,11 @@
 # BibTeX style and template, and the documentation is available at
 # http://www.siggraph.org/learn/instructions-authors
 #
+# NOTE: As from Spring 2017, the class will not be usable to submit
+# a publication to ACM, it is OBSOLETE.
+# Please use instead the new acmart.cls class file, distributed with
+# TeXLive >= 2016
+#
 # Versions:
 #  siggraph 0.9:  initial layout
 #  siggraph 0.92: Removed styles "TOG project URL", "TOG video URL", 
@@ -110,6 +115,10 @@ Style "Copyright_year"
        CopyStyle               "TOG online ID"
        LatexName               copyrightyear
        LabelString             "Year of copyright:"
+       Preamble
+       % Compatibility fix for acmsiggraph >= 0.93.
+       \@ifundefined{copyrightyear}{\let\copyrightyear\CopyrightYear}{}
+       EndPreamble
 End