[rkward-cvs] SF.net SVN: rkward:[4230] branches/jss_dec_10/final_polished

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Apr 30 19:02:45 UTC 2012


Revision: 4230
          http://rkward.svn.sourceforge.net/rkward/?rev=4230&view=rev
Author:   tfry
Date:     2012-04-30 19:02:44 +0000 (Mon, 30 Apr 2012)
Log Message:
-----------
Copy files to the 'polished' folder, adjusting filenames.

Added Paths:
-----------
    branches/jss_dec_10/final_polished/Code/rkward-0.5.7.tar.gz
    branches/jss_dec_10/final_polished/Figures/CSV_import.png
    branches/jss_dec_10/final_polished/Figures/boxplot1.png
    branches/jss_dec_10/final_polished/Figures/boxplot2.png
    branches/jss_dec_10/final_polished/Figures/code_hinting.png
    branches/jss_dec_10/final_polished/Figures/data_editors.png
    branches/jss_dec_10/final_polished/Figures/design_sketch.pdf
    branches/jss_dec_10/final_polished/Figures/import_data.png
    branches/jss_dec_10/final_polished/Figures/main_window.png
    branches/jss_dec_10/final_polished/Figures/plot_history_cropped.png
    branches/jss_dec_10/final_polished/Figures/plugin_structure.pdf
    branches/jss_dec_10/final_polished/Figures/results_output_cropped.png
    branches/jss_dec_10/final_polished/Figures/special_paste.png
    branches/jss_dec_10/final_polished/Figures/t-test_dialog.png
    branches/jss_dec_10/final_polished/Figures/t-test_results.png
    branches/jss_dec_10/final_polished/Figures/timeline.pdf
    branches/jss_dec_10/final_polished/Figures/ttest-gui-example.png
    branches/jss_dec_10/final_polished/Internal_Stuff/
    branches/jss_dec_10/final_polished/Internal_Stuff/generic_comments.txt
    branches/jss_dec_10/final_polished/Internal_Stuff/specific_comments.txt
    branches/jss_dec_10/final_polished/jss.bst
    branches/jss_dec_10/final_polished/jss.cls
    branches/jss_dec_10/final_polished/jss.dbj
    branches/jss_dec_10/final_polished/jss.drv
    branches/jss_dec_10/final_polished/jss.dtx
    branches/jss_dec_10/final_polished/jss.ins
    branches/jss_dec_10/final_polished/jsslogo.jpg
    branches/jss_dec_10/final_polished/v49i09.tex
    branches/jss_dec_10/final_polished/v49i09_GUI_elements.tex
    branches/jss_dec_10/final_polished/v49i09_acknowledgements.tex
    branches/jss_dec_10/final_polished/v49i09_annex.tex
    branches/jss_dec_10/final_polished/v49i09_background.tex
    branches/jss_dec_10/final_polished/v49i09_conclusion_summary.tex
    branches/jss_dec_10/final_polished/v49i09_example_plugin.tex
    branches/jss_dec_10/final_polished/v49i09_example_session.tex
    branches/jss_dec_10/final_polished/v49i09_installing_starting_RKWard.tex
    branches/jss_dec_10/final_polished/v49i09_sources.bib
    branches/jss_dec_10/final_polished/v49i09_technical.tex

Removed Paths:
-------------
    branches/jss_dec_10/final_polished/Internal_Stuff/specific_comments.txt
    branches/jss_dec_10/final_polished/Notes/

Added: branches/jss_dec_10/final_polished/Code/rkward-0.5.7.tar.gz
===================================================================
(Binary files differ)


Property changes on: branches/jss_dec_10/final_polished/Code/rkward-0.5.7.tar.gz
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Copied: branches/jss_dec_10/final_polished/Figures/CSV_import.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/CSV_import.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/boxplot1.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/boxplot1.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/boxplot2.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/boxplot2.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/code_hinting.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/code_hinting.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/data_editors.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/data_editors.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/design_sketch.pdf (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/design_sketch.pdf)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/import_data.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/import_data.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/main_window.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/main_window.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/plot_history_cropped.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/plot_history_cropped.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/plugin_structure.pdf (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/plugin_structure.pdf)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/results_output_cropped.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/results_output_cropped.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/special_paste.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/special_paste.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/t-test_dialog.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/t-test_dialog.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/t-test_results.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/t-test_results.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/timeline.pdf (from rev 4216, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/timeline.pdf)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Figures/ttest-gui-example.png (from rev 4215, branches/jss_dec_10/FINAL_JSS_TEX/FINAL_splitted/figures/ttest-gui-example.png)
===================================================================
(Binary files differ)

