papis vim biblatex
- The papis-vim package provides Vim support for Papis, command-line based bibliography manager.
-
Getting an error every time I run a papis command #867 reveals a
missing dependency on
setuptools
:uv tool install papis --with setuptools
-
Initial Papis configuration, with
papis init
, creates a configuration file.~/.config/papis/config
:[settings] default-library = jdfen [jdfen] dir = /c/Users/jdfen/OneDrive/Documents/papis opentool = wslview editor = vim use-git = True notes-name = notes_{doc[ref]}.md database-backend = papis bibtex-unicode = True ref-format = {doc[title]:.15} {doc[author]:.6} {doc[year]} multiple-authors-format = {au[family]}, {au[given]} citations-file-name = citations.yaml
-
Import an existing BibLaTeX file:
cd ~/zk # List missing keys. papis bibtex read zk.bib doctor # Import papis bibtex read zk.bib import --all # Check for errors papis doctor --all-checks --all --explain
cobib biblatex ctan
- biblatex.pdf
-
@report: A technical report, research report, or white paper published by a university or some other institution.
- Required fields: author, title, type, institution, year/date
- Optional fields: subtitle, titleaddon, language, number, version, note, location, month, isrn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate
- @techreport: Similar to @report except that the type field is optional and defaults to the localized term 'technical report'.
-
@misc: A fallback type for entries which do not fit into any other category.
- Required fields: author/editor, title, year/date
- Optional fields: subtitle, titleaddon, language, howpublished, type, version, note, organization, location, month, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate
- Geosharma, Personal notes on creating and using coBib, summarizes the installation and configuration process.
-
Install coBib - the Console Bibliography.
uv tool install cobib
-
Create
~/.config/cobib/config.py
directly or generate the default configuration and modify:from cobib.config import config config.database.file = "~/cobib/database.yaml" config.utils.file_downloader.default_location = "~/cobib" config.database.git = True config.commands.open.command = "wslview"
-
To generate the default configuration:
# Create default configuration and update settings. mkdir -p ~/.config/cobib cobib _example_config > ~/.config/cobib/config.py
-
Initialize the database:
# Flush the cache when switching databases. rm -r ~/.cache/cobib/ # Use a shared location, like OneDrive. mkdir -p ~/userprofile/Documents/cobib ln -s ~/userprofile/Documents/cobib cobib touch ~/cobib/database.yaml # RCRC can manage the symlinks across WSL environments. # mkrc -U ~/cobib cobib init --git