diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-11 20:10:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-11 20:10:17 +0000 |
commit | 286b36f2a5ed034a064e53f832254a06ca0fdcec (patch) | |
tree | 42c4e0ae8fc8c3e6d4e4cbb1f39e819c378d95cf /Master/texmf-dist/source/latex/acmart | |
parent | 88d7dd58c74be44e97f56642c74971b3944e108e (diff) |
acmart (11apr22)
git-svn-id: svn://tug.org/texlive/trunk@63003 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/acmart')
-rw-r--r-- | Master/texmf-dist/source/latex/acmart/Makefile | 37 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/acmart/acmart.dtx | 70 |
2 files changed, 96 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/Makefile b/Master/texmf-dist/source/latex/acmart/Makefile index 916c87c9f1d..44f80ef195b 100644 --- a/Master/texmf-dist/source/latex/acmart/Makefile +++ b/Master/texmf-dist/source/latex/acmart/Makefile @@ -11,8 +11,10 @@ PACKAGE=acmart PDF = $(PACKAGE).pdf acmguide.pdf -all: ${PDF} ALLSAMPLES +BIBLATEXFILES= $(wildcard *.bbx) $(wildcard *.cbx) $(wildcard *.dbx) $(wildcard *.lbx) +SAMPLEBIBLATEXFILES=$(patsubst %,samples/%,$(BIBLATEXFILES)) +all: ${PDF} ALLSAMPLES %.pdf: %.dtx $(PACKAGE).cls pdflatex $< @@ -36,7 +38,7 @@ acmguide.pdf: $(PACKAGE).dtx $(PACKAGE).cls pdflatex $< -ALLSAMPLES: +ALLSAMPLES: $(SAMPLEBIBLATEXFILES) cd samples; pdflatex samples.ins; cd .. for texfile in samples/*.tex; do \ pdffile=$${texfile%.tex}.pdf; \ @@ -50,6 +52,17 @@ samples/%: % samples/$(PACKAGE).cls: $(PACKAGE).cls samples/ACM-Reference-Format.bst: ACM-Reference-Format.bst +samples/abbrev.bib: ACM-Reference-Format.bst + perl -pe 's/MACRO ({[^}]*}) *\n/MACRO \1/' ACM-Reference-Format.bst \ + | grep MACRO | sed 's/MACRO {/@STRING{/' \ + | sed 's/} *{/ = /' > samples/abbrev.bib + + +samples/%.bbx: %.bbx +samples/%.cbx: %.cbx +samples/%.dbx: %.dbx +samples/%.lbx: %.lbx + samples/%.pdf: samples/%.tex samples/$(PACKAGE).cls samples/ACM-Reference-Format.bst cd $(dir $@) && pdflatex-dev $(notdir $<) - cd $(dir $@) && bibtex $(notdir $(basename $<)) @@ -58,6 +71,22 @@ samples/%.pdf: samples/%.tex samples/$(PACKAGE).cls samples/ACM-Reference-For while ( grep -q '^LaTeX Warning: Label(s) may have changed' $(basename $<).log) \ do cd $(dir $@) && pdflatex-dev $(notdir $<); done +samples/sample-sigconf-biblatex.pdf: samples/sample-sigconf-biblatex.tex $(SAMPLEBIBLATEXFILES) + cd $(dir $@) && pdflatex-dev $(notdir $<) + - cd $(dir $@) && biber $(notdir $(basename $<)) + cd $(dir $@) && pdflatex-dev $(notdir $<) + cd $(dir $@) && pdflatex-dev $(notdir $<) + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $(basename $<).log) \ + do cd $(dir $@) && pdflatex-dev $(notdir $<); done + +samples/sample-acmsmall-biblatex.pdf: samples/sample-acmsmall-biblatex.tex $(SAMPLEBIBLATEXFILES) + cd $(dir $@) && pdflatex-dev $(notdir $<) + - cd $(dir $@) && biber $(notdir $(basename $<)) + cd $(dir $@) && pdflatex-dev $(notdir $<) + cd $(dir $@) && pdflatex-dev $(notdir $<) + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $(basename $<).log) \ + do cd $(dir $@) && pdflatex-dev $(notdir $<); done + samples/sample-xelatex.pdf: samples/sample-xelatex.tex samples/$(PACKAGE).cls samples/ACM-Reference-Format.bst cd $(dir $@) && xelatex-dev $(notdir $<) - cd $(dir $@) && bibtex $(notdir $(basename $<)) @@ -86,8 +115,8 @@ docclean: *.dvi *.ps *.thm *.tgz *.zip *.rpi \ samples/$(PACKAGE).cls samples/ACM-Reference-Format.bst \ samples/*.log samples/*.aux samples/*.out \ - samples/*.bbl samples/*.blg samples/*.cut - + samples/*.bbl samples/*.blg samples/*.cut \ + samples/*.run.xml samples/*.bcf $(SAMPLEBIBLATEXFILES) clean: docclean diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index 01f6c81ebae..e33a089ce84 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx @@ -1,6 +1,6 @@ % \iffalse % -% Copyright 2016-2021, Association for Computing Machinery +% Copyright 2016-2022, Association for Computing Machinery % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3 of this license or (at your option) any @@ -57,7 +57,7 @@ % \ifx\currentjob\guide\OnlyDescription\fi % \GetFileInfo{acmart.dtx} % \title{\LaTeX{} Class for the \emph{Association for Computing -% Machinery}\thanks{\copyright 2016--2021, Association for Computing Machinery}} +% Machinery}\thanks{\copyright 2016--2022, Association for Computing Machinery}} % \author{Boris Veytsman\thanks{% % \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}}, % \href{mailto:boris@varphi.com}{\texttt{boris@varphi.com}}}} @@ -106,6 +106,7 @@ % Yegor Bugayenko, % Benjamin Byholm, % John Collins, +% Roberto Di Cosmo, % Nils Anders Danielsson, % Michael Ekstrand, % Matthew Fluet, @@ -301,7 +302,7 @@ % \midrule % manuscript & A manuscript. This is the default. \\ % acmsmall & Small single-column format. Used for CIE, CSUR, -% DLT, FAC, JACM, JDIQ, JEA, JERIC, +% DLT, FAC, GAMES, JACM, JDIQ, JDS, JEA, JERIC, % JETC, PACMCGIT, PACMHCI, PACMPL, TAAS, TACCESS, TACO, % TALG, TALLIP (formerly TALIP), TCPS, TDS, % TEAC, TECS, TELO, THRI, TIIS, TIOT, TISSEC, TIST, TKDD, TMIS, @@ -1506,7 +1507,11 @@ %\subsection{Bibliography} %\label{sec:ug_bibliography} % -% The ACM uses the |natbib| package for formatting references and +% The ACM lets you use either Bib\TeX\ or Bib\LaTeX\ to process your references: +% they require slightly different setup of your \LaTeX\ file, as detailed in +% the following subsections. +%\subsubsection{Processing using Bib\TeX} +% This uses the |natbib| package for formatting references and % the Bib\TeX\ style file \path{ACM-Reference-Format.bst} for Bib\TeX\ % processing. You can disable loading of |natbib| using the % option |natbib=false| in \cs{documentclass}. However, it is not @@ -1702,7 +1707,44 @@ % are includes, so you can use strings like |journal = taccess| for % \emph{ACM Transactions on Accessible Computing}. % +%\subsubsection{Processing using Bib\LaTeX} +% You will find in this package two sets of style files for Bib\LaTeX, +% \verb|acmnumeric| and \verb|acmauthoryear|, that mimic the behaviour +% of the ACM-Reference-Format.bst Bib\TeX\ sytle. They provide you +% access to all the power of Bib\LaTeX\ and already include +% support for advanced citation of software artefact from the +% \verb|biblatex-software| package, also separately available on CTAN. +% Look at the \verb|biblatex-software| documentation to learn more about +% what it offers. +% +% There are a few key differences in how the \LaTeX\ sources are set up +% when using Bib\LaTeX\ instead of Bib\TeX, that we summarize briefly +% here (please refer to the official Bib\LaTeX\ documentation for more details). % +% In the preamble of your document you need to load the Bib\LaTeX\ package +% and select the approriate bibliography style, as follows +% \begin{verbatim} +% \RequirePackage[ +% datamodel=acmdatamodel, +% style=acmnumeric, % use style=acmauthoryear for publications that require it +% ]{biblatex} +% \end{verbatim} +% +% Also in the preamble, you need to declare the bibliography sources files +% using the \verb|\addbibresouce| directe (one \verb|\addbibresource| +% command per source file), e.g.: +% \begin{verbatim} +% \addbibresource{software.bib} +% \addbibresource{sample-base.bib} +% \end{verbatim} +% +% At the end of the document, where you want the bibliography to appear, +% you need to place the command \verb|\printbibliography|. +% +% Look at the \verb|sample-*-biblatex.tex| files that can be found in the samples +% directory after running \verb|make| for templates showcasing +% these Bib\LaTeX\ styles. + %\subsection{Colors} %\label{sec:ug_colors} % @@ -1910,11 +1952,13 @@ % DGOV & Digital Government: Research and Practice \\ % DTRAP & Digital Threats: Research and Practice\\ % FAC & Formal Aspects of Computing \\ +% GAMES & ACM Games: Research and Practice\\ % HEALTH & ACM Transactions on Computing for Healthcare\\ % IMWUT & PACM on Interactive, Mobile, Wearable and Ubiquitous % Technologies\\ % JACM & Journal of the ACM \\ % JDIQ & ACM Journal of Data and Information Quality \\ +% JDS & ACM/IMS Journal of Data Science \\ % JEA & ACM Journal of Experimental Algorithmics \\ % JERIC & ACM Journal of Educational Resources in Computing\\ % JETC & ACM Journal on Emerging Technologies in Computing Systems \\ @@ -2043,7 +2087,7 @@ \ProvidesFile{acmart.dtx} %</gobble> %<class>\ProvidesClass{acmart} -[2022/02/19 v1.83 Typesetting articles for the Association for Computing Machinery] +[2022/04/09 v1.84 Typesetting articles for the Association for Computing Machinery] % \end{macrocode} % % \changes{v1.00}{2016/04/14}{First released version} @@ -2151,6 +2195,7 @@ % fonts} % \changes{1.75}{2020/10/29}{Documentation update} % \changes{1.78}{2021/05/01}{Documentation update: Word count} +% \changes{1.84}{2022/04/09}{New journals: JDS, GAMES} % % And the driver code: % \begin{macrocode} @@ -2821,9 +2866,9 @@ }% \addto\captionsgerman{% \if@ACM@journal - \renewcommand\keywordsname{Zusätzliche Schlüsselwörter und Phrasen}% + \renewcommand\keywordsname{Zusätzliche Schlagwörter und Phrasen}% \else - \renewcommand\keywordsname{Schlüsselwörter}% + \renewcommand\keywordsname{Schlagwörter}% \fi \renewcommand\acksname{Danksagungen}% }% @@ -4004,6 +4049,7 @@ % \changes{1.80}{2021/09/24}{Added DLT and FAC} % \changes{1.82}{2022/02/05}{Updated abbreviations and codes for % several journals} +% \changes{1.84}{2022/04/09}{New journals: JDS, GAMES} % % We use the |xkeyval| interface to define journal titles and the relevant % information @@ -4015,10 +4061,12 @@ DLT,% DTRAP,% FAC,% + GAMES,% HEALTH,% IMWUT,% JACM,% JDIQ,% + JDS,% JEA,% JERIC,% JETC,% @@ -4099,6 +4147,9 @@ \def\@journalNameShort{Form. Asp. Comput.}% \def\@permissionCodeOne{0934-5043}% \def\@permissionCodeTwo{1433-299X}% +\or % GAMES + \def\@journalName{ACM Games: Research and Practice}% + \def\@journalNameShort{ACM Games}% \or % HEALTH \def\@journalName{ACM Transactions on Computing for Healthcare}% \def\@journalNameShort{ACM Trans. Comput. Healthcare}% @@ -4118,6 +4169,11 @@ \def\@journalName{ACM Journal of Data and Information Quality}% \def\@journalNameShort{ACM J. Data Inform. Quality}% \def\@permissionCodeOne{1936-1955}% +\or % JDS + \def\@journalName{ACM/JMS Journal of Data Science}% + \def\@journalNameShort{ACM/IMS J. Data Sci.}% + \def\@permissionCodeOne{2831-3194}% + \def\@permissionCodeTwo{2831-3194}% \or % JEA \def\@journalName{ACM Journal of Experimental Algorithmics}% \def\@journalNameShort{ACM J. Exp. Algor.}% |