From 5acd803fa16526d48d5c8e990dc509df22d856b7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 31 Dec 2023 03:03:08 +0000 Subject: CTAN sync 202312310303 --- macros/latex/contrib/acmart/README | 4 +- macros/latex/contrib/acmart/acmart-changes.tex | 117 +++++++++++++++++++++ macros/latex/contrib/acmart/acmart-data.md | 114 ++++++++++++++++++++ macros/latex/contrib/acmart/acmart-ori.tex | 40 +++++++ macros/latex/contrib/acmart/acmart.dtx | 9 +- macros/latex/contrib/acmart/acmart.pdf | Bin 905160 -> 941096 bytes macros/latex/contrib/acmart/acmguide.pdf | Bin 433431 -> 438260 bytes .../latex/contrib/acmart/samples/sample-acmcp.pdf | Bin 215120 -> 215120 bytes .../contrib/acmart/samples/sample-acmengage.pdf | Bin 395887 -> 400687 bytes .../contrib/acmart/samples/sample-acmlarge.pdf | Bin 607035 -> 611834 bytes .../acmart/samples/sample-acmsmall-biblatex.pdf | Bin 629654 -> 634465 bytes .../acmart/samples/sample-acmsmall-conf.pdf | Bin 1051033 -> 1055841 bytes .../acmart/samples/sample-acmsmall-submission.pdf | Bin 619465 -> 624275 bytes .../contrib/acmart/samples/sample-acmsmall.pdf | Bin 616959 -> 621763 bytes .../latex/contrib/acmart/samples/sample-acmtog.pdf | Bin 564521 -> 569338 bytes .../contrib/acmart/samples/sample-authordraft.pdf | Bin 1044077 -> 1048884 bytes .../contrib/acmart/samples/sample-lualatex.pdf | Bin 783335 -> 788111 bytes .../contrib/acmart/samples/sample-manuscript.pdf | Bin 619322 -> 624132 bytes .../acmart/samples/sample-sigconf-biblatex.pdf | Bin 616653 -> 621461 bytes .../contrib/acmart/samples/sample-sigconf-i13n.pdf | Bin 1055579 -> 1060387 bytes .../contrib/acmart/samples/sample-sigconf.pdf | Bin 1040300 -> 1045103 bytes .../contrib/acmart/samples/sample-sigplan.pdf | Bin 1048761 -> 1053568 bytes .../contrib/acmart/samples/sample-xelatex.pdf | Bin 659280 -> 659287 bytes macros/latex/contrib/acmart/samples/samples.dtx | 2 +- 24 files changed, 282 insertions(+), 4 deletions(-) create mode 100644 macros/latex/contrib/acmart/acmart-changes.tex create mode 100644 macros/latex/contrib/acmart/acmart-data.md create mode 100644 macros/latex/contrib/acmart/acmart-ori.tex (limited to 'macros/latex/contrib/acmart') diff --git a/macros/latex/contrib/acmart/README b/macros/latex/contrib/acmart/README index c354989831..e6e3e8cbca 100644 --- a/macros/latex/contrib/acmart/README +++ b/macros/latex/contrib/acmart/README @@ -12,10 +12,12 @@ The production version is the one on CTAN and ACM sites. Changes +Version 2.01 \acmPrice now produces a warning. + Version 2.00 ACM switches to electronic only version. We do not print article tabs anymore. New copyright wording. - Deleted acmPrice. + Deleted \acmPrice. Version 1.93 Added PACMSE diff --git a/macros/latex/contrib/acmart/acmart-changes.tex b/macros/latex/contrib/acmart/acmart-changes.tex new file mode 100644 index 0000000000..4531b79533 --- /dev/null +++ b/macros/latex/contrib/acmart/acmart-changes.tex @@ -0,0 +1,117 @@ +% !Mode:: "TeX:UTF-8:Main" +% !Mode:: "TeX:UTF-8:Main" +\DocumentMetadata{testphase={phase-III,firstaid}} + +% # store and restore section command: +\makeatletter +\let\ori@startsection\@startsection +\let\ori@xsect\@xsect +\let\ori@sect\@sect +\let\ori@ssect\@ssect +\documentclass[]{acmart} +\let\@startsection\ori@startsection %acmart definition is like kernel, so tagging version should be ok +\let\@xsect\ori@xsect %acmart definition is like kernel, so tagging version should be ok +% everyone patches \@sect and @ssect, here we should change the internal nameref version ;-( +\let\NR@ssect\ori@ssect %acmart definition is like kernel, so tagging version should be ok +\let\NR@sect\ori@sect %TODO: must be checked! acmart definition is slightly different. + + +% part is level 9??? It must be checked if this confuse the new tagging code. +\renewcommand\part{\@startsection{part}{9}{\z@}% + {-10\p@ \@plus -4\p@ \@minus -2\p@}% + {4\p@}% + {\ACM@NRadjust\@parfont}} +\def\toclevel@part{9} %??? + +% # tableofcontents. Insert hooks into \tocline (I hope arguments + placement are correct) +\def\@tocline#1#2#3#4#5#6#7{\relax + \ifnum #1>\c@tocdepth % then omit + \else + \par \addpenalty\@secpenalty\addvspace{#2}% + \begingroup \hyphenpenalty\@M + \@ifempty{#4}{% + \@tempdima\csname r@tocindent\number#1\endcsname\relax + }{% + \@tempdima#4\relax + }% + \parindent\z@ \leftskip#3\relax \advance\leftskip\@tempdima\relax + \rightskip\@pnumwidth plus4em \parfillskip-\@pnumwidth + #5\leavevmode\hskip-\@tempdima + \UseHookWithArguments{contentsline/text/before}{4}{#1}{#6}{#7}{\@contentsline@destination}%NEW + #6% + \UseHookWithArguments{contentsline/text/after}{4}{#1}{#6}{#7}{\@contentsline@destination}%NEW + \nobreak\relax + \hfil\hbox to\@pnumwidth{% + \UseHookWithArguments{contentsline/page/before}{4}{#1}{#6}{#7}{\@contentsline@destination}%NEW + \@tocpagenum{#7} + \UseHookWithArguments{contentsline/page/after}{4}{#1}{#6}{#7}{\@contentsline@destination}%NEW + }\par + \nobreak + \endgroup + \fi} +% add config points to starttoc +% TODO: extend kernel version so that acmart no longer has to redefine it. +\def\@starttoc#1#2{\begingroup\makeatletter + \setTrue{#1}% + \par\removelastskip\vskip\z@skip + \@startsection{section}\@M\z@{\linespacing\@plus\linespacing}% + {.5\linespacing}{\centering\contentsnamefont}{#2}% + \@starttoc@cfgpoint@before{#1}%NEW<<<<<<<<<< (name will change) + \@input{\jobname.#1}% + \@starttoc@cfgpoint@after{#1}%NEW<<<<<<<<<<<< (name will change) + \if@filesw + \@xp\newwrite\csname tf@#1\endcsname + \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax + \fi + \global\@nobreakfalse \endgroup + \addvspace{32\p@\@plus14\p@}% +} + + + +% # maketitle is much too complex, so we stop all tagging for now +\ExplSyntaxOn +\AddToHook{cmd/maketitle/before} + {\tagstructbegin{tag=Title}\tagmcbegin{} \tag_stop:} +\AddToHook{cmd/maketitle/after} + {\tag_start:\tagmcend\tagstructend } +\ExplSyntaxOff + +% # TODO +% \endminipage must be restored (acmart wants to remove the footnoterule.) +% \@footnotetext is changed, but no in all variants + +\title{title} + +\usepackage{blindtext} + +\begin{document} + +\maketitle + +\tableofcontents + +\section{section} +\subsection{sub} +\subsubsection{subsub} + +\paragraph{paragraph} some text\footnote{xxxx} + +\subsection{sub} +\subsubsection{subsub} + +\paragraph{paragraph} some text + +\begin{figure} +a figure +\caption{test caption figure} +\end{figure} + +\begin{table} +a table +\caption{test caption table} +\end{table} + +\blinddocument + +\end{document} diff --git a/macros/latex/contrib/acmart/acmart-data.md b/macros/latex/contrib/acmart/acmart-data.md new file mode 100644 index 0000000000..7e7a5437c9 --- /dev/null +++ b/macros/latex/contrib/acmart/acmart-data.md @@ -0,0 +1,114 @@ +## acmart.cls + +* class to typeset articles for the Association + for Computing Machinery +* around 3500 lines of code +* bases on amsart.cls +* support various journal styles + +## Packages + +* xkeyval: probably harmless +* xstring: probably harmless +* iftex: probably harmless +* amsart.cls: ** must be checked** +* amsmath: good +* microtype: can be problematic, if needed disable patches +* etoolbox: probably harmless +* booktabs: table tagging is uncomplete anyway +* refcount: probably harmless +* ltxcmds: probably harmless +* infwarerr: probably harmless +* totpages: **?, should be checked** +* everyshi: harmless (now wrapper to kernel hook) +* environ: **probably harmless, but use should be checked** +* trimspaces: probably harmless +* setspace: probably harmless +* textcase: harmless but unneeded in current latex +* natbib: handled in latex-lab-bib +* hyperxmp: **incompatible, but doesn't harm as it is ignored. It must be checked if XMP-data are missing** +* kvoptions +* various internal hyperref packages: hopefully all harmless +* hyperref: explicitly handled by the latex-lab code +* nameref: explicitly handled by the latex-lab code +* graphicx: handled by the latex-lab code +* (x)color: probably harmless +* geometry: probably harmless +* manyfoot: **must be checked, could affect footnote tagging** +* nccfoots: **must be checked, could affect footnote tagging** +* font packages: probably harmless (but math packages can affect later math tagging) +* caption: **must be checked as latex-lab-floats redefines caption commands.** +* float: **must be checked as latex-lab-floats redefines floats. Handling of H is unclear.** +* comment: probably harmless +* fancyhdr: **should work, but if must be checked if there is meaningful content in the header/footer as by default there are artifact**. +* upquote: probably harmless + +Some packages are only loaded sometimes, e.g. + +* framed: probably problematic + + +With lualatex result is similar, but probably unicode-math should be loaded. + +## Redefinitions of main LaTeX commands + +### sectioning + +* `\@startsection`: acmart definition is like kernel definition. Using new tagging definition should be fine. +* `\@sect`: acmart definition slightly different. Reason must be checked. +* `\@xsect`: acmart definition is like kernel definition. Using new tagging definition should be fine. +* `\@seccntformat`: not changed by tagging code, so probably fine +* `\@ssect`: acmart definition is like kernel definition. Using new tagging definition should be fine. +* `\section` etc defined with `\@startsection`: OK +* `\part` defined as level 9 command?? Does the tagging code handles that or gets it confused?? + +### toc + +* `\@starttoc`: must be adjusted to the tagging code +* `\l@section`, `\l@subsection`, `\l@subsubsection`: they use `\@tocline` (amsart), so that must be changed similar to `\@dottedtocline` + + +### footnotes + +It must be checked if this harms! + +* `\@makefntext` +* `\@footnotetext` (sometimes) +* `\@mpfootnotetext` +* `\@makefnmark` +* `\footnoterule` + +### floats + +Must be checked. + +* `\@dblfloat`, `\end@dblfloat` sometimes + +### lists + +* `\@listI` etc +* description + + +### title + +lots of complicated box combinations + +* `\author` +* `\maketitle` +* `abstract` + +### other + + +* `\endminipage`: will probably break minipage tagging. +* `\theindex` + + +## New commands and environments + +All their tagging must be checked!! + +* +* +* diff --git a/macros/latex/contrib/acmart/acmart-ori.tex b/macros/latex/contrib/acmart/acmart-ori.tex new file mode 100644 index 0000000000..aeecb28701 --- /dev/null +++ b/macros/latex/contrib/acmart/acmart-ori.tex @@ -0,0 +1,40 @@ +% !Mode:: "TeX:UTF-8:Main" +% !Mode:: "TeX:UTF-8:Main" +\DocumentMetadata{testphase={phase-III,firstaid},pdfversion=2.0} + +\documentclass[]{acmart} + +\title{title} + +\usepackage{blindtext} + +\begin{document} + +\maketitle + +\tableofcontents + +\section{section} +\subsection{sub} +\subsubsection{subsub} + +\paragraph{paragraph} some text\footnote{xxxx} + +\subsection{sub} +\subsubsection{subsub} + +\paragraph{paragraph} some text + +\begin{figure} +a figure +\caption{test caption figure} +\end{figure} + +\begin{table} +a table +\caption{test caption table} +\end{table} + +\blinddocument + +\end{document} diff --git a/macros/latex/contrib/acmart/acmart.dtx b/macros/latex/contrib/acmart/acmart.dtx index b2f1d411b6..d20064d6b7 100644 --- a/macros/latex/contrib/acmart/acmart.dtx +++ b/macros/latex/contrib/acmart/acmart.dtx @@ -2266,7 +2266,7 @@ \ProvidesFile{acmart.dtx} % %\ProvidesClass{acmart} -[2023/11/05 v2.00 Typesetting articles for the Association for Computing Machinery] +[2023/12/29 v2.01 Typesetting articles for the Association for Computing Machinery] % \end{macrocode} % % \changes{v1.00}{2016/04/14}{First released version} @@ -5209,7 +5209,12 @@ % % \begin{macro}{\acmPrice} % \changes{v2.00}{2023/10/22}{Deleted macro} -% The price---obsolete +% \changes{v2.01}{2023/12/29}{Now the macro produces a warning} +% The price---obsolete +% \begin{macrocode} +\def\acmPrice#1{\ClassWarning{\@classname}{The macro \string\acmPrice + is obsolete. ACM no longer prints the price in bibstrip.}} +% \end{macrocode} % \end{macro} % % diff --git a/macros/latex/contrib/acmart/acmart.pdf b/macros/latex/contrib/acmart/acmart.pdf index c913a47d4c..883a93e433 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 b3d7e385b0..e721714333 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-acmcp.pdf b/macros/latex/contrib/acmart/samples/sample-acmcp.pdf index 655f9179a4..9ad5e4d25a 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmcp.pdf and b/macros/latex/contrib/acmart/samples/sample-acmcp.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmengage.pdf b/macros/latex/contrib/acmart/samples/sample-acmengage.pdf index 085b9cfad7..4ab1f05a07 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmengage.pdf and b/macros/latex/contrib/acmart/samples/sample-acmengage.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf index 7520d0f5fe..b696cd8a5a 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-biblatex.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf index c6db217566..10d530f2a9 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf and b/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.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 032fa512e0..9464e1934d 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 a76c447705..66f8d534f9 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 a794f82dd2..5ea73019c6 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 a46ef43225..0498ab6f6d 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 6947dbf64d..ab45490859 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 19fe246de3..753ef18486 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 32543cc1db..152285569b 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-biblatex.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf index 90a3155de7..d065c3d548 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf and b/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf index 8b336f003d..69cb91907d 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf and b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf index 1cf2c92ff4..c187371caa 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 1a745c54fc..51948655a3 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 27fa5857dc..b2542da59e 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 d970b49ffb..e0c5f30216 100644 --- a/macros/latex/contrib/acmart/samples/samples.dtx +++ b/macros/latex/contrib/acmart/samples/samples.dtx @@ -443,7 +443,7 @@ use the {\verb|acmsmall|} template style: The majority of conference proceedings documentation will use the {\verb|acmconf|} template style. \begin{itemize} -\item {\texttt{acmconf}}: The default proceedings template style. +\item {\texttt{sigconf}}: The default proceedings template style. \item{\texttt{sigchi}}: Used for SIGCHI conference articles. \item{\texttt{sigplan}}: Used for SIGPLAN conference articles. \end{itemize} -- cgit v1.2.3