Dear Lyxers, the "acmsiggraph" document class has been a source for headaches recently due to an incompatible new version under the old name.
I propose a patch which I ask you to review also under the perspective that this may become an example for further handling of such cases (see the "guide on updating layouts" thread). Idea: * Keep the old layout working for old documents (this does not prevent fixes that don't lead to incompatibilities). * Change the GUI name to tell prominently that this is a "versioned" layout (in this case also for an obsolete version). * Add a new layout that supports the new *.cls version in a clean way. In this case, the new layout imports the old one. Alternatively, the old layout could be based on the new one. * Change the template to use the new layout. * Update the template to reflect the new policies/formatting instructions. Günter New file lib/layouts/acmsiggraph0-92.layout: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[acmsiggraph,comment.sty,lineno.sty]{ACM SIGGRAPH (v 0.92)} # \DeclareCategory{Articles} # ACM SIGGRAPH textclass definition file. # Author : Uwe Stöhr # # The required LaTeX class file "acmsiggraph.cls", a LaTeX template, # BibTeX style and template, and the documentation is available at # http://www.siggraph.org/learn/instructions-authors # # Versions: # 0.9 Uwe Stöhr # 0.92 2016-03-30 Uwe Stöhr, Günter Milde # Adapt to acmsiggraph.cls v0.92 (2015/11/04): # Added styles for new copyright, conference info and doi commands. # Removed styles for no longer supported commands. Format 59 Input acmsiggraph.layout # Remove styles for no longer supported commands. # # The commands \keywordlist and \TOGlinkslist were also removed in v 0.92. # They were, however not supported by the layout. NoStyle "TOG project URL" NoStyle "TOG video URL" NoStyle "TOG data URL" NoStyle "TOG code URL" # New in v 0.92: Style "Set_copyright" CopyStyle "TOG online ID" LatexName setcopyright LabelString "Copyright type:" End Style "Copyright_year" CopyStyle "TOG online ID" LatexName copyrightyear LabelString "Year of copyright:" End Style "Conference_info" CopyStyle "TOG online ID" LatexName conferenceinfo LabelString "Conference info:" Argument 1 Mandatory 1 LabelString "Name" Tooltip "Conference name" EndArgument End Style "ISBN" CopyStyle "TOG online ID" LatexName isbn LabelString "ISBN:" End Style "DOI" CopyStyle "TOG online ID" LatexName doi LabelString "Article DOI:" End Style "Keyword_list" CopyStyle "TOG online ID" LatexName keywordlist InPreamble 0 KeepEmpty 1 LabelString "Keyword list" End Style "Concept_list" CopyStyle "Keyword_list" LatexName conceptlist LabelString "Concept list" End Style "Print_copyright" CopyStyle "Keyword_list" LatexName printcopyright LabelString "Print copyright" End # The following styles would be useful, if they worked with # Edit>Insert (Special)>from LaTeX # Unfortunately, pasted content is not transformed to them in my experiments. # # Style "Concept XML" # CopyStyle "TOG online ID" # LatexType Environment # LatexName CCSXML # NextNoIndent 1 # # ParbreakIsNewline 1 # # FreeSpacing 1 # PassThru 1 # KeepEmpty 1 # # NewLine 0 # TopSep 0.7 # BottomSep 0.7 # Align Block # AlignPossible Block # Font # Family Typewriter # EndFont # HTMLTag <pre></pre> # HTMLItem p # Margin Static # LabelType Above # LabelString "CCSXML Classification Code (generated by http://dl.acm.org/ccs.cfm)" # LabelFont # Color Green # Family Roman # Series Bold # EndFont # End # # # generated concept description code # Style "Concept Description" # CopyStyle "TOG online ID" # LatexName ccsdesc # LabelString "Concept desc" # Argument 1 # LabelString "Nr" # Mandatory 0 # EndArgument # End diff --git a/lib/layouts/acmsiggraph.layout b/lib/layouts/acmsiggraph.layout index 388b1dd..ae71928 100644 --- a/lib/layouts/acmsiggraph.layout +++ b/lib/layouts/acmsiggraph.layout @@ -21,7 +21,7 @@ DefaultStyle Standard ClassOptions FontSize 9|10|11|12 -End +End DefaultFont Family Roman @@ -302,4 +302,3 @@ Style Acknowledgments LabelType Above LabelString "Acknowledgments" End - diff --git a/lib/templates/ACM-siggraph.lyx b/lib/templates/ACM-siggraph.lyx index 3a65370..a3c6006 100644 --- a/lib/templates/ACM-siggraph.lyx +++ b/lib/templates/ACM-siggraph.lyx @@ -4,7 +4,7 @@ \begin_header \save_transient_properties true \origin /systemlyxdir/templates/ -\textclass acmsiggraph +\textclass acmsiggraph0-92 \options annual \use_default_options false \maintain_unincluded_children false @@ -49,7 +49,7 @@ \use_indices false \paperorientation portrait \suppress_date false -\justification true +\justification false \use_refstyle 0 \index Index \shortcut idx @@ -80,7 +80,33 @@ status open This is a template \SpecialChar LyX file for articles to be submitted to the Special Interest Group on Computer Graphics and Interactive Techniques (SIGGRAPH). - How to install the SIGGRAPH \SpecialChar LaTeX +\end_layout + +\begin_layout Itemize +It was updated 2016/03/30 to reflect the requirements for 2016 contributions, + including incompatible changes to the LaTeX class file "acmsiggraph.cls" + in version 0.92. + +\end_layout + +\begin_layout Itemize +The LaTeX class file, a LaTex template, BibTeX style and template, and the + documentation are available at +\begin_inset Flex URL +status open + +\begin_layout Plain Layout + +http://www.siggraph.org/learn/instructions-authors +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Itemize +How to install the SIGGRAPH \SpecialChar LaTeX class to your \SpecialChar LaTeX system is explained in \begin_inset Flex URL @@ -113,7 +139,7 @@ Note: use one of these document class options: \end_layout -\begin_layout Plain Layout +\begin_layout Description \family sans annual @@ -122,7 +148,7 @@ annual Asia annual conference. \end_layout -\begin_layout Plain Layout +\begin_layout Description \family sans sponsored @@ -132,21 +158,14 @@ sponsored Papers program). \end_layout -\begin_layout Plain Layout +\begin_layout Description \family sans abstract \family default - A one-page abstract of your accepted content (Technical Sketches, Posters, Emerging Technologies, etc.). -\end_layout - -\begin_layout Plain Layout -\begin_inset space \hspace*{} -\length 1.5cm -\end_inset - -Content greater than one page in length should use the document class option + Content greater than one page in length should use the document class option \family sans sponsored @@ -154,7 +173,7 @@ sponsored . \end_layout -\begin_layout Plain Layout +\begin_layout Description \family sans preprint @@ -162,7 +181,7 @@ preprint - A preprint version of your final content. \end_layout -\begin_layout Plain Layout +\begin_layout Description \family sans review @@ -176,97 +195,10 @@ review \end_layout -\begin_layout TOG online ID -45678 -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout -Should be filled with the online ID value you received when you submitted - your technical paper. - It will be printed out if you prepare a -\family sans -review -\family default - version of your paper. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout TOG volume -0 -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout -Optional. -\end_layout - -\begin_layout Plain Layout -Should your technical paper be accepted, you will be given three pieces - of information: the volume and number of the issue of the ACM Transactions - on Graphics journal in which your paper will be published, and the ``article - DOI'' value, which is unique to your paper and provides the link to your - paper's page in the ACM Digital Library. - Fill in the volume, number' and article DOI with the three pieces of informatio -n you receive. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout TOG number -0 -\end_layout - -\begin_layout TOG article DOI -1111111.2222222 -\end_layout - -\begin_layout TOG project URL -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout -Optional. -\end_layout - -\begin_layout Plain Layout -By default, your technical paper will contain hyperlinked icons which point - to your paper's article page in the ACM Digital Library, and to the paper - itself in the ACM Digital Library. - You may wish to add one or more links to your own resources. - If any of the following four definitions have URLs in them, an appropriate - hyperlinked icon will be added to the list. - See the note behinf the command -\end_layout - -\end_inset - - -\end_layout - -\begin_layout TOG video URL - -\end_layout - -\begin_layout TOG data URL - -\end_layout - -\begin_layout TOG code URL - -\end_layout - \begin_layout Title The Title of Your Paper Goes Here \begin_inset Note Note -status collapsed +status open \begin_layout Plain Layout Use capital letters as appropriate. @@ -302,7 +234,7 @@ status collapsed \backslash -and +and \end_layout \end_inset @@ -344,7 +276,7 @@ status collapsed \backslash -and +and \end_layout \end_inset @@ -386,68 +318,122 @@ the authors of the work, comma-delimited, are added to the PDF metadata \end_layout -\begin_layout Keywords -radiosity, global illumination, constant time +\begin_layout TOG online ID +45678 +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +Should be filled with the online ID value you received when you submitted + your technical paper. + It will be printed out if you prepare a +\family sans +review +\family default + version of your paper. \end_layout -\begin_layout Teaser -\begin_inset Box Boxed -position "t" -hor_pos "c" -has_inner_box 1 -inner_pos "t" -use_parbox 0 -use_makebox 0 -width "40col%" -special "none" -height "1in" -height_special "totalheight" -thickness "0.4pt" -separation "3pt" -shadowsize "4pt" -framecolor "black" -backgroundcolor "none" -status open +\end_inset + + +\end_layout + +\begin_layout Keywords +radiosity, global illumination, constant time +\begin_inset Note Note +status collapsed \begin_layout Plain Layout -remove this box by an image +User-generated keywords. \end_layout \end_inset +\end_layout + +\begin_layout Set copyright +rightsretained \begin_inset Note Note -status open +status collapsed + +\begin_layout Plain Layout +You can choose between the copyright types +\family sans +none +\family default +, +\family sans +acmcopyright +\family default +, +\family sans +acmlicensed +\family default +, +\family sans +rightsretained +\family default +, +\family sans +usgov +\family default +, +\family sans +usgovmixed +\family default +, +\family sans +cagov +\family default + and +\family sans +cagovmixed. +\end_layout \begin_layout Plain Layout -Optional +For details, see http://siggraph.org/sites/default/files/formatting.pdf \end_layout \end_inset - -\begin_inset Caption Standard + +\end_layout + +\begin_layout Copyright year +2016 +\end_layout + +\begin_layout Conference info +\begin_inset Argument 1 +status open \begin_layout Plain Layout +SIGGRAPH 2016 Posters +\end_layout + +\end_inset + +July 24-28, 2016, Anaheim, CA \begin_inset Note Note status collapsed \begin_layout Plain Layout -You can ignore that \SpecialChar LyX - writes here -\begin_inset Quotes eld -\end_inset +conference date and location +\end_layout -Senseless!!! -\begin_inset Quotes erd \end_inset -. + \end_layout -\end_inset +\begin_layout ISBN +978-1-4503-ABCD-E/16/07 +\begin_inset Note Note +status open -Lookit! Lookit! +\begin_layout Plain Layout +please include the year and month after the article ISBN \end_layout \end_inset @@ -455,26 +441,41 @@ Lookit! Lookit! \end_layout -\begin_layout Standard -\begin_inset ERT +\begin_layout DOI +http://doi.acm.org/10.1145/1111111.2222222 +\end_layout + +\begin_layout TOG volume +0 +\begin_inset Note Note status collapsed \begin_layout Plain Layout +Optional. +\end_layout - -\backslash -maketitle +\begin_layout Plain Layout +Should your technical paper be accepted, you will be given three pieces + of information: the volume and number of the issue of the ACM Transactions + on Graphics journal in which your paper will be published, and the ``article + DOI'' value, which is unique to your paper and provides the link to your + paper's page in the ACM Digital Library. + Fill in the volume, number' and article DOI with the three pieces of informatio +n you receive. \end_layout \end_inset +\end_layout + +\begin_layout TOG number +0 \begin_inset Note Note status collapsed \begin_layout Plain Layout -Uses the author and title information defined above, and prepares the formatted - title. +Optional. \end_layout \end_inset @@ -482,74 +483,92 @@ Uses the author and title information defined above, and prepares the formatted \end_layout -\begin_layout Abstract -Citations can be done this way -\begin_inset space ~ -\end_inset - +\begin_layout Teaser +\begin_inset Box Boxed +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +use_makebox 0 +width "50col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open -\begin_inset CommandInset citation -LatexCommand cite -key "proceedings-full" +\begin_layout Plain Layout +This frame is a placeholder for the optional teaser image +\end_layout \end_inset - or this more concise way -\begin_inset space ~ -\end_inset +\begin_inset Caption Standard -\begin_inset Flex ShortCite -status open +\begin_layout Plain Layout +\begin_inset Note Note +status collapsed \begin_layout Plain Layout -proceedings-full -\end_layout +You can ignore that \SpecialChar LyX + writes here +\begin_inset Quotes eld +\end_inset +Senseless!!! +\begin_inset Quotes erd \end_inset -, depending upon the application. +. \end_layout -\begin_layout Abstract -Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit - lobortis nisl ut aliquip ex ea commodo consequat. - Duis autem vel eum iriure dolor in hendrerit -\begin_inset space ~ \end_inset - -\begin_inset CommandInset citation -LatexCommand cite -key "incollection-full" +Teaser image caption +\end_layout \end_inset - in vulputate velit esse molestie -\begin_inset space ~ -\end_inset +\end_layout -\begin_inset CommandInset citation -LatexCommand cite -key "booklet-full" +\begin_layout Abstract +In this sample paper, we describe the formatting requirements for content + accepted to SIGGRAPH-sponsored events. + The same format can be used for content ranging from a one- or two-page + Poster or Talk abstract, to a full-length Technical Paper. +\end_layout -\end_inset +\begin_layout Abstract +[New for 2016] Authors are now responsible for adding the appropriate rights + management text to their final content, by adding information found on + one's completed rights management form to the source document. +\end_layout - consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et - accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit - augue duis dolore te feugait nulla facilisi. -\begin_inset space ~ -\end_inset +\begin_layout Abstract +[New for 2016] Authors are now required to use ACM's current Computing Classific +ation System for the inclusion of appropriate subject concepts. +\end_layout +\begin_layout Abstract +Please view +\begin_inset Flex URL +status open -\begin_inset CommandInset citation -LatexCommand cite -key "whole-set" +\begin_layout Plain Layout -\end_inset +http://www.siggraph.org/learn/instructions-authors +\end_layout +\end_inset + for a complete description of the formatting specifications. \end_layout \begin_layout Standard @@ -557,18 +576,25 @@ key "whole-set" status open \begin_layout Plain Layout -See +The content of the following +\family sans +\SpecialChar TeX + code +\family default + inset must be generated by the tool at \begin_inset Flex URL status open \begin_layout Plain Layout -http://www.siggraph.org/sites/default/files/acmsiggraph.zip +http://dl.acm.org/ccs.cfm \end_layout \end_inset - for details about the ACM Computing Review categories. +. + Please copy and paste the code you created there instead of the example + code below. \end_layout \end_inset @@ -576,103 +602,112 @@ http://www.siggraph.org/sites/default/files/acmsiggraph.zip \end_layout -\begin_layout CR categories -\begin_inset Flex CRcat +\begin_layout Standard +\begin_inset ERT status open \begin_layout Plain Layout -\begin_inset Argument 1 -status open + + +\backslash +begin{CCSXML} +\end_layout \begin_layout Plain Layout -K.6.1 + +<ccs2012> <concept> <concept_id>10010147.10010371.10010382</concept_id> <concept_d +esc>Computing methodologies~Image manipulation</concept_desc> <concept_significa +nce>500</concept_significance> </concept> <concept> <concept_id>10010147.10010371. +10010382.10010236</concept_id> <concept_desc>Computing methodologies~Computationa +l photography</concept_desc> <concept_significance>300</concept_significance> + </concept> </ccs2012> \end_layout -\end_inset +\begin_layout Plain Layout -\begin_inset Argument 2 -status open +\backslash +end{CCSXML} +\end_layout \begin_layout Plain Layout -Management of Computing and Information Systems + \end_layout -\end_inset +\begin_layout Plain Layout -\begin_inset Argument 3 -status open +\backslash +ccsdesc[500]{Computing methodologies~Image manipulation} +\end_layout \begin_layout Plain Layout -Project and People Management -\end_layout -\end_inset -Life Cycle +\backslash +ccsdesc[300]{Computing methodologies~Computational photography} \end_layout \end_inset +\end_layout + +\begin_layout Keyword list \begin_inset Note Note status collapsed \begin_layout Plain Layout -Consecutive categories must be in the same paragaph separated by a forced - linebreak. +Prints the keywords, keep it empty! \end_layout \end_inset -\begin_inset Newline newline -\end_inset - - -\begin_inset Flex CRcat -status open +\end_layout -\begin_layout Plain Layout -\begin_inset Argument 1 -status open +\begin_layout Concept list +\begin_inset Note Note +status collapsed \begin_layout Plain Layout -K.7.m +Prints the CCS concepts list, keep it empty! \end_layout \end_inset -\begin_inset Argument 2 -status open - -\begin_layout Plain Layout -The Computing Profession \end_layout -\end_inset - - -\begin_inset Argument 3 -status open +\begin_layout Print copyright +\begin_inset Note Note +status collapsed \begin_layout Plain Layout -Miscellaneous +Prints the copyright info, keep it empty! \end_layout \end_inset -Ethics -\end_layout -\end_inset +\end_layout +\begin_layout Section +Introduction +\end_layout +\begin_layout Standard +bla \end_layout \begin_layout Standard +\begin_inset Float table +placement ht +wide false +sideways false +status open + +\begin_layout Plain Layout \begin_inset ERT status collapsed @@ -680,74 +715,111 @@ status collapsed \backslash -keywordlist +centering \end_layout \end_inset - -\begin_inset Note Note -status collapsed + +\begin_inset Caption Standard \begin_layout Plain Layout -Prints out the keywords. +A simple table. \end_layout \end_inset +\begin_inset Tabular +<lyxtabular version="3" rows="4" columns="2"> +<features tabularvalignment="middle"> +<column alignment="right" valignment="top"> +<column alignment="left" valignment="top"> +<row> +<cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +7C0 \end_layout -\begin_layout Standard -\begin_inset ERT -status collapsed +\end_inset +</cell> +<cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none"> +\begin_inset Text \begin_layout Plain Layout +hexadecimal +\end_layout +\end_inset +</cell> +</row> +<row> +<cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none"> +\begin_inset Text -\backslash -TOGlinkslist +\begin_layout Plain Layout +3700 \end_layout \end_inset +</cell> +<cell alignment="left" valignment="top" rightline="true" usebox="none"> +\begin_inset Text +\begin_layout Plain Layout +octal +\end_layout -\begin_inset Note Note -status collapsed +\end_inset +</cell> +</row> +<row> +<cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text \begin_layout Plain Layout -Adds hyperlinked icons to your document. - Has only an effect with the document class option -\family sans -annual. +11111000000 \end_layout \end_inset +</cell> +<cell alignment="left" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none"> +\begin_inset Text - +\begin_layout Plain Layout +binary \end_layout -\begin_layout Standard -\begin_inset ERT -status collapsed +\end_inset +</cell> +</row> +<row> +<cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> +\begin_inset Text \begin_layout Plain Layout +1984 +\end_layout -% -\backslash -copyrightspace +\end_inset +</cell> +<cell alignment="left" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none"> +\begin_inset Text + +\begin_layout Plain Layout +decimal \end_layout \end_inset +</cell> +</row> +</lyxtabular> +\end_inset -\begin_inset Note Note -status collapsed -\begin_layout Plain Layout -Only necessary if you use a copyright note. - It ensures that the copyright space is left at the bottom of the first - column on the first page of your paper. \end_layout \end_inset @@ -756,19 +828,77 @@ Only necessary if you use a copyright note. \end_layout \begin_layout Section -Introduction +Exposition \end_layout \begin_layout Standard -bla +Citations can be done this way +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset citation +LatexCommand cite +key "proceedings-full" + +\end_inset + + or this more concise way +\begin_inset space ~ +\end_inset + + +\begin_inset Flex ShortCite +status open + +\begin_layout Plain Layout +proceedings-full \end_layout -\begin_layout Section -Exposition +\end_inset + +, depending upon the application. \end_layout \begin_layout Standard -blabla +Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit + lobortis nisl ut aliquip ex ea commodo consequat. + Duis autem vel eum iriure dolor in hendrerit +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset citation +LatexCommand cite +key "incollection-full" + +\end_inset + + in vulputate velit esse molestie +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset citation +LatexCommand cite +key "booklet-full" + +\end_inset + + consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et + accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit + augue duis dolore te feugait nulla facilisi. +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset citation +LatexCommand cite +key "whole-set" + +\end_inset + + \end_layout \begin_layout Section @@ -795,14 +925,6 @@ A Subsubsection Bla. \end_layout -\begin_layout Subsubsection -Another Subsubsection -\end_layout - -\begin_layout Standard -Bla. -\end_layout - \begin_layout Subsection A Final Subsection \end_layout @@ -812,14 +934,6 @@ Bla. \end_layout \begin_layout Section -Back to the Section -\end_layout - -\begin_layout Standard -Bla. -\end_layout - -\begin_layout Section Conclusion \end_layout