zotpick-applescript icon indicating copy to clipboard operation
zotpick-applescript copied to clipboard

Brackets for pandoc from Scrivener

Open kakaes opened this issue 8 years ago • 3 comments

Dave Many thanks for these which are really helpful. For my workflow helps to get the citation within brackets--see that the better bibtex people allow this as an option. I tweaked your main.scpt to turn the brackets flag on, per below

set theReference to do shell script "/usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?format=pandoc&brackets=true' 2>/dev/null; exit 0"

Just figured I'd mention it in case anyone else has the same issue. Best, K.

kakaes avatar Jun 14 '17 14:06 kakaes

I added a fix for this in my pull request. If Pandoc is selected as output format, the reference(s) will be surrounded by square brackets.

tillgrallert avatar Aug 27 '20 13:08 tillgrallert

I cannot begin to express how grateful I am for this. Three whole days banging my head against the wall with absentee brackets on scrivener!!!

Thanks so much @kakaes

tomasleale avatar Mar 24 '21 22:03 tomasleale

Since you can just type brackets if you want them (or modify the script yourself), I suggest it’s easier to leave them out as the default. From my perspective, being asked for options every time is a hassle. Also pandoc users don’t need the brackets all the time.

Jmuccigr avatar Mar 27 '21 03:03 Jmuccigr