From 6959c55b1060f5c323f5c5429657597a398de7a1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 25 Dec 2016 22:22:20 +0000 Subject: acmart (25dec16) git-svn-id: svn://tug.org/texlive/trunk@42790 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/acmart/acmart.dtx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/source/latex/acmart/acmart.dtx') diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index a77bb4ead15..4e2b6c32261 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx @@ -232,7 +232,7 @@ % |=true| can be omitted when setting the Boolean option, so instead of % |screen=true| one can write just |screen|, for example, % \begin{verbatim} -% \documentcalss[acmsmall, screen, review]{acmart} +% \documentclass[acmsmall, screen, review]{acmart} % \end{verbatim} % The option % |review| is useful when combined with the |manuscript| format @@ -439,7 +439,7 @@ % his or her own \cs{author} command. % % Note that some formats do not typset e-mails of ORCID identifiers. -% Do now worry: metadata tools will get them. +% Do not worry: metadata tools will get them. % % Sometimes an author has several affiliations. In this case the % \cs{affiliation} command should be repeated: @@ -606,7 +606,7 @@ % \cs{acmArticleSeq}\marg{n} can be used to change it: % \begin{verbatim} % \acmArticle{39} % The sequence number will be 39 by default -% \acmArticleSeq{5} % We rededine it to 5 +% \acmArticleSeq{5} % We redefine it to 5 % \end{verbatim} % % @@ -1120,7 +1120,9 @@ % \end{verbatim} % % If you use |natbib|, then commands like \cs{citep} and -% \cs{citeauthor} are automatically supported. +% \cs{citeauthor} are automatically supported. The command +% \cs{shortcite} is the same as \cs{cite} in numerical mode, and cites +% the year in the author-date mode. % % There are several customized \BibTeX\ entries and fields in ACM % style \path{ACM-Reference-Format.bst} you may want to be aware of. @@ -1273,7 +1275,7 @@ \ProvidesFile{acmart.dtx} % %\ProvidesClass{acmart} -[2016/12/03 v1.25 Typesetting articles for Association of +[2016/12/24 v1.26 Typesetting articles for Association of Computing Machinery] % \end{macrocode} % @@ -1311,6 +1313,9 @@ Computing Machinery] % \changes{v1.20}{2016/08/06}{Bug fixes for bst} % \changes{v1.22}{2016/09/25}{More bibliography changes for Aptara} % \changes{v1.23}{2016/11/04}{Add PACMPL journal option} +% \changes{v1.26}{2016/12/24}{Corrected \cs{shortcite} bug} +% \changes{v1.26}{2016/12/24}{Documentation typos fixed (thanks to +% Stephen Spencer)} % % % And the driver code: @@ -1865,7 +1870,7 @@ Computing Machinery] \let\citeyearNP\citeyear \let\citeyear\citeyearpar \let\citeNP\citealt - \def\shortcite#1{\citeyear{#1}} + \def\shortcite#1{\ifNAT@numbers\cite{#1}\else\citeyear{#1}\fi} \DeclareRobustCommand\citeA {\begingroup\NAT@swafalse \let\NAT@ctype\@ne\NAT@partrue\NAT@fullfalse\NAT@open\NAT@citetp}% -- cgit v1.2.3