Alfred Workflow to Integrate with Bookends, an academic reference manager/bibliography tool for macOS
V1.3.9 — allow shift+control to copy the bookends:// link as text in becite, betitle and beall
Full Changelog: https://github.com/iandol/bookends-tools/compare/V1.3.7...V1.3.9
becite
/betitle
/beall
/bebib
: allow ⌘⌥ [command][option]
to open an attached PDF directly.
bebib
: make sure this tool uses the citeUsesRTF
Alfred environment variable so you can choose RTF or plain text output.beconvert
, which is only useful if you want to convert author-date formatted citations in e.g. Word (like (Barlow et al., 1963)
) to temp bibtex key intext citations. This really depends on your BibTeX keys also conforming to [authordate]
, it will not work for other cases. It does check if the key exists in the bookends database, and if there are multiple possible keys (like barlow1963
/ barlow1963a
/ barlow1963b
) they will all be pasted in and you must select which is appropriate.betobibtex
: Add a workflow variable customExportFormat
which allows you to specify a customised BibTeX formatter, default is the builtin BibTeX.fmt, but for example you can make a modified format removing address and abstract that makes export faster and the resultant files much smaller. You can find my BibTeX-Minimal.fmt
here: https://gist.github.com/iandol/b8649aa8375e59902f88f00c3c64c294 — download it and add it to your Bookends custom format folder, then set customExportFormat
to the same name as this format, and this will be used. I suspect technically you can even specify any format, even non-BibTeX ones so could use this setting to hack exports to RIS etc.
A few releases back (~V13.2), Bookends added a dedicated Quick Add[1] Applescript command. I couldn't get it to work in the background at the time and continued to use GUI scripting. Thanks to a hint from @bcdavasconcelos I realised it was a problem in my code, and this works fine in the background, so I upgraded bequickadd
to use this more efficient and reliable command method.
Also fixing #8 for betobibtex
, if there is an error when pandoc-citeproc tries to convert the BibTeX to JSON, the user will be warned with a display notification and the BibTeX will not be deleted so the user can check it.
[1] Quick add is the very nice feature when you can select a DOI/PMID/etc. number in any app (e.g. your browser, or PDF reader) and quickly add it to your bookends database without disrupting your workflow...
scopusBaseURL
to specify a replacement base url prefix, if for e.g. you access Scopus through a proxy. For example, the default address is https://www.scopus.com but my institution accesses through https://www-scopus-com-443.webvpn.las.ac.cn/ so I set that and URLs get rewritten to use the new base URL.Small fix for betoopml
…
1.3.1 — bequick: don't "hide" bookends, rather refocus previous app…
bequick: small tweak to hide bookends after triggering "quick-add", giving focus back to your browser.
tempCitationStyle
that sets the default (pressing return directly) temporary citation format for becite / betitle / beall. When unset it will be the default Bookends standard {author,year,#id}
, but you can set the variable to Pandoc
/ MMD
/ LaTeX
to paste the citation in a different format ([@key]
/ [#key]
/ \\cite[]{key}
). This adds more possible formats than is possible with using the key modifiers (which are still available if you use them).