-
Notifications
You must be signed in to change notification settings - Fork 59
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
README.md -> README.EN.md (via GTranslate) #170
Conversation
Thank you!!! |
Thank you! Loving the project. Am I able to export a list of the references in plain text? Maybe add them to zotero's "Extra" field? I want to make a citation graph, but can't do that at the moment because I don't have the references in plain text. If you can tell me which lines of code handle the citation fetching, I'm happy to look into adding this and submitting another PR. |
Current, double-click code here: const references = await this.utils.PDF.getReferences(reader, fromCurrentPage) references like this: |
And I develop this: |
Okay thanks! Is there a way to do this for multiple papers at once? I've got 300+ papers so going through each of them will take a while. I saw |
I can send unzip code to your email.
Plugin read PDFJS instance, it need a opened PDF. So it is diffcult if you want to call some function to get PDF's parsed references. Fortunately, you can get references by api of https://github.com/MuiseDestiny/zotero-reference/blob/bootstrap/src/modules/api.ts#L258 https://github.com/MuiseDestiny/zotero-reference/blob/bootstrap/src/modules/api.ts#L236C9-L236C36 In my experience, the plug-in parses the pdf to get the reference better than the api. |
Thanks for the unzip code! could you dm me on twitter (twitter.com/beyarkay)? I don't really want to leave my email on a public forum. I managed to get a proof-of-concept working that will insert the DOIs of the references into the "extras" field, although I haven't tested it properly yet so it probably has some rough edges. |
Hi There!
I saw there was a lot more content on the ZH readme than the english readme, so I used GTranslate to try translate it. I'm a native English speaker but don't know any chinese so it won't be perfect, but I think it's better than nothing 🤷.