The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 01add2d52feea2462590f6c9927a87903e899ffb
Author: Richard Heck <rgh...@lyx.org>
Date:   Thu May 23 10:22:52 2013 -0400

    Layouts for ACMS SIGS styles, contributed by Gioele Barabucci.

diff --git a/lib/CREDITS b/lib/CREDITS
index 6bf4963..6a0444d 100644
--- a/lib/CREDITS
+++ b/lib/CREDITS
@@ -25,6 +25,9 @@
 @bPatrick Atamaniuk
 @iE-mail: atamaniuk () frobs ! net
    fix-cm module
+@bGioele Barabucci
+@iE-mail: gioele () svario ! it
+   ACM-SIGS layouts
 @bÖzgür Uğraş Baran
 @iE-mail: ugras.baran () gmail ! com
    New commandparams structure, Nomenclature inset
diff --git a/lib/Makefile.am b/lib/Makefile.am
index cf147d5..500660a 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1832,6 +1832,9 @@ dist_layouts_DATA =\
        layouts/aapaper.layout \
        layouts/aastex.layout \
        layouts/achemso.layout \
+       layouts/acm-sigs.layout \
+       layouts/acm-sigs-alt.layout \
+       layouts/acmsig.inc \
        layouts/acmsiggraph.layout \
        layouts/AEA.layout \
        layouts/agutex.layout \
diff --git a/lib/generate_contributions.py b/lib/generate_contributions.py
index f1f69e4..6efe84e 100755
--- a/lib/generate_contributions.py
+++ b/lib/generate_contributions.py
@@ -13,12 +13,13 @@ This script both stores and manipulates the raw data needed 
to
 create CREDITS, credits.inc and blanket-permission.inc
 
 Usage:
+
 $ python generate_contributions.py \
   CREDITS \
   credits.inc \
   blanket-permission.inc
 
