summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/acmart
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/acmart')
-rw-r--r--macros/latex/contrib/acmart/README5
-rw-r--r--macros/latex/contrib/acmart/acmart.dtx56
-rw-r--r--macros/latex/contrib/acmart/acmart.pdfbin857825 -> 831482 bytes
-rw-r--r--macros/latex/contrib/acmart/acmguide.pdfbin414633 -> 411951 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmlarge.pdfbin587177 -> 587131 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdfbin1031530 -> 1031481 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdfbin599461 -> 599414 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall.pdfbin597030 -> 596981 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmtog.pdfbin544722 -> 544670 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-authordraft.pdfbin1023661 -> 1023619 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-lualatex.pdfbin768503 -> 768503 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-manuscript.pdfbin599099 -> 599051 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigconf.pdfbin1019869 -> 1019815 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigplan.pdfbin1029005 -> 1028951 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-xelatex.pdfbin653288 -> 653283 bytes
15 files changed, 52 insertions, 9 deletions
diff --git a/macros/latex/contrib/acmart/README b/macros/latex/contrib/acmart/README
index 67302fa174..8d0b3f9c28 100644
--- a/macros/latex/contrib/acmart/README
+++ b/macros/latex/contrib/acmart/README
@@ -277,4 +277,7 @@ Version 1.73 Bug fixes
for affiliations
Version 1.74 Bug fixes. A regression introduced in the font changes
- is reverted. \ No newline at end of file
+ is reverted.
+
+Version 1.75. \country is now obligatory for addresses.
+ Added \AtBeginMaketitle
diff --git a/macros/latex/contrib/acmart/acmart.dtx b/macros/latex/contrib/acmart/acmart.dtx
index a901526f72..f895373409 100644
--- a/macros/latex/contrib/acmart/acmart.dtx
+++ b/macros/latex/contrib/acmart/acmart.dtx
@@ -104,6 +104,7 @@
% Andrew Black,
% Joachim Breitner,
% Benjamin Byholm,
+% John Collins,
% Nils Anders Danielsson,
% Michael Ekstrand,
% Matthew Fluet,
@@ -635,8 +636,9 @@
% automatically.
%
% The fields \cs{institution}, \cs{city} and \cs{country} are
-% mandatory. If they are not provided, the warning is issued. In the
-% future ACM might decide to change the warning to the error.
+% mandatory. If they are not provided, an error or a warning is
+% issued. Currently the absence of \cs{country} produces and error;
+% ACM may change this in the future.
%
%
% An example of the author block:
@@ -1686,7 +1688,7 @@
% You should not load |amssymb| package since the package |acmart|
% defines the corresponding symbols itself.
%
-%\subsection{A note for wizards: \texttt{acmart-preload-hook.tex}}
+%\subsection{Notes for wizards}
%\label{sec:ug_preload}
%
% Sometimes you need to change the behavior of |acmart|. The
@@ -1728,6 +1730,13 @@
% \emph{do not ask for support.} If you decide to use this hook, you
% are on your own.
%
+% \DescribeMacro{\AtBeginMaketitle}%
+% Another hook is \cs{AtBeginMaketitle}. The commands in this hook
+% are executed before \cs{maketitle}, for example,
+% \begin{verbatim}
+% \AtBeginMaketitle{\acmPrice{125.00}}
+% \end{verbatim}
+%
%
%\subsection{Currently supported publications}
%\label{sec:pubs}
@@ -1886,7 +1895,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2020/10/25 v1.74 Typesetting articles for the Association for Computing Machinery]
+[2020/11/15 v1.75 Typesetting articles for the Association for Computing Machinery]
% \end{macrocode}
%
% \changes{v1.00}{2016/04/14}{First released version}
@@ -1990,7 +1999,9 @@
% \changes{1.71}{2020/05/01}{Retired sigchi and sigchi-a}
% \changes{1.71}{2020/05/02}{Bibliography change: volume for
% @inproceedings is now in brackets together with series}
-% \changes{1.71}{2020/05/02}{LuaTeX now uses the OTF versions of fonts}
+% \changes{1.71}{2020/05/02}{LuaTeX now uses the OTF versions of
+% fonts}
+% \changes{1.75}{2020/10/29}{Documentation update}
%
% And the driver code:
% \begin{macrocode}
@@ -5130,8 +5141,34 @@
%
% \end{macro}
%
+%
+%\subsection{Maketitle hook}
+%\label{sec:hook}
+%
+% The current \LaTeX\ provides a nice |lthooks| mechanism. However,
+% since it is relatively new, we will use oldfashioned approach---at
+% least for now.
+%
+% \begin{macro}{\@beginmaketitlehook}
+% \changes{v1.75}{2020/11/15}{Introduced macro}
+% The hook
+% \begin{macrocode}
+\ifx\@beginmaketitlehook\@undefined
+ \let\@beginmaketitlehook\@empty
+\fi
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\AtBeginMaketitle}
+% \changes{v1.75}{2020/11/15}{Introduced macro}
+% Adding to the hook
+% \begin{macrocode}
+\def\AtBeginMaketitle{\g@addto@macro\@beginmaketitlehook}
+% \end{macrocode}
+% \end{macro}
+%
% \subsection{Typesetting top matter}
-% \label{sec:makefile}
+% \label{sec:maketitle}
%
% \begin{macro}{\mktitle@bx}
% Some of our formats use a two-column design. Some use a one-column
@@ -5178,6 +5215,7 @@
% (Scott Pakin)}
% \changes{v1.73}{2020/09/07}{Do not check again the presense of
% address fields}
+% \changes{v1.75}{2020/11/15}{Added \cs{@beginmaketitlehook}}
% The (in)famous \cs{maketitle}. Note that in |sigchi-a| mode, authors
% are \emph{not} in the title box.
%
@@ -5186,7 +5224,7 @@
% and therefore belong to the copyright/permission block. By the
% way, this was the default behavior of the old ACM classes.
% \begin{macrocode}
-\def\maketitle{%
+\def\maketitle{\@beginmaketitlehook
\@ACM@maketitle@typesettrue
\if@ACM@anonymous
% Anonymize omission of \author-s
@@ -5837,6 +5875,7 @@
%
% \begin{macro}{\@ACM@checkaffil}
% \changes{v1.73}{2020/09/07}{Added macro}
+% \changes{v1.75}{2020/11/15}{Changed warning to error for country}
% Check affiliation flags
% \begin{macrocode}
\def\@ACM@checkaffil{%
@@ -5847,7 +5886,8 @@
\ClassWarningNoLine{\@classname}{No city present for an affiliation}%
\fi
\if@ACM@countrypresent\else
- \ClassWarningNoLine{\@classname}{No country present for an affiliation}%
+ \ClassError{\@classname}{No country present for an affiliation}{ACM
+ requires each author to indicate their country using country macro.}%
\fi
}
% \end{macrocode}
diff --git a/macros/latex/contrib/acmart/acmart.pdf b/macros/latex/contrib/acmart/acmart.pdf
index 97af4bc0b9..8c026173ab 100644
--- a/macros/latex/contrib/acmart/acmart.pdf
+++ b/macros/latex/contrib/acmart/acmart.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/acmguide.pdf b/macros/latex/contrib/acmart/acmguide.pdf
index 974e50ecb0..c298d7f1f8 100644
--- a/macros/latex/contrib/acmart/acmguide.pdf
+++ b/macros/latex/contrib/acmart/acmguide.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf
index 6da30912f5..e8643fa668 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf
index 2e3826f380..4ce5a1ee2f 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf
index 380e3c4054..b972760d2b 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf
index 3b982c2b9c..489df51096 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf
index eb5aa9d0e3..fea344a4f6 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf
index 39ddfcb499..c066231c03 100644
--- a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf
index 67ab63ed06..3d93e76394 100644
--- a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf
index e2349dd0aa..7568fd5412 100644
--- a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf
index 3114e63ddc..cdd63d36ee 100644
--- a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf
index 2d4b6a5a54..49bd68a9fd 100644
--- a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf
index a6840bf543..2e56644b58 100644
--- a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf
Binary files differ