Fix JanosBibliographyStyle and add notes

Fix missing brace in if-statement for comments in JanosBibliographyStyle
Add notes to entries (in addition to comments)
This commit is contained in:
Frederik Möllers
2026-03-27 00:35:16 +01:00
parent a796f4c284
commit f20af8f28f
+6
View File
@@ -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();