-where the arguments are the names of the generated files.
+where the arguments are the pathnames of the generated files.
 '''
 
 import codecs, sys, textwrap
@@ -91,7 +92,16 @@ def error(message):
 
 
 def usage(prog_name):
-     return "Usage: %s <CREDITS> <credits.inc> <blanket-permission.inc>" % 
prog_name
+     return '''
+Usage:
+
+$ python generate_contributions.py \\
+  CREDITS \\
+  credits.inc \\
+  blanket-permission.inc
+
+where the arguments are the pathnames of the generated files.
+'''
 
 
 def collate_incomplete(contributers):
@@ -377,6 +387,14 @@ contributers = [
                  "28 January 2011",
                  u"fix-cm module"),
 
+     contributer(u"Gioele Barabucci",
+                 "gioele () svario ! it",
+                 "GPL",
+                 "Contribution license",
+                 "m=136933235620262",
+                 "23 May 2013",
+                 u"ACM-SIGS layouts"),
+
      contributer(u"Özgür Uğraş Baran",
                  "ugras.baran () gmail ! com",
                  "GPL",
diff --git a/lib/layouts/acm-sigs-alt.layout b/lib/layouts/acm-sigs-alt.layout
new file mode 100644
index 0000000..4245664
--- /dev/null
+++ b/lib/layouts/acm-sigs-alt.layout
@@ -0,0 +1,10 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[sig-alternate]{article (ACM SIGS 'alternate' style)}
+#
+# LyX layout for ACM SIGS tighter "Alternate" style
+#
+# Author: Gioele Barabucci
+
+Format 47
+Input acm-sigs.inc
+
diff --git a/lib/layouts/acm-sigs.inc b/lib/layouts/acm-sigs.inc
new file mode 100644
index 0000000..aeeaeb4
--- /dev/null
+++ b/lib/layouts/acm-sigs.inc
@@ -0,0 +1,55 @@
+# Common style for ACM SIGS layouts 
+#
+# Author: Gioele Barabucci
+
+Format 47
+Input stdclass.inc
+
+Columns 2
+
+Style Subtitle
+       Category       FrontMatter
+       Margin         Static
+
+       LatexType      Command
+        InTitle        1
+       LatexName      subtitle
+
+       ParSkip        0.4
+        ItemSep        0
+        TopSep         0
+        BottomSep      1
+        ParSep         1
+        Align          Center
+        LabelType      No_Label
+        Font
+               Size   Large
+               Shape  Italic
+       EndFont
+End
+
+Style Terms        
+       Category              FrontMatter
+        Margin                Dynamic
+
+        LatexType             Command
+        LatexName             terms
+        LabelString           "General terms:"
+
+       ParSkip               0.4
+        BottomSep             1.5
+        ParSep                1.5
+        Align                 Block
+        LabelType             Static
+        LabelSep              M
+       LabelFont
+               Series   Bold
+               Size     large
+       EndFont
+End
+
+Style Keywords
+        CopyStyle             Terms
+        LatexName             keywords
+        LabelString           "Keywords:"
+End
diff --git a/lib/layouts/acm-sigs.layout b/lib/layouts/acm-sigs.layout
new file mode 100644
index 0000000..064d3df
--- /dev/null
+++ b/lib/layouts/acm-sigs.layout
@@ -0,0 +1,10 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[acm_proc_article-sp]{article (ACM SIGS)}
+#
+# LyX layout for ACM SIGS style
+#
+# Author: Gioele Barabucci
+
+Format 47
+Input acm-sigs.inc
+
diff --git a/lib/templates/ACM-SIGS.lyx b/lib/templates/ACM-SIGS.lyx
new file mode 100644
index 0000000..a3933b5
--- /dev/null
+++ b/lib/templates/ACM-SIGS.lyx
@@ -0,0 +1,194 @@
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 471
+\begin_document
+\begin_header
+\textclass acm-sigs
+\use_default_options true
+\maintain_unincluded_children false
+\language english
+\language_package default
+\inputencoding auto
+\fontencoding global
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_math auto
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+\graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
+\paperfontsize default
+\spacing single
+\use_hyperref false
+\papersize default
+\use_geometry false
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 1
+\index Index
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Title
+Title
+\end_layout
+
+\begin_layout Subtitle
+Subtitle
+\end_layout
+
+\begin_layout Author
+Author
+\end_layout
+
+\begin_layout Abstract
+The abstract goes here.
+\end_layout
+
+\begin_layout Abstract
+May be split on multiple paragraphs
+\end_layout
+
+\begin_layout Terms
+General terms from the ACM classification
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+See 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.acm.org/about/class/";
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Keywords
+Free key words
+\end_layout
+
+\begin_layout Section
+Introduction
+\end_layout
+
+\begin_layout Standard
+Every article should start with an introductory section.
+\end_layout
+
+\begin_layout Section
+Example math
+\end_layout
+
+\begin_layout Standard
+Imaginary numbers always make interesting examples.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula 
+\[
+i^{2}+1=0
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Example figures
+\end_layout
+
+\begin_layout Standard
+Figures can be added to the articles as well.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\align center
+Figure goes here.
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+Here goes the caption
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Conclusions
+\end_layout
+
+\begin_layout Standard
+And every article should end with a conclusion section.
+\end_layout
+
+\end_body
+\end_document

-----------------------------------------------------------------------

Summary of changes:
 lib/CREDITS                                        |    3 +
 lib/Makefile.am                                    |    3 +
 lib/generate_contributions.py                      |   22 ++++-
 lib/layouts/acm-sigs-alt.layout                    |   10 ++
 lib/layouts/acm-sigs.inc                           |   55 +++++++++
 lib/layouts/acm-sigs.layout                        |   10 ++
 .../bug-7673.lyx => lib/templates/ACM-SIGS.lyx     |  119 +++++++++++++-------
 7 files changed, 179 insertions(+), 43 deletions(-)
 create mode 100644 lib/layouts/acm-sigs-alt.layout
 create mode 100644 lib/layouts/acm-sigs.inc
 create mode 100644 lib/layouts/acm-sigs.layout
 copy development/autotests/bug-7673.lyx => lib/templates/ACM-SIGS.lyx (59%)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to