summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/acmart/acmart.dtx17
1 files changed, 11 insertions, 6 deletions
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}
%</gobble>
%<class>\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}%