summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/acmart/acmart.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/acmart/acmart.dtx')
-rw-r--r--Master/texmf-dist/source/latex/acmart/acmart.dtx32
1 files changed, 22 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx
index 73fb5630922..4dff38b1e01 100644
--- a/Master/texmf-dist/source/latex/acmart/acmart.dtx
+++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx
@@ -1,6 +1,6 @@
% \iffalse
%
-% Copyright 2016, Association for Computing Machinery
+% Copyright 2016-2017, Association for Computing Machinery
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3 of this license or (at your option) any
@@ -42,7 +42,7 @@
% \GetFileInfo{acmart.dtx}
% \newcommand{\progname}[1]{\textsf{#1}}
% \title{\LaTeX{} Class for \emph{Association for Computing
-% Machinery}\thanks{\copyright 2016, Association for Computing Machinery}}
+% Machinery}\thanks{\copyright 2016--2017, Association for Computing Machinery}}
% \author{Boris Veytsman\thanks{%
% \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}},
% \href{mailto:boris@varphi.com}{\texttt{boris@varphi.com}}}}
@@ -855,7 +855,7 @@
% redefine it if the list of author's name is too long, e.g.,
% \begin{verbatim}
% \maketitle
-% \renewcommand{\shortauthors}{Zhou et. al.}
+% \renewcommand{\shortauthors}{Zhou et al.}
% \end{verbatim}
%
%
@@ -1275,7 +1275,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2016/12/29 v1.27 Typesetting articles for Association of
+[2017/01/07 v1.28 Typesetting articles for Association of
Computing Machinery]
% \end{macrocode}
%
@@ -1731,9 +1731,12 @@ Computing Machinery]
%
% \end{macro}
%
+% \changes{v1.28}{2017/01/07}{Corrected option natbib behavior}
% The default is numeric:
% \begin{macrocode}
+\if@ACM@natbib
\citestyle{acmnumeric}
+\fi
% \end{macrocode}
%
%
@@ -1831,10 +1834,17 @@ Computing Machinery]
%
%
% And |hyperref|
+% \changes{v1.28}{2017/01/07}{Got rid of warnings in pdf keywords}
% \begin{macrocode}
\let\@footnotemark@nolink\@footnotemark
\let\@footnotetext@nolink\@footnotetext
-\RequirePackage[bookmarksnumbered]{hyperref}
+\RequirePackage[bookmarksnumbered,unicode]{hyperref}
+\pdfstringdefDisableCommands{%
+ \def\unskip{}
+ \def\textbullet{- }
+ \def\textrightarrow{ -> }
+ \def\footnotemark{}
+}
\urlstyle{rm}
\ifcase\ACM@format@nr
\relax % manuscript
@@ -1870,7 +1880,6 @@ Computing Machinery]
\let\citeyearNP\citeyear
\let\citeyear\citeyearpar
\let\citeNP\citealt
- \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}%
@@ -1878,6 +1887,7 @@ Computing Machinery]
\else
\providecommand\citename[1]{#1}
\fi
+\def\shortcite#1{\ifNAT@numbers\cite{#1}\else\citeyear{#1}\fi}
% \end{macrocode}
%
%
@@ -2145,8 +2155,6 @@ Computing Machinery]
\RequirePackage[tt=false]{libertine}
\RequirePackage[varqu]{zi4}
\RequirePackage[libertine]{newtxmath}
-\else
-\RequirePackage{textcomp}
\fi
% \end{macrocode}
%
@@ -3177,11 +3185,15 @@ Computing Machinery]
% \end{macro}
%
% \begin{macro}{\ccsdesc@parse}
-% The parser of the expression |Significance~General~Specific|:
+% \changes{v1.28}{2017/01/04}{Change from \cs{to} to
+% \cs{textrightarrow} (Matteo Riondato)}
+% The parser of the expression |Significance~General~Specific| (we need
+% |textcomp| for |\\textrightarrow|:
% \begin{macrocode}
+\RequirePackage{textcomp}
\def\ccsdesc@parse#1~#2~#3~{%
\expandafter\ifx\csname CCS@#2\endcsname\relax
- \expandafter\gdef\csname CCS@#2\endcsname{\textbullet\textbf{#2} $\to$ }%
+ \expandafter\gdef\csname CCS@#2\endcsname{\textbullet\textbf{#2} \textrightarrow }%
\g@addto@macro{\@concepts}{\csname CCS@#2\endcsname}\fi
\expandafter\g@addto@macro\expandafter{\csname CCS@#2\endcsname}{%
\ifnum#1>499\textbf{#3; }\else