Zotero -> zotfile -> mdnotes -> obsidian -> dataview Workflow

The only thing I can’t get to work quite right is that the note title created by Zotfile includes way more than the first paragraph/block.

My formatNoteTitle should be ending after the date: <p><b>%(title)</b><p><p>- Extracted %(date)</p> - and I’ve tried this with varying layers all the way down to just %(title) with no luck.

Is this one of the issues you’ve seen with the beta? I (perhaps prematurely) updated to the beta too. If you’ve seen this also, I’ll stop tinkering :wink: .

1 Like

@Erisred this is a weird Zotero/Zotfile bug, click on the note once and then on something else. It should “fix” the note title and only show the first line.

Yes, that works. Unfortunate extra step, but it keeps my filenames tidy. Thanks!

Actually it looks like I may have just forgotten to use zotfile to extract the annotations first. No wonder mdnotes wasn’t working for me! :laughing:

Yes I’m also getting the same thing in my extracted note. But I just accidentally double clicked the note and when I dismissed the popup the note was automatically renamed to just Extracted Annotations. ¯\_(ツ)_/¯

Although I think formatNoteTitle is for the title as it appears in the note since it includes HTML tags. HTML is not used in the note title as it appears in the screenshot above. (to my knowledge anyway, I could be wrong)

1 Like

What I need now is a decent PDF annotation tool that actually works well.

When I double click the PDF in Zotero it just opens in Preview. EDIT: Ok I got the new pdf.js viewer to work but the annotations appear to not be detected by zotfile. :frowning:

I have Skim but it requires jumping through hoops to get the annotations back into the PDF properly.

Are there any really good PDF highlighting/annotation apps out there that work on both MacOS and iOS? So the colors/etc will be consistent.

1 Like

I really like PDF Expert,other nice editor is pdfPEn (it integrates really nice with Hook)

PDF Expert is free for annotationg on iOS, on Mac it may be quite expensive but I bought it together with VPN and other apps bundle in less than half of normal price

I like Highlights too (the pane with annotation is really nice and it offers export to markdown)

3 Likes

@davecan - I’ve pretty much figured out that Zotero uses the first ‘block’ from the note to create the title for the note - that’s why I was surprised the extraction name had things from the next block(s) in it. I can only assume that if it’s a known bug, and has been reported to Zotfile.

This being the only hang-up in the whole Zotero - Zotfile - Mdnotes process, I’m happy to oblige with an extra click or two.

Foxit Reader works really well with this method (when I tried it out the other month haha).

Colored highlights are really great.

I compared it with Adobe Reader, and surprisingly for exporting highlights Foxit Reader works better. On Mac that is.

Thing is I can’t remember why I found it to be better :sweat_smile: I think it was something due to colors being a bit incompatible with exporting the highlights(?) despite changes to the config file for zotero colors that is.

Tbh I’m really not sure hahaha. It’s also possible that it’s just I make extensive use of the “rectangle area highlight” which works well with this.

And then again, it’s been some time since I used the export highlights functionality with Zotero since I primarily use MarginNotes for all PDFs that I study.

Thank you for this awesome thread.

I am trying to setup a similar workflow, right now my major issue is figuring out how pdf annotation works . When I read a book I also try to make a outline of mine for the book beside highlighting. I’ve noticed that zotfile only extracts highlights and underlines, not sticky notes and text boxes and other useful tools like drawing tools that Adobe provides, I also can’t find some of these tools in the new zotero local pdf reader, and I suppose other pdf readers. I don’t know it is lack of standard or what. Also highlighting and reading a passage in a book which has multiple highlights is a bit annoying. I think it would be very handy if we could extract more that just highlights and underlines from the text. Do you know is that possible with the zotfile or not? I could not find anything useful in zotfile’s setting to this end.

1 Like

Hi @Archie, unfortunately no, Zotfile only recognizes highlights and underlines. In case this helps: Zotero best practices - #57 by argentum

1 Like

@Archie also to add, sticky notes should work too. Are you using a custom Adobe note? Could you maybe share a screenshot?

1 Like

Hi @argentum
Yeah I thought the sticky notes were included before i separated notes by the color. I am not sure tho.
What do you mean by “custom Adobe note”. I will certainly send a screenshot if you tell me where I should look.

I meant this part specifically:

What kind of sticky notes are you using? If you share a screenshot of that we might be able to tell if Zotfile will recognize it.

This is an example of is what this looks like and what works for me in Linux:

1 Like

it says ‘sticky note’. I can’t find pop up note like what is in your post

It looks like this:

image

image

It’s content is only visible in side pan for comments

Just wanted to refer to my latest posting: pdf.js is integrated in zotero (amazing NEWS!)

Could change workflows…

1 Like

Be careful. Some of the beta is reportedly unstable, and Mdnotes is not quite set up to accept it yet.

I’m patiently waiting, though!

1 Like

@Markus0000 I have replied to your post with my current observations of the beta. For those on this thread, here is what to keep in mind:

1 Like

A post was merged into an existing topic: Zotero with integration of pdf.js - already available in Beta

After a bit of experimentation, I managed to get the Zotero-Zotfile-MdNotes workflow (with a patch-up script that does some regex on the MdNotes export) to do what I needed. A few things that may interest others playing with the workflow described by @Cat (they/them) in the pinned post:

  • the Admonition plugin is helpful to hide metadata and other information by setting the default as “closed”
  • I have assigned a colour to highlight keywords and used some regex to build an index of the topics covered
  • it is possible to add a link in the literature note to the local file as well as any version stored on the cloud by giving it the same name as the bibtex key (and a bit of regex), thus bypassing zotero in accessing the pdf and making it accessible also from the mobile version
  • In addition to presenting the annotations next to the original piece of highlighted text, I find it helpful to gather all the comments in a separate block (created with the same manipulation of the md file)
20 Likes

This is great! I would really like to poach your setup for my own use. Can you expand some regarding at what point you deviated from and/or appended to the setup instructions above?

1 Like