Another way to cite in scrivener with zotero

Posts: 1
Joined: Sat Apr 15, 2017 4:25 pm
Platform: Linux

Sat Apr 15, 2017 4:48 pm Post

I started a few month ago to use scrivener for my work at the university and enjoy the process but had problems with the missing citation system. First I read about the RDF scan (zotero), but that's to complicate and I want to write in markdown so I stick to .txt. Then I found but is was really slow.
I created a small shell script by myself which copies the citekey into the clipboard and you just press strg+v and paste your citation. Maybe others like that or even knew a better way :)

My writing process with this looks like that:
* Writing in Scrivener with Zotero for Bibliography
* Export First Draft to .markdown
* Finishing in Markdown Editor
* Export with pandoc

Code: Select all


# Requirements
# To use this script you need: Zotero + Better BibTex plugin, xclib and curl.
# Output format
# Better BibTex can export your citations in different styles, be sure to choose the right one.
# Standart output format of this script is the pandoc format e.g. @key1; @key2

BBT_status=$(/usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?probe=probe' 2>/dev/null)

if [ $BBT_status = "ready" ] 2>/dev/null; then
    # curl $ZOTERO_URL | xclip -selection -c
    curl http://localhost:23119/better-bibtex/cayw?format=$BBT_format | xclip -selection c
    notify-send "Check if Zotero is open and Better BibTex addon is installed"

Posts: 166
Joined: Tue Jan 10, 2012 4:30 am
Platform: Linux + Windows

Wed Apr 26, 2017 1:30 pm Post

ptolemeaus, could you post a pic showing what the output looks like in a Scrivener footnote? Thx, k