texlive[45058] Master/texmf-dist: acmart (17aug17)

commits+karl at tug.org commits+karl at tug.org
Thu Aug 17 23:17:58 CEST 2017


Revision: 45058
          http://tug.org/svn/texlive?view=revision&revision=45058
Author:   karl
Date:     2017-08-17 23:17:58 +0200 (Thu, 17 Aug 2017)
Log Message:
-----------
acmart (17aug17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/acmart/README
    trunk/Master/texmf-dist/doc/latex/acmart/acmart.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/acmguide.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf-authordraft.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.tex
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf
    trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx
    trunk/Master/texmf-dist/source/latex/acmart/acmart.ins
    trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/acmart/acmthm.sty

Modified: trunk/Master/texmf-dist/doc/latex/acmart/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/acmart/README	2017-08-17 21:17:38 UTC (rev 45057)
+++ trunk/Master/texmf-dist/doc/latex/acmart/README	2017-08-17 21:17:58 UTC (rev 45058)
@@ -129,4 +129,15 @@
 
 Version 1.42    Deleted ACM badges
 		Bug fixes
-		
\ No newline at end of file
+
+Version 1.43    Bug fixes
+
+Version 1.44    Bug fixes.
+		Empty DOI and ISBN suppress printing DOI or ISBN lines
+		Separated theorem code into acmthm.sty, loaded by defualt.
+		Article number can be set for proceedings.
+		New commands: \acmBooktile, \editor.
+		Reference citation format updated.
+
+Version 1.45    Workaround for a Libertine bug.  Thanks to LianTze Lim
+		from Overleaf
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/acmart/acmart.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/acmguide.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf-authordraft.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.tex	2017-08-17 21:17:38 UTC (rev 45057)
+++ trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.tex	2017-08-17 21:17:58 UTC (rev 45058)
@@ -26,9 +26,17 @@
 \acmYear{1997}
 \copyrightyear{2016}
 
+
+\acmArticle{4}
 \acmPrice{15.00}
 
+% These commands are optional
+%\acmBooktitle{Transactions of the ACM Woodstock conference}
+\editor{Jennifer B. Sartor}
+\editor{Theo D'Hondt}
+\editor{Wolfgang De Meuter}
 
+
 \begin{document}
 \title{SIG Proceedings Paper in LaTeX Format}
 \titlenote{Produces the permission block, and

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx	2017-08-17 21:17:38 UTC (rev 45057)
+++ trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx	2017-08-17 21:17:58 UTC (rev 45058)
@@ -15,8 +15,8 @@
 % The Current Maintainer of this work is Boris Veytsman,
 % <borisv at lk.net>
 %
-% This work consists of the file acmart.dtx, the derived file
-% acmart.cls, the files ACM-Reference-Format.bst, and templates
+% This work consists of the file acmart.dtx, the derived files
+% acmart.cls, acmthm.sty, the files ACM-Reference-Format.bst, and templates
 % sample-acmlarge.tex, sample-acmsmall.tex, sample-acmtog.tex,
 % samplebody-conf.tex, samplebody-journals.tex, sample-manuscript.tex,
 % sample-sigchi-a.tex, sample-sigchi.tex,
@@ -98,12 +98,27 @@
 % package.
 %
 %  I am grateful to
-%  Matthew Fluet, 
+%  Michael D.~Adams,
+%  Leif Andersen, 
+%  Dirk Beyer,
+%  Michael Ekstrand,
+%  Matthew Fluet,
+%  Paolo G.~Giarrusso,
+%  Ben Greenman,
+%  LianTze Lim,
+%  Ben Liblit,
+%  Frank Mittelbach, 
+%  Ross Moore,
 %  John Owens,
+%  Joel Nider, 
+%  Tobias Pape,
+%  Mathias Rav, 
+%  Matteo Riondato, 
 %  Craig Rodkin,
 %  Bernard Rous,
 %  David Shamma,
-%  Stephen Spencer
+%  Stephen Spencer,
+%  John Wickerson, 
 %  and many others for their invaluable help.
 %
 % The development version of the package is available at
@@ -133,9 +148,10 @@
 % and rather rely on their \TeX\ distributions to provide it.  If you
 % decide to install the package yourself, follow the standard rules:
 % \begin{enumerate}
-% \item Run \progname{latex} on |acmart.ins|.  This will produce the file
-% |acmart.cls|.
-% \item Put the file |acmart.cls| and the bibliography files |*.bst|
+% \item Run \progname{latex} on |acmart.ins|.  This will produce the files
+% |acmart.cls| and |acmthm.sty|
+% \item Put the files |acmart.cls|, |acmthm.sty| 
+%   and the bibliography files |*.bst|
 %   to the places where \LaTeX{} can find them (see \cite{TeXFAQ} or
 %   the documentation for your \TeX{} system).\label{item:install}
 % \item Update the database of file names.  Again, see \cite{TeXFAQ}
@@ -162,7 +178,6 @@
 % \item \textsl{comment}, \url{http://www.ctan.org/pkg/comment}
 % \item \textsl{cm-super}, \url{http://www.ctan.org/pkg/cm-super}
 % \item \textsl{cmap}, \url{http://www.ctan.org/pkg/cmap}
-% \item \textsl{cleveref}, \url{http://www.ctan.org/pkg/cleveref}
 % \item \textsl{draftwatermark}, \url{http://www.ctan.org/pkg/draftwatermark}
 % \item \textsl{environ}, \url{http://www.ctan.org/pkg/environ}
 % \item \textsl{fancyhdr}, \url{http://www.ctan.org/pkg/fancyhdr}
@@ -185,6 +200,7 @@
 % \item \textsl{newtx}, \url{http://www.ctan.org/pkg/newtx}
 % \item \textsl{oberdiek}, \url{http://www.ctan.org/pkg/oberdiek}
 % \item \textsl{pdftex-def}, \url{http://www.ctan.org/pkg/pdftex-def}
+% \item \textsl{refcount}, \url{http://www.ctan.org/pkg/refcount}
 % \item \textsl{setspace}, \url{http://www.ctan.org/pkg/setspace}
 % \item \textsl{textcase}, \url{http://www.ctan.org/pkg/textcase}
 % \item \textsl{totpages}, \url{http://www.ctan.org/pkg/totpages}
@@ -322,6 +338,8 @@
 %     timestamp & false & Whether to put a time stamp in the
 %     footer of each page\\
 %     authordraft & false & Whether author's draft mode is enabled\\
+%     acmthm & true & Whether to load |acmthm.sty|, see
+%     Section~\ref{sec:ug_theorems}\\
 %     \bottomrule
 %   \end{tabularx}
 % \end{table}
@@ -438,8 +456,7 @@
 % arguments are the following:
 % \begin{description}
 % \item[short name:] the abbreviated name of the conference (optional).
-% \item[name:] the name of the conference \emph{or} the name of the
-% book as set by the editor.
+% \item[name:] the name of the conference.
 % \item[date:] the date(s) of the conference.
 % \item[venue:] the place of the conference.
 % \end{description}
@@ -450,10 +467,30 @@
 % \acmConference{SA'15 Art Papers}{November 02--06, 2015}{Kobe, Japan}
 % \end{verbatim}
 %
+% \DescribeMacro{\acmBooktitle}%
+% By default we assume that the conference proceedings are published
+% in the book named \emph{Proceedings of \textsc{CONFERENCE}}, where
+% \textsc{CONFERENCE} is the name of the conference inferred from the
+% command \cs{acmConference} above.  However, sometimes the book title
+% is different.  The command \cs{acmBooktitle} may be used to set this
+% title, for example,
+% \begin{verbatim}
+% \acmBooktitle{Companion to the first International Conference on the
+% Art, Science and Engineering of Programming (Programming '17)} 
+% \end{verbatim}
+% 
+% \DescribeMacro{\editor}%
+% In most cases conference proceedings are edited.  You can use the
+% command \cs{editor}\oarg{editor} to set the editor of the volume.
+% This command can be repeated, for example,
+% \begin{verbatim}
+% \editor{Jennifer B. Sartor}
+% \editor{Theo D'Hondt}
+% \editor{Wolfgang De Meuter}
+% \end{verbatim}
+% 
 %
-% Normally this command is entered either by the editor or by the typesetter.
-%
-% \DescribeMacro{\title}
+% \DescribeMacro{\title}%
 % The command |\title|, as in \progname{amsart} class, has two arguments:  one
 % optional, and one mandatory:
 % \begin{flushleft}
@@ -766,6 +803,8 @@
 % \acmYear{2010}
 % \acmMonth{3}
 % \end{verbatim}
+% Note that \cs{acmArticle} is used not only for journals, but also
+% for some conference proceedings.
 %
 % \DescribeMacro{\acmArticleSeq}%
 % The articles in the same issue of a journal have a \emph{sequential
@@ -776,6 +815,7 @@
 % \acmArticle{39}   % The sequence number will be 39 by default
 % \acmArticleSeq{5} % We redefine it to 5
 % \end{verbatim}
+% Setting this number to zero suppresses the blob.
 %
 % \DescribeMacro{\acmSubmissionID}%
 % If you paper got a Submission~ID from the Conference Management
@@ -792,7 +832,7 @@
 % \end{verbatim}
 % Note that you do not need to put the dollar sign here, just the
 % amount.  By default the price is \$15.00, unless the copyright is
-% set to |usgov| or |rightsretained|, when it is suppressed  Note that to
+% set to |usgov| or |rightsretained|, when it is suppressed.  Note that to
 % override the defaults you need to set the price \emph{after} the
 % \cs{setcopyright} command to override the default.  Also, the
 % command |\acmPrice{}| suppresses the printing of the price.
@@ -804,8 +844,9 @@
 % \begin{verbatim}
 % \acmISBN{978-1-4503-3916-2}
 % \end{verbatim}
+% Setting it to empty string, as |\acmISBN{}|, suppresses printing of
+% ISBN.  
 %
-%
 % \DescribeMacro{\acmDOI}%
 % The macro \cs{acmDOI}\marg{DOI} sets the DOI number of the article, for
 % example,
@@ -812,7 +853,8 @@
 % \begin{verbatim}
 % \acmDOI{10.1145/9999997.9999999}
 % \end{verbatim}
-% It is normally set by the typesetter.
+% It is normally set by the typesetter.  Setting it to empty
+% string, |\acmDOI{}| suppresses DOI.
 %
 %
 % \DescribeMacro{\acmBadgeR}%
@@ -1188,9 +1230,19 @@
 % \end{description}
 %
 %
+% These definitions are in the separate style file |acmthm.sty|, which
+% is loaded by default.  However, sometimes the user might want to
+% delay loading this package, for example, if she wants for load
+% package like |cleveref| first.  In this case use the option
+% |acmthm=false| in the preamble, for example,
+% \begin{verbatim}
+% \documentclass[acmsmall, acmthm=false]{acmart}
+% \usepackage{cleveref}
+% \usepackage{acmthm}
+% \end{verbatim}
+% 
 %
 %
-%
 %\subsection{Online-only and offline-only material}
 %\label{sec:ug_screen}
 %
@@ -1256,7 +1308,7 @@
 % thanks inside this environment.
 %
 % As for |printonly| and |screenonly| environments,
-% |\begin{acks}| and |\end{acls}| should start the
+% |\begin{acks}| and |\end{acks}| should start the
 % line of their own (no leading or trailing spaces).
 %
 % \DescribeMacro{\grantsponsor}%
@@ -1577,7 +1629,8 @@
 \ProvidesFile{acmart.dtx}
 %</gobble>
 %<class>\ProvidesClass{acmart}
-[2017/07/02 v1.42 Typesetting articles for Association of
+%<acmthm>\ProvidesPackage{acmthm}
+[2017/08/15 v1.45 Typesetting articles for Association of
 Computing Machinery]
 %    \end{macrocode}
 %
@@ -1640,7 +1693,10 @@
 % \changes{v1.40}{2017/06/16}{Added new copyright version:
 % licensedcagov}
 % \changes{v1.41}{2017/06/25}{Added new badges}
-% \changes{v1.41}{2017/07/02}{Deleted ACM badges}
+% \changes{v1.42}{2017/07/02}{Deleted ACM badges}
+% \changes{v1.44}{2017/07/30}{Added package refcount}
+% \changes{v1.44}{2017/07/30}{Deleted package cleveref}
+% \changes{v1.44}{2017/07/30}{Put theorem defs in a separate style}
 %
 %
 % And the driver code:
@@ -1732,7 +1788,23 @@
 %
 % \end{macro}
 %
+% \begin{macro}{\if at ACM@acmthm}
+% \changes{v1.44}{2017/07/30}{Added macro}
+%   Whether we load |acmthm|
+%    \begin{macrocode}
+\define at boolkey+{acmart.cls}[@ACM@]{acmthm}[true]{%
+  \if at ACM@acmthm
+    \PackageInfo{\@classname}{Requiring acmthm}%
+  \else
+    \PackageInfo{\@classname}{Suppressing acmthm}%
+  \fi}{\PackageError{\@classname}{Option acmthm can be either true or
+    false}}
+\ExecuteOptionsX{acmthm=true}
+%    \end{macrocode}
 %
+% \end{macro}
+%
+%
 % \begin{macro}{\if at ACM@review}
 %   Whether we use review mode
 %    \begin{macrocode}
@@ -1968,8 +2040,10 @@
 %    \end{macrocode}
 %
 %
-% We need |totpages| package to calculate the number of pages
+% We need |totpages| package to calculate the number of pages and
+% |refcount| to use the number
 %    \begin{macrocode}
+\RequirePackage{refcount}
 \RequirePackage{totpages}
 %    \end{macrocode}
 %
@@ -2228,10 +2302,11 @@
 %
 % \begin{macro}{\@startsection}
 % \changes{v1.31}{2017/03/04}{Rededined macro} 
+% \changes{v1.43}{2017/07/09}{Added \cs{makeatletter}} 
 %   Amsart redefines \cs{startsection}.  Here we redefine it again to
 %   make TOC working
 %    \begin{macrocode}
-\def\@starttoc#1#2{\begingroup
+\def\@starttoc#1#2{\begingroup\makeatletter
   \setTrue{#1}%
   \par\removelastskip\vskip\z at skip
   \@startsection{section}\@M\z@{\linespacing\@plus\linespacing}%
@@ -2308,7 +2383,6 @@
 \else
   \hypersetup{hidelinks}
 \fi
-\RequirePackage{cleveref}
 %    \end{macrocode}
 %
 % Bibliography mangling. 
@@ -3245,6 +3319,50 @@
 %
 % \end{macro}
 %
+% \begin{macro}{\acmBooktitle}
+% \changes{v1.44}{2017/08/11}{Added macro}
+% \begin{macro}{\@acmBooktitle}
+% \changes{v1.44}{2017/08/11}{Added macro}
+%   The book title of the conference:
+%    \begin{macrocode}
+\def\acmBooktitle#1{\gdef\@acmBooktitle{#1}}
+\acmBooktitle{Proceedings of \acmConference at name
+       \ifx\acmConference at name\acmConference at shortname\else
+         \ (\acmConference at shortname)\fi}
+%    \end{macrocode}
+%   
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@editorsAbbrev}
+% \changes{v1.44}{2017/08/11}{Added macro}
+%   How to abbreviate editors
+%    \begin{macrocode}
+\def\@editorsAbbrev{(Ed.)}
+%    \end{macrocode}
+%   
+% \end{macro}
+%
+% \begin{macro}{\@acmEditors}
+% \changes{v1.44}{2017/08/11}{Added macro}
+%   The list of editors
+\def\@acmEditors{}
+% \end{macro}
+%
+% \begin{macro}{\editor}
+% \changes{v1.44}{2017/08/11}{Added macro}
+%   Add new editor to the list
+%    \begin{macrocode}
+\def\editor#1{\ifx\@acmEditors\@empty
+    \gdef\@acmEditors{#1}%
+  \else
+    \gdef\@editorsAbbrev{(Eds.)}%
+    \g at addto@macro\@acmEditors{\and#1}%
+\fi}
+%    \end{macrocode}
+%   
+% \end{macro}
+%
 % \begin{macro}{\subtitle}
 %   The subtitle macro
 %    \begin{macrocode}
@@ -3500,10 +3618,11 @@
 %
 % \begin{macro}{\acmArticle}
 % \changes{v1.17}{2016/07/10}{The default is now numerical}
+% \changes{v1.44}{2017/08/111}{The default is now empty}
 %   The current article
 %    \begin{macrocode}
 \def\acmArticle#1{\def\@acmArticle{#1}}
-\acmArticle{1}
+\acmArticle{}
 %    \end{macrocode}
 %
 % \end{macro}
@@ -3510,6 +3629,7 @@
 %
 % \begin{macro}{\acmArticleSeq}
 % \changes{v1.04}{2016/04/26}{Name change by Matthew Fluet}
+% \changes{v1.44}{2017/08/11}{Now acmArticle might be empty}
 %   The sequence number
 %    \begin{macrocode}
 \def\acmArticleSeq#1{\def\@acmArticleSeq{#1}}
@@ -4089,16 +4209,10 @@
    source.
   \or % usgovmixed
    ACM acknowledges that this contribution was authored or co-authored
-   by an employee, or contractor of the national government. As such,
-   the Government retains a nonexclusive, royalty-free right to
+   by an employee, contractor, or affiliate of the United States government. As such,
+   the United States government retains a nonexclusive, royalty-free right to
    publish or reproduce this article, or to allow others to do so, for
-   Government purposes only. Permission to make digital or hard copies
-   for personal or classroom use is granted. Copies must bear this
-   notice and the full citation on the first page. Copyrights for
-   components of this work owned by others than ACM must be
-   honored. To copy otherwise, distribute, republish, or post,
-   requires prior specific permission and\hspace*{.5pt}/or a
-   fee. Request permissions from permissions at acm.org.
+   government purposes only.
   \or % cagov
    This article was authored by employees of the Government of Canada.
    As such, the Canadian government retains all interest in the
@@ -4252,6 +4366,8 @@
 % \changes{v1.34}{2017/04/09}{Added date to the bibstrip in conf proceedings}
 % \changes{v1.34}{2017/04/09}{The \cs{terms} command is now obsolete}
 % \changes{v1.34}{2017/04/11}{Rearranged bibstrip}
+% \changes{v1.44}{2017/07/30}{Empty DOI or ISBN are not printed (by
+% Michael Ekstrand)} 
 %   The (in)famous \cs{maketitle}.  Note that in sigchi-a mode authors
 %   are \emph{not} in the title box.
 %
@@ -4319,7 +4435,7 @@
           \if at ACM@journal
             \emph{\@journalName}%
           \else
-            \emph{Proceedings of \acmConference at name, \acmConference at date}%
+            \emph{\@acmBooktitle}%
           \fi
           \ifx\@acmDOI\@empty
           .
@@ -4332,9 +4448,9 @@
             \ifx\@acmPrice\@empty\else\ \$\@acmPrice\fi\\
             \@formatdoi{\@acmDOI}%
           \else % Conference
-             ACM~ISBN~\@acmISBN
-             \ifx\@acmPrice\@empty.\else\dots\$\@acmPrice\fi\\
-             \@formatdoi{\@acmDOI}%
+            \ifx\@acmISBN\@empty\else ACM~ISBN~\@acmISBN
+            \ifx\@acmPrice\@empty.\else\dots\$\@acmPrice\fi\\\fi
+            \ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi%
           \fi
         \fi
       \fi}
@@ -4488,16 +4604,18 @@
 %
 % \begin{macro}{\@titlefont}
 % \changes{v1.06}{2016/05/01}{Added macro}
+% \changes{v1.45}{2017/08/15}{Switched \cs{bfeseries}\cs{sffamily} to
+% \cs{sffamily}\cs{bfseries}} 
 %   The font to typeset title
 %    \begin{macrocode}
 \def\@titlefont{%
   \ifcase\ACM at format@nr
   \relax % manuscript
-    \LARGE\bfseries\sffamily
+    \LARGE\sffamily\bfseries
   \or % acmsmall
-    \LARGE\bfseries\sffamily
+    \LARGE\sffamily\bfseries
   \or % acmlarge
-    \LARGE\bfseries\sffamily
+    \LARGE\sffamily\bfseries
   \or % acmtog
     \Huge\sffamily
   \or % sigconf
@@ -4697,13 +4815,11 @@
 % \changes{v1.15}{2016/07/03}{Added macro}
 % \changes{v1.33}{2017/03/28}{Added obeypunctuation code}
 % \changes{v1.40}{2017/05/27}{Fixed bugs with extra spaces}
+% \changes{v1.43}{2017/07/11}{Added comma before country for journals}
 %   Theoretically we can define the macros for \cs{affiliation} inside
 %   the \cs{@mkauthors}-style commands.  However, this would lead to a
 %   strange error if an author uses them outside \cs{affiliation}.  Of
 %   course we can make them produce an error message, but\ldots
-%
-%   We follow the strange American tradtion of no comma before zip
-%   code.  
 %    \begin{macrocode}
 \def\streetaddress#1{\unskip\ignorespaces}
 \def\postcode#1{\unskip\ignorespaces}
@@ -4713,7 +4829,7 @@
   \def\city#1{\unskip\ignorespaces}
   \def\state#1{\unskip\ignorespaces}
   \newcommand\department[2][0]{}
-  \def\country#1{\unskip\ignorespaces}
+  \def\country#1{\if at ACM@affiliation at obeypunctuation\else, \fi#1\ignorespaces}
 \else
   \def\position#1{\if at ACM@affiliation at obeypunctuation#1\else#1\par\fi}%
   \def\institution#1{\if at ACM@affiliation at obeypunctuation#1\else#1\par\fi}%
@@ -5128,26 +5244,32 @@
 % \changes{v1.17}{2016/07/10}{Added \cs{nobreak}}
 % \changes{v1.31}{2017/03/04}{Disabled linebreak}
 % \changes{v1.34}{2017/04/09}{Deleted DOI from doi numbers}
+% \changes{v1.44}{2017/07/30}{If the paper has just one page, use
+% `page' instead of `pages'}
 %   Print bibcitation format
 %    \begin{macrocode}
-\def\@mkbibcitation{\bgroup
+\def\@mkbibcitation{\bgroup  
+  \def\@pages at word{\ifnum\getrefnumber{TotPages}=1\relax page\else pages\fi}%
   \def\footnotemark{}%
   \def\\{\unskip{} \ignorespaces}%
   \def\footnote{\ClassError{\@classname}{Please do note use footnotes
       inside \string\title{} or \string\author{} command! Use
       \string\titlenote{} or \string\authornote{} instead!}}%
-  \par\medskip\small\noindent{\bfseries ACM Reference format:}\par\nobreak
+  \def\@article at string{\ifx\@acmArticle\@empty{\ }\else,
+    Article~\@acmArticle\ \fi}%
+  \par\medskip\small\noindent{\bfseries ACM Reference Format:}\par\nobreak
   \noindent\authors. \@acmYear. \@title. 
   \if at ACM@journal
      \textit{\@journalNameShort}
-     \@acmVolume, \@acmNumber, Article~\@acmArticle\ (\@acmPubDate), 
-     \ref{TotPages}~pages.
+     \@acmVolume, \@acmNumber \@article at string (\@acmPubDate), 
+     \ref{TotPages}~\@pages at word.
   \else
-     In \textit{Proceedings of \acmConference at name, \acmConference at venue,
-       \acmConference at date
-       \ifx\acmConference at name\acmConference at shortname\else
-         \ (\acmConference at shortname)\fi
-         ,} \ref{TotPages}~pages.
+     In \textit{\@acmBooktitle}%
+     \ifx\@acmEditors\@empty\textit{.}\else
+       \andify\@acmEditors\textit{, }\@acmEditors~\@editorsAbbrev.%
+     \fi\ 
+     ACM, New York, NY, USA%
+       \@article at string\unskip, \ref{TotPages}~\@pages at word.
   \fi\par
   \noindent\@formatdoi{\@acmDOI}
 \par\egroup}
@@ -5424,9 +5546,13 @@
 % \end{macro}
 %
 % \begin{macro}{\@folioblob}
+% \changes{v1.44}{2017/08/11}{Suppress the blob if acmArticleSeq is empty}
+% \changes{v1.45}{2017/08/15}{Switched \cs{bfeseries}\cs{sffamily} to
+% \cs{sffamily}\cs{bfseries}} 
 %   The macro to typeset the folio blob.
 %    \begin{macrocode}
-\def\@folioblob{\@tempcnta=\@acmArticleSeq\relax
+\def\@folioblob{\@tempcnta=0\@acmArticleSeq\relax
+  \ifnum\@tempcnta=0\relax\else
 %    \end{macrocode}
 % First, we calculate \cs{@acmArticleSeq} modulo \cs{@folio at max}
 %    \begin{macrocode}
@@ -5448,8 +5574,8 @@
             \rule{\@folio at wd}{\@folio at ht}}}%
         \parbox{\@folio at wd}{%
           \centering
-          \textcolor{white}{\LARGE\bfseries\sffamily\@acmArticle}}}}
-  \end{picture}}
+          \textcolor{white}{\LARGE\sffamily\bfseries\@acmArticle}}}}
+  \end{picture}\fi}
 
 %    \end{macrocode}
 %
@@ -5510,7 +5636,25 @@
 %
 % \end{macro}
 %
+% \begin{macro}{\ACM at restore@pagestyle}
+% \changes{v1.44}{2017/07/30}{Added macro}
+% The following code by Ross Moore protects against changes by
+% |totpages| package:
+%    \begin{macrocode}
+\let\ACM at ps@plain\ps at plain
+\let\ACM at ps@myheadings\ps at myheadings
+\let\ACM at ps@headings\ps at headings
+\def\ACM at restore@pagestyle{%
+  \let\ps at plain\ACM at ps@plain
+  \let\ps at myheadings\ACM at ps@myheadings
+  \let\ps at headings\ACM at ps@headings}
+\AtBeginDocument{\ACM at restore@pagestyle}
+%    \end{macrocode}
+% 
+%   
+% \end{macro}
 %
+%
 %\subsection{Sectioning}
 %\label{sec:sectioninng}
 %
@@ -5557,8 +5701,10 @@
 % \begin{macro}{\@subsecfont}
 % \begin{macro}{\@subsubsecfont}
 % \begin{macro}{\@parfont}
-%   \changes{v1.12}{2016/05/30}{Moved to \cs{section at raggedright}}%
+%  \changes{v1.12}{2016/05/30}{Moved to \cs{section at raggedright}}%
 % \changes{v1.40}{2017/06/04}{Switched to MakeTextUppercase}
+% \changes{v1.45}{2017/08/15}{Switched \cs{bfeseries}\cs{sffamily} to
+% \cs{sffamily}\cs{bfseries}} 
 % Fonts for sections etc. are different for different formats. 
 %    \begin{macrocode}
 \def\@secfont{\sffamily\bfseries\section at raggedright\MakeTextUppercase}
@@ -5579,8 +5725,8 @@
  \def\@secfont{\bfseries\Large\section at raggedright\MakeTextUppercase}
  \def\@subsecfont{\bfseries\Large\section at raggedright}
 \or % siggraph
- \def\@secfont{\bfseries\sffamily\Large\section at raggedright\MakeTextUppercase}
- \def\@subsecfont{\bfseries\sffamily\Large\section at raggedright}
+ \def\@secfont{\sffamily\bfseries\Large\section at raggedright\MakeTextUppercase}
+ \def\@subsecfont{\sffamily\bfseries\Large\section at raggedright}
 \or % sigplan
  \def\@secfont{\bfseries\Large\section at raggedright}
  \def\@subsecfont{\bfseries\section at raggedright}
@@ -5601,12 +5747,12 @@
  \def\@subparfont{\itshape}
 \or % sigchi
  \setcounter{secnumdepth}{1}
- \def\@secfont{\bfseries\sffamily\section at raggedright\MakeTextUppercase}
- \def\@subsecfont{\bfseries\sffamily\section at raggedright}
+ \def\@secfont{\sffamily\bfseries\section at raggedright\MakeTextUppercase}
+ \def\@subsecfont{\sffamily\bfseries\section at raggedright}
 \or % sigchi-a
  \setcounter{secnumdepth}{0}
- \def\@secfont{\bfseries\sffamily\section at raggedright\MakeTextUppercase}
- \def\@subsecfont{\bfseries\sffamily\section at raggedright}
+ \def\@secfont{\sffamily\bfseries\section at raggedright\MakeTextUppercase}
+ \def\@subsecfont{\sffamily\bfseries\section at raggedright}
 \fi
 %    \end{macrocode}
 %
@@ -5650,10 +5796,18 @@
 %\subsection{Theorems}
 %\label{sec:theorems}
 %
-%
+% The conditional loading
+%    \begin{macrocode}
+\if at ACM@acmthm
+  \RequirePackage{acmthm}
+\fi
+%    \end{macrocode}
+% 
 % \begin{macro}{\@acmplainbodyfont}
 %   The font to typeset the |acmplain| theorem style body.
 %    \begin{macrocode}
+%</class>
+%<*acmthm>
 \def\@acmplainbodyfont{\itshape}
 %    \end{macrocode}
 %
@@ -5850,12 +6004,13 @@
 }{%
   \popQED\endtrivlist\@endpefalse
 }
+%</acmthm>
+%<*class>
 %    \end{macrocode}
 %
 % \end{macro}
 %
 %
-%
 %\subsection{Acknowledgments}
 %\label{sec:acks}
 %

Modified: trunk/Master/texmf-dist/source/latex/acmart/acmart.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/acmart/acmart.ins	2017-08-17 21:17:38 UTC (rev 45057)
+++ trunk/Master/texmf-dist/source/latex/acmart/acmart.ins	2017-08-17 21:17:58 UTC (rev 45058)
@@ -12,7 +12,9 @@
 \askforoverwritefalse
 
 \generate{%
-  \file{acmart.cls}{\from{acmart.dtx}{class}}}
+  \file{acmart.cls}{\from{acmart.dtx}{class}}
+  \file{acmthm.sty}{\from{acmart.dtx}{acmthm}}
+}
 
 \obeyspaces
 \Msg{*****************************************************}%
@@ -19,9 +21,9 @@
 \Msg{* Congratulations!  You successfully  generated the *}%
 \Msg{* acmart package.                                   *}%
 \Msg{*                                                   *}%
-\Msg{* Please move the file acmart.cls to where LaTeX    *}%
-\Msg{* files are stored in  your system.  The manual is  *}%
-\Msg{* acmart.pdf.                                       *}%
+\Msg{* Please move the files acmart.cls and acmthm.sty   *}%
+\Msg{* to the location where LaTeX files are stored in   *}%
+\Msg{* your system.  The manual is acmart.pdf.           *}%
 \Msg{*                                                   *}%
 \Msg{* The package is released under LPPL                *}%
 \Msg{*                                                   *}%

Modified: trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls	2017-08-17 21:17:38 UTC (rev 45057)
+++ trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls	2017-08-17 21:17:58 UTC (rev 45058)
@@ -37,7 +37,7 @@
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{acmart}
-[2017/07/02 v1.42 Typesetting articles for Association of
+[2017/08/15 v1.45 Typesetting articles for Association of
 Computing Machinery]
 \def\@classname{acmart}
 \InputIfFileExists{acmart-preload-hook.tex}{%
@@ -71,6 +71,14 @@
   \fi}{\PackageError{\@classname}{Option screen can be either true or
     false}}
 \ExecuteOptionsX{screen=false}
+\define at boolkey+{acmart.cls}[@ACM@]{acmthm}[true]{%
+  \if at ACM@acmthm
+    \PackageInfo{\@classname}{Requiring acmthm}%
+  \else
+    \PackageInfo{\@classname}{Suppressing acmthm}%
+  \fi}{\PackageError{\@classname}{Option acmthm can be either true or
+    false}}
+\ExecuteOptionsX{acmthm=true}
 \define at boolkey+{acmart.cls}[@ACM@]{review}[true]{%
   \if at ACM@review
     \PackageInfo{\@classname}{Using review mode}%
@@ -190,6 +198,7 @@
 \ClassInfo{\@classname}{Using fontsize \ACM at fontsize}
 \LoadClass[\ACM at fontsize, reqno]{amsart}
 \RequirePackage{microtype}
+\RequirePackage{refcount}
 \RequirePackage{totpages}
 \RequirePackage{environ}
 \if at ACM@manuscript
@@ -383,7 +392,7 @@
     \def\@svsechd{#4{\hskip #1\relax #5}}%
   \fi
   \@xsect{#3}}
-\def\@starttoc#1#2{\begingroup
+\def\@starttoc#1#2{\begingroup\makeatletter
   \setTrue{#1}%
   \par\removelastskip\vskip\z at skip
   \@startsection{section}\@M\z@{\linespacing\@plus\linespacing}%
@@ -431,7 +440,6 @@
 \else
   \hypersetup{hidelinks}
 \fi
-\RequirePackage{cleveref}
 \if at ACM@natbib
   \let\citeN\cite
   \let\cite\citep
@@ -1029,6 +1037,18 @@
   \fi}
 \acmConference[Conference'17]{ACM Conference}{July 2017}{Washington,
   DC, USA}
+\def\acmBooktitle#1{\gdef\@acmBooktitle{#1}}
+\acmBooktitle{Proceedings of \acmConference at name
+       \ifx\acmConference at name\acmConference at shortname\else
+         \ (\acmConference at shortname)\fi}
+\def\@editorsAbbrev{(Ed.)}
+\def\@acmEditors{}
+\def\editor#1{\ifx\@acmEditors\@empty
+    \gdef\@acmEditors{#1}%
+  \else
+    \gdef\@editorsAbbrev{(Eds.)}%
+    \g at addto@macro\@acmEditors{\and#1}%
+\fi}
 \def\subtitle#1{\def\@subtitle{#1}}
 \subtitle{}
 \newcount\num at authorgroups
@@ -1135,7 +1155,7 @@
 \def\acmNumber#1{\def\@acmNumber{#1}}
 \acmNumber{1}
 \def\acmArticle#1{\def\@acmArticle{#1}}
-\acmArticle{1}
+\acmArticle{}
 \def\acmArticleSeq#1{\def\@acmArticleSeq{#1}}
 \acmArticleSeq{\@acmArticle}
 \def\acmYear#1{\def\@acmYear{#1}}
@@ -1385,16 +1405,10 @@
    source.
   \or % usgovmixed
    ACM acknowledges that this contribution was authored or co-authored
-   by an employee, or contractor of the national government. As such,
-   the Government retains a nonexclusive, royalty-free right to
+   by an employee, contractor, or affiliate of the United States government. As such,
+   the United States government retains a nonexclusive, royalty-free right to
    publish or reproduce this article, or to allow others to do so, for
-   Government purposes only. Permission to make digital or hard copies
-   for personal or classroom use is granted. Copies must bear this
-   notice and the full citation on the first page. Copyrights for
-   components of this work owned by others than ACM must be
-   honored. To copy otherwise, distribute, republish, or post,
-   requires prior specific permission and\hspace*{.5pt}/or a
-   fee. Request permissions from permissions at acm.org.
+   government purposes only.
   \or % cagov
    This article was authored by employees of the Government of Canada.
    As such, the Canadian government retains all interest in the
@@ -1535,7 +1549,7 @@
           \if at ACM@journal
             \emph{\@journalName}%
           \else
-            \emph{Proceedings of \acmConference at name, \acmConference at date}%
+            \emph{\@acmBooktitle}%
           \fi
           \ifx\@acmDOI\@empty
           .
@@ -1548,9 +1562,9 @@
             \ifx\@acmPrice\@empty\else\ \$\@acmPrice\fi\\
             \@formatdoi{\@acmDOI}%
           \else % Conference
-             ACM~ISBN~\@acmISBN
-             \ifx\@acmPrice\@empty.\else\dots\$\@acmPrice\fi\\
-             \@formatdoi{\@acmDOI}%
+            \ifx\@acmISBN\@empty\else ACM~ISBN~\@acmISBN
+            \ifx\@acmPrice\@empty.\else\dots\$\@acmPrice\fi\\\fi
+            \ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi%
           \fi
         \fi
       \fi}
@@ -1676,11 +1690,11 @@
 \def\@titlefont{%
   \ifcase\ACM at format@nr
   \relax % manuscript
-    \LARGE\bfseries\sffamily
+    \LARGE\sffamily\bfseries
   \or % acmsmall
-    \LARGE\bfseries\sffamily
+    \LARGE\sffamily\bfseries
   \or % acmlarge
-    \LARGE\bfseries\sffamily
+    \LARGE\sffamily\bfseries
   \or % acmtog
     \Huge\sffamily
   \or % sigconf
@@ -1795,7 +1809,7 @@
   \def\city#1{\unskip\ignorespaces}
   \def\state#1{\unskip\ignorespaces}
   \newcommand\department[2][0]{}
-  \def\country#1{\unskip\ignorespaces}
+  \def\country#1{\if at ACM@affiliation at obeypunctuation\else, \fi#1\ignorespaces}
 \else
   \def\position#1{\if at ACM@affiliation at obeypunctuation#1\else#1\par\fi}%
   \def\institution#1{\if at ACM@affiliation at obeypunctuation#1\else#1\par\fi}%
@@ -2016,23 +2030,27 @@
    \ignorespaces\@abstract\par}%
   \fi\egroup}
 \def\@mkbibcitation{\bgroup
+  \def\@pages at word{\ifnum\getrefnumber{TotPages}=1\relax page\else pages\fi}%
   \def\footnotemark{}%
   \def\\{\unskip{} \ignorespaces}%
   \def\footnote{\ClassError{\@classname}{Please do note use footnotes
       inside \string\title{} or \string\author{} command! Use
       \string\titlenote{} or \string\authornote{} instead!}}%
-  \par\medskip\small\noindent{\bfseries ACM Reference format:}\par\nobreak
+  \def\@article at string{\ifx\@acmArticle\@empty{\ }\else,
+    Article~\@acmArticle\ \fi}%
+  \par\medskip\small\noindent{\bfseries ACM Reference Format:}\par\nobreak
   \noindent\authors. \@acmYear. \@title.
   \if at ACM@journal
      \textit{\@journalNameShort}
-     \@acmVolume, \@acmNumber, Article~\@acmArticle\ (\@acmPubDate),
-     \ref{TotPages}~pages.
+     \@acmVolume, \@acmNumber \@article at string (\@acmPubDate),
+     \ref{TotPages}~\@pages at word.
   \else
-     In \textit{Proceedings of \acmConference at name, \acmConference at venue,
-       \acmConference at date
-       \ifx\acmConference at name\acmConference at shortname\else
-         \ (\acmConference at shortname)\fi
-         ,} \ref{TotPages}~pages.
+     In \textit{\@acmBooktitle}%
+     \ifx\@acmEditors\@empty\textit{.}\else
+       \andify\@acmEditors\textit{, }\@acmEditors~\@editorsAbbrev.%
+     \fi\
+     ACM, New York, NY, USA%
+       \@article at string\unskip, \ref{TotPages}~\@pages at word.
   \fi\par
   \noindent\@formatdoi{\@acmDOI}
 \par\egroup}
@@ -2197,7 +2215,8 @@
   \@folio at voffset=.55in\relax
   \def\@folio at max{10}
 \fi
-\def\@folioblob{\@tempcnta=\@acmArticleSeq\relax
+\def\@folioblob{\@tempcnta=0\@acmArticleSeq\relax
+  \ifnum\@tempcnta=0\relax\else
   \loop
      \ifnum\@tempcnta>\@folio at max\relax
       \advance\@tempcnta by - \@folio at max
@@ -2213,8 +2232,8 @@
             \rule{\@folio at wd}{\@folio at ht}}}%
         \parbox{\@folio at wd}{%
           \centering
-          \textcolor{white}{\LARGE\bfseries\sffamily\@acmArticle}}}}
-  \end{picture}}
+          \textcolor{white}{\LARGE\sffamily\bfseries\@acmArticle}}}}
+  \end{picture}\fi}
 
 \fancypagestyle{firstpagestyle}{%
   \fancyhf{}%
@@ -2261,6 +2280,14 @@
     \fi
   \fi
 }
+\let\ACM at ps@plain\ps at plain
+\let\ACM at ps@myheadings\ps at myheadings
+\let\ACM at ps@headings\ps at headings
+\def\ACM at restore@pagestyle{%
+  \let\ps at plain\ACM at ps@plain
+  \let\ps at myheadings\ACM at ps@myheadings
+  \let\ps at headings\ACM at ps@headings}
+\AtBeginDocument{\ACM at restore@pagestyle}
 \renewcommand\section{\@startsection{section}{1}{\z@}%
   {-.75\baselineskip \@plus -2\p@ \@minus -.2\p@}%
   {.25\baselineskip}%
@@ -2303,8 +2330,8 @@
  \def\@secfont{\bfseries\Large\section at raggedright\MakeTextUppercase}
  \def\@subsecfont{\bfseries\Large\section at raggedright}
 \or % siggraph
- \def\@secfont{\bfseries\sffamily\Large\section at raggedright\MakeTextUppercase}
- \def\@subsecfont{\bfseries\sffamily\Large\section at raggedright}
+ \def\@secfont{\sffamily\bfseries\Large\section at raggedright\MakeTextUppercase}
+ \def\@subsecfont{\sffamily\bfseries\Large\section at raggedright}
 \or % sigplan
  \def\@secfont{\bfseries\Large\section at raggedright}
  \def\@subsecfont{\bfseries\section at raggedright}
@@ -2325,110 +2352,19 @@
  \def\@subparfont{\itshape}
 \or % sigchi
  \setcounter{secnumdepth}{1}
- \def\@secfont{\bfseries\sffamily\section at raggedright\MakeTextUppercase}
- \def\@subsecfont{\bfseries\sffamily\section at raggedright}
+ \def\@secfont{\sffamily\bfseries\section at raggedright\MakeTextUppercase}
+ \def\@subsecfont{\sffamily\bfseries\section at raggedright}
 \or % sigchi-a
  \setcounter{secnumdepth}{0}
- \def\@secfont{\bfseries\sffamily\section at raggedright\MakeTextUppercase}
- \def\@subsecfont{\bfseries\sffamily\section at raggedright}
+ \def\@secfont{\sffamily\bfseries\section at raggedright\MakeTextUppercase}
+ \def\@subsecfont{\sffamily\bfseries\section at raggedright}
 \fi
 \def\@adddotafter#1{#1\@addpunct{.}}
 \def\@addspaceafter#1{#1\@addpunct{\enspace}}
 \providecommand*\@dotsep{4.5}
-\def\@acmplainbodyfont{\itshape}
-\def\@acmplainindent{\parindent}
-\def\@acmplainheadfont{\scshape}
-\def\@acmplainnotefont{\@empty}
-\ifcase\ACM at format@nr
-\relax % manuscript
-\or % acmsmall
-\or % acmlarge
-\or % acmtog
-\or % sigconf
-\or % siggraph
-\or % sigplan
-  \def\@acmplainbodyfont{\itshape}
-  \def\@acmplainindent{\z@}
-  \def\@acmplainheadfont{\bfseries}
-  \def\@acmplainnotefont{\normalfont}
-\or % sigchi
-\or % sigchi-a
+\if at ACM@acmthm
+  \RequirePackage{acmthm}
 \fi
-\newtheoremstyle{acmplain}%
-  {.5\baselineskip\@plus.2\baselineskip
-    \@minus.2\baselineskip}% space above
-  {.5\baselineskip\@plus.2\baselineskip
-    \@minus.2\baselineskip}% space below
-  {\@acmplainbodyfont}% body font
-  {\@acmplainindent}% indent amount
-  {\@acmplainheadfont}% head font
-  {.}% punctuation after head
-  {.5em}% spacing after head
-  {\thmname{#1}\thmnumber{ #2}\thmnote{ {\@acmplainnotefont(#3)}}}% head spec
-\def\@acmdefinitionbodyfont{\normalfont}
-\def\@acmdefinitionindent{\parindent}
-\def\@acmdefinitionheadfont{\itshape}
-\def\@acmdefinitionnotefont{\@empty}
-\ifcase\ACM at format@nr
-\relax % manuscript
-\or % acmsmall
-\or % acmlarge
-\or % acmtog
-\or % sigconf
-\or % siggraph
-\or % sigplan
-  \def\@acmdefinitionbodyfont{\normalfont}
-  \def\@acmdefinitionindent{\z@}
-  \def\@acmdefinitionheadfont{\bfseries}
-  \def\@acmdefinitionnotefont{\normalfont}
-\or % sigchi
-\or % sigchi-a
-\fi
-\newtheoremstyle{acmdefinition}%
-  {.5\baselineskip\@plus.2\baselineskip
-    \@minus.2\baselineskip}% space above
-  {.5\baselineskip\@plus.2\baselineskip
-    \@minus.2\baselineskip}% space below
-  {\@acmdefinitionbodyfont}% body font
-  {\@acmdefinitionindent}% indent amount
-  {\@acmdefinitionheadfont}% head font
-  {.}% punctuation after head
-  {.5em}% spacing after head
-  {\thmname{#1}\thmnumber{ #2}\thmnote{ {\@acmdefinitionnotefont(#3)}}}% head spec
-\theoremstyle{acmplain}
-\newtheorem{theorem}{Theorem}[section]
-\newtheorem{conjecture}[theorem]{Conjecture}
-\newtheorem{proposition}[theorem]{Proposition}
-\newtheorem{lemma}[theorem]{Lemma}
-\newtheorem{corollary}[theorem]{Corollary}
-\theoremstyle{acmdefinition}
-\newtheorem{example}[theorem]{Example}
-\newtheorem{definition}[theorem]{Definition}
-\theoremstyle{acmplain}
-\def\@proofnamefont{\scshape}
-\def\@proofindent{\indent}
-\ifcase\ACM at format@nr
-\relax % manuscript
-\or % acmsmall
-\or % acmlarge
-\or % acmtog
-\or % sigconf
-\or % siggraph
-\or % sigplan
-  \def\@proofnamefont{\itshape}
-  \def\@proofindent{\noindent}
-\or % sigchi
-\or % sigchi-a
-\fi
-\renewenvironment{proof}[1][\proofname]{\par
-  \pushQED{\qed}%
-  \normalfont \topsep6\p@\@plus6\p@\relax
-  \trivlist
-  \item[\@proofindent\hskip\labelsep
-        {\@proofnamefont #1\@addpunct{.}}]\ignorespaces
-}{%
-  \popQED\endtrivlist\@endpefalse
-}
 \specialcomment{acks}{%
   \begingroup
   \section*{Acknowledgments}

Added: trunk/Master/texmf-dist/tex/latex/acmart/acmthm.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/acmart/acmthm.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/acmart/acmthm.sty	2017-08-17 21:17:58 UTC (rev 45058)
@@ -0,0 +1,137 @@
+%%
+%% This is file `acmthm.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% acmart.dtx  (with options: `acmthm')
+%% 
+%% IMPORTANT NOTICE:
+%% 
+%% For the copyright see the source file.
+%% 
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from acmthm.sty.
+%% 
+%% For distribution of the original source see the terms
+%% for copying and modification in the file acmart.dtx.
+%% 
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+\ProvidesPackage{acmthm}
+[2017/08/15 v1.45 Typesetting articles for Association of
+Computing Machinery]
+\def\@acmplainbodyfont{\itshape}
+\def\@acmplainindent{\parindent}
+\def\@acmplainheadfont{\scshape}
+\def\@acmplainnotefont{\@empty}
+\ifcase\ACM at format@nr
+\relax % manuscript
+\or % acmsmall
+\or % acmlarge
+\or % acmtog
+\or % sigconf
+\or % siggraph
+\or % sigplan
+  \def\@acmplainbodyfont{\itshape}
+  \def\@acmplainindent{\z@}
+  \def\@acmplainheadfont{\bfseries}
+  \def\@acmplainnotefont{\normalfont}
+\or % sigchi
+\or % sigchi-a
+\fi
+\newtheoremstyle{acmplain}%
+  {.5\baselineskip\@plus.2\baselineskip
+    \@minus.2\baselineskip}% space above
+  {.5\baselineskip\@plus.2\baselineskip
+    \@minus.2\baselineskip}% space below
+  {\@acmplainbodyfont}% body font
+  {\@acmplainindent}% indent amount
+  {\@acmplainheadfont}% head font
+  {.}% punctuation after head
+  {.5em}% spacing after head
+  {\thmname{#1}\thmnumber{ #2}\thmnote{ {\@acmplainnotefont(#3)}}}% head spec
+\def\@acmdefinitionbodyfont{\normalfont}
+\def\@acmdefinitionindent{\parindent}
+\def\@acmdefinitionheadfont{\itshape}
+\def\@acmdefinitionnotefont{\@empty}
+\ifcase\ACM at format@nr
+\relax % manuscript
+\or % acmsmall
+\or % acmlarge
+\or % acmtog
+\or % sigconf
+\or % siggraph
+\or % sigplan
+  \def\@acmdefinitionbodyfont{\normalfont}
+  \def\@acmdefinitionindent{\z@}
+  \def\@acmdefinitionheadfont{\bfseries}
+  \def\@acmdefinitionnotefont{\normalfont}
+\or % sigchi
+\or % sigchi-a
+\fi
+\newtheoremstyle{acmdefinition}%
+  {.5\baselineskip\@plus.2\baselineskip
+    \@minus.2\baselineskip}% space above
+  {.5\baselineskip\@plus.2\baselineskip
+    \@minus.2\baselineskip}% space below
+  {\@acmdefinitionbodyfont}% body font
+  {\@acmdefinitionindent}% indent amount
+  {\@acmdefinitionheadfont}% head font
+  {.}% punctuation after head
+  {.5em}% spacing after head
+  {\thmname{#1}\thmnumber{ #2}\thmnote{ {\@acmdefinitionnotefont(#3)}}}% head spec
+\theoremstyle{acmplain}
+\newtheorem{theorem}{Theorem}[section]
+\newtheorem{conjecture}[theorem]{Conjecture}
+\newtheorem{proposition}[theorem]{Proposition}
+\newtheorem{lemma}[theorem]{Lemma}
+\newtheorem{corollary}[theorem]{Corollary}
+\theoremstyle{acmdefinition}
+\newtheorem{example}[theorem]{Example}
+\newtheorem{definition}[theorem]{Definition}
+\theoremstyle{acmplain}
+\def\@proofnamefont{\scshape}
+\def\@proofindent{\indent}
+\ifcase\ACM at format@nr
+\relax % manuscript
+\or % acmsmall
+\or % acmlarge
+\or % acmtog
+\or % sigconf
+\or % siggraph
+\or % sigplan
+  \def\@proofnamefont{\itshape}
+  \def\@proofindent{\noindent}
+\or % sigchi
+\or % sigchi-a
+\fi
+\renewenvironment{proof}[1][\proofname]{\par
+  \pushQED{\qed}%
+  \normalfont \topsep6\p@\@plus6\p@\relax
+  \trivlist
+  \item[\@proofindent\hskip\labelsep
+        {\@proofnamefont #1\@addpunct{.}}]\ignorespaces
+}{%
+  \popQED\endtrivlist\@endpefalse
+}
+\endinput
+%%
+%% End of file `acmthm.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/acmart/acmthm.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list