diff options
31 files changed, 170 insertions, 90 deletions
diff --git a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst index fa5273282a1..8b97b188124 100644 --- a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst +++ b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst @@ -426,6 +426,44 @@ FUNCTION { output.coden } % UTAH if$ } +% +% Sometimes articleno starts with the word 'Article' or 'Paper. +% (this is a bug of acmdl, sigh) +% We strip them. We assume eid or articleno is already on stack +% + +FUNCTION { strip.articleno.or.eid } +{ + 't := + t #1 #7 substring$ "Article" = + {t #8 t text.length$ substring$ 't :=} + { } + if$ + t #1 #7 substring$ "article" = + {t #8 t text.length$ substring$ 't :=} + { } + if$ + t #1 #5 substring$ "Paper" = + {t #6 t text.length$ substring$ 't :=} + { } + if$ + t #1 #5 substring$ "paper" = + {t #6 t text.length$ substring$ 't :=} + { } + if$ + % Strip any left trailing space or ~ + t #1 #1 substring$ " " = + {t #2 t text.length$ substring$ 't :=} + { } + if$ + t #1 #1 substring$ "~" = + {t #2 t text.length$ substring$ 't :=} + { } + if$ + t +} + + FUNCTION { format.articleno } { articleno empty.or.unknown not eid empty.or.unknown not and @@ -441,8 +479,8 @@ FUNCTION { format.articleno } { } if$ eid empty.or.unknown - { "Article \bibinfo{articleno}{" articleno * "}" * } - { "Article \bibinfo{articleno}{" eid * "}" * } + { "Article \bibinfo{articleno}{" articleno strip.articleno.or.eid * "}" * } + { "Article \bibinfo{articleno}{" eid strip.articleno.or.eid * "}" * } if$ } if$ diff --git a/Master/texmf-dist/doc/latex/acmart/README b/Master/texmf-dist/doc/latex/acmart/README index 8e584fcc3cf..c0781d2b64e 100644 --- a/Master/texmf-dist/doc/latex/acmart/README +++ b/Master/texmf-dist/doc/latex/acmart/README @@ -252,3 +252,10 @@ Version 1.66 Bug fixes Version 1.67 Urgent bug fixes: BibTeX style bug fixed (Michael D. Adams) Sigplan special section bugfix + +Version 1.68 Bug fixes + BST now recognizes words `Paper' or 'Article' in + eid or articleno + +Version 1.69 Bug fixes + Compatibility with LaTeX 2020-02-02 release diff --git a/Master/texmf-dist/doc/latex/acmart/acmart.pdf b/Master/texmf-dist/doc/latex/acmart/acmart.pdf Binary files differindex 29ae3c77c6a..f54d34e6e0e 100644 --- a/Master/texmf-dist/doc/latex/acmart/acmart.pdf +++ b/Master/texmf-dist/doc/latex/acmart/acmart.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/acmguide.pdf b/Master/texmf-dist/doc/latex/acmart/acmguide.pdf Binary files differindex af84e88ca0f..1d7121c44f3 100644 --- a/Master/texmf-dist/doc/latex/acmart/acmguide.pdf +++ b/Master/texmf-dist/doc/latex/acmart/acmguide.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf Binary files differindex b825eb8c3cf..5a05ff8d3b0 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex index 39f5afc6ab5..cfc8c33d8c2 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmlarge.tex @@ -584,7 +584,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf Binary files differindex ea39d42da66..fd0221fe85a 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex index 98c0b7856e5..675bc73a1ed 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall-conf.tex @@ -594,7 +594,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf Binary files differindex 0f5e1019570..bd87b06be8a 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex index 2519a36ce06..a0c7a14b27c 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmsmall.tex @@ -584,7 +584,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf Binary files differindex e69c92bd20a..c4ed5e87cff 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex index 68cd4821347..8e9e4e8a019 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex @@ -582,7 +582,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf Binary files differindex baa98ac7737..a05f96b4410 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex index b8fa5953cff..a76254ef0db 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-authordraft.tex @@ -594,7 +594,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-base.bib b/Master/texmf-dist/doc/latex/acmart/samples/sample-base.bib index 48ec212b3f5..dde657f8854 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-base.bib +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-base.bib @@ -215,16 +215,15 @@ author = "Sarah Cohen and Werner Nutt and Yehoshua Sagic", title = "Deciding equivalances among conjunctive aggregate queries", journal = JACM, - articleno = "5", - numpages = "50", - volume = "54", - number = "2", + articleno = 5, + numpages = 50, + volume = 54, + number = 2, month = apr, - year = "2007", + year = 2007, doi = "10.1145/1219092.1219093", url = "http://doi.acm.org/10.1145/1219092.1219093", - acmid = "1219093", - note = "", + acmid = 1219093, } @@ -492,59 +491,38 @@ Editors= "Z. Ghahramani and R. Cowell" @Inproceedings{VanGundy07, author = "Matthew Van Gundy and Davide Balzarotti and Giovanni Vigna", - year = "2007", + year = 2007, title = "Catch me, if you can: Evading network signatures with web-based polymorphic worms", booktitle = "Proceedings of the first USENIX workshop on Offensive Technologies", series = "WOOT '07", publisher = "USENIX Association", address = "Berkley, CA", - articleno = "7", - numpages = "9", - editor = "", - volume = "", - number = "", - pages = "", - month = "", - organization = "", - note = "", + articleno = {Paper 7}, + numpages = 9, } @Inproceedings{VanGundy08, author = "Matthew Van Gundy and Davide Balzarotti and Giovanni Vigna", - year = "2008", + year = 2008, title = "Catch me, if you can: Evading network signatures with web-based polymorphic worms", booktitle = "Proceedings of the first USENIX workshop on Offensive Technologies", series = "WOOT '08", publisher = "USENIX Association", address = "Berkley, CA", - articleno = "7", - numpages = "2", - editor = "", - volume = "", - number = "", + articleno = 7, + numpages = 2, pages = "99-100", - month = "", - organization = "", - note = "", } @Inproceedings{VanGundy09, author = "Matthew Van Gundy and Davide Balzarotti and Giovanni Vigna", - year = "2009", + year = 2009, title = "Catch me, if you can: Evading network signatures with web-based polymorphic worms", booktitle = "Proceedings of the first USENIX workshop on Offensive Technologies", series = "WOOT '09", publisher = "USENIX Association", address = "Berkley, CA", - articleno = "", - numpages = "", - editor = "", - volume = "", - number = "", pages = "90--100", - month = "", - organization = "", - note = "", } @Inproceedings{Andler79, @@ -695,7 +673,7 @@ year = {2003}, volume = "12", number = "3", month = jul, - articleno = "5", + articleno = "Article~5", doi = "", url = "", howpublished = "", @@ -720,14 +698,14 @@ year = {2003}, author = {Werneck, Renato and Setubal, Jo\~{a}o and da Conceic\~{a}o, Arlindo}, title = {(new) Finding minimum congestion spanning trees}, journal = {J. Exp. Algorithmics}, - volume = {5}, + volume = 5, month = dec, - year = {2000}, + year = 2000, issn = {1084-6654}, - articleno = {11}, + articleno = 11, url = {http://portal.acm.org/citation.cfm?id=351827.384253}, doi = {10.1145/351827.384253}, - acmid = {384253}, + acmid = 384253, publisher = {ACM}, address = {New York, NY, USA}, } diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf Binary files differindex 07669d4ce8c..53500a24982 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex index 6f1d62d6ee7..386d4133422 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-manuscript.tex @@ -584,7 +584,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdf Binary files differindex 940cc553d9c..46e9f4c8ab3 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex index a8f3b78ba6b..9a2f151da98 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi-a.tex @@ -584,7 +584,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdf Binary files differindex 773432ce6de..906f91858e2 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex index 63bd70bca9b..e929e568a38 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigchi.tex @@ -584,7 +584,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf Binary files differindex 7fbea363fbd..592dbb49f56 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex index 42da58c0155..272569c897a 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigconf.tex @@ -594,7 +594,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf Binary files differindex 6a29056f3b7..f8cf4e026a0 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex index 055b466208d..9b873b40a86 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-sigplan.tex @@ -594,7 +594,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf Binary files differindex 31f57778640..f7273d85953 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.pdf diff --git a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex index 9dd5edcd43a..f078529a445 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex +++ b/Master/texmf-dist/doc/latex/acmart/samples/sample-xelatex.tex @@ -594,7 +594,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx b/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx index 33b67895bd5..0c9e2514bb0 100644 --- a/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx +++ b/Master/texmf-dist/doc/latex/acmart/samples/samples.dtx @@ -617,7 +617,7 @@ suffix, of the \BibTeX\ file. Citations and references are numbered by default. A small number of ACM publications have citations and references formatted in the ``author year'' style; for these exceptions, please include this -command in the {\bfseries preamble} (before +command in the {\bfseries preamble} (before the command ``\verb|\begin{document}|'') of your \LaTeX\ source: \begin{verbatim} \citestyle{acmauthoryear} diff --git a/Master/texmf-dist/source/latex/acmart/Makefile b/Master/texmf-dist/source/latex/acmart/Makefile index 96f5db4e8e3..68e33d0437d 100644 --- a/Master/texmf-dist/source/latex/acmart/Makefile +++ b/Master/texmf-dist/source/latex/acmart/Makefile @@ -51,20 +51,20 @@ samples/$(PACKAGE).cls: $(PACKAGE).cls samples/ACM-Reference-Format.bst: ACM-Reference-Format.bst samples/%.pdf: samples/%.tex samples/$(PACKAGE).cls samples/ACM-Reference-Format.bst - cd $(dir $@) && pdflatex $(notdir $<) + cd $(dir $@) && pdflatex-dev $(notdir $<) - cd $(dir $@) && bibtex $(notdir $(basename $<)) - cd $(dir $@) && pdflatex $(notdir $<) - cd $(dir $@) && pdflatex $(notdir $<) + 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 $(notdir $<); done + 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 $(notdir $<) + cd $(dir $@) && xelatex-dev $(notdir $<) - cd $(dir $@) && bibtex $(notdir $(basename $<)) - cd $(dir $@) && xelatex $(notdir $<) - cd $(dir $@) && xelatex $(notdir $<) + cd $(dir $@) && xelatex-dev $(notdir $<) + cd $(dir $@) && xelatex-dev $(notdir $<) while ( grep -q '^LaTeX Warning: Label(s) may have changed' $(basename $<).log) \ - do cd $(dir $@) && xelatex $(notdir $<); done + do cd $(dir $@) && xelatex-dev $(notdir $<); done diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index d63df043413..389e3e6e35f 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx @@ -1842,7 +1842,7 @@ \ProvidesFile{acmart.dtx} %</gobble> %<class>\ProvidesClass{acmart} -[2020/01/11 v1.67 Typesetting articles for the Association for Computing Machinery] +[2020/02/08 v1.69 Typesetting articles for the Association for Computing Machinery] % \end{macrocode} % % \changes{v1.00}{2016/04/14}{First released version} @@ -4620,10 +4620,11 @@ % \changes{v1.40}{2017/05/27}{Now we can parse |Significance~General| nodes} % \changes{v1.56}{2018/10/23}{End the concepts list with a period % (Philip Quinn)} +% \changes{v1.69}{2019/02/06}{Use math right arrow in text} % The parser of the expression |Significance~General~Specific| (we need % |textcomp| for |\textrightarrow|). Note that |Specific| can be empty! % \begin{macrocode} -\RequirePackage{textcomp} +\def\textrightarrow{$\rightarrow$} \def\ccsdesc@parse#1~#2~#3~{% \stepcounter{@concepts}% \expandafter\ifx\csname CCS@General@#2\endcsname\relax @@ -5202,12 +5203,11 @@ % \changes{v1.66}{2019/11/23}{Suppress warnings about \cs{vspace}} % \changes{v1.67}{2020/01/11}{Paragraph inside group does not print % 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} % This macro starts sections for proceedings and uses \cs{small} for journals % \begin{macrocode} \def\@specialsection#1{% - \bgroup - \let\@vspace\@vspace@orig - \let\@vspacer\@vspacer@orig \ifcase\ACM@format@nr \relax % manuscript \par\medskip\small\noindent#1: % @@ -5222,13 +5222,13 @@ \or % siggraph \section*{#1}% \or % sigplan - \noindent\emph{\bfseries#1.}~% + \noindentparagraph*{#1:~}% \or % sigchi \section*{#1}% \or % sigchi-a \section*{#1}% \fi - \egroup} +} % \end{macrocode} % % \end{macro} @@ -6058,13 +6058,16 @@ % \begin{macro}{\@printendtopmatter} % \changes{v1.46}{2017/08/28}{Made it \cs{par}\cs{bigskip} uniformly} % \changes{v1.58}{2019/01/23}{Deleted spurious \cs{vspace} warning} +% \changes{v1.69}{2020/02/02}{Deleted grouping} % End the top matter % \begin{macrocode} -\def\@printendtopmatter{\bgroup +\def\@printendtopmatter{% \let\@vspace\@vspace@orig \let\@vspacer\@vspacer@orig \par\bigskip - \egroup} + \let\@vspace\@vspace@acm + \let\@vspacer\@vspacer@acm + } % \end{macrocode} % % \end{macro} @@ -6164,14 +6167,35 @@ % \begin{macro}{\ACM@linecountR} % \changes{v1.33}{2017/03/29}{Added macro} % \changes{v1.34}{2017/04/10}{Rulers now are continuous} -% How to display the box on the right +% \changes{v1.69}{2020/02/02}{Do not increase numbers in one column format} +% How to display the box on the right. In one column formats we do +% not step the numbers. % \begin{macrocode} \def\ACM@linecountR{% \if@ACM@review - \ACM@mk@linecount - \begin{picture}(0,0)% - \put(20,-22){\usebox{\ACM@linecount@bx}}% - \end{picture}% + \ifcase\ACM@format@nr + \relax % manuscript + \relax + \or % acmsmall + \relax + \or % acmlarge + \relax + \or % acmtog + \ACM@mk@linecount + \or % sigconf + \ACM@mk@linecount + \or % siggraph + \ACM@mk@linecount + \or % sigplan + \ACM@mk@linecount + \or % sigchi + \ACM@mk@linecount + \or % sigchi-a + \ACM@mk@linecount + \fi + \begin{picture}(0,0)% + \put(20,-22){\usebox{\ACM@linecount@bx}}% + \end{picture}% \fi} % \end{macrocode} % @@ -6568,6 +6592,8 @@ % % \changes{v1.54}{2018/05/27}{Deleted indent for subsubsection} % \changes{v1.54}{2018/06/17}{Added Ross's patch for sectioning} +% \changes{v1.68}{2020/01/19}{New command for unindent paras} +% \changes{v1.69}{2020/02/02}{No dots for unindented paragraphs} % Sectioning is different for different levels % \begin{macrocode} \renewcommand\section{\@startsection{section}{1}{\z@}% @@ -6586,6 +6612,10 @@ {-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}% {-3.5\p@}% {\ACM@NRadjust{\@parfont\@adddotafter}}} +\newcommand\noindentparagraph{\@startsection{paragraph}{4}{\z@}% + {-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}% + {-3.5\p@}% + {\ACM@NRadjust{\@parfont}}} \renewcommand\part{\@startsection{part}{9}{\z@}% {-10\p@ \@plus -4\p@ \@minus -2\p@}% @@ -7070,6 +7100,7 @@ % \changes{v1.57}{2018/12/16}{Added warning} % \changes{v1.58}{2019/01/23}{Preserved old versions as % \cs{@vspace@orig} and \cs{@vspace@orig}} +% \changes{1.69}{2020/02/02}{Added the changed command to avoid grouping} % We do not disable \cs{vspace}, but add warning to it % \begin{macrocode} \let\@vspace@orig=\@vspace @@ -7079,7 +7110,9 @@ objects}}{}{} \apptocmd{\@vspacer}{\ClassWarning{\@classname}{\string\vspace\space should only be used to provide space above/below surrounding - objects}}{}{} + objects}}{}{} +\let\@vspace@acm=\@vspace +\let\@vspacer@acm=\@vspacer % \end{macrocode} % % \end{macro} diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls index 1d72f7e8324..fbd701269ad 100644 --- a/Master/texmf-dist/tex/latex/acmart/acmart.cls +++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls @@ -37,7 +37,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{acmart} -[2020/01/11 v1.67 Typesetting articles for the Association for Computing Machinery] +[2020/02/08 v1.69 Typesetting articles for the Association for Computing Machinery] \def\@classname{acmart} \InputIfFileExists{acmart-preload-hook.tex}{% \ClassWarning{\@classname}{% @@ -1465,7 +1465,7 @@ \newcounter{@concepts} \newcommand\ccsdesc[2][100]{% \ccsdesc@parse#1~#2~~\ccsdesc@parse@end} -\RequirePackage{textcomp} +\def\textrightarrow{$\rightarrow$} \def\ccsdesc@parse#1~#2~#3~{% \stepcounter{@concepts}% \expandafter\ifx\csname CCS@General@#2\endcsname\relax @@ -1858,9 +1858,6 @@ \@afterheading } \def\@specialsection#1{% - \bgroup - \let\@vspace\@vspace@orig - \let\@vspacer\@vspacer@orig \ifcase\ACM@format@nr \relax % manuscript \par\medskip\small\noindent#1: % @@ -1875,13 +1872,13 @@ \or % siggraph \section*{#1}% \or % sigplan - \noindent\emph{\bfseries#1.}~% + \noindentparagraph*{#1:~}% \or % sigchi \section*{#1}% \or % sigchi-a \section*{#1}% \fi - \egroup} +} \def\@printtopmatter{% \ifx\@startPage\@empty \gdef\@startPage{1}% @@ -2354,11 +2351,13 @@ \fi \ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi \par\egroup} -\def\@printendtopmatter{\bgroup +\def\@printendtopmatter{% \let\@vspace\@vspace@orig \let\@vspacer\@vspacer@orig \par\bigskip - \egroup} + \let\@vspace\@vspace@acm + \let\@vspacer\@vspacer@acm + } \def\@setthanks{\long\def\thanks##1{\par##1\@addpunct.}\thankses} \def\@setauthorsaddresses{\@authorsaddresses\unskip\@addpunct.} \RequirePackage{fancyhdr} @@ -2395,10 +2394,29 @@ \fi} \def\ACM@linecountR{% \if@ACM@review - \ACM@mk@linecount - \begin{picture}(0,0)% - \put(20,-22){\usebox{\ACM@linecount@bx}}% - \end{picture}% + \ifcase\ACM@format@nr + \relax % manuscript + \relax + \or % acmsmall + \relax + \or % acmlarge + \relax + \or % acmtog + \ACM@mk@linecount + \or % sigconf + \ACM@mk@linecount + \or % siggraph + \ACM@mk@linecount + \or % sigplan + \ACM@mk@linecount + \or % sigchi + \ACM@mk@linecount + \or % sigchi-a + \ACM@mk@linecount + \fi + \begin{picture}(0,0)% + \put(20,-22){\usebox{\ACM@linecount@bx}}% + \end{picture}% \fi} \if@ACM@timestamp % Subtracting 30 from \time gives us the effect of rounding down despite @@ -2658,6 +2676,10 @@ {-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}% {-3.5\p@}% {\ACM@NRadjust{\@parfont\@adddotafter}}} +\newcommand\noindentparagraph{\@startsection{paragraph}{4}{\z@}% + {-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}% + {-3.5\p@}% + {\ACM@NRadjust{\@parfont}}} \renewcommand\part{\@startsection{part}{9}{\z@}% {-10\p@ \@plus -4\p@ \@minus -2\p@}% @@ -2887,6 +2909,8 @@ \apptocmd{\@vspacer}{\ClassWarning{\@classname}{\string\vspace\space should only be used to provide space above/below surrounding objects}}{}{} +\let\@vspace@acm=\@vspace +\let\@vspacer@acm=\@vspacer \let\ACM@origbaselinestretch\baselinestretch \AtEndDocument{\ifx\baselinestretch\ACM@origbaselinestretch\else \ClassError{\@classname}{An attempt to redefine |