paleolimbot / rbbt

R Interface to the Better BiBTex Zotero Connector
142 stars 25 forks source link

add compatibility with Quarto files #33

Closed KyleOfCanada closed 2 years ago

KyleOfCanada commented 2 years ago

I wanted to use rbbt when working with Quarto files.

All I need to do was add .qmd files to the list of acceptable files in bbt_update_bib_addin. The addin then works with Quarto files in RStudio.

KyleOfCanada commented 2 years ago

I'm using the rbbt addin with this change in RStudio to add Zotero citations to a Quarto file. It is able to insert citations, update the .bib file, and insert a bibliography from a Zotero selection without errors. Without this change you would get errors as rbbt detects you aren't working with a .rmd file. I haven't used rbbt that much so there may be some functionality to rbbt that I'm missing, but this seems to at least allow the addin to function fine when working on a Quarto file in RStudio.

On Wed, Mar 9, 2022 at 3:21 PM Brenton M. Wiernik @.***> wrote:

BetterBibTeX cannot generate Quarto files. So I'm not sure what sort of behavior you are expecting here. This would produce an error from BBT, no?

— Reply to this email directly, view it on GitHub https://github.com/paleolimbot/rbbt/pull/33#issuecomment-1063273475, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASKKNVKUVCITCTDOBSB4W6TU7D22HANCNFSM5QKMFNRQ . You are receiving this because you authored the thread.Message ID: @.***>

paleolimbot commented 2 years ago

Thank you!