From 0fbc8b32f22c55110abdf479a4995336581bc43a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 16 Nov 2020 22:13:41 +0000 Subject: acmart (16nov20) git-svn-id: svn://tug.org/texlive/trunk@56946 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/acmart/README | 5 +- Master/texmf-dist/doc/latex/acmart/acmart.pdf | Bin 857825 -> 831482 bytes Master/texmf-dist/doc/latex/acmart/acmguide.pdf | Bin 414633 -> 411951 bytes .../doc/latex/acmart/samples/sample-acmlarge.pdf | Bin 587177 -> 587131 bytes .../latex/acmart/samples/sample-acmsmall-conf.pdf | Bin 1031530 -> 1031481 bytes .../acmart/samples/sample-acmsmall-submission.pdf | Bin 599461 -> 599414 bytes .../doc/latex/acmart/samples/sample-acmsmall.pdf | Bin 597030 -> 596981 bytes .../doc/latex/acmart/samples/sample-acmtog.pdf | Bin 544722 -> 544670 bytes .../latex/acmart/samples/sample-authordraft.pdf | Bin 1023661 -> 1023619 bytes .../doc/latex/acmart/samples/sample-lualatex.pdf | Bin 768503 -> 768503 bytes .../doc/latex/acmart/samples/sample-manuscript.pdf | Bin 599099 -> 599051 bytes .../doc/latex/acmart/samples/sample-sigconf.pdf | Bin 1019869 -> 1019815 bytes .../doc/latex/acmart/samples/sample-sigplan.pdf | Bin 1029005 -> 1028951 bytes .../doc/latex/acmart/samples/sample-xelatex.pdf | Bin 653288 -> 653283 bytes Master/texmf-dist/source/latex/acmart/acmart.dtx | 56 ++++++++++++++++++--- Master/texmf-dist/tex/latex/acmart/acmart.cls | 11 ++-- 16 files changed, 60 insertions(+), 12 deletions(-) diff --git a/Master/texmf-dist/doc/latex/acmart/README b/Master/texmf-dist/doc/latex/acmart/README index 67302fa1746..8d0b3f9c281 100644 --- a/Master/texmf-dist/doc/latex/acmart/README +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/acmart/acmart.pdf b/Master/texmf-dist/doc/latex/acmart/acmart.pdf index 97af4bc0b93..8c026173abf 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/acmart.pdf and b/Master/texmf-dist/doc/latex/acmart/acmart.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/acmguide.pdf b/Master/texmf-dist/doc/latex/acmart/acmguide.pdf index 974e50ecb06..c298d7f1f86 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/acmguide.pdf and b/Master/texmf-dist/doc/latex/acmart/acmguide.pdf 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 6da30912f56..e8643fa668e 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf index 2e3826f3806..4ce5a1ee2f0 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.pdf index 380e3c4054e..b972760d2bc 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.pdf 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 3b982c2b9cb..489df51096e 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf 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 eb5aa9d0e35..fea344a4f61 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf index 39ddfcb499e..c066231c032 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.pdf index 67ab63ed06a..3d93e76394c 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.pdf 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 e2349dd0aab..7568fd5412f 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf 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 3114e63ddc9..cdd63d36eea 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf 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 2d4b6a5a54c..49bd68a9fdb 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf index a6840bf543e..2e56644b582 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf and b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf differ diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index a901526f721..f8953734092 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/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} % %\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/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls index 88ec017e85f..113513059a5 100644 --- a/Master/texmf-dist/tex/latex/acmart/acmart.cls +++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls @@ -37,7 +37,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \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] \def\@classname{acmart} \InputIfFileExists{acmart-preload-hook.tex}{% \ClassWarning{\@classname}{% @@ -1778,8 +1778,12 @@ \else \g@addto@macro\thankses{\thanks{#1}}% \fi}} +\ifx\@beginmaketitlehook\@undefined + \let\@beginmaketitlehook\@empty +\fi +\def\AtBeginMaketitle{\g@addto@macro\@beginmaketitlehook} \newbox\mktitle@bx -\def\maketitle{% +\def\maketitle{\@beginmaketitlehook \@ACM@maketitle@typesettrue \if@ACM@anonymous % Anonymize omission of \author-s @@ -2209,7 +2213,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 } \def\@mkauthors@i{% -- cgit v1.2.3