From 8f789c625b887b041cb0abe7f281453b6f0ebcc9 Mon Sep 17 00:00:00 2001 From: Dean Jackson Date: Sun, 8 Jul 2018 13:56:15 +0200 Subject: [PATCH] Add forum description --- AlfredForum.com Description.md | 42 ++++++++++ src/info.plist | 136 ++++++++++++++++----------------- 2 files changed, 110 insertions(+), 68 deletions(-) create mode 100644 AlfredForum.com Description.md diff --git a/AlfredForum.com Description.md b/AlfredForum.com Description.md new file mode 100644 index 0000000..e9d4801 --- /dev/null +++ b/AlfredForum.com Description.md @@ -0,0 +1,42 @@ +# ZotHero + +Rapidly search your Zotero database and copy citations. + +https://github.com/deanishe/zothero + +## Features + +- Perform full-text search across your Zotero database, including only searching specific fields +- Copy citations using any CSL style you have installed in Zotero +- Copy citations either in citation/note style or bibliography style +- Copy citations in any locale supported by CSL +- Citations are copied in multiple formats, so the right data are automatically pasted into the application you're using +- Trigger search while you type using the Snippet Trigger (you must assign the snippet keyword yourself in Alfred Preferences) + +## Download & installation + +Download the `ZotHero-XYZ.alfredworkflow` file from [GitHub releases](https://github.com/deanishe/zothero/releases), and double-click the downloaded file to install. + +## Basic usage + +These are the workflow's default keywords: + +- `zot ` — Search your Zotero database (common fields). +- `zot:[]` — Search a specific field. +- `zotconf []` — View and edit workflow configuration. + +See the [README](https://github.com/deanishe/zothero/blob/master/README.md) on GitHub for full instructions. + +### Pasting citations + +When you copy a citation, ZotHero puts both HTML and rich text (RTF) representations on the pasteboard. That way, when you paste a citation into an application like Word, the formatted text will be pasted, but when you paste into a text/Markdown document, the HTML will be pasted. + +## Licence & thanks + +The workflow is released under the [MIT licence](https://github.com/deanishe/zothero/blob/master/LICENCE). + +The Zorro icon was created by [Dan Lowenstein](https://thenounproject.com/danny_mustache). + +Citations are generated by [citeproc-js](https://github.com/Juris-M/citeproc-js) ([AGPLv3](https://github.com/Juris-M/citeproc-js/blob/master/AGPLv3)). + +Workflow stuff is taken care of by [Alfred-Workflow](http://www.deanishe.net/alfred-workflow/) (also MIT licence). diff --git a/src/info.plist b/src/info.plist index 15a8dbc..5ccd50e 100644 --- a/src/info.plist +++ b/src/info.plist @@ -654,29 +654,6 @@ variables={allvars} version 1 - - config - - concurrently - - escaping - 102 - script - /usr/bin/open "$1" - scriptargtype - 1 - scriptfile - - type - 0 - - type - alfred.workflow.action.script - uid - 5D1E28B8-C1D6-495B-856F-F48C59150FE0 - version - 2 - config @@ -724,6 +701,29 @@ variables={allvars} version 2 + + config + + concurrently + + escaping + 102 + script + /usr/bin/open "$1" + scriptargtype + 1 + scriptfile + + type + 0 + + type + alfred.workflow.action.script + uid + 5D1E28B8-C1D6-495B-856F-F48C59150FE0 + version + 2 + config @@ -773,9 +773,9 @@ variables={allvars} config focusedappvariable - + focusedappvariablename - + autopaste keyword zzot @@ -955,15 +955,48 @@ EOS config - triggerid - copy-citation + alfredfiltersresults + + alfredfiltersresultsmatchmode + 0 + argumenttrimmode + 0 + argumenttype + 1 + escaping + 102 + queuedelaycustom + 3 + queuedelayimmediatelyinitially + + queuedelaymode + 0 + queuemode + 1 + runningsubtext + + script + ./zh citations "$id" "$1" + + scriptargtype + 1 + scriptfile + + subtext + + title + + type + 5 + withspace + type - alfred.workflow.trigger.external + alfred.workflow.input.scriptfilter uid - AEE6452E-9186-4609-8AD4-D74F469F1A79 + 8956B5DB-42F0-4570-9265-ECD302239D56 version - 1 + 2 config @@ -1027,48 +1060,15 @@ test -n "$bibliography" && flags+=(--bibliography) config - alfredfiltersresults - - alfredfiltersresultsmatchmode - 0 - argumenttrimmode - 0 - argumenttype - 1 - escaping - 102 - queuedelaycustom - 3 - queuedelayimmediatelyinitially - - queuedelaymode - 0 - queuemode - 1 - runningsubtext - - script - ./zh citations "$id" "$1" - - scriptargtype - 1 - scriptfile - - subtext - - title - - type - 5 - withspace - + triggerid + copy-citation type - alfred.workflow.input.scriptfilter + alfred.workflow.trigger.external uid - 8956B5DB-42F0-4570-9265-ECD302239D56 + AEE6452E-9186-4609-8AD4-D74F469F1A79 version - 2 + 1 config