Skip to content

Commit

Permalink
Add forum description
Browse files Browse the repository at this point in the history
  • Loading branch information
deanishe committed Jul 8, 2018
1 parent be7dc93 commit 8f789c6
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 68 deletions.
42 changes: 42 additions & 0 deletions AlfredForum.com Description.md
Original file line number Diff line number Diff line change
@@ -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 <query>` — Search your Zotero database (common fields).
- `zot:[<query>]` — Search a specific field.
- `zotconf [<query>]` — 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).
136 changes: 68 additions & 68 deletions src/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -654,29 +654,6 @@ variables={allvars}
<key>version</key>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>concurrently</key>
<false/>
<key>escaping</key>
<integer>102</integer>
<key>script</key>
<string>/usr/bin/open "$1"</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
<string></string>
<key>type</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.action.script</string>
<key>uid</key>
<string>5D1E28B8-C1D6-495B-856F-F48C59150FE0</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
Expand Down Expand Up @@ -724,6 +701,29 @@ variables={allvars}
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>concurrently</key>
<false/>
<key>escaping</key>
<integer>102</integer>
<key>script</key>
<string>/usr/bin/open "$1"</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
<string></string>
<key>type</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.action.script</string>
<key>uid</key>
<string>5D1E28B8-C1D6-495B-856F-F48C59150FE0</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
Expand Down Expand Up @@ -773,9 +773,9 @@ variables={allvars}
<key>config</key>
<dict>
<key>focusedappvariable</key>
<false/>
<true/>
<key>focusedappvariablename</key>
<string></string>
<string>autopaste</string>
<key>keyword</key>
<string>zzot</string>
</dict>
Expand Down Expand Up @@ -955,15 +955,48 @@ EOS</string>
<dict>
<key>config</key>
<dict>
<key>triggerid</key>
<string>copy-citation</string>
<key>alfredfiltersresults</key>
<false/>
<key>alfredfiltersresultsmatchmode</key>
<integer>0</integer>
<key>argumenttrimmode</key>
<integer>0</integer>
<key>argumenttype</key>
<integer>1</integer>
<key>escaping</key>
<integer>102</integer>
<key>queuedelaycustom</key>
<integer>3</integer>
<key>queuedelayimmediatelyinitially</key>
<true/>
<key>queuedelaymode</key>
<integer>0</integer>
<key>queuemode</key>
<integer>1</integer>
<key>runningsubtext</key>
<string></string>
<key>script</key>
<string>./zh citations "$id" "$1"
</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
<string></string>
<key>subtext</key>
<string></string>
<key>title</key>
<string></string>
<key>type</key>
<integer>5</integer>
<key>withspace</key>
<false/>
</dict>
<key>type</key>
<string>alfred.workflow.trigger.external</string>
<string>alfred.workflow.input.scriptfilter</string>
<key>uid</key>
<string>AEE6452E-9186-4609-8AD4-D74F469F1A79</string>
<string>8956B5DB-42F0-4570-9265-ECD302239D56</string>
<key>version</key>
<integer>1</integer>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
Expand Down Expand Up @@ -1027,48 +1060,15 @@ test -n "$bibliography" &amp;&amp; flags+=(--bibliography)
<dict>
<key>config</key>
<dict>
<key>alfredfiltersresults</key>
<false/>
<key>alfredfiltersresultsmatchmode</key>
<integer>0</integer>
<key>argumenttrimmode</key>
<integer>0</integer>
<key>argumenttype</key>
<integer>1</integer>
<key>escaping</key>
<integer>102</integer>
<key>queuedelaycustom</key>
<integer>3</integer>
<key>queuedelayimmediatelyinitially</key>
<true/>
<key>queuedelaymode</key>
<integer>0</integer>
<key>queuemode</key>
<integer>1</integer>
<key>runningsubtext</key>
<string></string>
<key>script</key>
<string>./zh citations "$id" "$1"
</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
<string></string>
<key>subtext</key>
<string></string>
<key>title</key>
<string></string>
<key>type</key>
<integer>5</integer>
<key>withspace</key>
<false/>
<key>triggerid</key>
<string>copy-citation</string>
</dict>
<key>type</key>
<string>alfred.workflow.input.scriptfilter</string>
<string>alfred.workflow.trigger.external</string>
<key>uid</key>
<string>8956B5DB-42F0-4570-9265-ECD302239D56</string>
<string>AEE6452E-9186-4609-8AD4-D74F469F1A79</string>
<key>version</key>
<integer>2</integer>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
Expand Down

0 comments on commit 8f789c6

Please sign in to comment.