Jump to content

giovanni

Member
  • Posts

    524
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by giovanni

  1. @luciano it's failing to fetch the book covers. I can add an error handling to skip the covers that fail, but I am curious why it is happening.

     

    I tried your cover and I can see it. Can you access this link in your browser? 

    https://ecx.images-amazon.com/images/P/B081SDJHJN.01

     

    is this the amazon link for the book?
    https://www.amazon.com/Gambell-Lawrence-Island-Studies-Western-ebook/dp/B081SDJHJN


    what OS are you on? which country/amazon market are you on? your URL root might be different

  2. thanks @pseudometa for the excellent suggestion! I drafted a workflow which should do what @luciano is asking:

     

    1. in Terminal, install anystyle with sudo gem install anystyle-cli
    2. install the workflow (download here)
    3. select text with one or more references (one per line) in any format
    4. open the text action menu (default shortcut: cmd-ctr-\), select ref2bib, press enter
    5. a formatted BibTeX entry should be in your clipboard

    possible issues:

    1. duplicated BibTeX keys

    2. failed parsing due to newlines in the text (for example when selecting text in a PDF)

  3. interesting idea! it is possible, but with a number of limitations:

     

    1. it would be style specific (each style would be hard-coded), unless there are scripts to recognize a CSL style out there.

    2. it might not work 100% of the time, especially if formatting is taken into account. For example your reference @luciano seems like it's from Journal of Evolutionary Biology, but the volume is not bolded? 

    3. the BibTeX key creation algorithm would not check for duplicates (unless the workflow has access to the whole library).

     

    In conclusion, one could use an existing library to recognize references from text (but I am not aware of any), or this can be done efficiently only if you expect to convert a few CSL styles that can be hard coded. 

×
×
  • Create New...