Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
option to change cite-format #175
Is there a way to change the cite-format, when using the 'Extract Annotations' feature?
I have found the option to do some adjustments in extensions.zotfile.pdfExtraction.formatAnnotationNote, but the %(cite) variable does not seem to be configurable?
Right now it comes out as "%(author) %(year):%(page)" and I would like it to be "%(author), %(year), p. %(page)" instead (APA-style) (exampled with fictitious variables, but I hope it makes sense).
I.e. "Clegg et al, 2005, p. 150" instead of "Clegg et al 2005:150".
But I seem to have hit a wall, so any pointers or hints, would be greatly appreciated.
referenced this issue
May 10, 2015
Just some notes if anyone wants to look into this.
Currently, the cite key is hard coded on line https://github.com/jlegewie/zotfile/blob/master/chrome/content/zotfile/zotfile.js#L3743
Also add option to format the cite key as plain-text scannable citations "scannable citations".
For Zotfile 5.0.6 the following changes can be applied to line 223 in pdfAnnotations.js
The line cited by Joscha (above) is slightly different in Zotfile 5:
To get extracted annotations with a more specific citation style, replace that line as follows:
Modify yourself or use xpi files in attached zip file based on Zotfile version 5.0.6 - a customised "Scannable Cite" version is also included in the zip file.