summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/acmart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-24 21:25:47 +0000
committerKarl Berry <karl@freefriends.org>2017-04-24 21:25:47 +0000
commitb84f33e7d31e7a93ab4197d49c64036eff027dcf (patch)
treedaba0663a0e018e27cb6d27113fcd8b76a058900 /Master/texmf-dist/source/latex/acmart
parent9cb4966bf3b30f63881408c2c31e4fdb357ada9b (diff)
acmart (24apr17)
git-svn-id: svn://tug.org/texlive/trunk@44022 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/acmart')
-rw-r--r--Master/texmf-dist/source/latex/acmart/acmart.dtx22
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx
index ef206e62577..76b80c798c4 100644
--- a/Master/texmf-dist/source/latex/acmart/acmart.dtx
+++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx
@@ -765,11 +765,15 @@
%
% \DescribeMacro{\acmPrice}%
% The macro \cs{acmPrice}\marg{price} sets the price for the article
-% (by default 15.00), for example,
% \begin{verbatim}
% \acmPrice{25.00}
% \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
+% 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.
%
% \DescribeMacro{\acmISBN}%
% Book-like volumes have ISBN numbers attached to them. The macro
@@ -1505,7 +1509,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2017/04/09 v1.34 Typesetting articles for Association of
+[2017/04/23 v1.35 Typesetting articles for Association of
Computing Machinery]
% \end{macrocode}
%
@@ -1557,6 +1561,7 @@ Computing Machinery]
% \changes{v1.33}{2017/03/18}{BibTeX numpages bug corrected}
% \changes{v1.33}{2017/03/28}{Added acmart-preload-hook}
% \changes{v1.33}{2017/03/33}{Documentation updates}
+% \changes{v1.35}{2017/04/23}{BibTeX bug fixed: et al.}
%
%
% And the driver code:
@@ -1989,12 +1994,13 @@ Computing Machinery]
% \changes{v1.13}{2016/06/06}{Added macro}
% \changes{v1.14}{2016/06/09}{Moved def of \cs{bibstyle@acmauthoryear}
% before use}
+% \changes{v1.35}{2017/04/13}{Square brackets for author-year style}
% The default author-year format:
% \begin{macrocode}
\newcommand{\bibstyle@acmauthoryear}{%
\setcitestyle{%
authoryear,%
- open={(},close={)},citesep={;},%
+ open={[},close={]},citesep={;},%
aysep={},yysep={,},%
notesep={, }}}
% \end{macrocode}
@@ -3694,6 +3700,8 @@ Computing Machinery]
% \end{macro}
%
% \changes{v1.10}{2016/05/22}{Changes of `licensedothergov' wording}
+% \changes{v1.35}{2017/04/22}{If the copyright is set to usgov or
+% rigtsretained, the price is suppressed}
% Keys:
% \begin{macrocode}
\define@choicekey*{ACM@}{acmcopyrightmode}[%
@@ -3713,11 +3721,13 @@ Computing Machinery]
\fi
\ifnum\acm@copyrightmode=3\relax % rightsretained
\@acmownedfalse
+ \acmPrice{}%
\fi
\ifnum\acm@copyrightmode=4\relax % usgov
\@printpermissiontrue
\@printcopyrightfalse
\@acmownedfalse
+ \acmPrice{}%
\fi
\ifnum\acm@copyrightmode=6\relax % cagov
\@acmownedfalse
@@ -4059,8 +4069,8 @@ Computing Machinery]
\fi\\
\else
\if@ACM@journal
- \@permissionCodeOne/\@acmYear/\@acmMonth-ART\@acmArticle\
- \$\@acmPrice\\
+ \@permissionCodeOne/\@acmYear/\@acmMonth-ART\@acmArticle
+ \ifx\@acmPrice\@empty\else\ \$\@acmPrice\fi\\
\@formatdoi{\@acmDOI}%
\else % Conference
ACM~ISBN~\@acmISBN