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.
I would argue that this feature is one of the main benefits of using Zotfile, so if it could be restored without being too resource intense I think many would find it useful.
I do observe that the renaming does work for files that are dragged onto a Zotero record, however the renaming popup message now persists indefinitely until it is clicked. If the popup behavior could return to disappearing automatically after a few seconds, that would be less annoying.
What it does no longer do is to add files added to the watch folder automatically to Zotero, and the feature description doesn't say it does.
I suspect that the problem has to do with this: When I try to change the Zotfile options to save the pdfs into a custom location on my computer, the button to choose that location does not work. Clicking on it does not open a menu to select a path. I typed in the path by hand but am not sure if it is correctly recognized by the program.
I experience these problems when working with Zotero: when I click "manage attachments, rename attachment", the renamed files are only renamed but not changed into linked attachments anymore, and they are saved in the Zotero folder instead of my library folder.
The option "Attach New File" also does not work. Even when there is a new pdf in the firefox download folder, it just does nothing.
So questions:
- Can I still use Zotfile to link all my records to a specific folder (in my case a folder on Dropbox)? (I assumed yes from the Zotfile website).
- Are there any extra settings that I need to make before Zotfile can create linked attachments with Zotero 5? (I assume not)
- Any solution for this issue with Zotfile at the moment?
My setup: Zotero 5.0.18, Zotfile 5.0.4. I want to use Zotfile to link all my records to PDFs in Dropbox. I copied all the settings conscientiously from my other computer so unless there is an extra step in the new program, that should not be the cause of the problems.
(edit: so in answer to your questions: everything else in ZotFile still works, or is supposed to work, in exactly the same way)
I'm using Windows 7.
version => 5.0.18, platform => Win32, oscpu => Windows NT 6.1 (Windows 7); WOW64, locale => en-US, appName => Zotero, appVersion => 5.0.18, extensions => Zotero LibreOffice Integration (5.0.6.SA.5.0.18, extension), Zotero Word for Windows Integration (5.0.2.SA.5.0.18, extension), ZotFile (5.0.4, extension), Shockwave Flash (27.0.0.130, plugin) Firefox: 55.0.3 (64-bits)
Besides fixing the bug I reported 7 days ago, I'd like to see the following enhancements.
With the new version of Zotero, I'm finding it more reliably attaches pdf files, for example from publication sites to which I have access to pdfs of individual articles. Hooray!
But this sometimes causes confusion. I often have scanned versions of the same articles but with my own handwritten underlining and annotations. So, depending on how I intend to use the article, I may want two copies (one marked and one clean to use in a course I teach) or just one (the marked one if I'm only going to use it for my own scholarship).
This example of use suggests the following enhancements:
1. An easy way to turn off automatic downloading of pdfs temporarily so that Zotero only scrapes the bibliographic information from a web site but does not download the associated pdf.
2. A way to rename individual attachments from within Zotero in addition to Zotfile's renaming goodness. For example, Zotero/Zotfile might scrape bibliographic data and download a 2017 article by John Doe entitled "Conundrums," automatically renaming the file as "DoeJ 2017 - Conundrums.pdf." The user might then attach a second, marked version of the same pdf file and use Manage Attachments > Rename Attachments to give the second file a name like the first. But now the user would have a way to modify both the file name and the link to differentiate between the two versions, e.g. by editing and adding "Marked" to the file name.
3. For cases in which a clean pdf has been downloaded, renamed, and saved unnecessarily, a way to delete both the attachment address from the Zotero item record and the attachment itself by deleting the file stored in Zotfile's "Custom Location." Currently one has to delete the attachment link and, outside of Zotero, use a file navigation app to delete the saved file. Currently this often requires examing the content of two or more files to make sure the right one is being deleted. Of course, this capability would be useful in many other situations too.
Thanks.
(BTW, a particularly elegant version of enhancement 2 might use something like Zotero's colored tags. For example, one could establish "attachment tags" such as "clean" and "marked." Then the tags would apply to the individual attachments rather than to the item record as a whole, and a colored tag indicator would appear before the attachment rather than before the item record. There would still need to be a way to rename the files themselves, perhaps by adding the applicable attachment tags to the file name.)
In my case, this has happened when I rename existing files in the database. I have a number of books in which each chapter is a separate PDF attachment, e.g., Author, Anne. Concepts and Notions. Townton: Juice Press, 2017. With the following attachments
Zotfile moves the files to the appropriate folder and renames them to:
Which is fine. But then in the database there's just a series of identical links to the first file:
So the remaining files are no longer referenced in the database.
As the files are being renamed the pop-up briefly shows the filename with the number appended, then the filename without the number.
I'm using standard renaming rules: {%a_}{%y_}{%t}
In addition, is there any chance that the creation of sub-folders (e.s. Author\year\) is repristinated? I really miss that function.
Thanks
Thanks
Thanks for your work on Zotfile. It was exactly what I was looking for. I have a small comment about the "Send to Subfolder on Tablet Feature", which I use to periodically back-up all my pdfs in dropbox so I can read them on my phone:
Not sure if I am doing something wrong or if someone else already pointed it out to you, but when I select multiple records that are in different collections or subcollections, Zotfile seems to send all files to the subfolder of the one specific file I right-click in order to send the command, instead of sending each file to their respective subfolder (as based on the collections they are in).
My way around this is to only multi-select and send records that are in the same collection and hence will go to the same sub-folder anyway. Which works fine. But perhaps it would be better if, when for example you select your entire library at once, the files still go to their respective subfolders?
Not too big a deal, but something I noticed.
With regards,
YF
ps: I just found out that even the option "change sub-folder" in the Zotfile right click menu is no working anymore :(
UPDATE: never mind, I uninstalled and re-installed the plug-in and now these two menus are working properly. However, the automatically created sub-folders are still an issue!
Thanks
Thank you
I have a feature request, which I think should be quite simple -- I'd like to retain the functionality of pdfExtraction.colorNotes, but not split them into different notes; rather prefix each highlight with its colour, so there's one note with all of the highlights in sequential order. Something like this:
Green - "This is a quote" (Smith, p. 37)
Red - "This is another highlighted quote" (Smith, p. 43)
Green - "This is yet another quote" (Smith, p. 427)
I thought I could achieve it by putting %(color) in the pdfExtraction.formatAnnotationHighlight option, but it renders as "rgb(0,255,0)", so obviously the conversion using pdfExtraction.colorCategories happens elsewhere (and perhaps only for pdfExtraction.formatNoteTitleColor?)
If I get time I might dig into the Zotfile code, but if this was an easy fix -- i.e. to enable the parsing of colorCategories in formatAnnotationHighlight, even when colorNotes is disabled -- that would be fantastic :)
Many thanks again,
Laurence
if (anno.subtype == "Highlight")
anno.markup = "(" + color_category + ") - " + anno.markup + "";
(note that it also adds a highlight to the note, so it's easy to tell the difference between different coloured highlights at-a-glance).
If/when I get a chance I'll add this as a Zotfile preference, and submit a pull request.
Excellent work with the software btw. I have one small feature request/bug/feature that used to work (apparently) before Zotero 5.0 but no longer that I'd like to be (re-)implemented.
I posted this on the main Zotero forums so you can see there for a full discussion (https://forums.zotero.org/discussion/68517/zotfile-renaming-linked-files-but-not-moving-them)
Basically, I want to rename linked pdfs but not move their location.
I've got a load of pdfs in lots of folders for different courses saved across my harddrive. I completely understand how to rename (retreive metadata, manage attachments etc.) files I've copied into Zotero. However, once the linked file is renamed Zotfile moves it to a different directory. I'm aware that one can customise the directory to which these files are saved.
However, I DO NOT want these renamed files to be moved at all. I've got pdfs in literally hundreds and hundreds of folders. It'd be so much easier if Zotfile will just rename the linked file and leave it in its original source (linked) directory.
A fellow user, bwiernik, said this feature used to work before Zotero 5.0 by choosing custom location and leaving the field blank.
Doing this in Zotero 5.0 and following the same renaming process that I'd normally use (which moves the pdfs) - add linked file to the directory, retrieve metadata (which creates top-level item with linked file underneath), Manage Attachments -->, Rename Attachments, the top field in zotero (the field with the item in bold which when clicked displays a command window named 'Prompt' and contains 'New title:') gets renamed with my renaming rules but the Filename field does not change at all.
I hope it should be a very simple option to have a checkbox implemented in the Zotfile preferences menu saying 'Rename (linked) files in source directory'. Even if that isn't possible, if someone could inform me how to implement this for my Zotfile preferences in the meantime that'd be great. Otherwise I'll just have to wait until the bug's fixed in a future Zotfile release (hopefully not too soon!).
Thanks all.
Nothing shows up in the 'Report Errors' help option regarding this. I'm using Win8.1 and I'm not using Zotero through firefox, just the desktop application and the latest version of Zotfile.
Thanks again
But when I use zotero standalone and zotfile. Use the settlement, I can not link the pdf and the item automatic. I have to drag the document to the item.