Browse Source

Fix JanosBibliographyStyle and add notes

Fix missing brace in if-statement for comments in JanosBibliographyStyle
Add notes to entries (in addition to comments)
master
Frederik Möllers 3 weeks ago
parent
commit
f20af8f28f
  1. 6
      bibtexbrowser.php

6
bibtexbrowser.php

@ -2587,6 +2587,12 @@ function JanosBibliographyStyle($bibentry) {
// some comments (e.g. acceptance rate)? // some comments (e.g. acceptance rate)?
if ($bibentry->hasField('comment')) { if ($bibentry->hasField('comment')) {
$result .= " (".$bibentry->getField("comment").")"; $result .= " (".$bibentry->getField("comment").")";
}
// some notes (e.g. "accepted for publishing")?
if (($type!="misc") && $bibentry->hasField('note')) {
$result .= " (".$bibentry->getField("note").")";
}
// add the Coin URL // add the Coin URL
$result .= "\n".$bibentry->toCoins(); $result .= "\n".$bibentry->toCoins();

Loading…
Cancel
Save