Shared Attachments for Book Sections/Chapters?
Hello, Zoteroans -
Is there a way to "share" an attachment for the various book sections or chapters of a book, where one only has a PDF of the complete book? That is: All items would show the attachment, but would all be pointing to the same actual PDF file.
I understand one can use "Related" to connect the chapters/sections to the book, but it would be very convenient to see the book's PDF directly within the chapter/section item.
As is, the only way I can see to achieve this functionality currently would be to add the PDF attachment to each chapter/section item in Zotero. If using Zotero's internal database, this would lead to multiple copies of the same book being stored in the database, and of course each would only some of my annotations. (Using Linked files would be a solution, as one could simply link all the chapters/sections to the same book PDF file).
Thank you....
Is there a way to "share" an attachment for the various book sections or chapters of a book, where one only has a PDF of the complete book? That is: All items would show the attachment, but would all be pointing to the same actual PDF file.
I understand one can use "Related" to connect the chapters/sections to the book, but it would be very convenient to see the book's PDF directly within the chapter/section item.
As is, the only way I can see to achieve this functionality currently would be to add the PDF attachment to each chapter/section item in Zotero. If using Zotero's internal database, this would lead to multiple copies of the same book being stored in the database, and of course each would only some of my annotations. (Using Linked files would be a solution, as one could simply link all the chapters/sections to the same book PDF file).
Thank you....
Is there any way this might be implemented more directly in a future Zotero version? Essentially it would be something like an "alias" feature for the PDF.
Just as an item can appear in multiple Zotero collections, without duplication of the item, this would mean that an attachment could appear in multiple Zotero items without duplication of the actual attachment file.
As is, this seems to be a "pro" in favor of using linked attachments rather than storing attachments in Zotero database.
For now I'm trying the Related Items method recommended above.
Another hybrid solution I am considering:
- Attach the entire book PDF to the main book item in Zotero
- Attach chapter/section PDFs to respective chapter/section items
This is a more feasible solution where one already has separate chapter items, without having to manually split up the book PDF.
On the negative side, this could lead to some confusion as to which file to annotate. It's also adding more files and data to Zotero (not sure whether that has any noticeable effect on performance).
Has anyone tried this approach overall and found it to be a good working method (or not)?
My own approach varies wildly. Usually I do the related items thing, because I'm short on time and can't be bothered splitting a pdf of a whole collection up. But I agree that this is suboptimal: I would like to be able to tell by just looking at a book chapter in the main window whether I have the text or not, but there's no way to represent that without the need to click something, and I don’t want more than one copy of things (otherwise the annotation problem you mention arises almost of necessity). Ideally, I would take the time and make individual pdfs of the chapters, one by one, and link them all to individual chapter entries. I would then make a separate entry for the introduction, and attach only the bibliography and index to an entry for the whole book.
If you have a complete book attached to a book item, you could add a URI attachment to a related book section that links to
zotero://open-pdf/library/items/[itemKey]?page=[page]
, using the Attachment menu. You get such links from extracting bookmarks or comments. (Zutilo's "Copy select item links" function can help with getting the itemKey. Also note that stored files are saved to/Zotero/Data/storage/[itemKey]/[filename]
.) Currently, though, double-clicking the parent book section item will not open such a URI attachment if the item has a URL, DOI, or another pdf or file attachment. It is planned to add an option to set the primary attachment for an item, see https://github.com/zotero/zotero/issues/1715. Given this example, it would be nice if one could also set an attached URI link as the primary attachment.The only problem is that the PDFs are opening in Preview, instead of the default-set Acrobat. I made a note of that in the Zotfile thread:
https://forums.zotero.org/discussion/5301/zotfile-advanced-pdf-management-for-zotero#latest
I've thus far been using the related items approach as follows:
- create single book Zotero item with the anthology attached as PDF; add editors to item info
- make sure the PDF has bookmarks for chapters, named by the chapter title and author
- Manage Attachments: Get Table of Contents
- use Zutilo: Create Book Section just for the chapters (different author articles) of interest (that is: ones I might read and cite)
- manually add in author and title info for the Book Section item
- copy the URI link from the parent item PDF Table of Contents
- paste that URI link into the Book section item using contextual menu command: Add Attachment: Attach Link to URI (or assign a keyboard shortcut in Zutilo; I use Command-Option-U on Mac)
Yes, that algorithm entails many steps, and becomes quite time-consuming for a large # of anthologies and chapters.
The good news: if one double-clicks on the chapter item, the PDF opens to the correct page of that chapter (assuming the PDF has proper pagination, and PDF reader is set correctly, etc.... beware the settings for Logical page #s and whether the PDF has indeed 2 sets of page numbers).
Some Pros(+) / Cons(-) of this approach:
(+) no need to split up the PDF
(+) entire anthology PDF is searchable
(+++) only create chapter items for those chapters of interest, as needed, rather than cluttering up my Zotero database (sometimes there is only one immediately relevant article/chapter from the anthology)
(-) no way to just search the PDF of a chapter; any searches for a keyword will search the entire PDF
If anyone has ideas on a more elegant solution, please do join the fun here!
I just happen to have a problem because the table of content of the book just had parts of the book but not all chapters.
My solution was to (1) make an empty annotation on the title and name of the authors in the pdf file of the book, (2) extract annotations and (3) copy the annotation with its link. It was faster than relating two entries of zotero and if I write "link to the book" at the beginning of notes., it is very easy to see that the book is linked there.
In the attachment menu, add a "Add Link to existing Attachment..." option asking for an attachment (select from existing ones in zotero) and an optional page number (perhaps be able to browse the PDF directly) to automatically create a link like @qqbb provided
zotero://open-pdf/library/items/[itemKey]?page=[page]
Thereby one would not have to look up the itemKey.
This could be automized or pre-filled if the book already exists and is linked to the book chapter.
In a book chapter, it could be possible to identify the pages within the book that represent the chapter, so when you double click on a chapter, it opens the PDF to the first page of the section