Emacs minor mode integrating citar bibliography management with vulpea note database.
- Seamless Note Creation: Create bibliography notes directly from Citar's completion interface with pre-populated titles and metadata.
- Reference Tracking: Automatically manages
REFERENCES(or custom properties) andbibtags, ensuring your notes are always linked to your bibliography. - Smart Metadata Management: Dedicated commands to add/remove citation references at the file-level properties.
- DWIM Action: A context-aware command to jump between notes and bibliography entries, or quickly add missing references if none exist.
- Full Note Integration: Automatically detect, display, and open associated Vulpea notes directly from Citar's bibliography interface.
citar-vulpea is available on MELPA. You can install it using M-x package-install RET citar-vulpea RET.
Clone this repository and add it to your load-path:
(add-to-list 'load-path "/path/to/citar-vulpea")
(require 'citar-vulpea)(use-package citar-vulpea
:ensure t
:after (citar vulpea)
:custom
;; Tag used to identify bibliographic notes
(citar-vulpea-keyword "bib")
;; Name of the property used for citation keys
(citar-vulpea-references-property "REFERENCES")
;; Template for new note titles
(citar-vulpea-note-title-template "${author} (${date}) ${title}")
;; Directory to store notes (nil uses vulpea-default-notes-directory)
(citar-vulpea-notes-directory "~/org/notes/citar")
:config
(citar-vulpea-mode 1))Once citar-vulpea-mode is enabled, Citar will automatically use Vulpea as a note source. You don't need to change your existing Citar workflow.
M-x citar-open: When you select "Notes" for an entry, it will open the associated Vulpea note(s) or offer to create one.M-x citar-open-notes: Directly find and open notes via Citar's bibliography interface.
| Command | Description |
|---|---|
citar-vulpea-add-reference |
Add a citekey to the current note's reference property. |
citar-vulpea-remove-reference |
Remove a citekey from the current note's reference property. |
citar-vulpea-dwim |
Context-aware jump: Opens the entry in Citar if in a note, or offers to add a reference. |
When you create a note through this package, it:
- Generates a title based on your template (e.g.,
Author (Year) Title). - Adds the citekey (prefixed with
@) to the note's (customizable) reference property. - Tags the note with
bib(or your custom keyword).
This metadata enables Vulpea to recognize the file as a bibliographic entry, allowing Citar to automatically detect, display, and open your research notes directly from the bibliography interface.
- citar-org-roam — Similar integration for org-roam
- citar-denote — Similar integration for Denote
GPL-3.0-or-later