From 58aa1ac09b1d9e4769d0a0661cf12e2b2db41b14 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 22 May 2021 03:00:53 +0000 Subject: CTAN sync 202105220300 --- macros/latex/contrib/acmart/README | 8 ++- macros/latex/contrib/acmart/acmart.dtx | 71 +++++++++++++++++++-- macros/latex/contrib/acmart/acmart.pdf | Bin 838066 -> 842246 bytes macros/latex/contrib/acmart/acmguide.pdf | Bin 413166 -> 414201 bytes .../contrib/acmart/samples/sample-acmlarge.pdf | Bin 586356 -> 586372 bytes .../acmart/samples/sample-acmsmall-conf.pdf | Bin 1030676 -> 1030499 bytes .../acmart/samples/sample-acmsmall-submission.pdf | Bin 598701 -> 598702 bytes .../contrib/acmart/samples/sample-acmsmall.pdf | Bin 596222 -> 596225 bytes .../latex/contrib/acmart/samples/sample-acmtog.pdf | Bin 543920 -> 543905 bytes .../contrib/acmart/samples/sample-authordraft.pdf | Bin 1022847 -> 1022861 bytes .../contrib/acmart/samples/sample-lualatex.pdf | Bin 768548 -> 768566 bytes .../contrib/acmart/samples/sample-manuscript.pdf | Bin 598262 -> 598279 bytes .../contrib/acmart/samples/sample-sigconf.pdf | Bin 1019039 -> 1019048 bytes .../contrib/acmart/samples/sample-sigplan.pdf | Bin 1028132 -> 1028143 bytes .../contrib/acmart/samples/sample-xelatex.pdf | Bin 653950 -> 653971 bytes macros/latex/contrib/acmart/samples/samples.dtx | 15 +++++ 16 files changed, 87 insertions(+), 7 deletions(-) (limited to 'macros/latex/contrib/acmart') diff --git a/macros/latex/contrib/acmart/README b/macros/latex/contrib/acmart/README index 9b623902ff..40cbff3a83 100644 --- a/macros/latex/contrib/acmart/README +++ b/macros/latex/contrib/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/macros/latex/contrib/acmart/acmart.dtx b/macros/latex/contrib/acmart/acmart.dtx index c0e62e554c..d113dd5043 100644 --- a/macros/latex/contrib/acmart/acmart.dtx +++ b/macros/latex/contrib/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/macros/latex/contrib/acmart/acmart.pdf b/macros/latex/contrib/acmart/acmart.pdf index c6d2536d6a..263327bbc5 100644 Binary files a/macros/latex/contrib/acmart/acmart.pdf and b/macros/latex/contrib/acmart/acmart.pdf differ diff --git a/macros/latex/contrib/acmart/acmguide.pdf b/macros/latex/contrib/acmart/acmguide.pdf index b78e8dc8b5..88691decd5 100644 Binary files a/macros/latex/contrib/acmart/acmguide.pdf and b/macros/latex/contrib/acmart/acmguide.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf index d82e7482eb..97525d134e 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf and b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf index 113cc1abbd..d92aacd297 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf and b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf index 1906e776a7..76848b87b3 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf and b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf index 27aae47e2d..a7310de528 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf and b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf index 91359df33c..c192a9190f 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf and b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf index c2c9075ba6..f53ec3d520 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf and b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf index 0b4fbd4d3d..2f5d4eb0e8 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf and b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf index effe8aa896..d2dc2faf4e 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf and b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf index 5a9c0f6cf8..43c162e86c 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf and b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf index 2237485dcc..81112ed95d 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf and b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf index 74fcfe089f..928edaf286 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf and b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf differ diff --git a/macros/latex/contrib/acmart/samples/samples.dtx b/macros/latex/contrib/acmart/samples/samples.dtx index d826fd4e4a..1599f8670e 100644 --- a/macros/latex/contrib/acmart/samples/samples.dtx +++ b/macros/latex/contrib/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} -- cgit v1.2.3