Skip to content

Commit

Permalink
release 11.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Jan 29, 2023
1 parent dcbc690 commit 262137a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
- 2023-01-29 release 11.1.1
- 2023-01-29 fix: improve pdf fuzzy opening (#15)
- 2023-01-29 chore
- 2023-01-29 chore
- 2023-01-29 chore
- 2023-01-29 chore
- 2023-01-28 chore
- 2023-01-28 release 11.1.0
- 2023-01-28 feat: inline citations via cmd+shift (#18 and #24)
- 2023-01-28 chore
Expand Down
Binary file modified Supercharged-Citation-Picker.alfredworkflow
Binary file not shown.
4 changes: 2 additions & 2 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2345,7 +2345,7 @@ echo -n $dummyBib | pandoc --citeproc --read=markdown --write=plain --csl $csl -
<key>colorindex</key>
<integer>2</integer>
<key>note</key>
<string>fuzzy open PDF</string>
<string>open PDF</string>
<key>xpos</key>
<real>950</real>
<key>ypos</key>
Expand Down Expand Up @@ -3023,7 +3023,7 @@ to set a hotkey for adding an Doi/ISBN</string>
<string>60</string>
</dict>
<key>version</key>
<string>11.1.0</string>
<string>11.1.1</string>
<key>webaddress</key>
<string>https://github.com/chrisgrieser/alfred-bibtex-citation-picker</string>
</dict>
Expand Down
4 changes: 1 addition & 3 deletions prefs.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
<plist version="1.0">
<dict>
<key>bibtex_library_path</key>
<string>~/.config/pandoc/main-bibliography.bib</string>
<string>~/Library/Mobile Documents/com~apple~CloudDocs/File Hub/test.bib</string>
<key>csl_folder</key>
<string>~/.config/pandoc/csl</string>
<key>literature_note_folder</key>
<string>~/main-vault/Literature Notes</string>
<key>open_entries_in</key>
<string>default</string>
<key>pdf_folder</key>
<string>~/Library/Mobile Documents/com~apple~CloudDocs/PDFs</string>
</dict>
Expand Down
2 changes: 2 additions & 0 deletions scripts/fuzzy-open-pdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ else
return 1
fi

# opening only requires pdf named with citekey, soPDFs field with a method other
# than this workflow can also be opened.
FILE_PATH=$(find . -maxdepth 3 -type f -name "*.pdf" | grep -i $CITEKEY | head -n1)

if [[ -f "$FILE_PATH" ]]; then
Expand Down

0 comments on commit 262137a

Please sign in to comment.