本页有简体中文版。

阅读中文版
ZotLit

Update Obsidian literature notes from Zotero

Refresh one literature note or a batch when a paper's Zotero data or highlights change. ZotLit updates only its own parts, so your own writing stays.

To make your first connected note, try Connect Zotero to Obsidian: your first literature note (about 12 minutes).

  1. Open the literature note.
  2. Press Ctrl+P (Cmd+P on macOS) and run ZotLit: Update notes.
  3. Choose Update active note, or Update all notes for every note.

Update with Update notes

  1. Open the literature note you want to update. (For Update all notes, any note can be open.) The note is the active tab.
  2. Open the command palette (Ctrl+P on Windows/Linux, Cmd+P on macOS) and run ZotLit: Update notes. A dialog titled Update notes opens, with the checkbox When you update all notes, also create notes for items that have none turned off by default.
  3. Select Update active note. For a note made with the current default template, the notice Properties updated. This note has no managed region, so its body stayed unchanged. appears. The properties are refreshed, your body text stays as you wrote it, and the Annotations section is a live view that was already current. For a note with a managed region, the notice reads Literature note updated. An update refreshes the properties ZotLit manages; your own writing and any properties you added stay as they are.
    • Or select Update all notes: this updates every existing literature note in your library scope. A confirmation asks Update … literature notes?; papers with no note are listed under No note (…) and left alone.

If you see something else

  • Properties updated. This note has no managed region, so its body stayed unchanged. This is the normal result for a note made with the current default template: the Annotations section is a live view and stays current by itself. If the note was created with ZotLit v1, the body was not rebuilt because v1 notes have no managed region; run ZotLit: Overwrite literature note to rebuild the body using the Default profile, which discards the old body text.
  • Lines %%zt-managed%% and %%/zt-managed%% in the note. An earlier default template or a profile with a managed block created this note. ZotLit: Update literature note rewrites only what sits between those lines; text outside them stays as it is, and query views inside keep the settings saved in their toolbar. To stop ZotLit from updating that section, delete both comment lines.
  • The update commands are not in the palette, or ZotLit: Update notes has no Update active note button. The active file is not a literature note because it lacks a zotero-key property. Open the literature note first.
  • An image in the note reads Excerpt image unavailable. with a link to the source. The image could not be generated and the note had no earlier snapshot to keep, though the rest of the note updated. See Excerpt images import outcomes.
  • A notice starting "Excerpt images: …" This counts images that were not generated fresh. "Kept from the note and not refreshed" means ZotLit kept the snapshot already in the note. See Excerpt images import outcomes.
  • An image reads Excerpt image unavailable because attachment import is disabled. Turn on Import attachments under Settings > ZotLit > Attachments, then update the note again.
  • A notice: No library in the library scope is available. None of the selected Zotero libraries are in the database ZotLit reads, so no dialog opens. Check your Library scope settings. If only some libraries are missing, the update continues and the confirmation lists how many were skipped.
  • Zotero says the selection is too large, or asks to enable a server. Large selections are sent to Obsidian over a local server. Turn on the server in Obsidian, or select fewer papers in Zotero. See Set up live updates.
  • Zotero asks for confirmation each time it opens Obsidian. This is Zotero's built-in prompt for obsidian:// links. See Suppress the Zotero security prompt.

Next

Last updated on

On this page