Copied: branches/jss_dec_10/final_polished/Internal_Stuff/generic_comments.txt (from rev 4222, branches/jss_dec_10/final_polished/Notes/generic_comments.txt)
===================================================================
--- branches/jss_dec_10/final_polished/Internal_Stuff/generic_comments.txt	                        (rev 0)
+++ branches/jss_dec_10/final_polished/Internal_Stuff/generic_comments.txt	2012-04-30 19:02:44 UTC (rev 4230)
@@ -0,0 +1,95 @@
+------------ What's left TODO of the generic commments --------------
+
+----- (2) Code and replication materials -----
+
+o Please include the latest version of your software package along
+with the manuscript. This needs to encompass the full sources. Binary
+versions can be provided in addition (but are not necessary for CRAN
+packages). The version of the source packages published on
+jstatsoft.org should be under a GPL-2 license.
+
+TODO: package. Does that mean we should include 0.5.7?
+-- We have added a note to the technical supplement that this is based on
+version 0.5.6 of RKWard. Some implementation details have already changed
+since then.
+
+----- (3) Organization of the files -----
+
+o The .tex, .bib, and compiled .pdf for your manuscript should be
+called v49iXX.tex, v49iXX.bib, and v49iXX.pdf , where XX is the
+two-digit number of your submission within the volume, e.g.,
+v49i01.tex/bib/pdf.
+
+o All graphics files should be collected in a sub-directory "Figures".
+To help LaTeX find the graphics, you can simply include the line
+
+\graphicspath{{Figures/}}
+
+in the header of your .tex file.
+
+o All code and replication materials should be collected in a
+sub-directory "Code". The main replication file should be v49iXX.R or
+v49iXX.txt (see point (2) above), where XX is again the two-digit
+number of your submission.
+
+o Please wrap all of these files into a single organized .zip (or
+.tar.gz) file. Please make sure the .zip files only contains the
+necessary files. That is, please do not include .aux, .log, etc.
+files. Also, do not include the JSS style files (jss.cls, jss.bst,
+jsslogo.jpg, etc.).
+
+
+
+----------------- What's already done or not relevant ------------------
+
+----- (1) Style ------
+
+o Please have another look at the FAQ at
+http://www.jstatsoft.org/style
+and make sure that you follow all instructions closely.
+
+o In particular, note that for describing components of GUIs, the
+JSS-specific \code{} markup should be used. For example for menu
+items, buttons, etc.
+
+o Do not capitalize expansions of abbreviations. In particular
+introduce the abbreviation GUI in regular text as "graphical user
+interface" without capitalization. Similarly for "integrated
+development environment" etc.
+
+o Pay particular attention to your .bib files. In addition to the
+advice in the FAQ, please make sure that all your software references
+are current. Please use the current 2012 R citation (also included
+below) and, if applicable, cross-reference other packages in this
+volume with their full/correct reference. A list of suitable .bib
+items is included below. (Note that for some titles
+markup/capitalization have been changed according to JSS style.)
+
+o In case your software is a CRAN package, please point out somewhere
+(typically in the introduction) that your package is "available from
+the Comprehensive \proglang{R} Archive Network at
+\url{http://CRAN.R-project.org/package=...}" where ... should be
+replaced with the name of your package.
+
+o For R packages, please also make sure that you fix all ERRORs and
+WARNINGs of R CMD check - and if possible also all NOTEs.
+
+o In addition to the source package, please provide replication
+materials for all examples/tables/figures from the manuscript. This
+can be in the form of a standalone .R file containing the source code
+(e.g., as generated from the GUI) or in a standalone .txt file
+describing concisely what has to be clicked/entered in the GUI. If
+extra data files are required, these should be supplied as well.
+
+o Include the publication information in the LaTeX header of your .tex
+file. This is:
+
+\Volume{49}
+\Issue{...}
+\Month{June}
+\Year{2012}
+\Submitdate{...}
+\Acceptdate{...}
+
+where the "..." fields should be replaced with the correct information
+for your submission.

Deleted: branches/jss_dec_10/final_polished/Internal_Stuff/specific_comments.txt
===================================================================
--- branches/jss_dec_10/final_polished/Notes/specific_comments.txt	2012-04-30 11:15:34 UTC (rev 4221)
+++ branches/jss_dec_10/final_polished/Internal_Stuff/specific_comments.txt	2012-04-30 19:02:44 UTC (rev 4230)
@@ -1,74 +0,0 @@
----- What's left TODO of the specific notes: ----
-
-o Omit the footnotes in the \author{} statement. Instead put the remarks
-into the \section*{Acknowledgments}. Give only the main affiliation in
-\author{}, further affiliations can be given in the \Address{}.
-
-TODO: Move equal contribution note to Acknowledgments
-Done: Affiliation for Stefan
-
-o Formally \cite suitable references for KDE and Qt etc. instead of
-just giving URLs in footnotes.
-
-o Include the URLs from Footnotes 4-10, 20-23 into the regular text (e.g.,
-in parentheses).
-
-o \pkg{R} -> \proglang{R}. There are also various instances of "R" without
-any markup, please correct.
-
-TODO: check again
-
-o Please use three digits for R versions, i.e., 1.3.0 etc.
-
-TODO: check again
-
-o Omit the URLs in the references to standard journal articles. If the
-journal is open access (i.e., including JSS, R News etc.) a single URL
-or the DOI should be kept.
-
-TODO: check again
-
---------- What's done (with comments if needed) ---------
-
-o For \cite-ing the R-GUI page of Philippe a formal BibTeX item is
-provided below.
-
-o Please use \code{} markup for file names (not sf).
-
-o Tlc -> Tcl
-
-o The .pdf underlying Figure 1 is extremely large and hence delays loading
-of the page when reading the paper on screen. Please supply a leaner
-.pdf (the text, boxes, and shadings should not require 1M...).
-
-o Please \cite Rcmdr and TeachingDemos. Suitable BibTeX items are provided
-below.
-
-o Use \code{} markup for GUI elements, e.g., menu items, buttons, or key
-combinations. (You can also use \texttt which may be easier in combination
-with arrows.)
-
-o If you keep quotation marks in addition to \code markup for GUI elements,
-please make sure that the direction is appropriate. Currently, there are
-a few instances where this is not the case (e.g., "Future Options" in
-the caption of Figure 6).
-
-o Please use "(A)", "(B)" etc. instead of "A)", "B)" etc.
-
-o Is "RreportGenerator" or "RReportGenerator" correct?
-
-o \pkg{Sweave} -> \code{Sweave} (because it is a function not a package).
-
-o An enhanced Sweave citation is included below.
-
-o UNIX -> Unix
-
-o Use "$t$~test" instead of "t-Test".
-
-Done. However, in an RKWard menu item the spelling t-Test is used, and the spelling was kept for direct references to this particular menu item.
-
-o Omit the doi in the Gentleman et al. reference and the citeseer reference
-in Kim and Lutteroth.
-
-o Is there an update on the publication information in Roediger et al. (2011b)
-yet? If volume/number/pages are not available yet, a doi can be supplied.

Copied: branches/jss_dec_10/final_polished/Internal_Stuff/specific_comments.txt (from rev 4229, branches/jss_dec_10/final_polished/Notes/specific_comments.txt)
===================================================================
--- branches/jss_dec_10/final_polished/Internal_Stuff/specific_comments.txt	                        (rev 0)
+++ branches/jss_dec_10/final_polished/Internal_Stuff/specific_comments.txt	2012-04-30 19:02:44 UTC (rev 4230)
@@ -0,0 +1,79 @@
+---- What's left TODO of the specific notes: ----
+
+o Include the URLs from Footnotes 4-10, 20-23 into the regular text (e.g.,
+in parentheses).
+
+-- Done. But I guess now we have to revisit all page breaks. Sigh...
+
+o \pkg{R} -> \proglang{R}. There are also various instances of "R" without
+any markup, please correct.
+
+TODO: check again
+
+o Omit the URLs in the references to standard journal articles. If the
+journal is open access (i.e., including JSS, R News etc.) a single URL
+or the DOI should be kept.
+
+TODO: check again. I think this basically translates to "Either link to the full document, or do not link to anything at all" (possibly excepting articles in press).
+
+--------- What's done (with comments if needed) ---------
+
+o Formally \cite suitable references for KDE and Qt etc. instead of
+just giving URLs in footnotes.
+
+-- We have wrapped the URLs into formal citations. We have kept the remainder of the
+two footnotes (but merged them into a single footnote), as we believe this will help
+the casual reader to get a very basic idea about the meaning of the two terms. We hope
+this complies with your expectations.
+
+o Omit the footnotes in the \author{} statement. Instead put the remarks
+into the \section*{Acknowledgments}. Give only the main affiliation in
+\author{}, further affiliations can be given in the \Address{}.
+
+-- We have moved the remarks as advised. To avoid confusion, the full section
+"Acknowledgements" is now included in both the main paper, and the annex.
+
+o For \cite-ing the R-GUI page of Philippe a formal BibTeX item is
+provided below.
+
+o Please use \code{} markup for file names (not sf).
+
+o Tlc -> Tcl
+
+o The .pdf underlying Figure 1 is extremely large and hence delays loading
+of the page when reading the paper on screen. Please supply a leaner
+.pdf (the text, boxes, and shadings should not require 1M...).
+
+o Please \cite Rcmdr and TeachingDemos. Suitable BibTeX items are provided
+below.
+
+o Please use three digits for R versions, i.e., 1.3.0 etc.
+
+o Use \code{} markup for GUI elements, e.g., menu items, buttons, or key
+combinations. (You can also use \texttt which may be easier in combination
+with arrows.)
+
+o If you keep quotation marks in addition to \code markup for GUI elements,
+please make sure that the direction is appropriate. Currently, there are
+a few instances where this is not the case (e.g., "Future Options" in
+the caption of Figure 6).
+
+o Please use "(A)", "(B)" etc. instead of "A)", "B)" etc.
+
+o Is "RreportGenerator" or "RReportGenerator" correct?
+
+o \pkg{Sweave} -> \code{Sweave} (because it is a function not a package).
+
+o An enhanced Sweave citation is included below.
+
+o UNIX -> Unix
+
+o Use "$t$~test" instead of "t-Test".
+
+-- Done. However, in one RKWard menu item the spelling "t-Test" is used, and this spelling was kept for direct references to this particular menu item.
+
+o Omit the doi in the Gentleman et al. reference and the citeseer reference
+in Kim and Lutteroth.
+
+o Is there an update on the publication information in Roediger et al. (2011b)
+yet? If volume/number/pages are not available yet, a doi can be supplied.

Added: branches/jss_dec_10/final_polished/jss.bst
===================================================================
--- branches/jss_dec_10/final_polished/jss.bst	                        (rev 0)
+++ branches/jss_dec_10/final_polished/jss.bst	2012-04-30 19:02:44 UTC (rev 4230)
@@ -0,0 +1,1629 @@
+%%
+%% This is file `jss.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs  (with options: `ay,nat,nm-rvx,keyxyr,dt-beg,yr-par,note-yr,tit-qq,atit-u,trnum-it,vol-bf,volp-com,num-xser,pre-edn,isbn,issn,edpar,pp,ed,xedn,xand,etal-it,revdata,eprint,url,url-blk,doi,nfss')
+%% 
+%% ** BibTeX style file for JSS publications (http://www.jstatsoft.org/)
+%% 
+%% Copyright 1994-2005 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2005/10/17 4.14 (PWD, AO, DPC)]
+ %   For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is    natbib.sty   by Patrick W. Daly
+ % The form of the \bibitem entries is
+ %   \bibitem[Jones et al.(1990)]{key}...
+ %   \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ %   \citet{key} ==>>                Jones et al. (1990)
+ %   \citet*{key} ==>>               Jones, Baker, and Smith (1990)
+ %   \citep{key} ==>>                (Jones et al., 1990)
+ %   \citep*{key} ==>>               (Jones, Baker, and Smith, 1990)
+ %   \citep[chap. 2]{key} ==>>       (Jones et al., 1990, chap. 2)
+ %   \citep[e.g.][]{key} ==>>        (e.g. Jones et al., 1990)
+ %   \citep[e.g.][p. 32]{key} ==>>   (e.g. Jones et al., p. 32)
+ %   \citeauthor{key} ==>>           Jones et al.
+ %   \citeauthor*{key} ==>>          Jones, Baker, and Smith
+ %   \citeyear{key} ==>>             1990
+ %---------------------------------------------------------------------
+
+ENTRY
+  { address
+    archive
+    author
+    booktitle
+    chapter
+    collaboration
+    doi
+    edition
+    editor
+    eid
+    eprint
+    howpublished
+    institution
+    isbn
+    issn
+    journal
+    key
+    month
+    note
+    number
+    numpages
+    organization
+    pages
+    publisher
+    school
+    series
+    title
+    type
+    url
+    volume
+    year
+  }
+  {}
+  { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+  #1 'mid.sentence :=
+  #2 'after.sentence :=
+  #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+  output.state mid.sentence =
+    { ", " * write$ }
+    { output.state after.block =
+        { add.period$ write$
+          newline$
+          "\newblock " write$
+        }
+        { output.state before.all =
+            'write$
+            { add.period$ " " * write$ }
+          if$
+        }
+      if$
+      mid.sentence 'output.state :=
+    }
+  if$
+  s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+    'pop$
+    'output.nonnull
+  if$
+}
+FUNCTION {output.check}
+{ 't :=
+  duplicate$ empty$
+    { pop$ "empty " t * " in " * cite$ * warning$ }
+    'output.nonnull
+  if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+  write$
+  newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+    'skip$
+    { after.block 'output.state := }
+  if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+    'skip$
+    { output.state before.all =
+        'skip$
+        { after.sentence 'output.state := }
+      if$
+    }
+  if$
+}
+FUNCTION {add.blank}
+{  " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+  new.block
+}
+
+FUNCTION {not}
+{   { #0 }
+    { #1 }
+  if$
+}
+FUNCTION {and}
+{   'skip$
+    { pop$ #0 }
+  if$
+}
+FUNCTION {or}
+{   { pop$ #1 }
+    'skip$
+  if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+   "}" * add.period$
+   #-1 #1 substring$ "." =
+}
+
+STRINGS {z}
+FUNCTION {remove.dots}
+{ 'z :=
+  ""
+  { z empty$ not }
+  { z #1 #1 substring$
+    z #2 global.max$ substring$ 'z :=
+    duplicate$ "." = 'pop$
+      { * }
+    if$
+  }
+  while$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+  swap$ empty$
+  and
+    'skip$
+    'new.block
+  if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+    { pop$ "" }
+    'skip$
+  if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+    { pop$ "" }
+    { "\emph{" swap$ * "}" * }
+  if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+    { pop$ "" }
+    { "\textbf{" swap$ * "}" * }
+  if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+    { "~" }
+    { " " }
+  if$
+  swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.eidpp}
+{ "pages" }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.techrep}
+{ "Technical Report" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+  duplicate$ missing$
+    {
+      pop$ pop$
+      ""
+    }
+    { duplicate$ empty$
+        {
+          swap$ pop$
+        }
+        { swap$
+          pop$
+        }
+      if$
+    }
+  if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+  duplicate$ missing$
+    {
+      swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+      ""
+    }
+    { duplicate$ empty$
+        {
+          swap$ "empty " swap$ * " in " * cite$ * warning$
+        }
+        { swap$
+          pop$
+        }
+      if$
+    }
+  if$
+}
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+    'skip$
+    { "\eprint"
+      archive empty$
+        'skip$
+        { "[" * archive * "]" * }
+      if$
+      "{" * swap$ * "}" *
+    }
+  if$
+}
+FUNCTION {format.url}
+{ url empty$
+    { "" }
+    { "\urlprefix\url{" url * "}" * }
+  if$
+}
+
+STRINGS  { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+  duplicate$ empty$ 'skip$ {
+  's :=
+  "" 't :=
+  #1 'nameptr :=
+  s num.names$ 'numnames :=
+  numnames 'namesleft :=
+    { namesleft #0 > }
+    { s nameptr
+      "{vv~}{ll}{ jj}{ f{}}"
+      format.name$
+      remove.dots
+      bibinfo bibinfo.check
+      't :=
+      nameptr #1 >
+        {
+          namesleft #1 >
+            { ", " * t * }
+            {
+              s nameptr "{ll}" format.name$ duplicate$ "others" =
+                { 't := }
+                { pop$ }
+              if$
+              "," *
+              t "others" =
+                {
+                  " " * bbl.etal emphasize *
+                }
+                { " " * t * }
+              if$
+            }
+          if$
+        }
+        't
+      if$
+      nameptr #1 + 'nameptr :=
+      namesleft #1 - 'namesleft :=
+    }
+  while$
+  } if$
+}
+FUNCTION {format.names.ed}
+{
+  'bibinfo :=
+  duplicate$ empty$ 'skip$ {
+  's :=
+  "" 't :=
+  #1 'nameptr :=
+  s num.names$ 'numnames :=
+  numnames 'namesleft :=
+    { namesleft #0 > }
+    { s nameptr
+      "{f{}~}{vv~}{ll}{ jj}"
+      format.name$
+      remove.dots
+      bibinfo bibinfo.check
+      't :=
+      nameptr #1 >
+        {
+          namesleft #1 >
+            { ", " * t * }
+            {
+              s nameptr "{ll}" format.name$ duplicate$ "others" =
+                { 't := }
+                { pop$ }
+              if$
+              "," *
+              t "others" =
+                {
+
+                  " " * bbl.etal emphasize *
+                }
+                { " " * t * }
+              if$
+            }
+          if$
+        }
+        't
+      if$
+      nameptr #1 + 'nameptr :=
+      namesleft #1 - 'namesleft :=
+    }
+  while$
+  } if$
+}
+FUNCTION {format.key}
+{ empty$
+    { key field.or.null }
+    { "" }
+  if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+    duplicate$ empty$ 'skip$
+    { collaboration "collaboration" bibinfo.check
+      duplicate$ empty$ 'skip$
+        { " (" swap$ * ")" * }
+      if$
+      *
+    }
+  if$
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+    {
+      " " *
+      get.bbl.editor
+   "(" swap$ * ")" *
+      *
+    }
+  if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+  duplicate$ empty$ 'skip$
+    {
+      new.block
+      "ISBN " swap$ *
+    }
+  if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+  duplicate$ empty$ 'skip$
+    {
+      new.block
+      "ISSN " swap$ *
+    }
+  if$
+}
+
+FUNCTION {format.doi}
+{ doi "doi" bibinfo.check
+  duplicate$ empty$ 'skip$
+    {
+      new.block
+      "\doi{" swap$ * "}" *
+    }
+  if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+    { "" }
+    { note #1 #1 substring$
+      duplicate$ "{" =
+        'skip$
+        { output.state mid.sentence =
+          { "l" }
+          { "u" }
+        if$
+        change.case$
+        }
+      if$
+      note #2 global.max$ substring$ * "note" bibinfo.check
+    }
+  if$
+}
+
+FUNCTION {format.title}
+{ title
+  "title" bibinfo.check
+  duplicate$ empty$ 'skip$
+    {
+      "\enquote{" swap$ *
+      add.period$ "}" *
+    }
+  if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+  #1 'nameptr :=
+  s num.names$ 'numnames :=
+  numnames 'namesleft :=
+    { namesleft #0 > }
+    { s nameptr
+      "{vv~}{ll}" format.name$
+      't :=
+      nameptr #1 >
+        {
+          namesleft #1 >
+            { ", " * t * }
+            {
+              s nameptr "{ll}" format.name$ duplicate$ "others" =
+                { 't := }
+                { pop$ }
+              if$
+              t "others" =
+                {
+                  " " * bbl.etal emphasize *
+                }
+                {
+                  numnames #2 >
+                    { "," * }
+                    'skip$
+                  if$
+                  bbl.and
+                  space.word * t *
+                }
+              if$
+            }
+          if$
+        }
+        't
+      if$
+      nameptr #1 + 'nameptr :=
+      namesleft #1 - 'namesleft :=
+    }
+  while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+    { editor empty$
+        { key empty$
+            { cite$ #1 #3 substring$ }
+            'key
+          if$
+        }
+        { editor format.full.names }
+      if$
+    }
+    { author format.full.names }
+  if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+    { key empty$
+         { cite$ #1 #3 substring$ }
+          'key
+      if$
+    }
+    { author format.full.names }
+  if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+    { key empty$
+         { cite$ #1 #3 substring$ }
+          'key
+      if$
+    }
+    { editor format.full.names }
+  if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+  type$ "inbook" =
+  or
+    'author.editor.key.full
+    { type$ "proceedings" =
+        'editor.key.full
+        'author.key.full
+      if$
+    }
+  if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+  "\bibitem[{" write$
+  label write$
+  ")" make.full.names duplicate$ short.list =
+     { pop$ }
+     { * }
+   if$
+  "}]{" * write$
+  cite$ write$
+  "}" write$
+  newline$
+  ""
+  before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+  't :=
+  ""
+    { t empty$ not }
+    { t #1 #1 substring$ "-" =
+        { t #1 #2 substring$ "--" = not
+            { "--" *
+              t #2 global.max$ substring$ 't :=
+            }
+            {   { t #1 #1 substring$ "-" = }
+                { "-" *
+                  t #2 global.max$ substring$ 't :=
+                }
+              while$
+            }
+          if$
+        }
+        { t #1 #1 substring$ *
+          t #2 global.max$ substring$ 't :=
+        }
+      if$
+    }
+  while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+  " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+    {
+      "empty year in " cite$ * "; set to ????" * warning$
+       pop$ "????"
+    }
+    'skip$
+  if$
+  extra.label *
+  before.all 'output.state :=
+  " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+  duplicate$ empty$ 'skip$
+    {
+      emphasize
+    }
+  if$
+}
+FUNCTION {either.or.check}
+{ empty$
+    'pop$
+    { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+  if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+    { "" }
+    { bbl.volume volume tie.or.space.prefix
+      "volume" bibinfo.check * *
+      series "series" bibinfo.check
+      duplicate$ empty$ 'pop$
+        { swap$ bbl.of space.word * swap$
+          emphasize * }
+      if$
+      "volume and number" number either.or.check
+    }
+  if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+    { number empty$
+        { series field.or.null }
+        { series empty$
+            { number "number" bibinfo.check }
+            { output.state mid.sentence =
+                { bbl.number }
+                { bbl.number capitalize }
+              if$
+              number tie.or.space.prefix "number" bibinfo.check * *
+              bbl.in space.word *
+              series "series" bibinfo.check *
+            }
+          if$
+        }
+      if$
+    }
+    { "" }
+  if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+    {
+      output.state mid.sentence =
+        { "l" }
+        { "t" }
+      if$ change.case$
+      "edition" bibinfo.check
+      " " * bbl.edition *
+    }
+  if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+  #0 'multiresult :=
+    { multiresult not
+      t empty$ not
+      and
+    }
+    { t #1 #1 substring$
+      duplicate$ "-" =
+      swap$ duplicate$ "," =
+      swap$ "+" =
+      or or
+        { #1 'multiresult := }
+        { t #2 global.max$ substring$ 't := }
+      if$
+    }
+  while$
+  multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+    { duplicate$ multi.page.check
+        {
+          bbl.pages swap$
+          n.dashify
+        }
+        {
+          bbl.page swap$
+        }
+      if$
+      tie.or.space.prefix
+      "pages" bibinfo.check
+      * *
+    }
+  if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+    { swap$ duplicate$ empty$
+        { pop$ pop$ format.pages }
+        {
+          ", " *
+          swap$
+          n.dashify
+          "pages" bibinfo.check
+          *
+        }
+      if$
+    }
+  if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+  duplicate$ empty$ 'pop$
+    { swap$ duplicate$ empty$ 'skip$
+      {
+          ", " *
+      }
+      if$
+      swap$ *
+      numpages empty$ 'skip$
+        { bbl.eidpp numpages tie.or.space.prefix
+          "numpages" bibinfo.check * *
+          " (" swap$ * ")" * *
+        }
+      if$
+    }
+  if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+  duplicate$ empty$ 'skip$
+    {
+      "volume" bibinfo.check
+    }
+  if$
+  bolden
+  number "number" bibinfo.check duplicate$ empty$ 'skip$
+    {
+      swap$ duplicate$ empty$
+        { "there's a number but no volume in " cite$ * warning$ }
+        'skip$
+      if$
+      swap$
+      "(" swap$ * ")" *
+    }
+  if$ *
+  eid empty$
+    { format.journal.pages }
+    { format.journal.eid }
+  if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+    'format.pages
+    { type empty$
+        { bbl.chapter }
+        { type "l" change.case$
+          "type" bibinfo.check
+        }
+      if$
+      chapter tie.or.space.prefix
+      "chapter" bibinfo.check
+      * *
+      pages empty$
+        'skip$
+        { ", " * format.pages * }
+      if$
+    }
+  if$
+}
+
+FUNCTION {format.booktitle}
+{
+  booktitle "booktitle" bibinfo.check
+  emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+    {
+      editor "editor" format.names.ed duplicate$ empty$ 'pop$
+        {
+          " " *
+          get.bbl.editor
+          "(" swap$ * "), " *
+          * swap$
+          * }
+      if$
+      word.in swap$ *
+    }
+  if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+    'pop$
+    { swap$ pop$
+      "t" change.case$ "type" bibinfo.check
+    }
+  if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+  type duplicate$ empty$
+    { pop$ bbl.techrep }
+    'skip$
+  if$
+  "type" bibinfo.check
+  swap$ duplicate$ empty$
+    { pop$ "t" change.case$ }
+    { tie.or.space.prefix * * }
+  if$
+}
+FUNCTION {format.article.crossref}
+{
+  word.in
+  " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+    { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+      pop$ word.in
+    }
+    { bbl.volume
+      capitalize
+      swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+    }
+  if$
+  " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+  word.in
+  " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+  ""
+  address empty$ t empty$ and
+    'skip$
+    {
+      t empty$
+        { address "address" bibinfo.check *
+        }
+        { t *
+          address empty$
+            'skip$
+            { ", " * address "address" bibinfo.check * }
+          if$
+        }
+      if$
+    }
+  if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+  format.authors "author" output.check
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.title "title" output.check
+  new.block
+  crossref missing$
+    {
+      journal
+      "journal" bibinfo.check
+      emphasize
+      "journal" output.check
+      format.vol.num.pages output
+    }
+    { format.article.crossref output.nonnull
+      format.pages output
+    }
+  if$
+  format.issn output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+  author empty$
+    { format.editors "author and editor" output.check
+      editor format.key output
+    }
+    { format.authors output.nonnull
+      crossref missing$
+        { "author and editor" editor either.or.check }
+        'skip$
+      if$
+    }
+  if$
+  format.date "year" output.check
+  date.block
+  format.btitle "title" output.check
+  crossref missing$
+    { format.bvolume output
+      new.block
+      format.number.series output
+      format.edition output
+      new.sentence
+      format.publisher.address output
+    }
+    {
+      new.block
+      format.book.crossref output.nonnull
+    }
+  if$
+  format.isbn output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+  format.authors output
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.title "title" output.check
+  new.block
+  howpublished "howpublished" bibinfo.check output
+  address "address" bibinfo.check output
+  format.isbn output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+  author empty$
+    { format.editors "author and editor" output.check
+      editor format.key output
+    }
+    { format.authors output.nonnull
+      crossref missing$
+        { "author and editor" editor either.or.check }
+        'skip$
+      if$
+    }
+  if$
+  format.date "year" output.check
+  date.block
+  format.btitle "title" output.check
+  crossref missing$
+    {
+      format.bvolume output
+      format.chapter.pages "chapter and pages" output.check
+      new.block
+      format.number.series output
+      format.edition output
+      new.sentence
+      format.publisher.address output
+    }
+    {
+      format.chapter.pages "chapter and pages" output.check
+      new.block
+      format.book.crossref output.nonnull
+    }
+  if$
+  crossref missing$
+    { format.isbn output }
+    'skip$
+  if$
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+  format.authors "author" output.check
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.title "title" output.check
+  new.block
+  crossref missing$
+    { format.in.ed.booktitle "booktitle" output.check
+      format.bvolume output
+      format.number.series output
+      format.edition output
+      format.chapter.pages output
+      new.sentence
+      format.publisher.address output
+      format.isbn output
+    }
+    { format.incoll.inproc.crossref output.nonnull
+      format.chapter.pages output
+    }
+  if$
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+  format.authors "author" output.check
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.title "title" output.check
+  new.block
+  crossref missing$
+    { format.in.ed.booktitle "booktitle" output.check
+      format.bvolume output
+      format.number.series output
+      format.pages output
+      new.sentence
+      publisher empty$
+        { format.organization.address output }
+        { organization "organization" bibinfo.check output
+          format.publisher.address output
+        }
+      if$
+      format.isbn output
+      format.issn output
+    }
+    { format.incoll.inproc.crossref output.nonnull
+      format.pages output
+    }
+  if$
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+  format.authors output
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.btitle "title" output.check
+  organization address new.block.checkb
+  organization "organization" bibinfo.check output
+  address "address" bibinfo.check output
+  format.edition output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+  format.authors "author" output.check
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.btitle
+  "title" output.check
+  new.block
+  bbl.mthesis format.thesis.type output.nonnull
+  school "school" bibinfo.warn output
+  address "address" bibinfo.check output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+  format.authors output
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.title output
+  new.block
+  howpublished "howpublished" bibinfo.check output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+  format.authors "author" output.check
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.btitle
+  "title" output.check
+  new.block
+  bbl.phdthesis format.thesis.type output.nonnull
+  school "school" bibinfo.warn output
+  address "address" bibinfo.check output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+  format.editors output
+  editor format.key output
+  format.date "year" output.check
+  date.block
+  format.btitle "title" output.check
+  format.bvolume output
+  format.number.series output
+  new.sentence
+  publisher empty$
+    { format.organization.address output }
+    { organization "organization" bibinfo.check output
+      format.publisher.address output
+    }
+  if$
+  format.isbn output
+  format.issn output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+  format.authors "author" output.check
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.title
+  "title" output.check
+  new.block
+  format.tr.number emphasize output.nonnull
+  institution "institution" bibinfo.warn output
+  address "address" bibinfo.check output
+  format.doi output
+  new.block
+  format.note output
+  format.eprint output
+  format.url output
+  fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+  format.authors "author" output.check
+  author format.key output
+  format.date "year" output.check
+  date.block
+  format.title "title" output.check
+  format.doi output
+  new.block
+  format.note "note" output.check
+  format.eprint output
+  format.url output
+  fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+  "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+  'len :=
+  s #1 len substring$ =
+    { s len #1 + global.max$ substring$ }
+    's
+  if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+  "" 't :=
+  s #1 "{vv~}{ll}" format.name$
+  s num.names$ duplicate$
+  #2 >
+    { pop$
+      " " * bbl.etal emphasize *
+    }
+    { #2 <
+        'skip$
+        { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+            {
+              " " * bbl.etal emphasize *
+            }
+            { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+              * }
+          if$
+        }
+      if$
+    }
+  if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+    { key empty$
+        { cite$ #1 #3 substring$ }
+        'key
+      if$
+    }
+    { author format.lab.names }
+  if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+    { editor empty$
+        { key empty$
+            { cite$ #1 #3 substring$ }
+            'key
+          if$
+        }
+        { editor format.lab.names }
+      if$
+    }
+    { author format.lab.names }
+  if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+    { key empty$
+        { cite$ #1 #3 substring$ }
+        'key
+      if$
+    }
+    { editor format.lab.names }
+  if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+  type$ "inbook" =
+  or
+    'author.editor.key.label
+    { type$ "proceedings" =
+        'editor.key.label
+        'author.key.label
+      if$
+    }
+  if$
+  'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+  short.list
+  "("
+  *
+  year duplicate$ empty$
+  short.list key field.or.null = or
+     { pop$ "" }
+     'skip$
+  if$
+  *
+  'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+  #1 'nameptr :=
+  ""
+  s num.names$ 'numnames :=
+  numnames 'namesleft :=
+    { namesleft #0 > }
+    { s nameptr
+      "{vv{ } }{ll{ }}{  f{ }}{  jj{ }}"
+      format.name$ 't :=
+      nameptr #1 >
+        {
+          "   "  *
+          namesleft #1 = t "others" = and
+            { "zzzzz" * }
+            { t sortify * }
+          if$
+        }
+        { t sortify * }
+      if$
+      nameptr #1 + 'nameptr :=
+      namesleft #1 - 'namesleft :=
+    }
+  while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+  "A " #2
+    "An " #3
+      "The " #4 t chop.word
+    chop.word
+  chop.word
+  sortify
+  #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+    { key empty$
+        { "to sort, need author or key in " cite$ * warning$
+          ""
+        }
+        { key sortify }
+      if$
+    }
+    { author sort.format.names }
+  if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+    { editor empty$
+        { key empty$
+            { "to sort, need author, editor, or key in " cite$ * warning$
+              ""
+            }
+            { key sortify }
+          if$
+        }
+        { editor sort.format.names }
+      if$
+    }
+    { author sort.format.names }
+  if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+    { key empty$
+        { "to sort, need editor or key in " cite$ * warning$
+          ""
+        }
+        { key sortify }
+      if$
+    }
+    { editor sort.format.names }
+  if$
+}
+FUNCTION {presort}
+{ calc.label
+  label sortify
+  "    "
+  *
+  type$ "book" =
+  type$ "inbook" =
+  or
+    'author.editor.sort
+    { type$ "proceedings" =
+        'editor.sort
+        'author.sort
+      if$
+    }
+  if$
+  #1 entry.max$ substring$
+  'sort.label :=
+  sort.label
+  *
+  "    "
+  *
+  title field.or.null
+  sort.format.title
+  *
+  #1 entry.max$ substring$
+  'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+  "" 'next.extra :=
+  #0 'last.extra.num :=
+  #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+    { last.extra.num #1 + 'last.extra.num :=
+      last.extra.num int.to.chr$ 'extra.label :=
+    }
+    { "a" chr.to.int$ 'last.extra.num :=
+      "" 'extra.label :=
+      label 'last.label :=
+    }
+  if$
+  number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+    { "a" 'extra.label := }
+    'skip$
+  if$
+  extra.label 'next.extra :=
+  extra.label
+  duplicate$ empty$
+    'skip$
+    { "{\natexlab{" swap$ * "}}" * }
+  if$
+  'extra.label :=
+  label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+  "    "
+  *
+  year field.or.null sortify
+  *
+  "    "
+  *
+  title field.or.null
+  sort.format.title
+  *
+  #1 entry.max$ substring$
+  'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+    'skip$
+    { preamble$ write$ newline$ }
+  if$
+  "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+  write$ newline$
+  "\newcommand{\enquote}[1]{``#1''}"
+  write$ newline$
+  "\providecommand{\natexlab}[1]{#1}"
+  write$ newline$
+  "\providecommand{\url}[1]{\texttt{#1}}"
+  write$ newline$
+  "\providecommand{\urlprefix}{URL }"
+  write$ newline$
+  "\expandafter\ifx\csname urlstyle\endcsname\relax"
+  write$ newline$
+  "  \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+  write$ newline$
+  "  \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+  write$ newline$
+  "\providecommand{\eprint}[2][]{\url{#2}}"
+  write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+  "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `jss.bst'.

Added: branches/jss_dec_10/final_polished/jss.cls
===================================================================
--- branches/jss_dec_10/final_polished/jss.cls	                        (rev 0)
+++ branches/jss_dec_10/final_polished/jss.cls	2012-04-30 19:02:44 UTC (rev 4230)
@@ -0,0 +1,487 @@
+%%
+%% This is file `jss.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% jss.dtx  (with options: `class')
+%% 
+%% IMPORTANT NOTICE:
+%% 
+%% For the copyright see the source file.
+%% 
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from jss.cls.
+%% 
+%% For distribution of the original source see the terms
+%% for copying and modification in the file jss.dtx.
+%% 
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\def\fileversion{2.0}
+\def\filename{jss}
+\def\filedate{2009/09/24}
+%%
+%% Package `jss' to use with LaTeX2e for JSS publications (http://www.jstatsoft.org/)
+%% License: GPL-2
+%% Copyright: (C) Achim Zeileis
+%% Please report errors to Achim.Zeileis at R-project.org
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{jss}[\filedate\space\fileversion\space jss class by Achim Zeileis]
+%% options
+\newif\if at article
+\newif\if at codesnippet
+\newif\if at bookreview
+\newif\if at softwarereview
+\newif\if at review
+\newif\if at shortnames
+\newif\if at nojss
+\newif\if at notitle
+\newif\if at noheadings
+
+\@articletrue
+\@codesnippetfalse
+\@bookreviewfalse
+\@softwarereviewfalse
+\@reviewfalse
+\@shortnamesfalse
+\@nojssfalse
+\@notitlefalse
+\@noheadingsfalse
+
+\DeclareOption{article}{\@articletrue%
+  \@codesnippetfalse \@bookreviewfalse \@softwarereviewfalse}
+\DeclareOption{codesnippet}{\@articlefalse%
+  \@codesnippettrue \@bookreviewfalse \@softwarereviewfalse}
+\DeclareOption{bookreview}{\@articlefalse%
+  \@codesnippetfalse \@bookreviewtrue \@softwarereviewfalse}
+\DeclareOption{softwarereview}{\@articlefalse%
+  \@codesnippetfalse \@bookreviewfalse \@softwarereviewtrue}
+\DeclareOption{shortnames}{\@shortnamestrue}
+\DeclareOption{nojss}{\@nojsstrue}
+\DeclareOption{notitle}{\@notitletrue}
+\DeclareOption{noheadings}{\@noheadingstrue}
+
+\ProcessOptions
+\LoadClass[11pt,a4paper,twoside]{article}
+%% required packages
+\RequirePackage{graphicx,a4wide,color,ae,fancyvrb}
+\RequirePackage[T1]{fontenc}
+\IfFileExists{upquote.sty}{\RequirePackage{upquote}}{}
+%% bibliography
+\if at shortnames
+  \usepackage[authoryear,round]{natbib}
+\else
+  \usepackage[authoryear,round,longnamesfirst]{natbib}
+\fi
+\bibpunct{(}{)}{;}{a}{}{,}
+\bibliographystyle{jss}
+%% paragraphs
+\setlength{\parskip}{0.7ex plus0.1ex minus0.1ex}
+\setlength{\parindent}{0em}
+%% for all publications
+\newcommand{\Address}[1]{\def\@Address{#1}}
+\newcommand{\Plaintitle}[1]{\def\@Plaintitle{#1}}
+\newcommand{\Shorttitle}[1]{\def\@Shorttitle{#1}}
+\newcommand{\Plainauthor}[1]{\def\@Plainauthor{#1}}
+\newcommand{\Volume}[1]{\def\@Volume{#1}}
+\newcommand{\Year}[1]{\def\@Year{#1}}
+\newcommand{\Month}[1]{\def\@Month{#1}}
+\newcommand{\Issue}[1]{\def\@Issue{#1}}
+\newcommand{\Submitdate}[1]{\def\@Submitdate{#1}}
+%% for articles and code snippets
+\newcommand{\Acceptdate}[1]{\def\@Acceptdate{#1}}
+\newcommand{\Abstract}[1]{\def\@Abstract{#1}}
+\newcommand{\Keywords}[1]{\def\@Keywords{#1}}
+\newcommand{\Plainkeywords}[1]{\def\@Plainkeywords{#1}}
+%% for book and software reviews
+\newcommand{\Reviewer}[1]{\def\@Reviewer{#1}}
+\newcommand{\Booktitle}[1]{\def\@Booktitle{#1}}
+\newcommand{\Bookauthor}[1]{\def\@Bookauthor{#1}}
+\newcommand{\Publisher}[1]{\def\@Publisher{#1}}
+\newcommand{\Pubaddress}[1]{\def\@Pubaddress{#1}}
+\newcommand{\Pubyear}[1]{\def\@Pubyear{#1}}
+\newcommand{\ISBN}[1]{\def\@ISBN{#1}}
+\newcommand{\Pages}[1]{\def\@Pages{#1}}
+\newcommand{\Price}[1]{\def\@Price{#1}}
+\newcommand{\Plainreviewer}[1]{\def\@Plainreviewer{#1}}
+\newcommand{\Softwaretitle}[1]{\def\@Softwaretitle{#1}}
+\newcommand{\URL}[1]{\def\@URL{#1}}
+%% for internal use
+\newcommand{\Seriesname}[1]{\def\@Seriesname{#1}}
+\newcommand{\Hypersubject}[1]{\def\@Hypersubject{#1}}
+\newcommand{\Hyperauthor}[1]{\def\@Hyperauthor{#1}}
+\newcommand{\Footername}[1]{\def\@Footername{#1}}
+\newcommand{\Firstdate}[1]{\def\@Firstdate{#1}}
+\newcommand{\Seconddate}[1]{\def\@Seconddate{#1}}
+\newcommand{\Reviewauthor}[1]{\def\@Reviewauthor{#1}}
+%% defaults
+\author{Firstname Lastname\\Affiliation}
+\title{Title}
+\Abstract{---!!!---an abstract is required---!!!---}
+\Plainauthor{\@author}
+\Volume{VV}
+\Year{YYYY}
+\Month{MMMMMM}
+\Issue{II}
+\Submitdate{yyyy-mm-dd}
+\Acceptdate{yyyy-mm-dd}
+\Address{
+  Firstname Lastname\\
+  Affiliation\\
+  Address, Country\\
+  E-mail: \email{name at address}\\
+  URL: \url{http://link/to/webpage/}
+}
+
+\Reviewer{Firstname Lastname\\Affiliation}
+\Plainreviewer{Firstname Lastname}
+\Booktitle{Book Title}
+\Bookauthor{Book Author}
+\Publisher{Publisher}
+\Pubaddress{Publisher's Address}
+\Pubyear{YYY}
+\ISBN{x-xxxxx-xxx-x}
+\Pages{xv + 123}
+\Price{USD 69.95 (P)}
+\URL{http://link/to/webpage/}
+\if at article
+  \Seriesname{Issue}
+  \Hypersubject{Journal of Statistical Software}
+  \Plaintitle{\@title}
+  \Shorttitle{\@title}
+  \Plainkeywords{\@Keywords}
+\fi
+
+\if at codesnippet
+  \Seriesname{Code Snippet}
+  \Hypersubject{Journal of Statistical Software -- Code Snippets}
+  \Plaintitle{\@title}
+  \Shorttitle{\@title}
+  \Plainkeywords{\@Keywords}
+\fi
+
+\if at bookreview
+  \Seriesname{Book Review}
+  \Hypersubject{Journal of Statistical Software -- Book Reviews}
+  \Plaintitle{\@Booktitle}
+  \Shorttitle{\@Booktitle}
+  \Reviewauthor{\@Bookauthor\\
+                \@Publisher, \@Pubaddress, \@Pubyear.\\
+                ISBN~\@ISBN. \@Pages~pp. \@Price.\\
+                \url{\@URL}}
+  \Plainkeywords{}
+  \@reviewtrue
+\fi
+
+\if at softwarereview
+  \Seriesname{Software Review}
+  \Hypersubject{Journal of Statistical Software -- Software Reviews}
+  \Plaintitle{\@Softwaretitle}
+  \Shorttitle{\@Softwaretitle}
+  \Booktitle{\@Softwaretitle}
+  \Reviewauthor{\@Publisher, \@Pubaddress. \@Price.\\
+                \url{\@URL}}
+  \Plainkeywords{}
+  \@reviewtrue
+\fi
+
+\if at review
+  \Hyperauthor{\@Plainreviewer}
+  \Keywords{}
+  \Footername{Reviewer}
+  \Firstdate{\textit{Published:} \@Submitdate}
+  \Seconddate{}
+\else
+  \Hyperauthor{\@Plainauthor}
+  \Keywords{---!!!---at least one keyword is required---!!!---}
+  \Footername{Affiliation}
+  \Firstdate{\textit{Submitted:} \@Submitdate}
+  \Seconddate{\textit{Accepted:} \@Acceptdate}
+\fi
+%% Sweave(-like)
+\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl}
+\DefineVerbatimEnvironment{Soutput}{Verbatim}{}
+\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl}
+\newenvironment{Schunk}{}{}
+\DefineVerbatimEnvironment{Code}{Verbatim}{}
+\DefineVerbatimEnvironment{CodeInput}{Verbatim}{fontshape=sl}
+\DefineVerbatimEnvironment{CodeOutput}{Verbatim}{}
+\newenvironment{CodeChunk}{}{}
+\setkeys{Gin}{width=0.8\textwidth}
+%% footer
+\newlength{\footerskip}
+\setlength{\footerskip}{2.5\baselineskip plus 2ex minus 0.5ex}
+
+\newcommand{\makefooter}{%
+  \vspace{\footerskip}
+
+  \if at nojss
+    \begin{samepage}
+    \textbf{\large \@Footername: \nopagebreak}\\[.3\baselineskip] \nopagebreak
+    \@Address \nopagebreak
+    \end{samepage}
+  \else
+    \begin{samepage}
+    \textbf{\large \@Footername: \nopagebreak}\\[.3\baselineskip] \nopagebreak
+    \@Address \nopagebreak
+    \vfill
+    \hrule \nopagebreak
+    \vspace{.1\baselineskip}
+    {\fontfamily{pzc} \fontsize{13}{15} \selectfont Journal of Statistical Software}
+    \hfill
+    \url{http://www.jstatsoft.org/}\\ \nopagebreak
+    published by the American Statistical Association
+    \hfill
+    \url{http://www.amstat.org/}\\[.3\baselineskip] \nopagebreak
+    {Volume~\@Volume, \@Seriesname~\@Issue}
+    \hfill
+    \@Firstdate\\ \nopagebreak
+    {\@Month{} \@Year}
+    \hfill
+    \@Seconddate  \nopagebreak
+    \vspace{.3\baselineskip}
+    \hrule
+    \end{samepage}
+  \fi
+}
+\AtEndDocument{\makefooter}
+%% required packages
+\RequirePackage{hyperref}
+%% new \maketitle
+\def\@myoddhead{
+  {\color{white} JSS}\\[-1.42cm]
+  \hspace{-2em} \includegraphics[height=23mm,keepaspectratio]{jsslogo} \hfill
+  \parbox[b][23mm]{118mm}{\hrule height 3pt
+   \center{
+   {\fontfamily{pzc} \fontsize{28}{32} \selectfont Journal of Statistical Software}
+   \vfill
+   {\it \small \@Month{} \@Year, Volume~\@Volume, \@Seriesname~\@Issue.%
+            \hfill \href{http://www.jstatsoft.org/}{http://www.jstatsoft.org/}}}\\[0.1cm]
+     \hrule height 3pt}}
+\if at review
+  \renewcommand{\maketitle}{
+  \if at nojss
+    %% \@oddhead{\@myoddhead}\\[3\baselineskip]
+  \else
+    \@oddhead{\@myoddhead}\\[3\baselineskip]
+  \fi
+    {\large
+    \noindent
+    Reviewer: \@Reviewer
+    \vspace{\baselineskip}
+    \hrule
+    \vspace{\baselineskip}
+    \textbf{\@Booktitle}
+    \begin{quotation} \noindent
+    \@Reviewauthor
+    \end{quotation}
+    \vspace{0.7\baselineskip}
+    \hrule
+    \vspace{1.3\baselineskip}
+    }
+
+    \thispagestyle{empty}
+    \if at nojss
+      \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hyperauthor}}
+    \else
+      \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hypersubject}}
+    \fi
+    \pagestyle{myheadings}
+  }
+\else
+  \def\maketitle{
+  \if at nojss
+    %% \@oddhead{\@myoddhead} \par
+  \else
+    \@oddhead{\@myoddhead} \par
+  \fi
+   \begingroup
+     \def\thefootnote{\fnsymbol{footnote}}
+     \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
+     \long\def\@makefntext##1{\parindent 1em\noindent
+                              \hbox to1.8em{\hss $\m at th ^{\@thefnmark}$}##1}
+     \@maketitle \@thanks
+   \endgroup
+   \setcounter{footnote}{0}
+
+   \if at noheadings
+    %% \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hypersubject}}
+    \else
+     \thispagestyle{empty}
+      \if at nojss
+        \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hyperauthor}}
+      \else
+        \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hypersubject}}
+      \fi
+     \pagestyle{myheadings}
+   \fi
+
+   \let\maketitle\relax \let\@maketitle\relax
+   \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax
+  }
+
+  \def\@maketitle{\vbox{\hsize\textwidth \linewidth\hsize
+  \if at nojss
+    %% \vskip 1in
+  \else
+    \vskip 1in
+  \fi
+   {\centering
+   {\LARGE\bf \@title\par}
+   \vskip 0.2in plus 1fil minus 0.1in
+   {
+       \def\and{\unskip\enspace{\rm and}\enspace}%
+       \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
+          \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\large\bf\rule{\z@}{24pt}\ignorespaces}%
+       \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
+          \vskip 0.1in plus 1fil minus 0.05in
+          \hbox to \linewidth\bgroup\rule{\z@}{10pt} \hfil\hfil
+          \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\large\bf\rule{\z@}{24pt}\ignorespaces}
+       \hbox to \linewidth\bgroup\rule{\z@}{10pt} \hfil\hfil
+       \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\large\bf\rule{\z@}{24pt}\@author
+       \end{tabular}\hss\egroup
+   \hfil\hfil\egroup}
+   \vskip 0.3in minus 0.1in
+   \hrule
+   \begin{abstract}
+   \@Abstract
+   \end{abstract}}
+   \textit{Keywords}:~\@Keywords.
+   \vskip 0.1in minus 0.05in
+   \hrule
+   \vskip 0.2in minus 0.1in
+  }}
+\fi
+%% sections, subsections, and subsubsections
+\newlength{\preXLskip}
+\newlength{\preLskip}
+\newlength{\preMskip}
+\newlength{\preSskip}
+\newlength{\postMskip}
+\newlength{\postSskip}
+\setlength{\preXLskip}{1.8\baselineskip plus 0.5ex minus 0ex}
+\setlength{\preLskip}{1.5\baselineskip plus 0.3ex minus 0ex}
+\setlength{\preMskip}{1\baselineskip plus 0.2ex minus 0ex}
+\setlength{\preSskip}{.8\baselineskip plus 0.2ex minus 0ex}
+\setlength{\postMskip}{.5\baselineskip plus 0ex minus 0.1ex}
+\setlength{\postSskip}{.3\baselineskip plus 0ex minus 0.1ex}
+
+\newcommand{\jsssec}[2][default]{\vskip \preXLskip%
+  \pdfbookmark[1]{#1}{Section.\thesection.#1}%
+  \refstepcounter{section}%
+  \centerline{\textbf{\Large \thesection. #2}} \nopagebreak
+  \vskip \postMskip \nopagebreak}
+\newcommand{\jsssecnn}[1]{\vskip \preXLskip%
+  \centerline{\textbf{\Large #1}} \nopagebreak
+  \vskip \postMskip \nopagebreak}
+
+\newcommand{\jsssubsec}[2][default]{\vskip \preMskip%
+  \pdfbookmark[2]{#1}{Subsection.\thesubsection.#1}%
+  \refstepcounter{subsection}%
+  \textbf{\large \thesubsection. #2} \nopagebreak
+  \vskip \postSskip \nopagebreak}
+\newcommand{\jsssubsecnn}[1]{\vskip \preMskip%
+  \textbf{\large #1} \nopagebreak
+  \vskip \postSskip \nopagebreak}
+
+\newcommand{\jsssubsubsec}[2][default]{\vskip \preSskip%
+  \pdfbookmark[3]{#1}{Subsubsection.\thesubsubsection.#1}%
+  \refstepcounter{subsubsection}%
+  {\large \textit{#2}} \nopagebreak
+  \vskip \postSskip \nopagebreak}
+\newcommand{\jsssubsubsecnn}[1]{\vskip \preSskip%
+  {\textit{\large #1}} \nopagebreak
+  \vskip \postSskip \nopagebreak}
+
+\newcommand{\jsssimplesec}[2][default]{\vskip \preLskip%
+%%  \pdfbookmark[1]{#1}{Section.\thesection.#1}%
+  \refstepcounter{section}%
+  \textbf{\large #1} \nopagebreak
+  \vskip \postSskip \nopagebreak}
+\newcommand{\jsssimplesecnn}[1]{\vskip \preLskip%
+  \textbf{\large #1} \nopagebreak
+  \vskip \postSskip \nopagebreak}
+
+\if at review
+  \renewcommand{\section}{\secdef \jsssimplesec \jsssimplesecnn}
+  \renewcommand{\subsection}{\secdef \jsssimplesec \jsssimplesecnn}
+  \renewcommand{\subsubsection}{\secdef \jsssimplesec \jsssimplesecnn}
+\else
+  \renewcommand{\section}{\secdef \jsssec \jsssecnn}
+  \renewcommand{\subsection}{\secdef \jsssubsec \jsssubsecnn}
+  \renewcommand{\subsubsection}{\secdef \jsssubsubsec \jsssubsubsecnn}
+\fi
+%% colors
+\definecolor{Red}{rgb}{0.5,0,0}
+\definecolor{Blue}{rgb}{0,0,0.5}
+\if at review
+  \hypersetup{%
+    hyperindex = {true},
+    colorlinks = {true},
+    linktocpage = {true},
+    plainpages = {false},
+    linkcolor = {Blue},
+    citecolor = {Blue},
+    urlcolor = {Red},
+    pdfstartview = {Fit},
+    pdfpagemode = {None},
+    pdfview = {XYZ null null null}
+  }
+\else
+  \hypersetup{%
+    hyperindex = {true},
+    colorlinks = {true},
+    linktocpage = {true},
+    plainpages = {false},
+    linkcolor = {Blue},
+    citecolor = {Blue},
+    urlcolor = {Red},
+    pdfstartview = {Fit},
+    pdfpagemode = {UseOutlines},
+    pdfview = {XYZ null null null}
+  }
+\fi
+\if at nojss
+  \AtBeginDocument{
+    \hypersetup{%
+      pdfauthor = {\@Hyperauthor},
+      pdftitle = {\@Plaintitle},
+      pdfkeywords = {\@Plainkeywords}
+    }
+  }
+\else
+  \AtBeginDocument{
+    \hypersetup{%
+      pdfauthor = {\@Hyperauthor},
+      pdftitle = {\@Plaintitle},
+      pdfsubject = {\@Hypersubject},
+      pdfkeywords = {\@Plainkeywords}
+    }
+  }
+\fi
+\if at notitle
+  %% \AtBeginDocument{\maketitle}
+\else
+  \AtBeginDocument{\maketitle}
+\fi
+%% commands
+\makeatletter
+\newcommand\code{\bgroup\@makeother\_\@makeother\~\@makeother\$\@codex}
+\def\@codex#1{{\normalfont\ttfamily\hyphenchar\font=-1 #1}\egroup}
+\makeatother
+%%\let\code=\texttt
+\let\proglang=\textsf
+\newcommand{\pkg}[1]{{\fontseries{b}\selectfont #1}}
+\newcommand{\email}[1]{\href{mailto:#1}{\normalfont\texttt{#1}}}
+\newcommand{\doi}[1]{\href{http://dx.doi.org/#1}{\normalfont\texttt{doi:#1}}}
+\newcommand{\E}{\mathsf{E}}
+\newcommand{\VAR}{\mathsf{VAR}}
+\newcommand{\COV}{\mathsf{COV}}
+\newcommand{\Prob}{\mathsf{P}}
+\endinput
+%%
+%% End of file `jss.cls'.

Added: branches/jss_dec_10/final_polished/jss.dbj
===================================================================
--- branches/jss_dec_10/final_polished/jss.dbj	                        (rev 0)
+++ branches/jss_dec_10/final_polished/jss.dbj	2012-04-30 19:02:44 UTC (rev 4230)
@@ -0,0 +1,509 @@
+%% Driver file to produce jss.bst from merlin.mbs
+%% Generated with makebst, version 4.0-beta1 (1999/08/26)
+%% Produced on 2004/07/20 at 16:32
+%% 
+\input docstrip
+
+\preamble
+
+** BibTeX style file for JSS publications (http://www.jstatsoft.org/)
+
+\endpreamble
+
+\postamble
+End of customized bst file
+\endpostamble
+
+\keepsilent
+
+\askforoverwritefalse
+\def\MBopts{\from{merlin.mbs}{%
+%EXTERNAL FILES:
+%Name of language file: \cfile=.
+%No included files.
+%INTERNAL LANGUAGE SUPPORT (if no external language file)
+    %: (def) English
+% ,babel%: Babel
+%--------------------
+%STYLE OF CITATIONS:
+%   %: (def) Numerical
+   ay%: Author-year
+% ,alph%: Alpha style, Jon90 or JWB90
+% ,alph,alf-1%: Alpha style, Jon90
+% ,alph,alf-f%: Alpha style, Jones90
+% ,cite%: Cite key
+%--------------------
+%HTML OUTPUT (if non author-year citations)
+%   %: (def) Normal LaTeX
+% ,html%: Hypertext
+% ,html,htlist%: Hypertext list
+% ,html,htdes%: Hypertext with keys
+%--------------------
+%AUTHOR--YEAR SUPPORT SYSTEM (if author-year citations)
+  ,nat%: Natbib
+%   %: (def) Older Natbib
+% ,alk%: Apalike
+% ,har%: Harvard
+% ,ast%: Astronomy
+% ,cay%: Chicago
+% ,nmd%: Named
+% ,cn%: Author-date
+%--------------------
+%HARVARD EXTENSIONS INCLUDED (if Harvard support selected)
+% ,harnm%: With Harvard extensions
+%   %: (def) Older Harvard
+%--------------------
+%LANGUAGE FIELD
+    %: (def) No language field
+% ,lang%: Add language field
+%--------------------
+%ANNOTATIONS:
+    %: (def) No annotations
+% ,annote%: Annotations
+%--------------------
+%ORDERING OF REFERENCES (if non-author/year and non-alph)
+%   %: (def) Alphabetical
+% ,seq-no%: Citation order
+% ,seq-yr%: Year ordered
+% ,seq-yrr%: Reverse year ordered
+%--------------------
+%ORDERING OF REFERENCES (if author-year citations)
+    %: (def) Alphabetical
+% ,seq-lab%: By label
+% ,seq-key%: By label and cite key
+% ,seq-yr%: Year ordered
+% ,seq-yrr%: Reverse year ordered
+% ,seq-no%: Citation order
+%--------------------
+%ORDER ON VON PART (if not citation order)
+    %: (def) Sort on von part
+% ,vonx%: Sort without von part
+%--------------------
+%AUTHOR NAMES:
+% ,ed-au%: Full, surname last
+% ,nm-revf%: Full, surname first
+% ,nm-init,ed-au%: Initials + surname
+% ,nm-rev%: Surname + initials
+% ,nm-rv%: Surname + dotless initials
+ ,nm-rvx%: Surname + pure initials
+% ,nm-rvv%: Surname + spaceless initials
+% ,nm-rev1%: Only first name reversed, initials
+% ,nm-revv1%: First name reversed, with full names
+%--------------------
+%EDITOR NAMES IN COLLECTIONS (if author names reversed)
+% ,ed-rev%: Editor names reversed
+%--------------------
+%POSITION OF JUNIOR (if author names reversed)
+% ,jnrlst%: Junior comes last
+%   %: (def) Junior between
+%--------------------
+%JUNIOR PART IN THE CITATION (if author-year citations)
+    %: (def) No `junior' part in the citations
+% ,jnrlab%: `Junior' in citations
+%--------------------
+%PUNCTUATION BETWEEN AUTHOR NAMES:
+    %: (def) Author names separated by commas
+% ,aunm-semi%: Names separated by semi-colon
+% ,aunm-sl%: Names separated by slash
+%--------------------
+%ADJACENT REFERENCES WITH REPEATED NAMES:
+    %: (def) Author/editor names always present
+% ,nmdash%: Repeated author/editor names replaced by dash
+%--------------------
+%NUMBER OF AUTHORS:
+    %: (def) All authors
+% ,nmlm%: Limited authors
+%--------------------
+%TYPEFACE FOR AUTHORS IN LIST OF REFERENCES:
+    %: (def) Normal font for author names
+% ,nmft,nmft-sc%: Small caps authors
+% ,nmft,nmft-it%: Italic authors
+% ,nmft,nmft-bf%: Bold authors
+% ,nmft,nmft-def%: User defined author font
+%--------------------
+%FONT FOR FIRST NAMES (if non-default font for authors)
+%   %: (def) First names same font as surnames
+% ,fnm-rm%: First names in normal font
+% ,fnm-def%: First names in user defined font
+%--------------------
+%EDITOR NAMES IN INCOLLECTION ETC:
+%   %: (def) Editors incollection normal font
+% ,nmfted%: Editors incollection like authors
+%--------------------
+%FONT FOR `AND' IN LIST:
+%   %: (def) `And' in author font
+% ,nmand-rm%: `And' in normal font
+%--------------------
+%FONT OF CITATION LABELS IN TEXT (if author-year citations)
+    %: (def) Cited authors plain
+% ,lab,lab-it%: Cited authors italic
+% ,lab,lab-sc%: Cited authors small caps
+% ,lab,lab-bf%: Cited authors bold
+% ,lab,lab-def%: User defined citation font
+%--------------------
+%FONT FOR `AND' IN CITATIONS (if non-default font for citation lables)
+%   %: (def) Cited `and' in author font
+% ,and-rm%: Cited `and' in normal font
+%--------------------
+%FONT OF EXTRA LABEL (The extra letter on the year)
+    %: (def) Extra label plain
+% ,xlab-it%: Extra label italic
+%--------------------
+%LABEL WHEN AUTHORS MISSING (if author-year citations)
+  ,keyxyr%: Year blank when KEY replaces missing author
+%   %: (def) Year included when KEY replaces missing author
+%--------------------
+%MISSING DATE (if author-year citations)
+    %: (def) Missing date set to ????
+% ,blkyear%: Missing date left blank
+%--------------------
+%DATE POSITION:
+%   %: (def) Date at end
+  ,dt-beg%: Date after authors
+% ,dt-jnl%: Date part of journal spec.
+% ,dt-end%: Date at very end
+%--------------------
+%DATE FORMAT (if non author-year citations)
+%   %: (def) Plain month and year
+% ,yr-par%: Date in parentheses
+% ,yr-brk%: Date in brackets
+% ,yr-col%: Date preceded by colon
+% ,yr-per%: Date preceded by period
+% ,yr-com%: Date preceded by comma
+% ,yr-blk%: Date preceded by space
+%--------------------
+%SUPPRESS MONTH:
+%   %: (def) Date is month and year
+% ,xmth%: Date is year only
+%--------------------
+%REVERSED DATE (if including month)
+%   %: (def) Date as month year
+% ,dtrev%: Date as year month
+%--------------------
+%DATE FORMAT (if author-year citations)
+%   %: (def) Year plain
+  ,yr-par%: Year in parentheses
+% ,yr-brk%: Year in brackets
+% ,yr-col%: Year preceded by colon
+% ,yr-per%: Year preceded by period
+% ,yr-com%: Date preceded by comma
+% ,yr-blk%: Year preceded by space
+%--------------------
+%INCLUDE MONTHS:
+    %: (def) Date is year only
+% ,aymth%: Include month in date
+%--------------------
+%REVERSED DATE (if including month)
+%   %: (def) Date as month year
+% ,dtrev%: Date as year month
+%--------------------
+%DATE PUNCTUATION (if date not at end)
+    %: (def) Date with standard block punctuation
+% ,yrp-col%: Colon after date
+% ,yrp-semi%: Semi-colon after date
+% ,yrp-per%: Period after date
+% ,yrp-x%: No punct. after date
+%--------------------
+%BLANK AFTER DATE:
+    %: (def) Space after date
+% ,yrpp-xsp%: No space after date
+%--------------------
+%DATE FONT:
+    %: (def) Date in normal font
+% ,dtbf%: Date in bold face
+%--------------------
+%TRUNCATE YEAR (if author-year citations)
+  ,note-yr%: Year text full
+%   %: (def) Year truncated
+%--------------------
+%TITLE OF ARTICLE:
+%   %: (def) Title plain
+% ,tit-it%: Title italic
+% ,tit-qq,qt-s%: Title and punctuation in single quotes
+  ,tit-qq%: Title and punctuation in double quotes
+% ,tit-qq,qt-g%: Title and punctuation in guillemets
+% ,tit-qq,qt-s,qx%: Title in single quotes
+% ,tit-qq,qx%: Title in double quotes
+% ,tit-qq,qt-g,qx%: Title in guillemets
+%--------------------
+%COLLECTION/PROCEEDINGS TITLES (if quoted title)
+%  ,bt-qq%: Quote collection and proceedings titles
+%   %: (def) Collection and proceedings titles not in quotes
+%--------------------
+%CAPITALIZATION OF ARTICLE TITLE:
+%   %: (def) Sentence style
+  ,atit-u%: Title style
+%--------------------
+%ARTICLE TITLE PRESENT:
+    %: (def) Article title present
+% ,jtit-x%: No article title
+%--------------------
+%JOURNAL NAMES:
+    %: (def) Periods in journal names
+% ,jxper%: Dotless journal names
+%--------------------
+%JOURNAL NAME FONT:
+    %: (def) Journal name italics
+% ,jttl-rm%: Journal name normal
+%--------------------
+%THESIS TITLE:
+    %: (def) Thesis titles like books
+% ,thtit-a%: Thesis title like article
+% ,thtit-x%: No thesis title
+%--------------------
+%TECHNICAL REPORT TITLE:
+%    %: (def) Tech. report title like articles
+% ,trtit-b%: Tech. report title like books
+%--------------------
+%TECHNICAL REPORT NUMBER:
+%    %: (def) Tech. report and number plain
+ ,trnum-it%: Tech. report and number italic
+%--------------------
+%JOURNAL VOLUME:
+%    %: (def) Volume plain
+% ,vol-it%: Volume italic
+ ,vol-bf%: Volume bold
+% ,vol-2bf%: Volume and number bold
+%--------------------
+%JOURNAL VOL AND NUMBER:
+    %: (def) Journal vol(num)
+% ,vnum-sp%: Journal vol (num)
+% ,vnum-cm%: Journal vol, num
+% ,vnum-nr%: Journal vol, no. num
+% ,vnum-h%: Journal vol, \# number
+% ,vnum-b%: Journal vol number
+% ,vnum-x%: Journal vol, without number
+%--------------------
+%VOLUME PUNCTUATION:
+%   %: (def) Volume with colon
+% ,volp-sp%: Volume with colon and space
+% ,volp-semi%: Volume with semi-colon
+  ,volp-com%: Volume with comma
+% ,volp-blk%: Volume with blank
+%--------------------
+%YEAR IN JOURNAL SPECIFICATION:
+    %: (def) Journal year like others
+% ,jdt-v%: Journal vol(year)
+% ,jdt-vs%: Journal vol (year)
+% ,jdt-p%: Year with pages
+% ,jdt-pc%: Year, comma, pages
+%--------------------
+%PAGE NUMBERS:
+    %: (def) Start and stop page numbers
+% ,jpg-1%: Only start page number
+%--------------------
+%LARGE PAGE NUMBERS:
+    %: (def) No separators for large page numbers
+% ,pgsep-c%: Comma inserted over 9999
+% ,pgsep-s%: Thin space inserted over 9999
+% ,pgsep-p%: Period inserted over 9999
+%--------------------
+%WORD `PAGE' IN ARTICLES:
+    %: (def) Article pages numbers only
+% ,jwdpg%: Include `page' in articles
+%--------------------
+%POSITION OF PAGES:
+    %: (def) Pages given mid text
+% ,pp-last%: Pages at end
+%--------------------
+%WORD `VOLUME' IN ARTICLES:
+    %: (def) Article volume as number only
+% ,jwdvol%: Include `volume' in articles
+%--------------------
+%NUMBER AND SERIES FOR COLLECTIONS:
+  ,num-xser%: Allows number without series
+%   %: (def) Standard BibTeX
+%--------------------
+%POSITION OF NUMBER AND SERIES:
+    %: (def) After chapter and pages
+% ,numser%: Just before publisher
+%--------------------
+%JOURNAL NAME PUNCTUATION:
+    %: (def) Comma after journal
+% ,jnm-x%: Space after journal
+%--------------------
+%BOOK TITLE:
+    %: (def) Book title italic
+% ,btit-rm,bt-rm%: Book title plain
+%--------------------
+%PAGES IN BOOKS:
+    %: (def) Pages in book plain
+% ,bkpg-par%: Pages in book in parentheses
+% ,bkpg-x%: Pages in book bare
+%--------------------
+%TOTAL PAGES OF A BOOK:
+    %: (def) Total book pages not printed
+% ,pg-bk%: For book: 345 pages
+%--------------------
+%PUBLISHER ADDRESS:
+    %: (def) Publisher, address
+% ,add-pub%: Address: Publisher
+%--------------------
+%PUBLISHER IN PARENTHESES:
+    %: (def) Publisher as normal block
+% ,pub-par%: Publisher in parentheses
+% ,pub-date%: Publisher and date in parentheses
+% ,pub-date,pub-xc%: Publisher and date in parentheses, no comma
+% ,pub-date,pub-xpar%: Publisher and date without parentheses
+% ,pub-date,pub-xpar,pub-xc%: Publisher and date, no parentheses, no comma
+%--------------------
+%PUBLISHER POSITION:
+%    %: (def) Publisher after chapter, pages
+% ,pre-pub%: Publisher before chapter, pages
+ ,pre-edn%: Publisher after edition
+%--------------------
+%ISBN NUMBER:
+  ,isbn%: Include ISBN
+%   %: (def) No ISBN
+%--------------------
+%ISSN NUMBER:
+  ,issn%: Include ISSN
+%   %: (def) No ISSN
+%--------------------
+%`EDITOR' AFTER NAMES (EDITED BOOKS WITHOUT AUTHORS):
+%   %: (def) Word `editor' after name
+  ,edpar%: `Name (editor),'
+% ,edpar,bkedcap%: `Name (Editor),'
+% ,edparc%: `Name, (editor)'
+% ,edparc,bkedcap%: `Name, (Editor)'
+% ,edparxc%: `Name (editor)'
+% ,edparxc,bkedcap%: `Name (Editor)'
+%--------------------
+%EDITOR IN COLLECTIONS:
+    %: (def) Same as for edited book
+% ,edby%: In booktitle, edited by .. 
+% ,edby-par%: In booktitle (edited by ..)
+% ,edby-parc%: In booktitle, (edited by ..)
+% ,edby,edbyx%: In booktitle, editor ..
+% ,edby,edbyw%: In booktitle, (editor) ..
+% ,edby-par,edbyx%: In booktitle (editor..)
+% ,edby-parc,edbyx%: In booktitle, (editor..)
+% ,edby,edbyy%: In booktitle, .., editor
+% ,edby-par,edbyy%: In booktitle (.., editor)
+%--------------------
+%CAPITALIZE `EDITOR' OR `EDITED BY' (if editor capitalizable)
+%   %: (def) `(editor,..)' or `(edited by..)'
+% ,edcap%: `(Editor,..)' or `(Edited by..)'
+%--------------------
+%PUNCTUATION BETWEEN SECTIONS (BLOCKS):
+    %: (def) \newblock after blocks
+% ,blk-com%: Comma between blocks
+% ,blk-com,com-semi%: Semi-colon between blocks
+% ,blk-com,com-blank%: Blanks between blocks
+% ,blk-tit%: Period after titles of articles, books, etc
+% ,blk-tita%: Period after titles of articles
+%--------------------
+%PUNCTUATION BEFORE NOTES (if not using \newblock)
+%   %: (def) Notes have regular punctuation
+% ,blknt%: Notes preceded by period
+%--------------------
+%PUNCTUATION AFTER AUTHORS:
+    %: (def) Author block normal
+% ,au-col%: Author block with colon
+%--------------------
+%PUNCTUATION AFTER `IN':
+    %: (def) Space after `in'
+% ,in-col%: Colon after `in'
+% ,in-it%: Italic `in'
+% ,in-col,in-it%: Italic `in' and colon
+% ,in-x%: No word `in'
+%--------------------
+%`IN' WITH JOURNAL NAMES (if using 'in' with collections)
+    %: (def) No `in' before journal name
+% ,injnl%: Add `in' before journal name
+%--------------------
+%FINAL PUNCTUATION:
+    %: (def) Period at very end
+% ,fin-bare%: No period at end
+%--------------------
+%ABBREVIATE WORD `PAGES' (if not using external language file)
+%   %: (def) `Page(s)'
+  ,pp%: `Page' abbreviated
+% ,ppx%: `Page' omitted
+%--------------------
+%ABBREVIATE WORD `EDITORS':
+%    %: (def) `Editor(s)'
+ ,ed%: `Editor' abbreviated
+%--------------------
+%OTHER ABBREVIATIONS:
+    %: (def) No abbreviations
+% ,abr%: Abbreviations
+%--------------------
+%ABBREVIATION FOR `EDITION' (if abbreviating words)
+%   %: (def) `Edition' abbreviated as `edn'
+% ,ednx%: `Edition' abbreviated as `ed'
+%--------------------
+%MONTHS WITH DOTS:
+%   %: (def) Months with dots
+% ,mth-bare%: Months without dots
+%--------------------
+%EDITION NUMBERS:
+  ,xedn%: Editions as in database
+%   %: (def) Write out editions
+% ,ord%: Numerical editions
+%--------------------
+%Reading external language file \cfile=
+%STORED JOURNAL NAMES:
+    %: (def) Full journal names
+% ,jabr%: Abbreviated journal names
+% ,jabr,jaa%: Abbreviated with astronomy shorthands
+%--------------------
+%AMPERSAND:
+   %: (def) Use word `and'
+%  ,amper%: Use ampersand
+% ,varand%: Use \BIBand
+%--------------------
+%COMMA BEFORE `AND':
+    %: (def) Comma before `and'
+% ,and-xcom%: No comma before `and'
+% ,and-com%: Comma even with 2 authors
+%--------------------
+%COMMA BEFORE `AND' EVEN FOR COLLECTION EDITORS (if using comma before `and' with authors)
+% ,and-com-ed%: Comma with 2 editors
+%   %: (def) Two editors without comma
+%--------------------
+%NO `AND' IN REFERENCE LIST:
+%   %: (def) With `and'
+  ,xand%: No `and'
+%--------------------
+%FONT OF `ET AL':
+%   %: (def) Plain et al
+  ,etal-it%: Italic et al
+% ,etal-rm%: Roman et al
+%--------------------
+%ADDITIONAL REVTeX DATA FIELDS:
+%   %: (def) No additional fields
+  ,revdata,eprint,url,url-blk%: Include REVTeX data fields
+%--------------------
+%E-PRINT DATA FIELD: (without REVTeX fields)
+%   %: (def) Do not include eprint field
+% ,eprint%: Include eprint and archive fields
+%--------------------
+%URL ADDRESS: (without REVTeX fields
+%   %: (def) No URL
+% ,url,url-blk%: Include URL
+% ,url,url-nt%: URL as note
+% ,url,url-nl%: URL on new line
+%--------------------
+%DOI NUMBER:
+  ,doi%: Include DOI as "doi: number"
+% ,agu-doi,doi%: Insert DOI AGU style as part of page number
+%   %: (def) No DOI 
+%--------------------
+%REFERENCE COMPONENT TAGS:
+    %: (def) No reference component tags
+% ,bibinfo%: Reference component tags
+%--------------------
+%EMPHASIS: (affects all so-called italics)
+    %: (def) Use emphasis
+% ,em-it%: Use true italics
+% ,em-x%: No italics
+% ,em-ul%: Underlining
+%--------------------
+%NEW FONT SELECTION SCHEME:
+%   %: (def) No NFSS
+  ,nfss%: NFSS
+%--------------------
+  }}
+\generate{\file{jss.bst}{\MBopts}}
+\endbatchfile

Added: branches/jss_dec_10/final_polished/jss.drv
===================================================================
--- branches/jss_dec_10/final_polished/jss.drv	                        (rev 0)
+++ branches/jss_dec_10/final_polished/jss.drv	2012-04-30 19:02:44 UTC (rev 4230)
@@ -0,0 +1,48 @@
+%%
+%% This is file `jss.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% jss.dtx  (with options: `driver')
+%% 
+%% IMPORTANT NOTICE:
+%% 
+%% For the copyright see the source file.
+%% 
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from jss.drv.
+%% 
+%% For distribution of the original source see the terms
+%% for copying and modification in the file jss.dtx.
+%% 
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\def\fileversion{2.0}
+\def\filename{jss}
+\def\filedate{2009/09/24}
+%%
+%% Package `jss' to use with LaTeX2e for JSS publications (http://www.jstatsoft.org/)
+%% License: GPL-2
+%% Copyright: (C) Achim Zeileis
+%% Please report errors to Achim.Zeileis at R-project.org
+%%
+\documentclass[a4paper]{ltxdoc}
+\providecommand{\file}[1]{\texttt{#1}}
+\providecommand{\pkg}[1]{{\fontseries{b}\selectfont #1}}
+\usepackage{color,hyperref,a4wide}
+\oddsidemargin1.2cm
+\textwidth14.2cm
+\textheight23.3cm
+\topmargin-.7cm
+\setlength{\parskip}{0.7ex plus0.1ex minus0.1ex}
+\setlength{\parindent}{0em}
+\begin{document}
+   \OnlyDescription
+   \DocInput{jss.dtx}
+\end{document}
+\endinput
+%%
+%% End of file `jss.drv'.

Added: branches/jss_dec_10/final_polished/jss.dtx
===================================================================
--- branches/jss_dec_10/final_polished/jss.dtx	                        (rev 0)
+++ branches/jss_dec_10/final_polished/jss.dtx	2012-04-30 19:02:44 UTC (rev 4230)
@@ -0,0 +1,1373 @@
+\def\fileversion{2.0}
+\def\filename{jss}
+\def\filedate{2009/09/24}
+%
+% \iffalse
+%
+%%
+%% Package `jss' to use with LaTeX2e for JSS publications (http://www.jstatsoft.org/)
+%% License: GPL-2
+%% Copyright: (C) Achim Zeileis
+%% Please report errors to Achim.Zeileis at R-project.org
+%%
+%
+% \fi
+%
+% \changes{0.1}{2004/08/09}
+%   {First draft.}
+%
+% \changes{1.0}{2004/09/29}
+%   {First release.
+%    - new font size (11pt)
+%    - better formatting of sections}
+%
+% \changes{1.1}{2004/10/01}
+%   {Bug fix: sections and pdfbookmarks
+%    (arguments were switched).}
+%
+% \changes{1.2}{2004/10/02}
+%   {changed logo name, improved docs}
+%
+% \changes{1.3}{2004/10/05}
+%   {fixed Shorttitle default}
+%
+% \changes{1.4}{2005/01/28}
+%   {updated docs}
+%
+% \changes{1.5}{2005/12/09}
+%   {now an official ASA journal}
+%
+% \changes{1.6}{2007/01/28}
+%   {small enhancements}
+%
+% \changes{1.7}{2007/10/15}
+%   {changed link colors, modifed hyperref inclusion for texlive}
+%
+% \changes{1.8}{2008/04/08}
+%   {added option to omit JSS markup, slightly changed pkg markup}
+%
+% \changes{2.0}{2009/09/24}
+%   {added GPL-2 license, new options 'notitle' and 'noheadings'}
+%
+%
+%
+% \MakeShortVerb{\|}
+% \newcommand{\foopkg}[1]{{\normalfont\fontseries{b}\selectfont #1}}
+% \newcommand{\enquote}[1]{``#1''}
+%
+% \title{\foopkg{jss}: A Document Class for Publications in the Journal of Statistical Software}
+% \author{Achim Zeileis}
+%
+% \maketitle
+%
+% \section{Introduction} \label{sec:intro}
+%
+% The \LaTeXe{} document class \foopkg{jss} is an extension of the
+% standard \LaTeXe{} \foopkg{article} class for publications in the
+% Journal of Statistical Software (JSS, \url{http://www.jstatsoft.org/}).
+% Additionally, the JSS-specific header/footer can be easily switched
+% off so that the document class can easily be used for other publications,
+% e.g., \textsf{R} package vignettes.
+%
+% The document class provides infrastructure for all four kinds of publications
+% in JSS: regular articles, code snippets, book reviews and
+% software reviews. Each document requires several declarations to
+% be made in the header (before |\begin{document}|) 
+% which are described in Section~\ref{sec:ifa} separately
+% for articles/code snippets and book/software reviews
+% along with some general commands
+% which can be used in all documents.
+%
+% The final version of JSS papers should be prepared using this JSS style file;
+% the submission of the final version needs to include the full sources
+% (|.tex|, |.bib|, and all graphics). A quick check for the most important aspects
+% of the JSS style is given in Section~\ref{sec:check}; authors should make sure that all
+% of them are addressed in the final version.
+%
+% All documents need to be processed by pdf\TeX{}, some useful information
+% on this is provided in Section~\ref{sec:TeX}, which also contains some
+% information on using \textsc{Bib}\TeX{}. \textsc{Bib}\TeX{} together
+% with the style file |jss.bst| produces references
+% and citations in the required format.
+%
+% The actual code for the batch file (|jss.ins|), the
+% driver (|jss.drv|) and the class (|jss.cls|) are
+% briefly described in Section~\ref{sec:code}. Note, that usually
+% you do not have to read that section when you want to prepare
+% a submission for JSS.
+%
+%
+% \section{Instructions for authors} \label{sec:ifa}
+%
+% To use the JSS styles, you have to include the class file
+% |jss.cls|, the logo |jsslogo.jpg| and the \textsc{Bib}\TeX{}
+% style \texttt{jss.bst} in your search path. This can either be
+% your local working directory or in your |texmf| or 
+% |localtexmf| tree.
+%
+% The \LaTeX{} documents have to include the |jss.cls| first by
+% 
+% |\documentclass[|\textit{type}|]{jss}|
+% 
+% where \textit{type} can be |article| (which is the default),
+% |codesnippet|, |bookreview| or |softwarereview|.
+% Templates with brief instructions are provided in
+% |article.tex|, |codesnippet.tex|, |bookreview.tex|
+% and |softwarereview.tex| respectively. The corresponding
+% commands used for the header declarations are described
+% in more detail in the following.
+%
+% By using |jss.cls|, the packages \foopkg{graphicx}, \foopkg{a4wide},
+% \foopkg{color}, \foopkg{hyperref}, \foopkg{ae}, \foopkg{fancyverb} and
+% \foopkg{natbib} are loaded automatically.
+% Authors may, of course, include further packages
+% but should not change the page layout
+% or change the font or font encoding. If the package \foopkg{thumbpdf}
+% is available, its inclusion is encouraged.
+%
+% The titles of JSS publications are capitalized, i.e., in title style, but the section
+% headers are not and should be in sentence-style.
+%
+% Acknowledgments should be included at the end of the paper before the
+% references in a separate section set up via |\section*{Acknowledgments}|.
+%
+% \emph{Hint.} If you want to use markup in section headers you will usually
+% have to escape it for the PDF bookmarks by giving the text for the 
+% bookmark explicitly without markup, e.g.,
+% \begin{verbatim}
+% \section[Calling C++ from R]{Calling \proglang{C++} from \proglang{R}}
+% \end{verbatim}
+%
+% \emph{Hint.} If compilation with pdf\TeX{} fails with an error at
+% |\begin{document}| the reason is almost surely that some of the
+% declarations in the header have not been made properly. For example,
+% |\Plainauthor|, |\Plaintitle| or |\Plainkeywords| might be missing
+% or still containing markup.
+%
+% \emph{Hint.} If you want to use the JSS style for a non-JSS paper
+% (or a modification of an JSS paper, e.g., in a vignette), you can
+% set the option |nojss| in the |\documentclass| statement to suppress
+% JSS-specific layout.
+%
+% 
+% \subsection{Style checklist} \label{sec:check}
+% A quick check for the most important aspects of the JSS style is given below. 
+% Authors should make sure that all of them are addressed in the final version.
+% More details can be found in the remainder of this manual.
+% 
+% \begin{itemize}
+%   \item The manuscript can be compiled by pdf\TeX{}.
+%   \item |\proglang|, |\pkg| and |\code| have been used for highlighting
+%         throughout the paper (including titles and references),
+%         except where explicitly escaped.
+%   \item References are provided in a |.bib| \textsc{Bib}\TeX{} database
+%         and included in the text by |\cite|, |\citep|, |\citet|, etc.
+%   \item Titles and headers are formatted properly:
+%         \begin{itemize}
+%           \item |\title| in title style,
+%           \item |\section| etc.\ in sentence style,
+%           \item all titles in the \textsc{Bib}\TeX{} file in title style.
+%         \end{itemize}
+%   \item Figures, tables and equations are marked with a |\label|
+%         and referred to by |\ref|, e.g., ``|Figure~\ref{...}|''.
+%   \item Software packes are |\cite{}|d properly.
+% \end{itemize}
+% 
+% 
+% \subsection{Articles and code snippets}
+%
+% For JSS articles and code snippets respectively, 
+% the following declarations have to be made
+% in the header of the \TeX{} sources (before |\begin{document}|).
+% See also the template |article.tex| or |codesnippet.tex|
+% respectively.
+%
+% \DescribeMacro{\author}
+% The command |\author| specifies the list of authors. The name
+% of each author should be followed by a linebreak and his
+% affiliation (only the university, in a single line). The authors
+% should be separated by |\And| (instead of |\and|), e.g.,
+% \begin{verbatim}
+% \author{Achim Zeileis\\Wirtschaftsuniversit\"at Wien \And 
+%         Second Author\\Plus Affiliation}
+% \end{verbatim}
+% If not all authors fit into a single line, |\AND| (instead of
+% |\And|) should be used in front of authors that should go into
+% the next line.
+% 
+% \DescribeMacro{\Plainauthor}
+% The list of authors without affiliations. It needs to be
+% comma-separated and must not contain any markup (bold fonts etc.), e.g.,
+% \begin{verbatim}
+% \Plainauthor{Achim Zeileis, Second Author}
+% \end{verbatim}
+% 
+% \DescribeMacro{\title}
+% The title of the paper. It should be capitalized and may contain
+% further markup (in particular markup such as |\pkg| and |\proglang|), e.g.,
+% \begin{verbatim}
+% \title{A Capitalized Title for a Package \pkg{foo}}
+% \end{verbatim}
+% 
+% \DescribeMacro{\Plaintitle}
+% The full title without any markup.
+% The default is to use |\title|, therefore it needs to be specified
+% only if it is different from |\title|, e.g.,
+% \begin{verbatim}
+% \Plaintitle{A Capitalized Title for a Package foo}
+% \end{verbatim}
+% 
+% \DescribeMacro{\Shorttitle}
+% A shorter version of the title to be used for page headings.
+% The default is to use |\title|, therefore it needs to be specified
+% only if it is different from |\title|, e.g.,
+% \begin{verbatim}
+% \Shorttitle{A Capitalized Title}
+% \end{verbatim}
+% 
+% \DescribeMacro{\Abstract}
+% Enter the abstract for your article here, e.g.,
+% \begin{verbatim}
+% \Abstract{
+%   The abstract of the article.
+% }
+% \end{verbatim}
+% 
+% \DescribeMacro{\Keywords}
+% A comma-separated list of (at least one) keyword(s) which
+% should not be capitalized, e.g.,
+% |\Keywords{keywords, comma-separated, not capitalized}|.
+%
+% \DescribeMacro{\Plainkeywords}
+% The list of keywords without any markup. The default is to use
+% |\Keywords|, therefore it needs to be specified only
+% if it is different from |\Keywords|.
+%
+% \DescribeMacro{\Volume}
+% The JSS volume number in which the article is published,
+% e.g., |\Volume{11}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor. Prior to acceptance,
+% do not use this command.
+%
+% \DescribeMacro{\Issue}
+% The JSS issue number in which the article is published,
+% e.g., |\Issue{9}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor. Prior to acceptance,
+% do not use this command.
+%
+% \DescribeMacro{\Month}
+% The month in which the article is published,
+% e.g., |\Month{September}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor. Prior to acceptance,
+% do not use this command.
+%
+% \DescribeMacro{\Year}
+% The year in which the article is published,
+% e.g., |\Year{2004}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor. Prior to acceptance,
+% do not use this command.
+%
+% \DescribeMacro{\Submitdate}
+% The date of submission for the article,
+% e.g., |\Submitdate{2004-09-29}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor. Prior to acceptance,
+% do not use this command.
+%
+% \DescribeMacro{\Acceptdate}
+% The date of acceptance for the article,
+% e.g., |\Acceptdate{2004-09-29}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor. Prior to acceptance,
+% do not use this command.
+%
+% \DescribeMacro{\Address}
+% The address of (at least) one author should be given in
+% the following format
+% \begin{verbatim}
+% \Address{
+%   Achim Zeileis\\
+%   Department of Statistics and Mathematics\\
+%   Wirtschaftsuniversit\"at Wien\\
+%   1090 Wien, Austria\\
+%   E-mail: \email{Achim.Zeileis at wu.ac.at}\\
+%   URL: \url{http://statmath.wu.ac.at/~zeileis/}
+% }
+% \end{verbatim}
+% It is also possible to include your telephone and fax 
+% number, by adding them in the format
+% \begin{verbatim}
+%   Telephone: +43/1/31336-5053
+%   Fax: +43/1/31336-734
+% \end{verbatim}
+% before the e-mail address.
+%
+% Furthermore, if the document is prepared using the |Sweave|
+% functions in \textsf{R}, something like the following line
+% \begin{verbatim}
+% %% need no \usepackage{Sweave.sty}
+% \end{verbatim}
+% (with `\%\%') needs to be included in the header.
+%
+% \subsection{Book and software reviews}
+%
+% For JSS book and software respectively, 
+% the following declarations have to be made
+% in the header of the \TeX{} sources (before |\begin{document}|).
+% See also the template |bookreview.tex| or |softwarereview.tex|
+% respectively. Note that some commands might differ between
+% book and software reviews, this is always stated explicitely
+% below.
+%
+% \DescribeMacro{\Reviewer}
+% The command |\Reviewer| specifies the name of the reviewer
+% followed by a linebreak and his affiliation (only the university,
+% in a single line), e.g.,
+% \begin{verbatim}
+% \Reviewer{Frederic Udina\\Pompeu Fabra University}
+% \end{verbatim}
+% 
+% \DescribeMacro{\Plainreviewer}
+% The name of the reviewer without affiliation. 
+% It must not contain any markup (bold fonts etc.), e.g.,
+% \begin{verbatim}
+% \Plainauthor{Frederic Udina}
+% \end{verbatim}
+% 
+% \emph{The following five commands are just required for book reviews.}
+%
+% \DescribeMacro{\Booktitle}
+% The title of the book. It should be capitalized and may contain
+% further markup (in particular markup such as |\pkg| and |\proglang|), e.g.,
+% \begin{verbatim}
+% \Booktitle{Visualizing Categorical Data}
+% \end{verbatim}
+%
+% \DescribeMacro{\Bookauthor}
+% Author(s) of the book, e.g.,
+% \begin{verbatim}
+% \Bookauthor{Michael Friendly}
+% \end{verbatim}
+% If there are several authors they should be comma-separated,
+% and the last author separated by |and|, e.g.,
+% |\Bookauthor{A and B}| or |\Bookauthor{A, B and C}|.
+% 
+% \DescribeMacro{\Pubyear}
+% Year of publication, e.g., |\Pubyear{2000}|.
+%
+% \DescribeMacro{\ISBN}
+% ISBN number, e.g., |\ISBN{1-58025-660-0}|.
+%
+% \DescribeMacro{\Pages}
+% Number of pages, both arabic and roman (if available), e.g.,
+% |\Pages{456}| or |\Pages{xvi + 145}|.
+% 
+% \emph{The following command is just required for software reviews.}
+%
+% \DescribeMacro{\Softwaretitle}
+% The title of the software. It should be capitalized and may contain
+% further markup (in particular markup such as |\pkg| and |\proglang|), e.g.,
+% \begin{verbatim}
+% \Softwaretitle{\pkg{Aabel} 1.5.7}
+% \end{verbatim}
+%
+% \emph{The remaining commands are again required for both book and software reviews.}
+%
+% \DescribeMacro{\Publisher}
+% Publisher of the book/software, e.g., |\Publisher{SAS Institute Inc.}|
+% or\\ |\Publisher{Gigawiz Ltd. Co.}|.
+% 
+% \DescribeMacro{\Pubaddress}
+% Address of the publisher of the book/software, e.g., |\Pubaddress{Carey, NC}|.
+% 
+% \DescribeMacro{\Price}
+% Price of the book/software. For books this might simply be
+% |\Price{USD 69.95}| or\\ |\Price{USD 69.95 (P)}|, but could also distinguish between hardcover
+% and paperback\\ versions |\Price{USD 69.95 (P), USD 89.95 (H)}|. Analogously,
+% for a software it could\\ be |\Price{USD 349 (standard), USD 249 (academic)}|.
+% 
+% \DescribeMacro{\URL}
+% A URL for the book or software, e.g., 
+% \begin{verbatim}
+% \URL{http://www.math.yorku.ca/SCS/vcd/}
+% \end{verbatim}
+% If no URL is available, use |\URL{}|.
+% 
+% \DescribeMacro{\Plaintitle}
+% The full book or software title without any markup (line breaks, bold fonts etc.).
+% The default is to use |\Booktitle| or |\Softwaretitle| respectively,
+% therefore it needs to be specified
+% only if it is different from |\Booktitle| or |\Softwaretitle|, e.g.,
+% \begin{verbatim}
+% \Plaintitle{Visualizing Categorical Data}
+% \end{verbatim}
+% 
+% \DescribeMacro{\Shorttitle}
+% A shorter version of the book or software title to be used for page headings.
+% The default is to use |\Booktitle| or |\Softwaretitle| respectively,
+% therefore it needs to be specified
+% only if it is different from |\Booktitle| or |\Softwaretitle|, e.g.,
+% \begin{verbatim}
+% \Shorttitle{Visualizing Categorical Data}
+% \end{verbatim}
+% 
+% \DescribeMacro{\Volume}
+% The JSS volume number in which the review is published,
+% e.g., |\Volume{11}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor.
+%
+% \DescribeMacro{\Issue}
+% The JSS issue number in which the review is published,
+% e.g., |\Issue{9}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor.
+%
+% \DescribeMacro{\Month}
+% The month in which the review is published,
+% e.g., |\Month{September}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor.
+%
+% \DescribeMacro{\Year}
+% The year in which the review is published,
+% e.g., |\Year{2004}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor.
+%
+% \DescribeMacro{\Submitdate}
+% The date of publication for the review,
+% e.g., |\Submitdate{2004-09-29}|. Note:
+% This information will be provided upon acceptance
+% or added by the technical editor.
+%
+% \DescribeMacro{\Address}
+% The address of (at least) one author should be given in
+% the following format
+% \begin{verbatim}
+% \Address{
+%   Achim Zeileis\\
+%   Department f\"ur Statistik \& Mathematik\\
+%   Wirtschaftsuniversit\"at Wien\\
+%   1090 Wien, Austria\\
+%   E-mail: \email{Achim.Zeileis at wu.ac.at}\\
+%   URL: \url{http://statmath.wu.ac.at/~zeileis/}
+% }
+% \end{verbatim}
+% It is also possible to include your telephone and fax 
+% number, by adding them in the format
+% \begin{verbatim}
+%   Telephone: +43/1/31336-5053
+%   Fax: +43/1/31336-734
+% \end{verbatim}
+% before the e-mail address.
+%
+% \subsection{Further commands}
+%
+% The \foopkg{jss} package provides several commands for typesetting 
+% names related to software (programming languages, packages, code) and
+% mathematical formulae.
+%
+% \subsubsection*{Writing about software}
+%
+% \DescribeMacro{\proglang}
+% This should be used for typesetting the names of programming
+% languages, e.g., |\proglang{Java}|, |\proglang{C++}| or |\proglang{R}|.
+% This applies also to programmable environments which also have a GUI
+% like |\proglang{SAS}|, |\proglang{Stata}| or |\proglang{S-PLUS}|.
+%
+% \DescribeMacro{\pkg}
+% This should be used for typesetting the names of packages, e.g.,
+% |\pkg{CMregr}|, |\pkg{MATCH}| or |\pkg{strucchange}|.
+%
+% \DescribeMacro{\code}
+% This should be used for typesetting code chunks within
+% the text, e.g., |\code{plot(1:10)}|. Currently, this simply uses a typewriter
+% font. Although it escapes most special characters, it might still lead to
+% problems with some special characters.
+% In such cases the code can also be set using |\verb|, e.g.,
+% |\verb/print("hello world")/|.
+%
+% \subsubsection*{Layout of code}
+%
+% |jss.cls| only provides very simple means of including code which are mostly 
+% borrowed from \foopkg{Sweave}. There are three verbatim environments for code: |Code|,
+% |CodeInput| and |CodeOutput|. Furthermore, there is an environment
+% |CodeChunk| which can be put around sequences of |CodeInput|s and
+% |CodeOutput|s to (hopefully) keep \LaTeX{} from page-breaking in the middle of 
+% a code chunk. In short, there are two options: a) if no distinction between
+% input and output is necessary, the code is placed between |\begin{Code}|
+% and |\end{Code}|. b) If input and output should be distinguished, this can
+% be done like in the following example.
+% \begin{verbatim}
+% \begin{CodeChunk}
+% \begin{CodeInput}
+% first input first line
+% first input second line
+% \end{CodeInput}
+% \begin{CodeOutput}
+% output of first input
+% \end{CodeOutput}
+% \begin{CodeInput}
+% second input
+% \end{CodeInput}
+% \begin{CodeOutput}
+% second output
+% \end{CodeOutput}
+% \end{CodeChunk}
+% \end{verbatim}
+% An example what this could look like, is the following \textsf{R} code. The first
+% three lines are the input, the rest is output.

@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list