From 5891685939bdfbfea0ec4f1336b0c1d9f8db7bba Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Jun 2017 22:16:49 +0000 Subject: acmart (20jun17) git-svn-id: svn://tug.org/texlive/trunk@44651 c570f23f-e606-0410-a88d-b1316a301751 --- .../bibtex/bst/acmart/ACM-Reference-Format.bst | 328 +++------------------ 1 file changed, 44 insertions(+), 284 deletions(-) (limited to 'Master/texmf-dist/bibtex') 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 033f0c862e2..ea3f35af251 100644 --- a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst +++ b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst @@ -2,11 +2,10 @@ %%% ==================================================================== %%% @BibTeX-style-file{ %%% author = "Nelson H. F. Beebe, Boris Veytsman and Gerald Murray", -%%% version = "1.18", -%%% date = "10 July 2016", +%%% version = "2.1", +%%% date = "14 June 2017", %%% filename = "ACM-Reference-Format.bst", -%%% email = "beebe@math.utah.edu, beebe@acm.org, -%%% beebe@computer.org, borisv@lk.net, murray@hq.acm.org", +%%% email = "borisv@lk.net, boris@varphi.com", %%% codetable = "ISO/ASCII", %%% keywords = "ACM Transactions bibliography style; BibTeX", %%% license = "public domain", @@ -15,149 +14,8 @@ %%% } %%% ==================================================================== -% ACM BibTeX style, ACM-Reference-Format.bst -% for BibTeX version 0.99c, LaTeX version 3.141 -% ACM extensions with code cleaned up, extended, and debugged 10--15-Nov-2008 -% Revised 17-APRIL-2008 (Nelson) -% Revised 13-MARCH-2011 (Boris/Gerry) -% Revised 23-MARCH-2011 (Boris/Gerry) -% Revised 27-MARCH-2011 (Boris/Gerry) -% Revised 15-APRIL-2011 (Boris/Gerry) -% Revised 27-SEPTEMBER-2011 (Boris) -% Revised 10-JULY-2016 (Boris) -% Revised 04-FEB-2017 (Boris) -% -% -% History (by Nelson) -% -% Based on 'acmtrans' (for ACM Journals) -% Date: 28th April 2008 -% -% 1. Avoid 'repeating' the 'month' values. -% 2. Avoid incorrectly italicizing the volume number. -% 3. Avoid non italicizing certain titles (book, inproceedings etc). -% 4. NO series if there is NO volume. -% 5. Sorting of reference with first surname. -% 6. Article no added for Inproceedings. -% -% Date: 07th May 2008 -% -% 1. Abbreviation list added -% -% Citation format: [author-last-name year] -% [author-last-name and author-last-name year] -% [author-last-name, author-last-name, and author-last-name year] -% [author-last-name et al. year] -% [author-last-name] -% author-last-name [year] -% [author-last-name and author-last-name] -% [author-last-name et al.] -% [year] or [year,year] -% year or year,year -% -% Reference list ordering: alphabetical by author or whatever passes -% for author in the absence of one. -% -% Features of the old acmtrans.bst: -% ================================= -% -% - all authors appear last name first. -% - all pages are listed xx-xx, (no pp.) and are at the end of the reference -% - publishers are identified as publisher, address -% - conferences papers (inproceedings) may give city of conference, -% date of conference, and journal that the proceedings appear in. -% - months abbreviated to max four letters (eg. Mar.) -% - volume of a series indicated after the title of the series -% - editors appear after edited title and are identified by a trailing "Eds." -% not in parentheses. Editor names are not given in small caps. -% (unless there is no author line) -% - names terminated with a period even if there is no first name. -% - editions are indicated trailing after the work, not in parentheses. -% - "et al." citations have a protected period to avoid bad spacing (jrh) -% - "address" required when publisher given -% - series (roman) and volume are in a sentence separate from (book-)title -% -% -% Features of chicago.bst: -% ======================= -% -% - full names used in citations, but abbreviated citations are available -% (see above) -% - if an entry has a "month", then the month and year are also printed -% as part of that bibitem. -% - all conjunctions use "and" instead of "\&" -% - major modification from Chicago Manual of Style (13th ed.) is that -% only the first author in a reference appears last name first- -% additional authors appear as J. Q. Public. -% - pages are listed as "pp. xx-xx" in all entry types except -% article entries. -% - book, inbook, and manual use "location: publisher" (or organization) -% for address and publisher. All other types list publishers separately. -% - "pp." are used to identify page numbers for all entry types except -% articles. -% - organization is used as a citation label if neither author nor editor -% is present (for manuals). -% - "et al." is used for long author and editor lists, or when "others" -% is used. -% -% Modifications and bug fixes from newapa.bst: -% =========================================== -% -% - added month, year to bib entries if month is present -% - fixed bug with In proceedings, added necessary comma after title -% - all conjunctions changed to "and" from "\&" -% - fixed bug with author labels in my.full.label: "et al." now is -% generated when "others" is an author name -% - major modification from Chicago Manual of Style (13th ed.) is that -% only the first author in a reference appears last name first- -% additional authors appear as J. Q. Public. -% - pages are listed as "pp. xx-xx" in all entry types except -% article entries. Unnecessary (IMHO) "()" around page numbers -% were removed, and page numbers now don't end with a period. -% - created chicago.sty for use with this bibstyle (required). -% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume, -% number, and /or pages. Renamed to format.journal.volume.number. -% - fixed bug in formatting booktitles: additional period an error if -% book has a volume. -% - fixed bug: editors usually given redundant period before next clause -% (format.editors.dot) removed. -% - added label support for organizations, if both author and editor -% are missing (from alpha.bst). If organization is too long, then -% the key field is used for abbreviated citations. -% - In proceedings or books of several volumes, no comma was written -% between the "Volume x" and the page numbers (this was intentional -% in newapa.bst). Fixed. -% - Some journals may not have volumes/numbers, only month/year (eg. -% IEEE Computer). Fixed bug in article style that assumed volume/number -% was always present. -% -% Original documentation for newapa.sty: -% ===================================== -% -% This version was made by modifying the master file made by -% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX -% style of Peter F. Patel-Schneider. -% -% Copyright (C) 1985, all rights reserved. -% Copying of this file is authorized only if either -% (1) you make absolutely no changes to your copy, including name, or -% (2) if you do make changes, you name it something other than 'newapa.bst'. -% There are undoubtably bugs in this style. If you make bug fixes, -% improvements, etc. please let me know. My e-mail address is: -% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com -% -% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst', -% with lots of tweaking to make it look like APA style, along with tips -% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'. -% -% -% Start of ACM-Reference-Format-Journals.bst -% -% Note: Many of the new bibentry 'fields' will only work with the -% 'ACM-Reference-Format-Journals.bst' file. Legacy .bib files (which will, in all probability, -% NOT contain these new fields) will _still_ work with the ACM-Reference-Format-Journals.bst. -% -% +%%% Revision history: see source in git + ENTRY { address advisor @@ -165,8 +23,8 @@ ENTRY author booktitle chapter - city % jtb: added - date % jtb: added + city + date edition editor eprint @@ -204,7 +62,7 @@ ENTRY lccn % UTAH } {} - { label.year extra.label sort.year sort.label } + { label.year extra.label sort.year sort.label basic.label.year} INTEGERS { output.state before.all mid.sentence after.sentence after.block } @@ -224,6 +82,7 @@ STRINGS { last.label next.extra } STRINGS { p1 p2 p3 page.count } + FUNCTION { not } { { #0 } @@ -587,12 +446,12 @@ FUNCTION { format.articleno } } FUNCTION { format.year } -{ % push year string or "????" onto output stack +{ % push year string or "[n. d.]" onto output stack %% Because year is a mandatory field, we always force SOMETHING %% to be output "\bibinfo{year}{" year empty.or.unknown - { "????" } + { "[n. d.]" } { year } if$ * "}" * @@ -893,9 +752,14 @@ FUNCTION { output.url } % UTAH } FUNCTION { output.year.check } -{ % warn if year empty, else output top string and leave " YEAR