From 4d4f0a9205003d04a50aae36ed27b6277f29cf5c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 21 May 2021 21:05:28 +0000 Subject: acmart (21may21) git-svn-id: svn://tug.org/texlive/trunk@59294 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/acmart/README | 8 ++- Master/texmf-dist/doc/latex/acmart/acmart.pdf | Bin 838066 -> 842246 bytes Master/texmf-dist/doc/latex/acmart/acmguide.pdf | Bin 413166 -> 414201 bytes .../doc/latex/acmart/samples/sample-acmlarge.pdf | Bin 586356 -> 586372 bytes .../doc/latex/acmart/samples/sample-acmlarge.tex | 13 ++++ .../latex/acmart/samples/sample-acmsmall-conf.pdf | Bin 1030676 -> 1030499 bytes .../latex/acmart/samples/sample-acmsmall-conf.tex | 13 ++++ .../acmart/samples/sample-acmsmall-submission.pdf | Bin 598701 -> 598702 bytes .../acmart/samples/sample-acmsmall-submission.tex | 13 ++++ .../doc/latex/acmart/samples/sample-acmsmall.pdf | Bin 596222 -> 596225 bytes .../doc/latex/acmart/samples/sample-acmsmall.tex | 13 ++++ .../doc/latex/acmart/samples/sample-acmtog.pdf | Bin 543920 -> 543905 bytes .../doc/latex/acmart/samples/sample-acmtog.tex | 13 ++++ .../latex/acmart/samples/sample-authordraft.pdf | Bin 1022847 -> 1022861 bytes .../latex/acmart/samples/sample-authordraft.tex | 13 ++++ .../doc/latex/acmart/samples/sample-lualatex.pdf | Bin 768548 -> 768566 bytes .../doc/latex/acmart/samples/sample-lualatex.tex | 13 ++++ .../doc/latex/acmart/samples/sample-manuscript.pdf | Bin 598262 -> 598279 bytes .../doc/latex/acmart/samples/sample-manuscript.tex | 13 ++++ .../doc/latex/acmart/samples/sample-sigconf.pdf | Bin 1019039 -> 1019048 bytes .../doc/latex/acmart/samples/sample-sigconf.tex | 13 ++++ .../doc/latex/acmart/samples/sample-sigplan.pdf | Bin 1028132 -> 1028143 bytes .../doc/latex/acmart/samples/sample-sigplan.tex | 13 ++++ .../doc/latex/acmart/samples/sample-xelatex.pdf | Bin 653950 -> 653971 bytes .../doc/latex/acmart/samples/sample-xelatex.tex | 13 ++++ .../doc/latex/acmart/samples/samples.dtx | 15 +++++ Master/texmf-dist/source/latex/acmart/acmart.dtx | 71 +++++++++++++++++++-- Master/texmf-dist/tex/latex/acmart/acmart.cls | 31 +++++++-- 28 files changed, 255 insertions(+), 13 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/acmart/README b/Master/texmf-dist/doc/latex/acmart/README index 9b623902ffb..40cbff3a83b 100644 --- a/Master/texmf-dist/doc/latex/acmart/README +++ b/Master/texmf-dist/doc/latex/acmart/README @@ -286,4 +286,10 @@ Version 1.76. Added many journal abbreviations to the bst. New experimental option: pbalance ORCID linking code -Version 1.77. Changed the way to typset multiple affiliations (Christoph Sommer) \ No newline at end of file +Version 1.77. Changed the way to typeset multiple affiliations (Christoph Sommer) + +Version 1.78. Documentation update. + Magic texcount comments for samples. + Title page now is split if there are too many authors + Bug fixes. + \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/acmart/acmart.pdf b/Master/texmf-dist/doc/latex/acmart/acmart.pdf index c6d2536d6a1..263327bbc50 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 b78e8dc8b56..88691decd5b 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 d82e7482eb3..97525d134ea 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-acmlarge.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex index cd4810c935c..9ea03cc2962 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[acmlarge]{acmart} 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 113cc1abbdb..d92aacd2977 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-conf.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex index f481a9cec5c..c0d1fd87a3a 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[acmsmall]{acmart} 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 1906e776a7d..76848b87b39 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-submission.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.tex index d329b8d9be4..9d2c2af59c4 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-submission.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[acmsmall,screen,review]{acmart} 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 27aae47e2d6..a7310de5282 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-acmsmall.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex index c4b51ca5409..2b50d8f0fbe 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[acmsmall]{acmart} 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 91359df33c0..c192a9190fe 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-acmtog.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex index 6a78c285e7f..125b599b081 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[acmtog]{acmart} 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 c2c9075ba6a..f53ec3d5206 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-authordraft.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex index 3aceb580e5f..c6b21d10b51 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[sigconf,authordraft]{acmart} 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 0b4fbd4d3d7..2f5d4eb0e8e 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-lualatex.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.tex index cf7b1f5d1d4..c9406a64a41 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-lualatex.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[sigconf]{acmart} 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 effe8aa8963..d2dc2faf4e3 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-manuscript.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex index 66245195fb3..15f09b91256 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[manuscript,screen,review]{acmart} 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 5a9c0f6cf8d..43c162e86c7 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-sigconf.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex index ee43c11d7ce..7538d250ffd 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[sigconf]{acmart} 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 2237485dcc4..81112ed95de 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-sigplan.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex index dbbbb4181db..3ae9b937fca 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[sigplan,screen]{acmart} 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 74fcfe089f9..928edaf2868 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/doc/latex/acmart/samples/sample-xelatex.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex index 3c7f22e05b7..327346ed092 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex @@ -21,6 +21,19 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% +%% +%% Commands for TeXCount +%TC:macro \cite [option:text,text] +%TC:macro \citep [option:text,text] +%TC:macro \citet [option:text,text] +%TC:envir table 0 1 +%TC:envir table* 0 1 +%TC:envir tabular [ignore] word +%TC:envir displaymath 0 word +%TC:envir math 0 word +%TC:envir comment 0 0 +%% +%% %% The first command in your LaTeX source must be the \documentclass command. \documentclass[sigconf]{acmart} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx b/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx index d826fd4e4a5..1599f8670ee 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx +++ b/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx @@ -1,4 +1,19 @@ %<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> +%% +%% +%% Commands for TeXCount +%<\documentclass[manuscript,screen,review]{acmart} diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index c0e62e554c9..d113dd50434 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx @@ -1679,6 +1679,36 @@ % uppercasing. % % +%\subsection{Counting words} +%\label{sec:ug_counting} +% +% Some ACM conferences use word count limits for papers. The +% calculation of word number for a paper with math, tables and figures +% is not a trivial task. Currently the authoritative word count is +% done by translating the PDF to text and using |wc -w| on the +% output. Authors can use the package |texcount| (used by Overleaf) +% to get an estimate of the word count. To faciliate this one adds to the +% beginning of the package metacomments +% \begin{verbatim} +% %TC:macro \cite [option:text,text] +% %TC:macro \citep [option:text,text] +% %TC:macro \citet [option:text,text] +% %TC:envir table 0 1 +% %TC:envir table* 0 1 +% %TC:envir tabular [ignore] word +% %TC:envir displaymath 0 word +% %TC:envir math 0 word +% %TC:envir comment 0 0 +% \end{verbatim} +% and uses |\begin{math}...\end{math}| instead of dollar signs for +% math. Note that the count is in any case approximate, and the final +% decision of editors is based on PDF count. +% +% The script |texcount| provides a report of word count in the +% document. +% +% +% % %\subsection{Disabled or forbidden commands} %\label{sec:ug_disabled} @@ -1907,7 +1937,7 @@ \ProvidesFile{acmart.dtx} % %\ProvidesClass{acmart} -[2021/04/16 v1.77 Typesetting articles for the Association for Computing Machinery] +[2021/05/01 v1.78 Typesetting articles for the Association for Computing Machinery] % \end{macrocode} % % \changes{v1.00}{2016/04/14}{First released version} @@ -2014,6 +2044,7 @@ % \changes{1.71}{2020/05/02}{LuaTeX now uses the OTF versions of % fonts} % \changes{1.75}{2020/10/29}{Documentation update} +% \changes{1.78}{2021/05/01}{Documentation update: Word count} % % And the driver code: % \begin{macrocode} @@ -4669,8 +4700,11 @@ % \begin{macrocode} \AtEndDocument{\if@ACM@nonacm\else\if@ACM@printacmref\else \ifnum\getrefnumber{TotPages}>1\relax - \ClassWarningNoLine{\@classname}{ACM reference format is mandatory - for papers over one page}% + \ClassWarningNoLine{\@classname}{% + ACM reference format is mandatory \MessageBreak + for papers over one page. \MessageBreak + Please add printacmref=true to the \MessageBreak + \string\settopmatter\space command.}% \fi\fi\fi} % \end{macrocode} % @@ -5417,9 +5451,12 @@ % its argument. Added a bugfix} % \changes{v1.68}{2020/01/19}{Deleted grouping altogether} % \changes{v1.69}{2020/02/02}{Changed dot to colon for sigplan} +% \changes{v1.78}{2021/05/02}{Again suppressed \cs{vspace} warning} % This macro starts sections for proceedings and uses \cs{small} for journals % \begin{macrocode} \def\@specialsection#1{% + \let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig \ifcase\ACM@format@nr \relax % manuscript \par\medskip\small\noindent#1: % @@ -5440,6 +5477,8 @@ \or % sigchi-a \section*{#1}% \fi + \let\@vspace\@vspace@acm + \let\@vspacer\@vspacer@acm } % \end{macrocode} % @@ -5449,9 +5488,14 @@ % \begin{macro}{\@printtopmatter} % \changes{v1.06}{2016/05/01}{Added processing badges} % \changes{v1.46}{2017/08/29}{Deleted rule} +% \changes{v1.78}{2021/05/16}{Added processing the overflowing title box} % The printing of top matter starts a new page and uses the given % title box. Note that for |sigchi-a| we print badges here rather % than in \cs{mktitle} since we want them in the margins. +% +% Note that if there are too many authors, |\mktitle@bx| might +% overflow the page. Therefore we start with checking this and if +% this happens, we split the box and print it page by page. % \begin{macrocode} \def\@printtopmatter{% \ifx\@startPage\@empty @@ -5459,6 +5503,18 @@ \else \setcounter{page}{\@startPage}% \fi + \@tempdima=\ht\mktitle@bx + \advance\@tempdima by \dp\mktitle@bx + \ifdim\@tempdima>0.9\textheight + \loop + \setbox\@tempboxa=\vsplit \mktitle@bx to 0.9\textheight + \thispagestyle{firstpagestyle}% + \noindent\unvbox\@tempboxa + \clearpage + \@tempdima=\ht\mktitle@bx + \advance\@tempdima by \dp\mktitle@bx + \ifdim\@tempdima>0.9\textheight\repeat + \fi \thispagestyle{firstpagestyle}% \noindent \ifcase\ACM@format@nr @@ -5954,6 +6010,7 @@ % \changes{v1.40}{2017/06/04}{Switched to MakeTextUppercase} % \changes{v1.73}{2020/09/07}{Check the presence of required elements % for affiliations} +% \changes{v1.78}{2021/05/16}{Unboxing \cs{mktitle@bx}} % This version is used in most journal formats. Note that \cs{and} between % authors with the same affiliation becomes \verb*| and |: % \begin{macrocode} @@ -5985,7 +6042,7 @@ \fi \fi \global\let\and\@typeset@author@line}% - \global\setbox\mktitle@bx=\vbox{\noindent\box\mktitle@bx\par\medskip + \global\setbox\mktitle@bx=\vbox{\noindent\unvbox\mktitle@bx\par\medskip \noindent\addresses\@typeset@author@line \par\medskip}% } @@ -6050,6 +6107,7 @@ % \changes{v1.36}{2017/05/12}{Added authorsperrow overrride} % \changes{v1.73}{2020/09/07}{Check the presence of required elements % for affiliations} +% \changes{v1.78}{2021/05/16}{Unboxing \cs{mktitle@bx}} % The |sigconf| version. Here we use a centered design with each % author in a separate box. % \begin{macrocode} @@ -6116,7 +6174,7 @@ % \begin{macrocode} \hsize=\textwidth \global\setbox\mktitle@bx=\vbox{\noindent - \box\mktitle@bx\par\medskip\leavevmode + \unvbox\mktitle@bx\par\medskip\leavevmode \lineskip=1pc\relax\centering\hspace*{-1em}% \addresses\let\and\@typeset@author@bx\and\par\bigskip}} % \end{macrocode} @@ -6261,12 +6319,13 @@ % \begin{macro}{\@mkteasers} % Typesetting the teasers % \changes{v1.56}{2018/11/1}{Added check for description} +% \changes{v1.78}{2021/05/16}{Unboxing \cs{mktitle@bx}} % \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 + \global\setbox\mktitle@bx=\vbox{\noindent\unvbox\mktitle@bx\par \noindent\@Description@presentfalse \@teaserfigures\par\if@Description@present\else \global\@undescribed@imagestrue diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls index 393d65ab071..f5b3f3a2769 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} -[2021/04/16 v1.77 Typesetting articles for the Association for Computing Machinery] +[2021/05/01 v1.78 Typesetting articles for the Association for Computing Machinery] \def\@classname{acmart} \InputIfFileExists{acmart-preload-hook.tex}{% \ClassWarning{\@classname}{% @@ -1484,8 +1484,11 @@ \fi}{\ClassError{\@classname}{The option printacmref can be either true or false}} \AtEndDocument{\if@ACM@nonacm\else\if@ACM@printacmref\else \ifnum\getrefnumber{TotPages}>1\relax - \ClassWarningNoLine{\@classname}{ACM reference format is mandatory - for papers over one page}% + \ClassWarningNoLine{\@classname}{% + ACM reference format is mandatory \MessageBreak + for papers over one page. \MessageBreak + Please add printacmref=true to the \MessageBreak + \string\settopmatter\space command.}% \fi\fi\fi} \define@boolkey+{@ACM@topmatter@}[@ACM@]{printfolios}[true]{% \if@ACM@printfolios @@ -1934,6 +1937,8 @@ \@afterheading } \def\@specialsection#1{% + \let\@vspace\@vspace@orig + \let\@vspacer\@vspacer@orig \ifcase\ACM@format@nr \relax % manuscript \par\medskip\small\noindent#1: % @@ -1954,6 +1959,8 @@ \or % sigchi-a \section*{#1}% \fi + \let\@vspace\@vspace@acm + \let\@vspacer\@vspacer@acm } \def\@printtopmatter{% \ifx\@startPage\@empty @@ -1961,6 +1968,18 @@ \else \setcounter{page}{\@startPage}% \fi + \@tempdima=\ht\mktitle@bx + \advance\@tempdima by \dp\mktitle@bx + \ifdim\@tempdima>0.9\textheight + \loop + \setbox\@tempboxa=\vsplit \mktitle@bx to 0.9\textheight + \thispagestyle{firstpagestyle}% + \noindent\unvbox\@tempboxa + \clearpage + \@tempdima=\ht\mktitle@bx + \advance\@tempdima by \dp\mktitle@bx + \ifdim\@tempdima>0.9\textheight\repeat + \fi \thispagestyle{firstpagestyle}% \noindent \ifcase\ACM@format@nr @@ -2263,7 +2282,7 @@ \fi \fi \global\let\and\@typeset@author@line}% - \global\setbox\mktitle@bx=\vbox{\noindent\box\mktitle@bx\par\medskip + \global\setbox\mktitle@bx=\vbox{\noindent\unvbox\mktitle@bx\par\medskip \noindent\addresses\@typeset@author@line \par\medskip}% } @@ -2329,7 +2348,7 @@ }% \hsize=\textwidth \global\setbox\mktitle@bx=\vbox{\noindent - \box\mktitle@bx\par\medskip\leavevmode + \unvbox\mktitle@bx\par\medskip\leavevmode \lineskip=1pc\relax\centering\hspace*{-1em}% \addresses\let\and\@typeset@author@bx\and\par\bigskip}} \def\@mkauthors@iv{% @@ -2407,7 +2426,7 @@ \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 + \global\setbox\mktitle@bx=\vbox{\noindent\unvbox\mktitle@bx\par \noindent\@Description@presentfalse \@teaserfigures\par\if@Description@present\else \global\@undescribed@imagestrue -- cgit v1.2.3