Browse Source

updated bibtexbrowser-style-janos.php with the new API

hg/35a367e65a464cf6cdf277c73f977a6828b723fe/bookmarks/master
Martin Monperrus 15 years ago
parent
commit
7b1c97e5c9
  1. 8
      bibtexbrowser-style-janos.php

8
bibtexbrowser-style-janos.php

@ -53,11 +53,7 @@ function JanosBibliographyStyle(&$bibentry) {
//// ******* EDITOR
$editor='';
if ($bibentry->hasField(EDITOR)) {
$editors = array();
foreach ($bibentry->getEditors() as $ed) {
$editors[]=formatAuthor($ed);
}
$editor = implode(', ',$editors).', '.(count($editors)>1?'eds.':'ed.');
$editors = $bibentry->getFormattedEditors();
}
if ($booktitle!='') {
@ -106,4 +102,4 @@ function JanosBibliographyStyle(&$bibentry) {
return $result;
}
?>
?>
Loading…
Cancel
Save