本页有简体中文版。

阅读中文版
ZotLit

Read and search PDFs in ZotLit Reader

Install ZotLit Reader through BRAT to read PDFs in Obsidian, or pair it with ZotLit to see Zotero annotations.

ZotLit Reader is a separate Obsidian plugin that reads the PDFs in your vault. Install it through BRAT. With ZotLit beside it, your PDFs also show your Zotero annotations and the tools to make new ones.

You need Obsidian 1.15.1 or later on a desktop computer; ZotLit Reader is desktop only. You do not need ZotLit or Zotero just to read PDFs.

ZotLit Reader is in beta and in development. It is not yet in Obsidian's community plugin directory, so install it through BRAT.

Install ZotLit Reader

BRAT (Beta Reviewers Auto-update Tester) is an Obsidian plugin that installs and updates plugins from GitHub.

Install BRAT

Open BRAT in the Obsidian plugin directory, then select Install and Enable. Skip this step if BRAT is already installed.

Install BRAT

BRAT appears in Settings > Community plugins.

Add ZotLit Reader to BRAT

Select the link below. Or open the command palette, run BRAT: Add a beta plugin, and enter aidenlx/zotlit-reader.

Add ZotLit Reader to BRAT

BRAT installs the plugin.

Turn on ZotLit Reader

Go to Settings > Community plugins and turn on ZotLit Reader. If it does not appear, refresh the plugin list.

Open a PDF from the file explorer. It opens in ZotLit Reader, with Zoom out and Zoom in in the toolbar at the top. Open all PDFs is on after install, so every PDF opens there.

BRAT updates ZotLit Reader when a new release comes out. If PDFs still open in Obsidian's PDF view, turn on Settings > ZotLit Reader > Reader > Open all PDFs.

What ZotLit adds

ZotLit Reader works alone, with no ZotLit and no Zotero. When ZotLit is also installed and turned on, the two plugins connect by themselves, in either start order.

FeatureZotLit Reader aloneWith ZotLit
Read and find textYesYes
Copy text and selection linksYesYes
PDF embeds, hover previews, canvas cardsYesYes
Dark modeYesYes
Zotero annotations on the pageNoYes
Make and change Zotero annotationsNoYes
Annotation view in the sidebarNoYes

Annotation links that ZotLit writes into notes open in ZotLit Reader with the annotation selected.

ZotLit without ZotLit Reader

A PDF that ZotLit opens shows in Obsidian's own PDF view when ZotLit Reader is not installed or is turned off. You see the same when ZotLit Reader does not work with this version of ZotLit. A link that names a page, such as an annotation link, opens that view on its page. You see the PDF without Zotero annotations and without annotation tools.

The first time this happens, a notice stays on screen until you close it. Its title is This PDF opened in Obsidian’s PDF view. Below it are one sentence and one button:

SituationSentenceButton
ZotLit Reader is not installedInstall ZotLit Reader to see and make Zotero annotations in your PDFs.Install
ZotLit Reader is turned offTurn on ZotLit Reader to see and make Zotero annotations in your PDFs.Turn on
The versions do not work togetherThis version of ZotLit Reader does not work with this version of ZotLit. Update ZotLit Reader to see and make Zotero annotations in your PDFs.Update

When ZotLit is the older plugin, the last sentence names ZotLit instead. ZotLit shows each notice once per vault on this computer, so a second PDF opens without one.

The button opens ZotLit Reader in Obsidian's community plugins, or ZotLit when ZotLit needs the update. The community plugins find ZotLit Reader only once the directory lists it. Until then, install it with the BRAT steps above. To turn it on, go to Settings > Community plugins. To update either plugin, update it through BRAT or the community directory, wherever you installed it from.

See the connection

The same sentence and button sit in the ZotLit Reader row at the top of Settings > ZotLit > Reader. The row adds Until then, PDFs open in Obsidian’s PDF view. When the two plugins are connected, it reads Connected. Your PDFs show Zotero annotations, and you can make new ones. and has no button.

