ZotFile - Advanced PDF management for Zotero
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
This discussion has been closed.
krcrouse and Olib170, you are right about that and it's a bug but I think unrelated to Olib170 request and the proposed behavior doesn't really make sense. What if I have two attachments for the same item and want to rename both of them? That is exactly why zotfile adds a 2 to one of the attachments. That should not happen if the user renames the same attachment in zotero though. In that case it is a bug but otherwise adding numbers if the file already exists is desired behavior. I am not sure why the bug is so dramatic considering that there is no reason to constantly re-rename your files. I have created a ticket for it though. Olib170, if you still want to implement your scenario, which I think is different, open an issue on github. I am happy to point at the relevant parts of the code but I don't really see why it should be part of Zotero.
With two recent changes in Zotero (see this and https://github.com/zotero/zotero/pull/450 pull request), the zotfile feature Go to annotation in pdf is going to be much more useful!
Currently, the changes are part of the Zotero beta channel and hopefully will make it for the next version.
So far, it never worked on Windows but I just pushed some changes to zotfile, which hopefully make the links work in windows as well. Can someone try and report back? Just install the current zotfile version from github (and the Zotero beta). If you run into an access denied error, look at this page for some help.
There is also am addition for Mac. You can now use Skim instead of Preview to open pdfs and go to a specific page, which works much better. Just set the hidden preference 'zotfile.pdfExtraction.openPdfMac_skim' to true.
adamsmith, it's working fine on Linux, right? Any possible improvement? I am updating the feature now that it going to works better with Zotero.
I can confirm that the links do work on Windows in the Zotero beta. However, initially, I received an error that the path to Acrobat was not specified. I found the preference in about:config and set it to the Acrobat.exe path. Now, when the link opens, it opens Acrobat. Acrobat returns an error, "There was an error opening this document. The filename, directory name, or volume label syntax is incorrect. Is there a different way I should have set up the preference to get the link to resolve?
If someone has coding experience and is able to help out, take a look at this github issue. I posted the relevant code there and you can play around with it in the Firefox's javascript console Scratchpad. Otherwise this has to wait until I have the opportunity to work on a windows computer.
thanks for your reply, you wrote :
-------------------
Olib170, if you still want to implement your scenario, which I think is different, open an issue on github. I am happy to point at the relevant parts of the code but I don't really see why it should be part of Zotero.
------------------
Zotero has the inconvenience that it stores attached files in its own directory structure, even if one is already in place. It seems to me that this is part of the reason why Zotfile has been programmed.
However, in the moment Zotfile will only help to externalise the attachments directory structure, but does not help to keep one that is already in place.
I have , for exampel, some 4000 pdfs in an existing directory structure /%y/firstauthor.year.pdf (and if there are several ones int he same year I add author.year.b.pdf, author, year.c.pdf etc).
For several reasons (and I can think of a whole list that other people might have with existing pdf collections), I want to keep my existing pdf collection as it is. The bibtex export of my existing database contains all the links to the pdfs, but when importing, Zotero copies all of the pdfs. And when I point zotfile to my existing pdf directory with /%y, then I get copies of all my pdfs as author2.pdf .....
However if Zotfile could check if the file is already existing (or even have a look in the URL field in Zotero to figure out the existing file name) one could use Zotfile in one go to change all the links in zotero to the correct files.
This would take away one of the major shortcomings of Zotero, which has been discussed over times several times.
I would really like to change to Zotero, as i see many advantages, but this pdf collection story stops me from doing so.
Cheers
Oliver
I use generally simply "author.year.pdf", son "%a.%y.pdf" and for the cases where I have several publication by the same author in the same year I use the usual abs convention used in many publications, excluding the "a", so the second publication by this author in this year would be "author.year.b.pdf" and the third "author.year.c.pdf" etc. Would it be possible to define this in Zotfile ?
Cheers
Oliver
In that case, it really doesn't work on Windows at all, still. Even when the path is specified, Acrobat doesn't know how to handle the location tags and returns an error rather than opening the file.
I've installed zotero standalone and the zotfile plugin in both zotero and firefox. (Do I need the latter? It doesn't seem to do anything.) I've set zotfile to watch my "Documents" folder. Now say I download a journal article named 123456.pdf into the Documents folder. I'd like to (1) add the article to zotero, (2) retrieve the metadata, and (3) rename the file accordingly. To achieve this, at the moment I (1) drag the file into zotero, (2) right-click and select "Retrieve Metadata...", (3) right-click again -> "Manage Attachments" -> "Rename". This doesn't actually rename the file but create another copy with the correct name, but OK. -- Anyway, I'm sure this rather tedious process isn't how it's meant to be. Isn't zotfile somehow supposed to notice automatically when a new article appears in the folder? Can't it automatically look up the metadata and rename the file?
I can't speak for Joscha, but in terms of Zotero, adding PDFs and using retrieve metadata is in most cases not a recommended workflow. The data you get - most typically from google scholar - is significantly worse that data from databases or journal publishers. If you really do want that workflow, dragging the PDF to Zotero (or using "store copy of file") and manually running "retrieve metadata" is the only option. ZotFile doesn't really play into this, except that it can move the file to a desired location and has more finely grained renaming options than Zotero proper.
http://www.zotero.org/support/getting_stuff_into_your_library#web_translators
http://www.zotero.org/download/
those will not slow done the browser noticeably.
(edit: and for anything beyond this pls. start a new thread so we're not derailing this one).
I am storing files in Zotero (not dropbox). I viewed the file in Zotpad then opened it in Goodnotes, highlighted text in the PDF document using GoodNotes, then exported it back to Zotpad. Then I went to my laptop (macbook pro) and synced Zotero. Then I opened the file, and saw the highlight was there. Then closed the file, and selected it in Zotero and looked for the "extract highlighted text" option. There was none, as above.
What am I missing, please?
ETA: and to be clear - when I click "extract" nothing happened - no note was created or anything (I'm not just confused by the lack of reference to highlighting in the menu :) )
Appreciate the new background mode and the discreetly animated info window. Let me know if you want something more specifically looked at.
Last week I added several hundreds of pdf attachments, but I doubt that is the reason, as I encounter the same speed issue in another Zotero profile that holds much less pdf files.
Any clues to solve this? I would like to demonstrate Zotero/ZotFile to my colleagues during one of the coming weeks - so I feel a little problem at the moment.