diff --git a/Changelog.md b/Changelog.md index cc7da8e..b581b4e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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 diff --git a/Supercharged-Citation-Picker.alfredworkflow b/Supercharged-Citation-Picker.alfredworkflow index 6e4b19d..d9b5065 100644 Binary files a/Supercharged-Citation-Picker.alfredworkflow and b/Supercharged-Citation-Picker.alfredworkflow differ diff --git a/info.plist b/info.plist index 9927c4b..1293031 100644 --- a/info.plist +++ b/info.plist @@ -2345,7 +2345,7 @@ echo -n $dummyBib | pandoc --citeproc --read=markdown --write=plain --csl $csl - colorindex 2 note - fuzzy open PDF + open PDF xpos 950 ypos @@ -3023,7 +3023,7 @@ to set a hotkey for adding an Doi/ISBN 60 version - 11.1.0 + 11.1.1 webaddress https://github.com/chrisgrieser/alfred-bibtex-citation-picker diff --git a/prefs.plist b/prefs.plist index 57c09c6..253ca2d 100644 --- a/prefs.plist +++ b/prefs.plist @@ -3,13 +3,11 @@ bibtex_library_path - ~/.config/pandoc/main-bibliography.bib + ~/Library/Mobile Documents/com~apple~CloudDocs/File Hub/test.bib csl_folder ~/.config/pandoc/csl literature_note_folder ~/main-vault/Literature Notes - open_entries_in - default pdf_folder ~/Library/Mobile Documents/com~apple~CloudDocs/PDFs diff --git a/scripts/fuzzy-open-pdf.sh b/scripts/fuzzy-open-pdf.sh index 345e0ba..5f7df01 100755 --- a/scripts/fuzzy-open-pdf.sh +++ b/scripts/fuzzy-open-pdf.sh @@ -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