Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brackets for pandoc from Scrivener #13

Open
kakaes opened this issue Jun 14, 2017 · 3 comments
Open

Brackets for pandoc from Scrivener #13

kakaes opened this issue Jun 14, 2017 · 3 comments

Comments

@kakaes
Copy link

kakaes commented Jun 14, 2017

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.

@tillgrallert
Copy link

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.

@tomasleale
Copy link

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

@Jmuccigr
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants