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.
[JavaScript Error: "XML Parsing Error: prefix not bound to a namespace
Location: moz-nullprincipal:{...}
Line Number 4, Column 5:" {file: "moz-nullprincipal:{...}" line: 4 column: 5
source: " <RDF:Description about="urn:mozilla:extension:zotfile@columbia.edu">"}]
onUpdateCheckComplete failed to determine manifest type
I am trying to migrate from the Zotero file structure to a custom file structure mirroring my library structure in Zotero using Zotfile. It happens that I have multiple files per Zotero entry e.g. multiple pdfs, xls, jpgs, etc. When Renaming/moving them to the new location all files get renamed and file names on the disk are differentiated by adding a number. In Zotero, however, the multiple and different file types all appear with the same same name and no possibility to differentiate foo1.pdf, foo2,pdf, foo.jpg, foo.xls etc.
3 related questions:
1.
Is there a possibility to add the file extension in the name (both in zotero and in the file name) and differentiate multiple pdf - at leas as foo1.pdf, foo2.pdf within zotero?
2.
Renaming does not work (always) for some files (generally jpgs but I although had some scanned pdfs for which it does not work). The Dialog "zotfile: Unnamed attachments" freezes/remains gray. This happens more often using the Zotfile renaming format but also when using the standard zotero renaming format.
3.
How can I automatically list or exclude entries with multiple attachments for manuell treatment?
Thank you all for your help.
Is there any way to clean old ones out and start from scratch? Deleting all the tags is apparently not enough. Thanks!
extensions.zotfile.tablet.showwarning
preference in the Config Editor.See here: https://github.com/jlegewie/zotfile/issues/417.
It would be great if there was a way to reset ZotFile to clear all saved memory of prior on tablet files. I always thought it just used the tags to track them, but that is clearly not the case.
Thanks again.
I'm new using ZotFile and there's an issue with the extracted annotations. I believe the problem is because the extracted annotations are written in a language that maybe ZotFile doesn't recognise but the characters are the same as English or Spanish and I have no problems with those languages.
Here's how it looks like:
"Es diu que un consumidor es troba en situació�de�mercat�informat quan considera que disposa de criteris autònoms d'avaluació del producte, i en situació�de�mercat�no�informat en el cas contrari."
Any suggestions?
Thanks.
Maybe the Zotero OCR add-on can do this. I would test it first on a copy of the pdf. If you are using Windows, you could check if the PDF-XChange Editor and its OCR Language Extensions could be of help. A free version for academic use seems to be offered here, but I don't know if the language files are compatible with this version.
But in the same document the titles are also written in bold letters and it's not a problem. Just in the body text.
I ran an OCR software but it didn't solve the issue.
Any ideas?
Thanks!
Zotfile has a feature that allows replacing unicode characters, which might help with your issue. In the Config Editor, find the preference
extensions.zotfile.pdfExtraction.replacements
. If you right-click it, you can modify the value to set a replacement rule. For example, a single character replacement could be[{"regex":"ò", "replacement": "o"}]
or equivalently[{"regex":"\\u00F2", "replacement": "o"}]
, see here. So if you could find the unicode value for the unwanted character, you could replace it with a space character.Various ways of identifying the unicode characters on the clipboard are given here. This online tool might be useful:
https://www.babelstone.co.uk/Unicode/whatisit.html
(Paste your text and click the "Identify" button.)
I met a problem with Zotfile. The "tablet files" and "tablet files(modified)" would be automatically built when I use "send to tablet" function. But I deleted the two files by mistake. I can still use "send to tablet" and "get from tablet" function to view my modified PDF, however, if I forget which PDF has been modified, I may miss it, as I don't have a "tablet files(modified)" to view what I have sent to tablet.
So how can I get back my "tablet files" and "tablet files(modified)"?
1. I click X.pdf -> send to tablet (X.pdf is linked in google drive)
2. I annotate X.pdf on my ipad (via PDFViewer if that matters).
3. I click get from tablet, so i get X_annotated.pdf in zotero (annotations correctly imported).
4. When i click X_annotated.pdf --> send to tablet (to keep annotating it), the complete filepath becomes: some_folder/false (originally some_folder/X_annotated.pdf) and no file ends up in the tablet folder. also the link to X_annotated.pdf in zotero becomes corrupt as mentioned.
A lot of thanks to the developer for helping so many researchers!
version => 5.0.85, platform => MacIntel, oscpu => Intel Mac OS X 10.15, locale => en-US, appName => Zotero, appVersion => 5.0.85, extensions => ZotFile (5.0.16, extension), Zotero Storage Scanner (5.0.8, extension), Zotero LibreOffice Integration (5.0.22.SA.5.0.85, extension), Zotero Word for Mac Integration (5.0.26.SA.5.0.85, extension), Zotero Scholar Citations (2.0.4, extension, disabled)
I have been using zotfile to organise my PDF with google drive and love it.
I have recently imported some video files into Zotero, and noticed zotfile does not rename and manage these files in the same way.
Is this expected? I just receive a pop up saying "Files skipped because they are top-level, snapshots or do not exist" when i click on rename attachments.
Zotero: 5.0.85
zotfile:5.0.16
Thanks
Dan
Is anyone else experiencing the same problem?
Cheers
Dan
But when I "get from tablet" is pulls the file into Zotero's structure with weird folder names instead of into the directory structure according to zotfile's rules. When I use "rename attachment" it moves it back to the structure I set up but loses _annotated from the copy of the PDF.
What am I doing wrong?
- For the renaming string, %a (or a new field wildcard) should only include authors, not editors. The instructions claim it does work this way, but it does instead include the editors no matter what.
Per the instructions:
"%a last names of authors (not editors etc) or inventors."
http://zotfile.com/#renaming-rules
This should leave off the editor name(s) and only include the author name(s).Thus if there are only editors, the file name will just be the name of the work itself, no creators at all. {%a|%e}, on the other hand, would still give either authors or editors, as usual.
I hope the developers will allow the option that the re-naming does not move the file as well. This is especially important for those of us who utilize our own file organization systems, rather than Zotero's own internal database. Some earlier comments suggest that this used to work properly, but no longer does.
Feature Request: Allow Move of All Item Types
(If this is technically possible) Allow (optionally) that the Move command moves all item types, including those without parent items. So, for example, snapshots, documents stored in a subcollection (e.g. my own Word or text documents which are outlines, notes, annotated bibliographies, etc, but are not "cite-able" items).
I would like all PDFs fo open in Acrobat. However: Extracted links (open-pdf) on my system are opening in Preview, rather than Acrobat.
This is a Mac running OS Mojave with all updates, with latest Zotero beta and latest Zotfile and Zutilo.
I have both the System default and Zotero's preference set to use Acrobat. Regular PDF attachments in Zotero do open properly in Acrobat.
I read elsewhere here to modify the hidden Config preference extensions.zotfile.pdfExtraction.openPdfMac
(Thread: https://forums.zotero.org/discussion/78695/zotfile-annotation-hyperlinks-opening-in-preview-mac-instead-of-default-pdf-reader/p1)
However, that config preference does not appear in the list. Many other options appear in extensions.zotfile.pedfExtraction, but nothing with "openPdfMac".
Any advice appreciated.
zotero://open-pdf
handler. So this should not be related to Zotfile, but to Zotero on macOS. Note that the links open properly on Windows 10. There is another recent report for the same issue on macOS, see here.If you can provide a Debug ID for opening a
zotero://open-pdf
link, the Zotero developers might be able to have a look.This might be a macOS issue, see here:
https://forums.zotero.org/discussion/77614/view-pdf-not-working
When I add a file to Zotero, zotfile nicely renames it and puts it in a human readable directory structure I have set up. under location of files. When I "send to tablet", it successfully copies it in the dropbox folder I'm using to sync.
But when I "get from tablet" is pulls the file into Zotero's structure with weird folder names instead of into the directory structure according to zotfile's rules. When I use "rename attachment" it moves it back to the structure I set up but loses _annotated from the copy of the PDF.
https://forums.zotero.org/discussion/76425/zotfile-send-to-tablet-limits-effects (I've never used that function, so I can't give more detailed advice.)
See also Zotero's documentation on Stored Files and Linked Files and the discussion here.