Zotero & Scrivener HELP!!
Hi, I followed the instruction here to integrate Zotero to Scrivener on Mac
http://survivestatistics.com/scrivener-zotero-pandoc-integration-for-mac-users/#comment-230
I was required to run
pandoc –bibliography \
~/.pandoc/My_Library.bib \
–csl ~/.pandoc/ leiden-journal-of-international-law.csl \
-f markdown -t docx \
-o ~/Documents/PhD/export/pandoc_text.docx ~
/Documents/PhD/export/pandoc_test
Then I got this..
Last login: Thu Jul 19 23:57:04 on ttys000
Beibeis-MacBook-Pro:~ beibeizhang$ pandoc –bibliography \
> ~/.pandoc/My_Library.bib \
> –csl ~/.pandoc/ leiden-journal-of-international-law.csl \
> -f markdown -t docx \
> -o ~/Documents/PhD/export/pandoc_text.docx ~
pandoc: –bibliography: openBinaryFile: does not exist (No such file or directory)
Beibeis-MacBook-Pro:~ beibeizhang$ /Documents/PhD/export/pandoc_test
-bash: /Documents/PhD/export/pandoc_test: No such file or directory
Beibeis-MacBook-Pro:~ beibeizhang$
What should I do? Does anyone have these experience?
Many thanks!!!
What is the most updated way to integrate Zotero to scrivener?
http://survivestatistics.com/scrivener-zotero-pandoc-integration-for-mac-users/#comment-230
I was required to run
pandoc –bibliography \
~/.pandoc/My_Library.bib \
–csl ~/.pandoc/ leiden-journal-of-international-law.csl \
-f markdown -t docx \
-o ~/Documents/PhD/export/pandoc_text.docx ~
/Documents/PhD/export/pandoc_test
Then I got this..
Last login: Thu Jul 19 23:57:04 on ttys000
Beibeis-MacBook-Pro:~ beibeizhang$ pandoc –bibliography \
> ~/.pandoc/My_Library.bib \
> –csl ~/.pandoc/ leiden-journal-of-international-law.csl \
> -f markdown -t docx \
> -o ~/Documents/PhD/export/pandoc_text.docx ~
pandoc: –bibliography: openBinaryFile: does not exist (No such file or directory)
Beibeis-MacBook-Pro:~ beibeizhang$ /Documents/PhD/export/pandoc_test
-bash: /Documents/PhD/export/pandoc_test: No such file or directory
Beibeis-MacBook-Pro:~ beibeizhang$
What should I do? Does anyone have these experience?
Many thanks!!!
What is the most updated way to integrate Zotero to scrivener?
pandoc –bibliography ~/.pandoc/My_Library.bib –csl ~/.pandoc/leiden-journal-of-international-law.csl -f markdown -t docx -o ~/Documents/PhD/export/pandoc_text.docx ~/Documents/PhD/export/pandoc_test
If you're producing tex, pandoc will just call the tex engine with the bib file you hand it, but for all other output formats, pandoc translates to CSL JSON internally before anything else, as the pandoc citation processor can only really use CSL. Pandoc's biblatex parser also does not deal with title casing according to spec, and you sidestep that too if you just use CSL.
So right now, your process does
Zotero |BBT| BibLaTeX |Pandoc| CSL
where you could just do
Zotero |BBT/Zotero| CSL
It'd be a lot faster (all Zotero CSL exporters, even BBTs CSL exporters, are faster than BBT BibLaTeX), and it'd be better, too, because the back-and-forth translation to/from biblatex is not entirely lossless.
I'd recommend storing your library with the document, so ~/Documents/PhD/export/My_Library.json rather than ~/.pandoc/My_Library.json .