Is this a bug in the citationStyleLanguage-Plugin?

Hello there,

we’re using OJS 3.1.2.1 and we’ve noticed some issue with the citationStyleLanguage-Plugin. If we export the data as a .ris file for Zotero or Endnote, the page numbers are missing. I’ve looked into the code and I noticed the line for page numbers is missing there as well. Is this a bug or is this intentional? I’ve noticed I can add the page numbers with the line “SP - {$citationData->page}”, but I’m not sure if there’s some kind of collateral damage if I do this.

Edit: Another thing we noticed: After importing the .ris file into Endnote, the author’s famliy name was jused as given name and vice versa.

Kind regards
Daniela

Hi @UBWolf,

Thanks for reporting! I’ve filed this at Fix issues with citation style language author and pages · Issue #5297 · pkp/pkp-lib · GitHub and will post a fix there shortly.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

that’s great, thank you very much!

Kind regards
Daniela

Hi all,

I have another issue with the RIS format: A user informed me, that the author names are not imported correctly in Endnote x9: Last name and first names are reversed. I found a (very old) documentation of RIS saying that the “author name must be in the following syntax”:

Lastname, Firstname, Suffix

Currently, in the citationStyleLanguage-Plugin the format is

Firstname Lastname

Perhaps this explains the problem?

Best
Armin

PS. See also this mesage by shaun

who recommends changing line 20 of the ris.tpl from

AU - {$author->given} {$author->family}

to

AU - {$author->family}, {$author->given}

(Perhaps the comma should be printed only if family and given name exist).

Hi @aguen,

I think that’s fixed in OJS 3.1.2-2 and newer; see Fix issues with citation style language author and pages · Issue #5297 · pkp/pkp-lib · GitHub.

Regards,
Alec Smecher
Public Knowledge Project Team

Ah, good to know (I searched, but did not find the bug fix). Thank you Alec! Best, Armin