Add comment field to JanosBibliographyStyle

Print the content of "Comment" fields in JanosBibliographyStyle, similar
to how it is done in VancouverBibliographyStyle.
This commit is contained in:
Frederik Möllers
2025-10-24 02:26:57 +02:00
parent d714808318
commit f4298cf171
+4
View File
@@ -2584,6 +2584,10 @@ function JanosBibliographyStyle($bibentry) {
$result = implode(", ",$entry).'.'; $result = implode(", ",$entry).'.';
// some comments (e.g. acceptance rate)?
if ($bibentry->hasField('comment')) {
$result .= " (".$bibentry->getField("comment").")";
// add the Coin URL // add the Coin URL
$result .= "\n".$bibentry->toCoins(); $result .= "\n".$bibentry->toCoins();