summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-11-12 22:10:14 +0000
committerKarl Berry <karl@freefriends.org>2018-11-12 22:10:14 +0000
commitaaa01e878281de6ba5f48687fc35f90f06a4cc36 (patch)
treef5f018f9367e4abbb682d4dc75653fbcc5e9cb15 /Master/texmf-dist
parent16421eb2aea0392d27dc7ed55006cfffaed04d4c (diff)
acmart (12nov18)
git-svn-id: svn://tug.org/texlive/trunk@49137 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst17
-rw-r--r--Master/texmf-dist/doc/latex/acmart/README8
-rw-r--r--Master/texmf-dist/doc/latex/acmart/acmart.pdfbin815423 -> 825026 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/acmguide.pdfbin418255 -> 419198 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdfbin633061 -> 633062 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdfbin635385 -> 635395 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdfbin598381 -> 598407 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdfbin635983 -> 635985 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdfbin1281789 -> 1281771 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex12
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdfbin1104438 -> 1104368 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex3
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-authordraft.pdfbin650915 -> 650879 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-xelatex.pdfbin124805 -> 128485 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdfbin646522 -> 646529 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdfbin986534 -> 986495 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex3
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/samplebody-conf.tex10
-rw-r--r--Master/texmf-dist/doc/latex/acmart/samples/samplebody-journals.tex1
-rw-r--r--Master/texmf-dist/source/latex/acmart/acmart.dtx158
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart.cls68
21 files changed, 235 insertions, 45 deletions
diff --git a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst
index d65cd699aeb..5a7f2428434 100644
--- a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst
+++ b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst
@@ -506,15 +506,14 @@ FUNCTION { strip.doi } % UTAH
% result on the output stack, as recommended by CrossRef DOI
% documentation.
% For example, reduce "http://doi.acm.org/10.1145/1534530.1534545" to
- % "10.1145/1534530.1534545". That is later typeset and displayed as
- % doi:10.1145/1534530.1534545 as the LAST item in the reference list
- % entry. Publisher Web sites wrap this with a suitable link to a real
- % URL to resolve the DOI, and the master https://doi.org/ address is
- % preferred, since publisher-specific URLs can disappear in response
- % to economic events. All journals are encouraged by the DOI
- % authorities to use that typeset format and link procedures for
- % uniformity across all publications that include DOIs in reference
- % lists.
+ % "10.1145/1534530.1534545". A suitable URL is later typeset and
+ % displayed as the LAST item in the reference list entry. Publisher Web
+ % sites wrap this with a suitable link to a real URL to resolve the DOI,
+ % and the master https://doi.org/ address is preferred, since publisher-
+ % specific URLs can disappear in response to economic events. All
+ % journals are encouraged by the DOI authorities to use that typeset
+ % format and link procedures for uniformity across all publications that
+ % include DOIs in reference lists.
% The numeric prefix is guaranteed to start with "10.", so we use
% that as a test.
% 2017-02-04 Added stripping of https:// (Boris)
diff --git a/Master/texmf-dist/doc/latex/acmart/README b/Master/texmf-dist/doc/latex/acmart/README
index 266692d80f4..28dce47b32b 100644
--- a/Master/texmf-dist/doc/latex/acmart/README
+++ b/Master/texmf-dist/doc/latex/acmart/README
@@ -198,5 +198,11 @@ Version 1.54 New option: 'noacm' (Gabriel Scherer)
Version 1.55 Bug fixes
Font changes for SIGCHI table captions
-
+
+Version 1.56 Bug fixes
+ Added \flushbottom to two column formats (Philip Quinn)
+ The final punctuation for the list of concepts
+ is now period instead of semilcolon (Philip Quinn)
+ New command \Description to describe images for visually
+ impaired users.
diff --git a/Master/texmf-dist/doc/latex/acmart/acmart.pdf b/Master/texmf-dist/doc/latex/acmart/acmart.pdf
index ba44884ec6b..2e2553eb49f 100644
--- a/Master/texmf-dist/doc/latex/acmart/acmart.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/acmart.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/acmguide.pdf b/Master/texmf-dist/doc/latex/acmart/acmguide.pdf
index 281b8f0aa71..4483853f74a 100644
--- a/Master/texmf-dist/doc/latex/acmart/acmguide.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/acmguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf
index a4aa287bcc5..b058486f86a 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf
index 1b2eb69b5e2..77ea06a9777 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf
index 76ab01caf20..8974be769da 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf
index dfa6cd9a857..29bbbeb228f 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdf
index 1763e4628fd..1df335ae14c 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex
index 51693691df6..bd2e12dbfcd 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex
@@ -155,7 +155,8 @@
\end{sidebar}
\begin{figure}
- \includegraphics[width=\marginparwidth]{sigchi-logo}
+ \includegraphics[width=\marginparwidth]{sigchi-logo}\Description{SIGCHI
+ logo}
\caption{Insert a caption below each figure.}
\label{fig:sample}
\end{figure}
@@ -272,7 +273,8 @@ pay attention to the following:
\begin{marginfigure}
- \includegraphics[width=\marginparwidth]{cats}
+ \includegraphics[width=\marginparwidth]{cats}\Description{An image
+ of tesselated cats}
\caption{In this image, the cats are tessellated within a square
frame. Images should also have captions and be within the
boundaries of the sidebar on page~\pageref{bar:sidebar}. Photo:
@@ -289,13 +291,13 @@ figures must be usable when printed in black and white. You can use
the \texttt{marginfigure} environment to insert figures in the (left) margin
of the document (see Figure~\ref{fig:marginfig}). Finally, be sure to
make images large enough so the important details are legible and
-clear (see Figure~\ref{fig:cats}).
+clear (see Figure~\ref{fig:map}).
\begin{figure*}
- \includegraphics[width=\fulltextwidth]{map}
+ \includegraphics[width=\fulltextwidth]{map}\Description{A world map}
\caption{In this image, the map maximizes use of space.
Note that \LaTeX\ tends to render large figures on a
- dedicated page. Image: \ccbynd~ayman on Flickr.}~\label{fig:cats}
+ dedicated page. Image: \ccbynd~ayman on Flickr.}~\label{fig:map}
\end{figure*}
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdf
index cec0e546b6c..3bd78d48146 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex
index 0fbe326b8e0..0b55897480b 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex
@@ -158,7 +158,8 @@ ACM SIG Proceedings.
\keywords{ACM proceedings, \LaTeX, text tagging}
\begin{teaserfigure}
- \includegraphics[width=\textwidth]{sampleteaser}
+ \includegraphics[width=\textwidth]{sampleteaser}\Description{A
+ baseball field}
\caption{This is a teaser}
\label{fig:teaser}
\end{teaserfigure}
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-authordraft.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-authordraft.pdf
index d1c92f011d9..ea8b345d1c9 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-authordraft.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-authordraft.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-xelatex.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-xelatex.pdf
index cd78b9be6b5..44a4d008b7a 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-xelatex.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf-xelatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf
index 932e286b09f..c02e1ea194a 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf
index 12cd38a1a87..1bf2d1f97fd 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex
index 10f791d2e23..7688fcad9d4 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex
+++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex
@@ -165,7 +165,8 @@ ACM SIG Proceedings.
\keywords{ACM proceedings, \LaTeX, text tagging}
\begin{teaserfigure}
- \includegraphics[width=\textwidth]{sampleteaser}
+ \includegraphics[width=\textwidth]{sampleteaser}\Description{A
+ baseball field}
\caption{This is a teaser}
\label{fig:teaser}
\end{teaserfigure}
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/samplebody-conf.tex b/Master/texmf-dist/doc/latex/acmart/samples/samplebody-conf.tex
index 111e25809f4..54ce0e56864 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/samplebody-conf.tex
+++ b/Master/texmf-dist/doc/latex/acmart/samples/samplebody-conf.tex
@@ -232,12 +232,13 @@ displayable with \LaTeX. If you work with pdf\LaTeX, use files in the
each of these are found in the \textit{Author's Guide}.
\begin{figure}
-\includegraphics{fly}
+\includegraphics{fly}\Description{A fly}
\caption{A sample black and white graphic.}
\end{figure}
\begin{figure}
-\includegraphics[height=1in, width=1in]{fly}
+\includegraphics[height=1in, width=1in]{fly}\Description{A fly image,
+ to $1''\times1''$}
\caption{A sample black and white graphic
that has been resized with the \texttt{includegraphics} command.}
\end{figure}
@@ -250,14 +251,15 @@ the figure and its caption. And don't forget to end the environment
with \textbf{figure*}, not \textbf{figure}!
\begin{figure*}
-\includegraphics{flies}
+\includegraphics{flies}\Description{Several flies, spanning two
+ columns of text}
\caption{A sample black and white graphic
that needs to span two columns of text.}
\end{figure*}
\begin{figure}
-\includegraphics[height=1in, width=1in]{rosette}
+\includegraphics[height=1in, width=1in]{rosette}\Description{A rosette}
\caption{A sample black and white graphic that has
been resized with the \texttt{includegraphics} command.}
\end{figure}
diff --git a/Master/texmf-dist/doc/latex/acmart/samples/samplebody-journals.tex b/Master/texmf-dist/doc/latex/acmart/samples/samplebody-journals.tex
index 5532993a31f..6d162b72bcc 100644
--- a/Master/texmf-dist/doc/latex/acmart/samples/samplebody-journals.tex
+++ b/Master/texmf-dist/doc/latex/acmart/samples/samplebody-journals.tex
@@ -186,6 +186,7 @@ contains function calls, assignments, if clauses, and while loops.
% Figure
\begin{figure}
\includegraphics{mouse}
+ \Description{A mouse}
\caption{Code before preprocessing.}
\label{fig:one}
\end{figure}
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx
index 79316ac956c..c452e635fc3 100644
--- a/Master/texmf-dist/source/latex/acmart/acmart.dtx
+++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx
@@ -1,4 +1,3 @@
-
% \iffalse
%
% Copyright 2016-2018, Association for Computing Machinery
@@ -104,6 +103,7 @@
% Dirk Beyer,
% Joachim Breitner,
% Benjamin Byholm,
+% Nils Anders Danielsson,
% Michael Ekstrand,
% Matthew Fluet,
% Paolo G.~Giarrusso,
@@ -119,6 +119,7 @@
% John Owens,
% Joel Nider,
% Tobias Pape,
+% Philip Quinn,
% Mathias Rav,
% Andreas Reichinger,
% Matteo Riondato,
@@ -1189,6 +1190,35 @@
% A good way to do so is to put the contents into a
% \cs{minipage} of the width \cs{columnwidth}.
%
+%
+%\subsection{Descriptions of images}
+%\label{sec:descriptions}
+%
+% \DescribeMacro{\Description}%
+% Some readers of ACM publications might be visually challenged.
+% These readers might use a voice-over software to read aloud the
+% papers. It is important to provided them a description of each
+% image used in the paper.
+%
+% The command \cs{Description}\oarg{short description}\marg{long
+% description} should be placed inside every \texttt{figure},
+% \texttt{teaserfigure} or \texttt{marginfigure} environment to
+% provide a description of the image(s) used in the figure. Unlike
+% \cs{caption}, which is used alongside the image, \cs{Description} is
+% intended to be used instead of the image, for example,
+% \begin{verbatim}
+% \begin{figure}
+% \centering
+% \includegraphics{voltage}
+% \Description{A bell-like histogram centered at $0.5$~V with most
+% measurements between $0.2$~V and $0.8$~V}
+% \caption{Histogram of the measurements of voltage}
+% \label{fig:voltage}
+% \end{figure}
+% \end{verbatim}
+% At present the lack of descriptions generates a warning at
+% compilation.
+%
%\subsection{Theorems}
%\label{sec:ug_theorems}
%
@@ -1715,7 +1745,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2018/10/20 v1.55 Typesetting articles for the Association for
+[2018/11/11 v1.56 Typesetting articles for the Association for
Computing Machinery]
% \end{macrocode}
%
@@ -1799,6 +1829,7 @@ Computing Machinery]
% \changes{1.53}{2018/04/14}{Rearranged docs}
% \changes{1.54}{2018/06/17}{Moved footnote stuff before hyperref call
% (Ross Moore)}
+% \changes{1.56}{2018/11/11}{Documented \cs{Description}}
%
% And the driver code:
% \begin{macrocode}
@@ -2580,7 +2611,7 @@ Computing Machinery]
\else
\hypersetup{hidelinks}
\fi
- \hypersetup{pdflang={English},
+ \hypersetup{pdflang={en},
pdfdisplaydoctitle}}
% \end{macrocode}
%
@@ -2668,6 +2699,7 @@ Computing Machinery]
% \changes{v1.17}{2016/07/07}{Slightly decreased margins for sigs}
% \changes{v1.29}{2017/01/22}{Increased head to 13pt}
% \changes{v1.40}{2017/07/15}{Added heightrounded to geometry}
+% \changes{v1.56}{2018/10/16}{Make two-column layouts flush (Philip Quinn)}
% We use |geometry| for dimensions. Note that the present margins do not
% depend on the font size option---we might need to change this.
% See \url{https://github.com/borisveytsman/acmart/issues/5#issuecomment-272881329}.
@@ -2843,6 +2875,28 @@ Computing Machinery]
% \end{macrocode}
%
% \end{macro}
+%
+% In two-column layouts, force both columns to be the same height by inserting
+% extra internal vertical space to fill out the page.
+% \begin{macrocode}
+\ifcase\ACM@format@nr
+\relax % manuscript
+\or % acmsmall
+\or % acmlarge
+\or % acmtog
+ \flushbottom
+\or % sigconf
+ \flushbottom
+\or % siggraph
+ \flushbottom
+\or % sigplan
+ \flushbottom
+\or % sigchi
+ \flushbottom
+\or % sigchi-a
+\fi
+% \end{macrocode}
+%
%\subsection{Fonts}
%\label{sec:fonts}
%
@@ -2898,12 +2952,15 @@ Computing Machinery]
% \changes{v1.51}{2018/04/05}{XeTeX now uses OTF fonts (Joachim
% Breitner)}
% \changes{v1.54}{2018/07/16}{XeTeX now uses T1 encoding}
+% \changes{v1.56}{2018/11/11}{Looks like XeTeX requires explicit
+% monotype font delcaration}
% We use Libertine throughout.
% \begin{macrocode}
\if@ACM@newfonts
\RequirePackage[T1]{fontenc}
\ifxetex
\RequirePackage[tt=false]{libertine}
+ \setmonofont{inconsolata}
\else
\RequirePackage[tt=false, type1=true]{libertine}
\fi
@@ -2933,6 +2990,55 @@ Computing Machinery]
% \end{macrocode}
%
%
+%
+%\subsection{Image descriptions}
+%\label{sec:description}
+%
+% \begin{macro}{\if@Description@present}
+% \changes{v1.56}{2018/11/11}{Added macro}
+% A local switch: whether there is a description in the given figure
+% \begin{macrocode}
+\newif\if@Description@present
+\@Description@presenttrue
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\if@undescribed@images}
+% \changes{v1.56}{2018/11/11}{Added macro}
+% A global switch whether some images were \emph{not} described
+% \begin{macrocode}
+\newif\if@undescribed@images
+\@undescribed@imagesfalse
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Description}
+% \changes{v1.56}{2018/11/11}{Added macro}
+% The Description macro right now just sets switches
+% \begin{macrocode}
+\newcommand\Description[2][]{\global\@Description@presenttrue}
+% \end{macrocode}
+% \end{macro}
+%
+% The global warning
+% \begin{macrocode}
+\AtEndDocument{\if@undescribed@images
+ \ClassWarningNoLine{\@classname}{Some images may lack descriptions}\fi}
+% \end{macrocode}
+%
+% Hooks for figures
+% \begin{macrocode}
+\AtBeginEnvironment{figure}{\@Description@presentfalse}
+\AtBeginEnvironment{figure*}{\@Description@presentfalse}
+\AtEndEnvironment{figure}{\if@Description@present\else
+ \global\@undescribed@imagestrue
+ \ClassWarning{\@classname}{A possible image without description}\fi}
+\AtEndEnvironment{figure*}{\if@Description@present\else
+ \global\@undescribed@imagestrue
+ \ClassWarning{\@classname}{A possible image without description}\fi}
+% \end{macrocode}
+%
+%
%\subsection{Floats}
%\label{sec:floats}
%
@@ -3003,10 +3109,17 @@ Computing Machinery]
%
% \begin{macro}{\@marginfigure}
% \changes{v1.12}{2016/05/30}{Now centering by default}
+% \changes{v1.56}{2018/11/11}{Added checking for description}
% The processing of the saved text
% \begin{macrocode}
-\long\def\@marginfigure#1{\bgroup\captionsetup{type=figure}%
- \marginpar{\centering\small#1}\egroup}
+\long\def\@marginfigure#1{\bgroup
+ \captionsetup{type=figure}%
+ \marginpar{\@Description@presentfalse\centering
+ \small#1\if@Description@present\else
+ \global\@undescribed@imagestrue
+ \ClassWarning{\@classname}{A possible image without description}
+ \fi}%
+ \egroup}
% \end{macrocode}
%
% \end{macro}
@@ -4212,9 +4325,10 @@ Computing Machinery]
% \end{macrocode}
%
% \begin{macro}{\@concepts}
-% This is the storage macro for concepts
+% This is the storage macro and counter for concepts
% \begin{macrocode}
\let\@concepts\@empty
+\newcounter{@concepts}
% \end{macrocode}
%
% \end{macro}
@@ -4236,11 +4350,14 @@ Computing Machinery]
% \changes{v1.29}{2017/01/22}{Add spacing after bullet and around
% rightarrow; semicolon separators no longer in bold/italic (John Wickerson)}
% \changes{v1.40}{2017/05/27}{Now we can parse |Significance~General| nodes}
+% \changes{v1.56}{2018/10/23}{End the concepts list with a period
+% (Philip Quinn)}
% The parser of the expression |Significance~General~Specific| (we need
% |textcomp| for |\textrightarrow|). Note that |Specific| can be empty!
% \begin{macrocode}
\RequirePackage{textcomp}
\def\ccsdesc@parse#1~#2~#3~{%
+ \stepcounter{@concepts}%
\expandafter\ifx\csname CCS@General@#2\endcsname\relax
\expandafter\gdef\csname CCS@General@#2\endcsname{\textbullet\
\textbf{#2}}%
@@ -4254,9 +4371,10 @@ Computing Machinery]
\expandafter\gdef\csname CCS@Punctuation@#2\endcsname{
\textrightarrow\ }%
\expandafter\g@addto@macro\expandafter{\csname CCS@Specific@#2\endcsname}{%
- \ifnum#1>499\textbf{#3}; \else
- \ifnum#1>299\textit{#3}; \else
- #3; \fi\fi}%
+ \addtocounter{@concepts}{-1}%
+ \ifnum#1>499\textbf{#3}\else
+ \ifnum#1>299\textit{#3}\else
+ #3\fi\fi\ifnum\value{@concepts}=0.\else; \fi}%
\fi
\ccsdesc@parse@finish}
% \end{macrocode}
@@ -5539,14 +5657,20 @@ Computing Machinery]
% \end{macro}
%
% \begin{macro}{\@mkteasers}
-% Typesetting the teasers
+% Typesetting the teasers
+% \changes{v1.56}{2018/11/1}{Added check for description}
% \begin{macrocode}
\def\@mkteasers{%
\ifx\@teaserfigures\@empty\else
\def\@teaser##1{\par\bigskip\bgroup
\captionsetup{type=figure}##1\egroup\par}
\global\setbox\mktitle@bx=\vbox{\noindent\box\mktitle@bx\par
- \noindent\@teaserfigures\par\medskip}%
+ \noindent\@Description@presentfalse
+ \@teaserfigures\par\if@Description@present\else
+ \global\@undescribed@imagestrue
+ \ClassWarning{\@classname}{A possible image without
+ description}\fi
+ \medskip}%
\fi}
% \end{macrocode}
%
@@ -6471,6 +6595,14 @@ Computing Machinery]
%\subsection{Acknowledgments}
%\label{sec:acks}
%
+% \begin{macro}{\acksname}
+% \changes{v1.56}{2018/10/16}{Added macro (Philip Quinn)}
+% \begin{macrocode}
+\newcommand\acksname{Acknowledgments}
+% \end{macrocode}
+%
+% \end{macro}
+%
% \begin{macro}{\acks}
% \changes{v1.19}{2016/07/28}{Include 'Acknowledgements' in PDF bookmarks
% (Matthew Fluet)}
@@ -6479,8 +6611,8 @@ Computing Machinery]
% \begin{macrocode}
\specialcomment{acks}{%
\begingroup
- \section*{Acknowledgments}
- \phantomsection\addcontentsline{toc}{section}{Acknowledgments}
+ \section*{\acksname}
+ \phantomsection\addcontentsline{toc}{section}{\acksname}
}{%
\endgroup
}
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls
index 57d17eb869b..1bc1885d088 100644
--- a/Master/texmf-dist/tex/latex/acmart/acmart.cls
+++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls
@@ -20,7 +20,6 @@
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
-
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -38,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{acmart}
-[2018/10/20 v1.55 Typesetting articles for the Association for
+[2018/11/11 v1.56 Typesetting articles for the Association for
Computing Machinery]
\def\@classname{acmart}
\InputIfFileExists{acmart-preload-hook.tex}{%
@@ -482,7 +481,7 @@ Computing Machinery]
\else
\hypersetup{hidelinks}
\fi
- \hypersetup{pdflang={English},
+ \hypersetup{pdflang={en},
pdfdisplaydoctitle}}
\if@ACM@natbib
\let\citeN\cite
@@ -629,6 +628,22 @@ Computing Machinery]
\expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}}
\def\@textbottom{\vskip \z@ \@plus 1pt}
\let\@texttop\relax
+\ifcase\ACM@format@nr
+\relax % manuscript
+\or % acmsmall
+\or % acmlarge
+\or % acmtog
+ \flushbottom
+\or % sigconf
+ \flushbottom
+\or % siggraph
+ \flushbottom
+\or % sigplan
+ \flushbottom
+\or % sigchi
+ \flushbottom
+\or % sigchi-a
+\fi
\RequirePackage{iftex}
\ifPDFTeX
\input{glyphtounicode}
@@ -657,6 +672,7 @@ Computing Machinery]
\RequirePackage[T1]{fontenc}
\ifxetex
\RequirePackage[tt=false]{libertine}
+ \setmonofont{inconsolata}
\else
\RequirePackage[tt=false, type1=true]{libertine}
\fi
@@ -669,6 +685,21 @@ Computing Machinery]
\if@ACM@sigchiamode
\renewcommand{\familydefault}{\sfdefault}
\fi
+\newif\if@Description@present
+\@Description@presenttrue
+\newif\if@undescribed@images
+\@undescribed@imagesfalse
+\newcommand\Description[2][]{\global\@Description@presenttrue}
+\AtEndDocument{\if@undescribed@images
+ \ClassWarningNoLine{\@classname}{Some images may lack descriptions}\fi}
+\AtBeginEnvironment{figure}{\@Description@presentfalse}
+\AtBeginEnvironment{figure*}{\@Description@presentfalse}
+\AtEndEnvironment{figure}{\if@Description@present\else
+ \global\@undescribed@imagestrue
+ \ClassWarning{\@classname}{A possible image without description}\fi}
+\AtEndEnvironment{figure*}{\if@Description@present\else
+ \global\@undescribed@imagestrue
+ \ClassWarning{\@classname}{A possible image without description}\fi}
\RequirePackage{caption, float}
\captionsetup[table]{position=top}
\if@ACM@journal
@@ -707,8 +738,14 @@ Computing Machinery]
\long\def\@sidebar#1{\bgroup\captionsetup{type=sidebar}%
\marginpar{\small#1}\egroup}
\newenvironment{marginfigure}{\Collect@Body\@marginfigure}{}
-\long\def\@marginfigure#1{\bgroup\captionsetup{type=figure}%
- \marginpar{\centering\small#1}\egroup}
+\long\def\@marginfigure#1{\bgroup
+ \captionsetup{type=figure}%
+ \marginpar{\@Description@presentfalse\centering
+ \small#1\if@Description@present\else
+ \global\@undescribed@imagestrue
+ \ClassWarning{\@classname}{A possible image without description}
+ \fi}%
+ \egroup}
\newenvironment{margintable}{\Collect@Body\@margintable}{}
\long\def\@margintable#1{\bgroup\captionsetup{type=table}%
\marginpar{\centering\small#1}\egroup}
@@ -1332,10 +1369,12 @@ Computing Machinery]
\RequirePackage{comment}
\excludecomment{CCSXML}
\let\@concepts\@empty
+\newcounter{@concepts}
\newcommand\ccsdesc[2][100]{%
\ccsdesc@parse#1~#2~~\ccsdesc@parse@end}
\RequirePackage{textcomp}
\def\ccsdesc@parse#1~#2~#3~{%
+ \stepcounter{@concepts}%
\expandafter\ifx\csname CCS@General@#2\endcsname\relax
\expandafter\gdef\csname CCS@General@#2\endcsname{\textbullet\
\textbf{#2}}%
@@ -1349,9 +1388,10 @@ Computing Machinery]
\expandafter\gdef\csname CCS@Punctuation@#2\endcsname{
\textrightarrow\ }%
\expandafter\g@addto@macro\expandafter{\csname CCS@Specific@#2\endcsname}{%
- \ifnum#1>499\textbf{#3}; \else
- \ifnum#1>299\textit{#3}; \else
- #3; \fi\fi}%
+ \addtocounter{@concepts}{-1}%
+ \ifnum#1>499\textbf{#3}\else
+ \ifnum#1>299\textit{#3}\else
+ #3\fi\fi\ifnum\value{@concepts}=0.\else; \fi}%
\fi
\ccsdesc@parse@finish}
\def\ccsdesc@parse@finish#1\ccsdesc@parse@end{}
@@ -2149,7 +2189,12 @@ Computing Machinery]
\def\@teaser##1{\par\bigskip\bgroup
\captionsetup{type=figure}##1\egroup\par}
\global\setbox\mktitle@bx=\vbox{\noindent\box\mktitle@bx\par
- \noindent\@teaserfigures\par\medskip}%
+ \noindent\@Description@presentfalse
+ \@teaserfigures\par\if@Description@present\else
+ \global\@undescribed@imagestrue
+ \ClassWarning{\@classname}{A possible image without
+ description}\fi
+ \medskip}%
\fi}
\def\@mkabstract{\bgroup
\ifx\@abstract\@lempty\else
@@ -2639,10 +2684,11 @@ Computing Machinery]
}{%
\popQED\endtrivlist\@endpefalse
}
+\newcommand\acksname{Acknowledgments}
\specialcomment{acks}{%
\begingroup
- \section*{Acknowledgments}
- \phantomsection\addcontentsline{toc}{section}{Acknowledgments}
+ \section*{\acksname}
+ \phantomsection\addcontentsline{toc}{section}{\acksname}
}{%
\endgroup
}