If something isn’t working as expected, this page covers the most common issues and their solutions. Use the sections below to find the symptom that matches your situation.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chrisgrieser/alfred-bibtex-citation-picker/llms.txt
Use this file to discover all available pages before exploring further.
The citation picker opens but shows no entries
The citation picker opens but shows no entries
- Verify that
bibtex_library_pathis set to the correct path of an existing.bibfile. Open the workflow in Alfred Preferences and double-check the value. - Open the
.bibfile in a text editor and confirm it is not empty and contains at least one@-prefixed entry. - Try forcing a fresh parse of the library: trigger the
scpkeyword in Alfred and select Force Buffer Reload. - For deeper diagnosis, open Alfred’s built-in debugger. Run the citation picker keyword, then hold ⌘ while pressing a result — or open the workflow in Alfred Preferences and click the debug icon — to see any JavaScript error output from the buffer-building script.
Entries are outdated / new entries not appearing
Entries are outdated / new entries not appearing
.bib file’s modification time changes:- If you have recently added or edited entries and they are not appearing, the file’s modification timestamp may not have been updated (this can happen with some sync tools or editors that write atomically).
- To force an immediate reload regardless of modification time, trigger the
scpkeyword and select Force Buffer Reload. - Confirm that your reference manager or text editor is saving the
.bibfile in a way that actually touches the modification time (most do, but some cloud-sync tools may not).
PDF not found for an entry that shows 📕
PDF not found for an entry that shows 📕
📕 indicator relies on finding a PDF by filename in the folder set in pdf_folder. If the indicator is shown but the PDF cannot be opened, or if you expect the indicator but it is missing:- Check that
pdf_folderpoints to the correct directory in the workflow configuration. - Verify the PDF filename exactly matches one of the two accepted patterns:
{citekey}.pdf{citekey}_{anything}.pdf
- The citekey portion of the filename must not include the
@symbol. - Citekeys themselves must not contain underscores, as underscores are used as the delimiter between the citekey and the optional suffix.
- The
📕indicator only reflects PDFs located inpdf_folderthat are filed by citekey. PDFs referenced inside the BibTeX entry’s ownfile,local-url, orattachmentfields are covered by the📎indicator instead — those can be opened with ⌃⌥⌘↵.
Literature notes not creating or not opening in Obsidian
Literature notes not creating or not opening in Obsidian
- Confirm that the path in
literature_note_folderexists on disk and is writable by your user account. - If the folder was recently created or renamed, try the
scp→ Force Buffer Reload command so the workflow re-checks the folder. - For Obsidian integration: The workflow detects whether the literature note folder is inside an Obsidian vault by reading
~/Library/Application Support/obsidian/obsidian.json. Ensure:- Obsidian has been launched at least once so this file exists.
- The vault containing your
literature_note_folderis listed in that file. - The folder path comparison is case-insensitive (matching macOS filesystem behaviour), so capitalisation differences should not cause a mismatch.
- If the folder is not inside any registered vault, the note will be opened in your system’s default Markdown editor instead of Obsidian.
Formatted bibliography / single-entry paste not working
Formatted bibliography / single-entry paste not working
- Run
pandoc --versionin Terminal to confirm Pandoc is installed and on your PATH. - The workflow searches for Pandoc in these directories, in order:
/usr/local/lib/usr/local/bin/opt/homebrew/bin/
- If Pandoc is installed elsewhere (for example via a different package manager or a non-standard prefix), you may need to create a symlink into one of the above paths:
- The citation style used for formatting can be customised in the workflow configuration (default: APA 7th edition). Ensure the configured
.cslfile path is valid.
Adding entries via DOI or ISBN returns an error
Adding entries via DOI or ISBN returns an error
- Check your network connection — the workflow contacts these services:
doi.org/ CrossCite for DOI metadataopenlibrary.orgfor ISBN metadatagoogleapis.comfor additional book data
- Verify the format of your input:
- DOIs must match the CrossRef pattern:
10.XXXX/...(or a full URL such ashttps://doi.org/10.XXXX/...). - ISBNs are 9–40 digits and may include hyphens (e.g.,
978-3-16-148410-0).
- DOIs must match the CrossRef pattern:
- Some valid DOIs are not registered with the CrossCite metadata service. If a DOI lookup fails, try pasting the full
https://doi.org/…URL instead. - Note: Adding or removing entries does not work reliably when using the BetterBibTeX Zotero Plugin — see the Zotero sync entry below.
Better BibTeX / Zotero sync conflicts
Better BibTeX / Zotero sync conflicts
.bib files directly on disk. The BetterBibTeX plugin performs a one-way sync from Zotero to the .bib file. This creates a conflict:- Any entries added or deleted by the citation picker will be overwritten the next time Zotero syncs.
- There is no built-in two-way sync; BetterBibTeX is not designed to propagate
.bibfile changes back into Zotero.
- Use a separate
.bibfile for manually managed entries that is not tracked by Zotero/BetterBibTeX. - Accept that manual additions will be lost on the next Zotero sync, and manage all entries through Zotero instead.
Citation style not persisting after a workflow update
Citation style not persisting after a workflow update
scp keyword and select Change citation format, then re-select your preferred format.There is no automatic migration of this setting between workflow versions.⇧↵ (reveal in app) not working for second library entries
⇧↵ (reveal in app) not working for second library entries
.bib app depending on your open_entries_in setting — is currently only implemented for the primary library.For entries sourced from the secondary library (indicated by 2️⃣), the ⇧↵ action is disabled and will show a message confirming it is not yet supported. This is a known limitation with no workaround at this time.Getting Help
If none of the above resolves your issue, please open a bug report or feature request on GitHub: Open an issue on GitHub → When reporting a bug, it helps to include:- Your macOS version and Alfred version
- The workflow version (visible in Alfred Preferences → Workflows)
- Any error output from Alfred’s debugger
- A minimal example
.bibentry that reproduces the problem (with personal data removed)
