Jump to content

iandol

Member
  • Content Count

    71
  • Joined

  • Last visited

  • Days Won

    3

iandol last won the day on August 30

iandol had the most liked content!

About iandol

  • Rank
    Member

Recent Profile Visitors

674 profile views
  1. V1.2.9 is released: add a new workflow variable tempCitationStyle that sets the default temporary citation format for becite / betitle/ beall. When unset it will be the Bookends standard, but you can set the variable to Pandoc / MMD / LaTeX to paste the citation in a different format ([@key] / [#key] / \cite[]{key}). If the authors field is empty for a reference, we now try to use editor names instead in the Alfred results list.
  2. So my usecase is that my workflow interfaces with Bookends bibliography software, and a user can have 2 or more PDFs attached to a reference. Quicklook is designed to handle multiple files passed to it (you can test with qlmanage -p), and so it would be nice if the quicklookurl key in the Alfred JSON format would accept an array as well as a string. That way Alfred could pass multiple files to QL for previewing. Thanks for your consideration.
  3. Thank you vitor. So I hope Andrew will be able to update Alfred to read an array of paths to pass to QL. πŸ™‡β€β™‚οΈπŸΊ
  4. Hi, I have a new question: if I want to pass more than one file to QL via Alfred, is this possible, and how? This is possible for QL (pass multiple files via qlmanage -p for example), but Alfred may not parse the url string to pass as seperate items. On the command line (qlmanage -p) using a single string input, I tried separating within the string using space, comma, colon but none worked (you have to use multiple inputs). Thanks for any help!
  5. Updated to V1.2.8 which adds phrase search delimited by single quotation marks (without quoting words are searched in any location/order): https://github.com/iandol/bookends-tools/releases/tag/V1.2.8 Also just to remind you, if you want Quicklook to work, you should change the attachmentsFolder variable to point to your Bookends attachments path. All PDFs should be in the same folder, as it would be too slow to try to find the path automatically…
  6. @taja β€” does V1.2.5 handle the large results list? I've not tested with such a large number, but the error you show is the same as previously, and it doesn't make too much sense. It occurs when processing the author initial, but I've tested authors who have a comma after the family name but no first name or initials and it should work. I've added more defensive checks to try to not trigger this error. Please download the updated script manually and run it from the command line for testing or you can replace the version in your installed workflow: https://github.com/iandol/bookends-tools/blob/master/source/findReferencesAll.rb Let me know if it works, I don't think this is to do with lots of results, but references that have mangled author names or something, and that large search is revealing the issue...
  7. @taja β€” ok, the new author parsing didn't handle empty author fields, this wasn't an issue for becite, but was for beall. For the next release I should retrieve both authors and editors, and use editors if authors is empty, but I don't have time to do that for now, so author becomes "Unknown"... V1.2.7 released, please retest and let me know how it goes.
  8. @vitor β€” thanks for the confirmation, and the excellent updater! @Cassady β€” I'm a bit confused, BE Tools already uses OneUpdater, the settings appear correct and all 11 tools are connected to it. So it should not need any manual configuration, but be triggered when any tool executes.
  9. Hi taja, OK that is my fault, I'll make an updated V1.2.5 soon. EDIT: V1.2.6 is released! https://github.com/iandol/bookends-tools/releases Cassady: actually I've never tested OneUpdater, so possibly I'm doing something wrong. @vitor β€” do these setting look OK (I normally set frequency to 4)?
  10. Haven't had a chance to play with it yet, but hopefully I'll get some time this week!!! 😎
  11. I've just released V1.2.5, which presents the first AND last author names with initials to provide a bit more context for the search results. And I realised that I can get Quicklook for attachments working in Alfred (thanks to input from vitor and deanishe). This is really cool: so you search, focus a results item with an attachment (denoted by the πŸ“Ž) then press [shift] or [⌘][Y] and you can quicklook the PDF directly without Alfred losing focus so you can check the paper before inserting the citation. https://github.com/iandol/bookends-tools/releases/tag/V1.2.5 β€” or wait for OneUpdater to update for you.
  12. As always, Alfred is one step ahead of me, thank you so much!!!
  13. We can already quicklook normal Alfred entries, but I would really like to be able to quicklook entries in the script filter output. I realise this is not straightforward, in that the script filter JSON would need to be modified contain a new field that would be the file target Alfred would then send to `qlmanage -p` β€” but if we could select an filter entry, ⌘Y it and get the quicklook window without losing focus of the Alfred list it would be phenomenal. My idea is that if there is no JSON entry or it is empty, then ⌘Y does nothing (i.e. nonbreaking backwards compatible), if it is present and a file path, then QL that file. Thanks for your consideration!
  14. You could also try: https://github.com/deanishe/alfred-convert
  15. Thank you!!! So my wish now is to add this information to the Help page: https://www.alfredapp.com/help/features/clipboard/
×