New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option to change cite-format #175
Comments
Sorry for not adding the issue directly on Github (I wasn't aware it was a request), and for forgetting to ask the following on the Zotero Forum, but I was wondering if this was the same as/related to #95 ? |
Yes, you are right. I closed the other one. |
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: // APA: 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. |
Customised APA version of Zotfile 5.0.16 attached.
|
Hey @notehound thanks for your replies! Could you please exaggerate how to change the line to have a scannable cite? Thanks in advance
|
Hello |
Hello |
Apologies for my late responses to posts last month. replace line 217 (optional for clarity): replace line 226: insert above line 257: I have already done this in the attached zip file. @Mugurlu28 - To rename the file from .zip tp .xpi you need to make the file extensions visible in File Explorer (Windows) or Finder (Mac). The file attached here is customised from the latest version of Zotfile which means it will now work with the current version of Zotero. |
Hello notehound |
Hi @Mugurlu28 Scannable Cite does not work with Word. See: "RTF/ODF-Scan requires Zotero, LibreOffice and Zotero's LibreOffice plugin." |
Is there a way to make it work with Word? |
Apologies - one last tweak to get annotations in Scannable Cite format:
|
You can add scannable citations in word but you must save your Word doc as odt then open the file in Libre Office. You then use the RTF/ODF-Scan for Zotero add-on in Libre Office to generate in-text citations and bibliography in your chosen format. |
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.
The text was updated successfully, but these errors were encountered: