summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/acmart
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-12-31 03:03:08 +0000
committerNorbert Preining <norbert@preining.info>2023-12-31 03:03:08 +0000
commit5acd803fa16526d48d5c8e990dc509df22d856b7 (patch)
treec3ed1afd62a406b906debf826d6f4648e3317e76 /macros/latex/contrib/acmart
parentfb8f0178a957d045f6b876e11ab2beb02d1ac08a (diff)
CTAN sync 202312310303
Diffstat (limited to 'macros/latex/contrib/acmart')
-rw-r--r--macros/latex/contrib/acmart/README4
-rw-r--r--macros/latex/contrib/acmart/acmart-changes.tex117
-rw-r--r--macros/latex/contrib/acmart/acmart-data.md114
-rw-r--r--macros/latex/contrib/acmart/acmart-ori.tex40
-rw-r--r--macros/latex/contrib/acmart/acmart.dtx9
-rw-r--r--macros/latex/contrib/acmart/acmart.pdfbin905160 -> 941096 bytes
-rw-r--r--macros/latex/contrib/acmart/acmguide.pdfbin433431 -> 438260 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmcp.pdfbin215120 -> 215120 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmengage.pdfbin395887 -> 400687 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmlarge.pdfbin607035 -> 611834 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdfbin629654 -> 634465 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdfbin1051033 -> 1055841 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdfbin619465 -> 624275 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall.pdfbin616959 -> 621763 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmtog.pdfbin564521 -> 569338 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-authordraft.pdfbin1044077 -> 1048884 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-lualatex.pdfbin783335 -> 788111 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-manuscript.pdfbin619322 -> 624132 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdfbin616653 -> 621461 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdfbin1055579 -> 1060387 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigconf.pdfbin1040300 -> 1045103 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigplan.pdfbin1048761 -> 1053568 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-xelatex.pdfbin659280 -> 659287 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/samples.dtx2
24 files changed, 282 insertions, 4 deletions
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}
%</gobble>
%<class>\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
--- 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 b3d7e385b0..e721714333 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-acmcp.pdf b/macros/latex/contrib/acmart/samples/sample-acmcp.pdf
index 655f9179a4..9ad5e4d25a 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmcp.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmcp.pdf
Binary files 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
--- a/macros/latex/contrib/acmart/samples/sample-acmengage.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmengage.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 7520d0f5fe..b696cd8a5a 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-biblatex.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf
index c6db217566..10d530f2a9 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.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 032fa512e0..9464e1934d 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 a76c447705..66f8d534f9 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 a794f82dd2..5ea73019c6 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 a46ef43225..0498ab6f6d 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 6947dbf64d..ab45490859 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 19fe246de3..753ef18486 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 32543cc1db..152285569b 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-biblatex.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf
index 90a3155de7..d065c3d548 100644
--- a/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf
Binary files 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
--- a/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.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 1cf2c92ff4..c187371caa 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 1a745c54fc..51948655a3 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 27fa5857dc..b2542da59e 100644
--- a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf
Binary files 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}