diff --git a/bibtexbrowser.php b/bibtexbrowser.php index d396211..e65c665 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -170,8 +170,7 @@ if (defined('ENCODING')) { @define('USE_INITIALS_FOR_NAMES',false); // use only initials for all first names? @define('USE_FIRST_THEN_LAST',false); // put first names before last names? @define('FORCE_NAMELIST_SEPARATOR', ''); // if non-empty, use this to separate multiple names regardless of USE_COMMA_AS_NAME_SEPARATOR_IN_OUTPUT -@define('LAST_AUTHOR_SEPARATOR',' and '); -@define('USE_OXFORD_COMMA',false); // adds an additional separator in addition to LAST_AUTHOR_SEPARATOR if there are more than two authors +@define('LAST_AUTHOR_SEPARATOR',' and '); // if there are more than 2 names, an Oxford comma will be used @define('TYPES_SIZE',10); // number of entry types per table @define('YEAR_SIZE',20); // number of years per table @@ -1572,7 +1571,7 @@ class BibEntry { $result .= $authors[$i].$sep; } $lastAuthorSeperator = bibtexbrowser_configuration('LAST_AUTHOR_SEPARATOR'); - if (count($authors)>2 && bibtexbrowser_configuration('USE_OXFORD_COMMA')) { + if (count($authors)>2) { $lastAuthorSeperator = $sep.$lastAuthorSeperator; } $result .= $authors[count($authors)-2].$lastAuthorSeperator.$authors[count($authors)-1];