From 22b1546e4e62d89b1361ec2c9f26221e22d9a428 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 6 Sep 2016 21:30:56 +0000 Subject: acmart (6sep16) git-svn-id: svn://tug.org/texlive/trunk@42001 c570f23f-e606-0410-a88d-b1316a301751 --- .../bibtex/bst/acmart/ACM-Reference-Format.bst | 82 ++++++++++------ Master/texmf-dist/doc/latex/acmart/README | 2 + Master/texmf-dist/doc/latex/acmart/acmart.pdf | Bin 668852 -> 691859 bytes .../doc/latex/acmart/sample-acmlarge.pdf | Bin 619779 -> 619848 bytes .../doc/latex/acmart/sample-acmsmall.pdf | Bin 626668 -> 626732 bytes .../texmf-dist/doc/latex/acmart/sample-acmtog.pdf | Bin 585968 -> 586040 bytes .../doc/latex/acmart/sample-bibliography.bib | 28 ++---- .../doc/latex/acmart/sample-manuscript.pdf | Bin 655626 -> 655720 bytes .../doc/latex/acmart/sample-sigchi-a.pdf | Bin 1284822 -> 1285445 bytes .../texmf-dist/doc/latex/acmart/sample-sigchi.pdf | Bin 1060957 -> 1061352 bytes .../texmf-dist/doc/latex/acmart/sample-sigconf.pdf | Bin 599642 -> 600221 bytes .../doc/latex/acmart/sample-siggraph.pdf | Bin 1032209 -> 1033369 bytes .../texmf-dist/doc/latex/acmart/sample-sigplan.pdf | Bin 960298 -> 960673 bytes Master/texmf-dist/source/latex/acmart/acmart.dtx | 108 ++++++++++++++++++++- Master/texmf-dist/tex/latex/acmart/acmart.cls | 9 +- 15 files changed, 180 insertions(+), 49 deletions(-) (limited to 'Master/texmf-dist') 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 c036479984e..f83cc7e08e0 100644 --- a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst +++ b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst @@ -160,6 +160,7 @@ ENTRY { address advisor + archiveprefix author booktitle chapter @@ -167,6 +168,7 @@ ENTRY date % jtb: added edition editor + eprint howpublished institution journal @@ -176,6 +178,7 @@ ENTRY number organization pages + primaryclass publisher school series @@ -749,6 +752,27 @@ FUNCTION { output.note.check } % UTAH if$ } +FUNCTION { output.eprint } % +{ % return with stack empty + eprint empty.or.unknown + { } + { "\showeprint" + archiveprefix empty.or.unknown + { } + { "[" archiveprefix "l" change.case$ "]" * * * } + if$ + "{" * + primaryclass empty.or.unknown + { } + { primaryclass "/" * *} + if$ + eprint "}" * * + writeln + } + if$ +} + + % % Changes by BV 2011/04/15. Do not output % url if doi is defined @@ -2388,7 +2412,7 @@ FUNCTION { output.bibitem } } -FUNCTION { output.issue.doi.coden.isxn.lccn.url } +FUNCTION { output.issue.doi.coden.isxn.lccn.url.eprint } { % enter and return with stack empty %% We switch now from buffered output to output of complete lines, so %% that the Issue .. URL data have their own lines, and are less likely @@ -2418,12 +2442,13 @@ FUNCTION { output.issue.doi.coden.isxn.lccn.url } output.issn output.lccn output.doi % DOI is ALWAYS last according to CrossRef DOI documentation - output.url % but ACM wants URL last + output.eprint + output.url % but ACM wants URL last } -FUNCTION { output.issue.doi.coden.isxn.lccn.url.note } +FUNCTION { output.issue.doi.coden.isxn.lccn.url.eprint.note } { % enter with stack empty, return with empty string on stack - output.issue.doi.coden.isxn.lccn.url + output.issue.doi.coden.isxn.lccn.url.eprint note empty.or.unknown { } { @@ -2434,9 +2459,9 @@ FUNCTION { output.issue.doi.coden.isxn.lccn.url.note } "" } -FUNCTION { output.issue.doi.coden.isxn.lccn.url.note.check } +FUNCTION { output.issue.doi.coden.isxn.lccn.url.eprint.note.check } { % enter with stack empty, return with empty string on stack - output.issue.doi.coden.isxn.lccn.url + output.issue.doi.coden.isxn.lccn.url.eprint note empty.or.unknown { } { @@ -2480,7 +2505,7 @@ FUNCTION { article } format.pages.check.without.articleno output format.articleno.numpages output fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2519,7 +2544,7 @@ FUNCTION { book } } if$ fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2535,7 +2560,7 @@ FUNCTION { booklet } howpublished output address output fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2576,7 +2601,7 @@ FUNCTION { inbook } } if$ fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2608,7 +2633,7 @@ FUNCTION { incollection } } if$ fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2652,7 +2677,7 @@ FUNCTION { inproceedings } if$ format.articleno.numpages output fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2678,7 +2703,7 @@ FUNCTION { manual } organization "organization" output.check address output fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2697,7 +2722,7 @@ FUNCTION { mastersthesis } new.block format.advisor output fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2712,12 +2737,17 @@ FUNCTION { misc } new.block howpublished output "" output.nonnull.dot.space - output.day.month.year % Gerry - appears odd if (only) the year is 'repeated' but (appears) 'valuable' if the month/day is _also_ included - 2011/09/28 + output.day.month.year fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } +FUNCTION { online } { misc } + +FUNCTION { game } { misc } + + FUNCTION { phdthesis } { output.bibitem @@ -2733,7 +2763,7 @@ FUNCTION { phdthesis } new.block format.advisor output fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2793,15 +2823,10 @@ FUNCTION { periodical } { format.editors output.nonnull } if$ new.block - title emphasize "title" output.check - format.date output + output.year.check new.sentence - publisher output - address output - howpublished new.block.checka - howpublished output - fin.block - output.issue.doi.coden.isxn.lccn.url.note + format.articletitle "title" output.check + format.journal.volume.number.day.month.year output fin.entry } @@ -2827,7 +2852,7 @@ FUNCTION { proceedings } publisher output address output fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2849,7 +2874,7 @@ FUNCTION { techreport } % ACM omits year at end in transactions style % format.day.month.year output.nonnull.dot.space % jtb: ... to here (no parens) fin.block - output.issue.doi.coden.isxn.lccn.url.note + output.issue.doi.coden.isxn.lccn.url.eprint.note fin.entry } @@ -2865,7 +2890,7 @@ FUNCTION { unpublished } fin.sentence output.day.month.year % UTAH fin.block - output.issue.doi.coden.isxn.lccn.url.note.check + output.issue.doi.coden.isxn.lccn.url.eprint.note.check fin.entry } @@ -3330,6 +3355,7 @@ FUNCTION { begin.bib } "\providecommand\bibfield[2]{#2}" writeln "\providecommand\bibinfo[2]{#2}" writeln "\providecommand\natexlab[1]{#1}" writeln + "\providecommand\showeprint[2][]{arXiv:#2}" writeln } EXECUTE {begin.bib} diff --git a/Master/texmf-dist/doc/latex/acmart/README b/Master/texmf-dist/doc/latex/acmart/README index fb0f4c34c83..b32604b06f4 100644 --- a/Master/texmf-dist/doc/latex/acmart/README +++ b/Master/texmf-dist/doc/latex/acmart/README @@ -39,3 +39,5 @@ version 1.19 Include 'Abstract', 'Acknowledgements', and 'References' in PDF bookmarks. version 1.20 Bug fixes, documentation updates + +version 1.21 Bibliography changes: added arXiv, some cleanup diff --git a/Master/texmf-dist/doc/latex/acmart/acmart.pdf b/Master/texmf-dist/doc/latex/acmart/acmart.pdf index 222df06761c..406bd744396 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/acmart.pdf and b/Master/texmf-dist/doc/latex/acmart/acmart.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf b/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf index e41de09833b..bbf31db062b 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf b/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf index a833b3bcfb3..cf399b7a904 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf b/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf index b1c0aab946b..d95faf2fa0d 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-bibliography.bib b/Master/texmf-dist/doc/latex/acmart/sample-bibliography.bib index 4f9e1774810..a7716388a7b 100644 --- a/Master/texmf-dist/doc/latex/acmart/sample-bibliography.bib +++ b/Master/texmf-dist/doc/latex/acmart/sample-bibliography.bib @@ -247,23 +247,15 @@ } -@article{JCohen96, +@periodical{JCohen96, key = "Cohen", editor = "Jacques Cohen", - title = "Special Issue: Digital Libraries", + title = "Special issue: Digital Libraries", journal = CACM, volume = "39", number = "11", month = nov, year = "1996", - author = "", - publisher = "", - chapter = "", - pages = "", - series = "", - address = "", - edition = "", - note = "", } @@ -626,26 +618,21 @@ year = {2003}, } -@misc{Thornburg01, +@online{Thornburg01, author = "Harry Thornburg", year = "2001", title = "Introduction to Bayesian Statistics", - note = "", url = "http://ccrma.stanford.edu/~jos/bayes/bayes.html", - howpublished = "", month = mar, lastaccessed = "March 2, 2005", } -@misc{Ablamowicz07, +@online{Ablamowicz07, author = "Rafal Ablamowicz and Bertfried Fauser", year = "2007", title = "CLIFFORD: a Maple 11 Package for Clifford Algebra Computations, version 11", - note = "", url = "http://math.tntech.edu/rafal/cliff11/index.html", - howpublished = "", - month = "", lastaccessed = "February 28, 2008", } @@ -657,7 +644,6 @@ year = {2003}, title = "Stats and Analysis", lastaccessed = "June 7, 2006", url = "http://www.poker-edge.com/stats.php", - howpublished = "", } @misc{Obama08, @@ -1402,7 +1388,9 @@ MRREVIEWER = {Min You Qi}, publisher = "Keleuven Press", address = "Dayton, OH", year = {2007}, - pages = "322--328" + pages = "322--328", + eprint = "960935712", + primaryclass = "cs", } @techreport{Tzamaloukas-01, @@ -1548,3 +1536,5 @@ pages = "24--31"} address = {New York, NY, USA}, keywords = {Wireless sensor networks, media access control, multi-channel, radio interference, time synchronization}, } + + diff --git a/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf b/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf index c8be5efd8d9..81f4c6a3216 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf b/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf index 2b70a0b34d9..cde83c320b7 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf b/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf index c17438ec7ed..6f418f1a675 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf b/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf index 4f951be5022..a3e05b10dfc 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-siggraph.pdf b/Master/texmf-dist/doc/latex/acmart/sample-siggraph.pdf index 496248964ea..dc34e521bd7 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-siggraph.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-siggraph.pdf differ diff --git a/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf b/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf index 5d316e48f93..e3f7acffc0c 100644 Binary files a/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf and b/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf differ diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index 9765b874f2d..d00f22bdcb2 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx @@ -1119,7 +1119,90 @@ % If you use |natbib|, then commands like \cs{citep} and % \cs{citeauthor} are automatically supported. % +% There are several customized \BibTeX\ entries and fields in ACM +% style \path{ACM-Reference-Format.bst} you may want to be aware of. % +% The style supports fields \path{doi} and \path{url}, for example, +% \begin{verbatim} +% doi = "10.1145/1188913.1188915", +% url = "http://ccrma.stanford.edu/~jos/bayes/bayes.pdf", +% \end{verbatim} +% +% The style supports arXiv recommended fields \path{eprint} and +% (optionally) \path{primaryclass}, for example, +% \begin{verbatim} +% eprint = "960935712", +% primaryclass = "cs", +% \end{verbatim} +% See the examples at \url{http://arxiv.org/hypertex/bibstyles/}. +% +% There are special entries \path{online} and +% \path{game} for Web pages and games, for example, +% \begin{verbatim} +% @online{Thornburg01, +% author = "Harry Thornburg", +% year = "2001", +% title = "Introduction to Bayesian Statistics", +% url = "http://ccrma.stanford.edu/~jos/bayes/bayes.html", +% month = mar, +% lastaccessed = "March 2, 2005", +% } +% \end{verbatim} +% For these entries you can use the \path{lastaccessed} field to add +% the access date to the URL. +% +% There are two ways to enter video and audio sources in the +% bibliograpy corresponding to two different possibilies. For +% standalone sources available on WWW you can use an \path{online} +% entry, setting there \path{howpublished} field, for example, +% \begin{verbatim} +% @online{Obama08, +% author = "Barack Obama", +% year = "2008", +% title = "A more perfect union", +% howpublished = "Video", +% day = "5", +% url = "http://video.google.com/videoplay?docid=6528042696351994555", +% month = mar, +% lastaccessed = "March 21, 2008", +% } +% \end{verbatim} +% +% For the sources available as attachments to conference proceedings +% and similar documents, you can use the usual \path{inproceedings} +% entry, again setting the \path{howpublished} field: +% \begin{verbatim} +% @Inproceedings{Novak03, +% author = "Dave Novak", +% title = "Solder man", +% booktitle = {ACM SIGGRAPH 2003 Video Review on Animation theater +% Program}, +% year = "2003", +% publisher = "ACM Press", +% address = "New York, NY", +% pages = "4", +% month = "March 21, 2008", +% doi = "99.9999/woot07-S422", +% howpublished = "Video" +% } +% \end{verbatim} +% +% Sometimes you need to cite a complete issue of a journal. The entry +% \path{periodical} is intended for this: +% \begin{verbatim} +% @periodical{JCohen96, +% key = "Cohen", +% editor = "Jacques Cohen", +% title = "Special issue: Digital Libraries", +% journal = CACM, +% volume = "39", +% number = "11", +% month = nov, +% year = "1996", +% } +% +% \end{verbatim} +% % %\subsection{Colors} %\label{sec:ug_colors} @@ -1187,7 +1270,7 @@ \ProvidesFile{acmart.dtx} % %\ProvidesClass{acmart} -[2016/08/06 v1.20 Typesetting articles for Association of +[2016/09/04 v1.21 Typesetting articles for Association of Computing Machinery] % \end{macrocode} % @@ -4909,6 +4992,29 @@ Computing Machinery] \fi % \end{macrocode} % +% +%\subsection{Additional bibliography commands} +%\label{sec:bibliography} +% +% \begin{macro}{\showeprint} +% \changes{v1.21}{2016/09/04}{Added macro} +% The command \cs{showeprint} has two arguments: the (optional) prefix +% and the eprint number. Right now the only prefix we understand is +% the (lowercase) word `arxiv' (see +% \url{http://arxiv.org/hypertex/bibstyles/}. +% \begin{macrocode} +\newcommand\showeprint[2][arxiv]{% + \def\@tempa{#1}% + \ifx\@tempa\@empty\def\@tempa{arxiv}\fi + \def\@tempb{arxiv}% + \ifx\@tempa\@tempb + arXiv:\href{http://arxiv.org/abs/#2}{#2}\else arXiv:#2% + \fi} +% \end{macrocode} +% +% +% \end{macro} +% %\subsection{End of Class} %\label{end} % diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls index 5bd1277ad2d..2346d823e9c 100644 --- a/Master/texmf-dist/tex/latex/acmart/acmart.cls +++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls @@ -38,7 +38,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesClass{acmart} -[2016/08/06 v1.20 Typesetting articles for Association of +[2016/09/04 v1.21 Typesetting articles for Association of Computing Machinery] \def\@classname{acmart} \RequirePackage{xkeyval} @@ -2163,6 +2163,13 @@ Computing Machinery] \else \includecomment{anonsuppress} \fi +\newcommand\showeprint[2][arxiv]{% + \def\@tempa{#1}% + \ifx\@tempa\@empty\def\@tempa{arxiv}\fi + \def\@tempb{arxiv}% + \ifx\@tempa\@tempb + arXiv:\href{http://arxiv.org/abs/#2}{#2}\else arXiv:#2% + \fi} \normalsize\normalfont \endinput %% -- cgit v1.2.3