CodeLens extension for VSCode, providing quick access to Zotero information and attachments from citations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ruben van de Ven 2a09c10cad
v0.2.1
3 months ago
.vscode Initial commit 1 year ago
src show pagenr in hover decoration 3 months ago
.eslintrc.json Initial commit 1 year ago
.gitignore Initial commit 1 year ago
.vscodeignore Initial commit 1 year ago
CHANGELOG.md v0.2.1 3 months ago
LICENSE Filtering and sorting of lenses 12 months ago
README.md Update description 12 months ago
package-lock.json 0.2.0 4 months ago
package.json v0.2.1 3 months ago
tsconfig.json Initial commit 1 year ago

README.md

Zoterolens

Zoterolens scans Markdown files for citation-keys and adds inline links to open their attached pdf's with Zotero. An optional page number is taken into account.

I recommend using it in combination with an extension such as Citation Picker for Zotero, and/or Pandoc Citer to be able to easily add citations.

Requirements

  • Zotero (needs to be running)
  • Zotero's Better-Bibtex plugin

Features

  • CodeLens to open PDF's based on citekey
  • CodeLens to select item in Zotero based on citekey

It should find the page number following cases:

  • @test123
  • @test1.23
  • @test123 89
  • @test123, 89
  • [@test123, 89]
  • @test123 [89]
  • [@test123, p.89]
  • [@test123, pp.89-92]
  • [@test123, pp.89--92]

Extension Settings

none.

Known Issues / Wishlist

  • It does not yet check if the citekey actually exists in Zotero, nor if it actually has any attachment.
    • This should be made to happen before showing the ref.
  • No error if Zotero isn't running, or the Better-Bibtex plugin is not configured.
  • Zotero port cannot yet be configured.

Release Notes

0.1.0

Initial pre-release of Zoterolens