The workflow integrates with the official Citation Style Language (CSL) styles repository, letting you find and download any citation style directly from Alfred without opening a browser.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.
Trigger
Typescp in Alfred and select Citation Style Search.
How It Works
When you open the CSL search, the workflow fetches the complete list of.csl files from the GitHub API for the citation-style-language/styles repository:
- The style name (derived from the filename with hyphens replaced by spaces and title-cased)
- Whether the style is
[dependent]— meaning it relies on a parent style for its formatting rules rather than defining its own - Whether the style is already installed locally (
✅)
Indicators in the Picker
| Indicator | Meaning |
|---|---|
✅ | The .csl file is already downloaded to your local csl_folder |
[dependent] | This style depends on a parent independent style |
↵: Update local .csl file. (subtitle) | Pressing Enter will re-download and overwrite the local copy |
Downloading a Style
Press↵ on any result to download the .csl file. Files are downloaded from:
csl_folder workflow variable.
Default location: ~/.pandoc/csl/
You can change this by updating csl_folder in the workflow configuration panel.
Applying a Downloaded Style
After downloading a style, set thecsl_for_pandoc workflow variable to the full path of the .csl file you want to use. For example:
Default Style
Ifcsl_for_pandoc is not set or the file it points to does not exist, the workflow automatically falls back to the APA 7th edition style bundled with the workflow at ./support/apa-7th.csl.