The setup steps at the top of the Library View end with a ZotLit Reader step. It shows Recommended until the plugins connect, then Connected.

If the row still says Install after you installed ZotLit Reader, close the settings and open them again.

The toolbar at the top of the reader holds the page controls.

  • Type a page number in the page box and press Enter. When the PDF prints its own page numbers, such as iv or 213, the box shows them.
  • Select Zoom out or Zoom in. You can also hold Ctrl (Windows) or Command (macOS) and scroll, or pinch on a trackpad.
  • Select Display options to choose Fit width, Fit height, Single page, Two-page (odd), or Two-page (even).

In Fit width or Fit height, the left and right arrow keys turn the page.

To turn off the printed page numbers, clear Show page labels in the same menu. The menu shows this item only for a PDF that has printed page numbers.

Select Toggle sidebar to show the page thumbnails. Select Sidebar options to switch between Thumbnails and Table of contents.

Select a thumbnail or a heading to go there. To find the heading of the page you are reading, select Sidebar options, then Reveal page in table of contents. Drag the sidebar's edge to change its width.

The reader remembers the page and the two-page layout of each PDF, and the sidebar you used last.

Find text

  1. With the reader in focus, press Ctrl+F (Windows) or Command+F (macOS).
  2. Type in the Find in document box. The count shows how many matches the paper has.
  3. Press Enter or F3 for the next match. Press Shift+Enter or Shift+F3 for the previous one. Ctrl+G and Ctrl+Shift+G (Command on macOS) work too.

Select Search options to turn on Match case, Highlight all, Match diacritics, or Whole words. The reader keeps your choices for the next search. Press Escape to close the search.

Copy text and links

Select text on the page, then right-click it.

  • Copy copies the text alone.
  • Copy as quote copies the text as a quote, with a link back to the passage.
  • Copy link to selection copies a link that opens the PDF with the passage highlighted.
  • On macOS, the menu also offers to look up the selected text.

Right-click a thumbnail to copy a link to its page. Right-click a heading in the table of contents to copy a link to that section.

A link that you copy here works in Obsidian's own PDF viewer too. Some pages have text that the two readers read differently. There, the reader copies a link to the page instead, and the menu has no Copy link to selection.

Read in dark mode

Open Display options and select Adapt to theme. With a dark Obsidian theme, the pages turn dark and the text turns light. Drawn shapes keep their hue, so dark blue turns light blue. Photos and other pictures stay as they are.

Open every PDF in ZotLit Reader

After install, ZotLit Reader opens every PDF of your vault. These use ZotLit Reader:

  • PDFs that you open from the file explorer, a search, or a link.
  • PDF embeds in your notes, such as ![[paper.pdf#page=3]].
  • Hover previews of PDF links.
  • PDF cards on a canvas.

To give these PDFs back to Obsidian's own PDF viewer, turn off Settings > ZotLit Reader > Reader > Open all PDFs. They also go back when you turn ZotLit Reader off. The PDFs that ZotLit opens still use ZotLit Reader while the setting is off.

An embed has a More options button. Select Open to read the whole PDF. The same menu has Obsidian's own link items, such as Open in new tab.

What you see in other views

  • Obsidian's own PDF viewer shows no ZotLit annotation tools. An annotation link that ZotLit wrote into a note opens in ZotLit Reader, also while Open all PDFs is off.
  • A link made with Copy link to selection in Obsidian's own viewer opens with the passage highlighted. On a page whose text the two readers read differently, the link opens on its page without the highlight.
  • A PDF card on a canvas shows no Save current position in document button.
  • In Live Preview, a PDF embed shows no Edit this block button. To change the embed's link, switch the note to Source mode.
  • When your Obsidian version does not let ZotLit Reader open all PDFs, ZotLit Reader shows ZotLit Reader can’t open all PDFs in this version of Obsidian. PDFs keep opening in Obsidian’s PDF viewer. The PDFs that ZotLit opens still show in ZotLit Reader.

See also

Last updated on

On this page