diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-23 03:00:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-23 03:00:53 +0000 |
commit | 208ecf90e1d5a239ff2a8cd506c077d194d348c0 (patch) | |
tree | e505248dddbb616aa6190340ab46f5f8b4b55803 /macros/latex/contrib/acmart | |
parent | 3bb554642b743cd7ca7aef2b3668604343bfe708 (diff) |
CTAN sync 202401230300
Diffstat (limited to 'macros/latex/contrib/acmart')
24 files changed, 19 insertions, 281 deletions
diff --git a/macros/latex/contrib/acmart/README b/macros/latex/contrib/acmart/README index e6e3e8cbca..422452e721 100644 --- a/macros/latex/contrib/acmart/README +++ b/macros/latex/contrib/acmart/README @@ -12,6 +12,10 @@ The production version is the one on CTAN and ACM sites. Changes +Version 2.02. Documentation update. + Changes in TOG templates + Corrected typo in ACM/IMS journals + Version 2.01 \acmPrice now produces a warning. Version 2.00 ACM switches to electronic only version. diff --git a/macros/latex/contrib/acmart/acm-jdslogo.png b/macros/latex/contrib/acmart/acm-jdslogo.png Binary files differdeleted file mode 100644 index 9772aed929..0000000000 --- a/macros/latex/contrib/acmart/acm-jdslogo.png +++ /dev/null diff --git a/macros/latex/contrib/acmart/acmart-changes.tex b/macros/latex/contrib/acmart/acmart-changes.tex deleted file mode 100644 index 4531b79533..0000000000 --- a/macros/latex/contrib/acmart/acmart-changes.tex +++ /dev/null @@ -1,117 +0,0 @@ -% !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 deleted file mode 100644 index 7e7a5437c9..0000000000 --- a/macros/latex/contrib/acmart/acmart-data.md +++ /dev/null @@ -1,114 +0,0 @@ -## 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 deleted file mode 100644 index aeecb28701..0000000000 --- a/macros/latex/contrib/acmart/acmart-ori.tex +++ /dev/null @@ -1,40 +0,0 @@ -% !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 d20064d6b7..666e8d95b8 100644 --- a/macros/latex/contrib/acmart/acmart.dtx +++ b/macros/latex/contrib/acmart/acmart.dtx @@ -306,16 +306,16 @@ % acmsmall & Small single-column format. Used for ACMJCSS, CIE, CSUR, % DLT, FAC, GAMES, JACM, JATS, JDIQ, JDS, JEA, JERIC, % JETC, JRC, PACMCGIT, PACMHCI, PACMMOD, PACMNET, -% PACMPL, PACMSE, TAAS, TACCESS, TACO, +% PACMPL, PACMSE, POMACS, TAAS, TACCESS, TACO, % TALG, TALLIP (formerly TALIP), TCPS, TDS, % TEAC, TECS, TELO, THRI, TIIS, TIOT, TISSEC, TIST, TKDD, TMIS, % TOCE, TOCHI, TOCL, % TOCS, TOCT, TODAES, TODS, TOIS, TOIT, TOMACS, TOMM (formerly % TOMCCAP), TOMPECS, TOMS, TOPC, TOPLAS, TOPML, TOPS, TORS % TOS, TOSEM, TOSN, TQC, TRETS, -% TSAS, TSC, TSLP and TWEB, including special issues. \\ +% TSAS, TSC, TSLP, and TWEB, including special issues. \\ % acmlarge & Large single-column format. Used for DTRAP, HEALTH, -% IMWUT, JOCCH, POMACS and TAP, including special issues. \\ +% IMWUT, JOCCH, and TAP, including special issues. \\ % acmtog & Large double-column format. Used for % TOG, including annual conference Technical Papers.\\ % sigconf & Proceedings format for most ACM @@ -2266,7 +2266,7 @@ \ProvidesFile{acmart.dtx} %</gobble> %<class>\ProvidesClass{acmart} -[2023/12/29 v2.01 Typesetting articles for the Association for Computing Machinery] +[2024/01/21 v2.02 Typesetting articles for the Association for Computing Machinery] % \end{macrocode} % % \changes{v1.00}{2016/04/14}{First released version} @@ -2381,6 +2381,7 @@ % \changes{1.92}{2023/09/30}{Documentation update: use of `anonymous' % throughout} % \changes{v1.93}{2023/10/22}{Added PACMSE journal option} +% \changes{v2.01}{2024/01/06}{Documentation update: POMACS uses acmsmall} % % And the driver code: % \begin{macrocode} @@ -4467,7 +4468,7 @@ \def\@journalNameShort{ACM J. Data Inform. Quality}% \def\@permissionCodeOne{1936-1955}% \or % JDS - \def\@journalName{ACM/JMS Journal of Data Science}% + \def\@journalName{ACM/IMS Journal of Data Science}% \def\@journalNameShort{ACM/IMS J. Data Sci.}% \def\@permissionCodeOne{2831-3194}% \def\@permissionCodeTwo{2831-3194}% @@ -4750,6 +4751,8 @@ % % \begin{macro}{\acmConference} % \changes{v1.59}{2019/04/20}{Setting \cs{@ACM@journal@bibstrip}} +% \changes{v2.02}{2024/01/06}{Moved here setting the conference title +% for bibstrip} % This is the conference command % \begin{macrocode} \newcommand\acmConference[4][]{% @@ -4761,6 +4764,11 @@ \gdef\acmConference@shortname{#2}% \fi \global\@ACM@journal@bibstripfalse + \ifx\@acmBooktitle\@empty\relax + \acmBooktitle{Proceedings of \acmConference@name + \ifx\acmConference@name\acmConference@shortname\else + \ (\acmConference@shortname)\fi}% + \fi } \if@ACM@journal\else \acmConference[Conference'17]{ACM Conference}{July 2017}{Washington, @@ -4772,17 +4780,14 @@ % % \begin{macro}{\acmBooktitle} % \changes{v1.44}{2017/08/11}{Added macro} +% \changes{v2.01}{2024/01/06}{Moved default conference title to +% conference setting} % \begin{macro}{\@acmBooktitle} % \changes{v1.44}{2017/08/11}{Added macro} % The book title of the conference: % \begin{macrocode} \def\acmBooktitle#1{\gdef\@acmBooktitle{#1}} \acmBooktitle{} -\ifx\acmConference@name\@undefined\else -\acmBooktitle{Proceedings of \acmConference@name - \ifx\acmConference@name\acmConference@shortname\else - \ (\acmConference@shortname)\fi} -\fi % \end{macrocode} % % \end{macro} diff --git a/macros/latex/contrib/acmart/acmart.pdf b/macros/latex/contrib/acmart/acmart.pdf Binary files differindex 883a93e433..99124a2a6a 100644 --- a/macros/latex/contrib/acmart/acmart.pdf +++ b/macros/latex/contrib/acmart/acmart.pdf diff --git a/macros/latex/contrib/acmart/acmguide.pdf b/macros/latex/contrib/acmart/acmguide.pdf Binary files differindex e721714333..33113f01f3 100644 --- a/macros/latex/contrib/acmart/acmguide.pdf +++ b/macros/latex/contrib/acmart/acmguide.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmcp.pdf b/macros/latex/contrib/acmart/samples/sample-acmcp.pdf Binary files differindex 9ad5e4d25a..9c8a2cd43f 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmcp.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmcp.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmengage.pdf b/macros/latex/contrib/acmart/samples/sample-acmengage.pdf Binary files differindex 4ab1f05a07..f08de8857a 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmengage.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmengage.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf Binary files differindex b696cd8a5a..126257d291 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf Binary files differindex 10d530f2a9..217d96569a 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf Binary files differindex 9464e1934d..eefdee4e1d 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf Binary files differindex 66f8d534f9..d603f78523 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf Binary files differindex 5ea73019c6..8135247e54 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf Binary files differindex 0498ab6f6d..e9cd9155b1 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf Binary files differindex ab45490859..754a97abf6 100644 --- a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf +++ b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf Binary files differindex 753ef18486..7e9c1dfa83 100644 --- a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf +++ b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf Binary files differindex 152285569b..dd208add05 100644 --- a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf +++ b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf Binary files differindex d065c3d548..e807837656 100644 --- a/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf +++ b/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf Binary files differindex 69cb91907d..90b194e2af 100644 --- a/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf +++ b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf Binary files differindex c187371caa..0d3a653a5d 100644 --- a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf +++ b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf Binary files differindex 51948655a3..0863941f81 100644 --- a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf +++ b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf Binary files differindex b2542da59e..222152317a 100644 --- a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf +++ b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf |