texlive[42001] Master/texmf-dist: acmart (6sep16)

commits+karl at tug.org commits+karl at tug.org
Tue Sep 6 23:30:56 CEST 2016


Revision: 42001
          http://tug.org/svn/texlive?view=revision&revision=42001
Author:   karl
Date:     2016-09-06 23:30:56 +0200 (Tue, 06 Sep 2016)
Log Message:
-----------
acmart (6sep16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst
    trunk/Master/texmf-dist/doc/latex/acmart/README
    trunk/Master/texmf-dist/doc/latex/acmart/acmart.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-bibliography.bib
    trunk/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-siggraph.pdf
    trunk/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf
    trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx
    trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls

Modified: trunk/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst	2016-09-06 21:30:37 UTC (rev 42000)
+++ trunk/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst	2016-09-06 21:30:56 UTC (rev 42001)
@@ -160,6 +160,7 @@
 ENTRY
   { address
     advisor
+    archiveprefix
     author
     booktitle
     chapter
@@ -167,6 +168,7 @@
     date        % jtb: added
     edition
     editor
+    eprint
     howpublished
     institution
     journal
@@ -176,6 +178,7 @@
     number
     organization
     pages
+    primaryclass
     publisher
     school
     series
@@ -749,6 +752,27 @@
   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.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 @@
   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.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 @@
   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 @@
     }
   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 @@
   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 @@
     }
   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 @@
     }
   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 @@
   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 @@
   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 @@
   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 @@
   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 @@
   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 @@
     { 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 @@
   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 @@
   % 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 @@
   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 @@
   "\providecommand\bibfield[2]{#2}" writeln
   "\providecommand\bibinfo[2]{#2}" writeln
   "\providecommand\natexlab[1]{#1}" writeln
+  "\providecommand\showeprint[2][]{arXiv:#2}" writeln
 }
 
 EXECUTE {begin.bib}

Modified: trunk/Master/texmf-dist/doc/latex/acmart/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/acmart/README	2016-09-06 21:30:37 UTC (rev 42000)
+++ trunk/Master/texmf-dist/doc/latex/acmart/README	2016-09-06 21:30:56 UTC (rev 42001)
@@ -39,3 +39,5 @@
                 in PDF bookmarks.
 
 version 1.20    Bug fixes, documentation updates
+
+version 1.21    Bibliography changes: added arXiv, some cleanup

Modified: trunk/Master/texmf-dist/doc/latex/acmart/acmart.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-bibliography.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/acmart/sample-bibliography.bib	2016-09-06 21:30:37 UTC (rev 42000)
+++ trunk/Master/texmf-dist/doc/latex/acmart/sample-bibliography.bib	2016-09-06 21:30:56 UTC (rev 42001)
@@ -247,23 +247,15 @@
 }
 
 
- at article{JCohen96,
+ at 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 @@
 }
 
 
- at misc{Thornburg01,
+ at 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",
 }
 
 
- at misc{Ablamowicz07,
+ at 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 @@
   title =        "Stats and Analysis",
   lastaccessed = "June 7, 2006",
   url =          "http://www.poker-edge.com/stats.php",
-  howpublished = "",
 }
 
 @misc{Obama08,
@@ -1402,7 +1388,9 @@
     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 @@
  address = {New York, NY, USA},
  keywords = {Wireless sensor networks, media access control, multi-channel, radio interference, time synchronization},
 }
+
+

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-siggraph.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx	2016-09-06 21:30:37 UTC (rev 42000)
+++ trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx	2016-09-06 21:30:56 UTC (rev 42001)
@@ -1119,8 +1119,91 @@
 % 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}
 %</gobble>
 %<class>\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 @@
 \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}
 %

Modified: trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls	2016-09-06 21:30:37 UTC (rev 42000)
+++ trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls	2016-09-06 21:30:56 UTC (rev 42001)
@@ -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 @@
 \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
 %%



More information about the tex-live-commits mailing list