summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-08 22:21:12 +0000
committerKarl Berry <karl@freefriends.org>2017-01-08 22:21:12 +0000
commitf8b91d888f60b20880a9c0749883747cd913bc3f (patch)
tree0ec4aa67e4b02418a10cfaa4cadc1888185936b1 /Master/texmf-dist/tex
parent2fe97cec533b012f5030d9674055e5ef35b77e38 (diff)
acmart (8jan17)
git-svn-id: svn://tug.org/texlive/trunk@42900 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart.cls19
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls
index c7798f9c202..51d39e13d36 100644
--- a/Master/texmf-dist/tex/latex/acmart/acmart.cls
+++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls
@@ -38,7 +38,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{acmart}
-[2016/12/29 v1.27 Typesetting articles for Association of
+[2017/01/07 v1.28 Typesetting articles for Association of
Computing Machinery]
\def\@classname{acmart}
\RequirePackage{xkeyval}
@@ -265,7 +265,9 @@ Computing Machinery]
numbers,sort&compress,%
open={[},close={]},citesep={,},%
notesep={, }}}
+\if@ACM@natbib
\citestyle{acmnumeric}
+\fi
\def\@startsection#1#2#3#4#5#6{%
\if@noskipsec \leavevmode \fi
\par
@@ -353,7 +355,13 @@ Computing Machinery]
\@xsect{#3}}
\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
@@ -385,7 +393,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}%
@@ -393,6 +400,7 @@ Computing Machinery]
\else
\providecommand\citename[1]{#1}
\fi
+\def\shortcite#1{\ifNAT@numbers\cite{#1}\else\citeyear{#1}\fi}
\def\bibliographystyle#1{%
\ifx\@begindocumenthook\@undefined\else
\expandafter\AtBeginDocument
@@ -538,8 +546,6 @@ Computing Machinery]
\RequirePackage[tt=false]{libertine}
\RequirePackage[varqu]{zi4}
\RequirePackage[libertine]{newtxmath}
-\else
-\RequirePackage{textcomp}
\fi
\if@ACM@sigchiamode
\renewcommand{\familydefault}{\sfdefault}
@@ -1073,9 +1079,10 @@ Computing Machinery]
\let\@concepts\@empty
\newcommand\ccsdesc[2][100]{%
\ccsdesc@parse#1~#2~}
+\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