PDF Editor Beta - Some notes on notes
First of all -- this is such good news. I had no idea you were working on this and I'm liking so many of the decisions you've made.
Some initial observations:
1. So here's what I think is a fairly common use-case: I highlight a PDF and then click + "Add item note from Annotations". This works great. But then I return to the same article and find another bit to highlight. If I run "Add item note from Annotations" again, I now have a duplicate anntations.
I see some complications, but in general I feel like it should be possible to remove the older note (perhaps unless it has been modified or so?) for a much smoother experience.
2. I think the "All Notes" view needs rethinking. I have hundreds of notes from across my library with no way of searching or filtering them and it takes up the lion's share of the right pane. This doesn't seem right.
3. For the note editor -- would it be possible to bring back source view? I know some other people have been using it for advanced features, too, and I like the additional control that gives me a lot, even if I rarely use it.
Again, though -- already working really smoothly for an early beta.
Some initial observations:
1. So here's what I think is a fairly common use-case: I highlight a PDF and then click + "Add item note from Annotations". This works great. But then I return to the same article and find another bit to highlight. If I run "Add item note from Annotations" again, I now have a duplicate anntations.
I see some complications, but in general I feel like it should be possible to remove the older note (perhaps unless it has been modified or so?) for a much smoother experience.
2. I think the "All Notes" view needs rethinking. I have hundreds of notes from across my library with no way of searching or filtering them and it takes up the lion's share of the right pane. This doesn't seem right.
3. For the note editor -- would it be possible to bring back source view? I know some other people have been using it for advanced features, too, and I like the additional control that gives me a lot, even if I rarely use it.
Again, though -- already working really smoothly for an early beta.
An analogue here would be the left-hand pane in the Notes app on macOS. Technically you can scroll through every note you've ever taken, but really it's just there so you can click a recent one or search against the full list.
We do plan to add many more filtering options — right now the filtering is very basic. Are there specific ways of finding notes you would find useful there? Short answer: probably not. ProseMirror isn't an HTML editor — it's object-based, and while it gets serialized to HTML on save for compatibility with TinyMCE, the HTML is much less human-friendly (large chunks of embedded data for annotations and citations) and exposing it risks corrupting what's there. We can talk about whether there might be some way to expose some sort of sanitized view that could be combined with the internal data, but that may be tough to do safely.
There's still a lot of note functionality we need to bring back to this version, though — colors, superscript/subscript, tables, alignment, and more. So don't be alarmed if something you use is absent.
1. Yes, that's roughly what I was thinking. I could be wrong, but I'd guess that lots of people have "annotations only" notes and if that's the case, this will work well.
2. Oh, so I simply overlooked the quicksearch bar because it was on top of the item notes and I didn't mentally associate it with all notes. That already makes more sense and I may have just been dense there -- not sure that's actually unclear UX.
The only other thing I'd be looking for is to filter notes by tag
3. OK, I was wondering if that was the case. I think the image feature alone is worth it. I don't actually use a lot of fancy things, so once tables are back I'm all good, but others likely have different views on this.
5. One reason I was trying to go back to the item is to delete the note itself. I could not find a way to delete it from the pdf tab. A Delete button there will also help get rid of a note from an incomplete set of annotations and the user may recreate a new, complete one simply in two steps without changing tabs (solves case 1 above).
Related to 3., I would find a lot of use for a Markdown view. In RStudio for example, I switch back and forth between the Markdown and ProseMirror views really often. The biggest help for my typing habits would be being able to enter text formatting using markdown entry (eg, **a** for bold, # for headings, etc.).
6. I frequently email PDFs by dragging the attachment item from Zotero. It would be really nice if there was a prompt asking if annotations should be included when doing that.
7. How is the citation style for citations in notes controlled?
Auto-converting some additional Markdown things to rich text would be fine — we already convert Markdown syntax for blockquotes and lists. Issue created. That we probably can't do. It varies by OS, but we're fairly limited on a technical level on drag — I haven't looked at it in a while, but if I recall the file generally needs to exist before the drag starts. It's possible we could have some additional options here in a future Firefox version. Short of that, you could have some weird thing where you chose a context-menu option and a temporary file was generated with annotations and you were given some sort of proxy icon in the UI that you could drag, but that's getting pretty esoteric. It's just a fake style, similar to what we show in the citation dialog. At least with citeproc-js, generating real style output is too slow for what we need. Not impossible that could change with citeproc-rs, but these are really just meant to be placeholders until you get the note into a document, whether via the word processor plugins or some other future export functionality.
Re: 6. I’m guessing that a setting to automatically export annotations on a drag wouldn’t work then either? Maybe a permanent icon for this in the right pane for the attachment icon might be workable?
Re: 7. Got it. I don’t think the citation style is important, but I expect this to be a mild source of confusion. We will need an FAQ page explaining that the citation style will be set when the note text is inserted/copied into a word processor document.
Edit: Never mind, they are untethered! This is amazing, it is much easier to work with notes in this interface than in the main Zotero interface.
- When I have a PDF open in one tab with the note editor open, if I open a new PDF from My Library, the existing note editor stays visible in the new tab with the new PDF.
- I don't see a way to delete a note from either the notes list or the note editor view.
If disk space were no issue, someone could create a plugin that maintained a one-way mirror of PDFs with embedded annotations whenever the internal annotations changed (and, for the dragging issue specifically, overrode the drag functionality to use that version of the file).
How about a user-initiated File -> Save menu item in addition to "Save As" already in the menu? Because I know that I will want to save my annotations to my pdfs back in my library. This may not solve some of the issues on reconciling changes but I assume that Zotero has to deal with those now anyway.
It would be great to have the full tag selection interface for this, so one could drill down to a few notes by selecting two or more tags. That would give the user full control of which notes are visible
On the confirmatory side, (1) I opened an attached pdf and annotated it in Acrobat Pro, (2) saved it in Acrobat Pro, (3) opened it in Zotero using the new pdf viewer, (4) added a new annotation, (5) saved it from the new pdf reader using "Save As", and (6) replaced the original pdf in the storage folder. This worked fine beautifully; no issues. The updated pdf opens in the new pdf reader with both annotations. So, if I choose to annotate my pdfs (including those with previous annotations) in the new pdf reader, I can do that and manually replace the file in the storage folder. Excellent!
Edit: I do not want to give bad advice to others, though. The new file has both annotations as read-only, and you have an extra for the one created in the new pdf reader (which is saved in the library, I assume). So this workflow should not be used (and wouldn't be endorsed by the developers rightfully so). For saving your annotations as standard pdf annotations, or quickly sharing annotated pdfs with others, there may be other ways.
That's excellent - looking forward to that!!
A few comments
(1)
Also, good that the file can be exported with the annotations using save-as.
(A) It wasn't clear to me that it would save with annotations - might be good to indicate somewhere.
(B) I wonder whether there could be an "attach duplicate with embedded annotations" or similar, that creates a 2nd attachment with the annotations baked in?
(2)
Overall, I would love more keyboard shortcuts (or a way for Zutilo to generate them). It would be nice to have keyboard shortcuts for hiding panels, but above all, I would love keyboard shortcuts for the tools (maybe 1/2/3?) and colours (r/g/b/??).
(3)
I assume that while we cannot drag out of Zotero, we can drag annotated PDFs between libraries, right?
As per other thread:
[removed duplicate comments — D.S.]
That's excellent - looking forward to that!!
I'd actually remove the remaining two comments from the other thread to move them here. Here they are again:
(4) Would love an option to add turn all PDF-annotations into a note each. That note would need to start with the text of the annotation so the initial text of the note can be seen in the Zotero middle panel. That note would be tagged with the tags added to the note in the PDF. (Cudos for adding tags to individual annotations!) This would make a quick qualitative analysis of the PDF document / extracting key quotes really simple. Would love to have this.
This could also check existing notes for exact duplicates and not recreate them, avoiding needless duplication.
(5) ZotFile-type customisation of the extracted text. I've got my ZotFile set up so that it uses the colour of the PDF-annotation to highlight part of the Zotero-note (e.g., the reference). Will it be possible to customise the text of the Zotero-note in any way (as you can with ZotFile)?
What I would love here is (customisation):
(a) Show the user name who made the annotation in the Zotero-note. (User would be the Zotero user or the user embedded in the PDF, depending on the type of annotation.)
(b) Show the highlight colour and the highlight colour name.
(c) Show the Zotero Item key for the PDF and for the parent item.
(d) Let the user customise character-based separators between those parts, so notes can be further processed.
For example, one could then do this (where "⟦Note:" is arbitrary markup chosen by user):
"Extracted text." (Author, Year, p. X) ⟦Note: ABC⟧⟦parent:123:ABC⟧⟦key:456:DEF⟧⟦Color:#FF0000:Red⟧⟦Tag:XXX⟧⟦Tag:YYY⟧⟦User:ZZZ⟧
or even
⟦text⟧"Extracted text."⟦/text⟧[ref⟧(Author, Year, p. X)⟦/ref⟧ ⟦Note: ABC⟧⟦parent:123:ABC⟧⟦key:456:DEF⟧⟦Color:#FF0000:Red⟧⟦Tag:XXX⟧⟦Tag:YYY⟧⟦User:ZZZ⟧
(The parent/key def seems to be present in the 'data-citation', but would be helpful to have a way of showing them in the plain text.)
I know the above adds more characters etc, but we have a way of 'onward processing' of the notes (by copy/paste), and it would be really good to have this.
Btw. I really love the way that you can drag paragraphs around in the note editor, that's very cool.
@ @dstillman I don't have an option to choose. I click the icon and it displays both.
I also disagree that I would only use it when looking for a note. Once you pointed out that this can be used to make notes, I have been using it this way. Having the pane open as I read and making notes as necessary works really well. I treat it as 'overall notes' as opposed to notes linked to highlights/specific pages. For me, "All Notes" nearly fills up the entire pane (Macbook Air). If I have the pane open to take notes then the notes pane is full and feels messy for me. After the second note I have a scroll bar.
I agree with the comment from the thread you linked, the notes pane takes up the lion's share of the pane. If I am in an article making notes, I'm not looking for notes from other articles. For me, it doesn't seem like the most logical place and does detract from the cleanliness of the UI.
You noted that there will be more filtering options in the future, if this provides the means to remove/hide "All Notes" that would work well. Alternatively, a different button for "Item Notes" and "All Notes" would work. Again, I disagree. A different tab (I mean functioning the same way parent item does) in the pane keeps things clean. The only use case I can think of for needing "All Notes" is if when reading an article I think to look up related issues/comments/notes from other articles. Otherwise I have no need of it when viewing an article
I understand you have a particular approach and design in mind, this is just my feedback based on the way I use Zotero, take notes when reading etc.
Much of the functionality of the new note editor is based around the idea of using standalone notes further into a draft as you combine material from various sources, and the All Notes section — and the pinning of notes between tabs — is meant to address that use case. But I understand that not everyone will want to work that way, or may want to do that part outside the PDF reader.
We'll see what we can do here. Thanks for your feedback.
1. Would it be possible to view standalone notes in tabs? I often work with multiple standalone notes while reading a single PDF. Switching between notes through the notes-pane is not ideal. It would be easier if all the notes I need access to were open in tabs.
2. Is there going to be an option to hide or shorten the citation that is shown after an annotation in the notes? I want to keep the citation, but having the whole (author+year+page) after every annotation is visually distracting and seems unnecessary. For me the best option would be to show just the page number, and that to work as a link to the specific page in the PDF. And as a side note: the "hide author" feature in the citation dialogue doesn't seem to work in notes.
3. Would it be possible to have the quotation marks as optional when copying annotations into notes? I prefer not to have them.
(Quotation marks are currently added when copying text from the PDF to anywhere, though, including fields, and that's a bug.)
1) have a draggable resize thingy so you can make one or the other bigger or smaller
2) have a button to collapse/expand each of the Notes sections.
(edit: I currently use workflowy for this).
You can of course use nested collections in Zotero for organization, so I'm not sure what you mean there about ZotFile. But if you're saying you want to regularly open PDFs outside of Zotero, you should probably use an external PDF reader.