Scrivener and Zotero Integration
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
http://zotero-odf-scan.github.io/zotero-odf-scan/
or this:
http://thedigitalresearcher.com/how-to-use-zotero-with-scrivener-part-2/
If not, we can try to help, but you'll have to be more specific than "I cannot follow".
edit: or do you have that set up already?
Spend the day trying to make a Bibliography Table with Zotero using Scrivener and... i really do not know what i am doing wrong.
I use Scrivener to write my thesis, and i use "Scannable Cite" to add citation in Scrivener.
So in my manuscript i have things like : { | Bortolini et Zatz (1987) | | |zu:0:478BQ727}
After exporting in odt format with Scrivener and converting in Zotero, citations are correctly formatted like : Bortolini et Zatz (1987)
But now, i would like to generate at the end, a bibliography table.
Tryed :
- the tag {Bibliography} but it is not replaced during the conversion by Zotero.
- add a bibliography table in Word, but it said that i need to add citations in my manuscrit...
- installed LibreOffice and Java SE 8, but Zotero ask for Java SE 6 when trying to install the add-in which is outdated and a security hole, no way i installed it.
So, i really do not know how to create my bibliography table and i do not want to edit all my hundreds " | Bortolini et Zatz (1987) | | |zu:0:478BQ727}"...
Thanks !!
Zotero ask me to install Java SE 6 :/
Will install it and see what happen...
EDIT: Ok, with Java SE 6, creating a Bibliography table works in LibreOffice.
Thanks!
I am trying to get this to work, as it seems a better solution than the copying and pasting involved with the RTF/ODF scan that I was using. Any advantages of continuing to use it instead of switching?
I am having some problems setting this up though. Everything is fine - or at least it seems so - until I am in scrivener, call the app, and the red bar appears and functions normally, but when I click enter it does not copy or enter any text in scrivener. Do you know what I am doing wrong?
Advantages would be that you don't have to switch away from your editor, and that you get the Zotero GUI to specify location, author suppression, etc instead of having to memorize the ODT-scan format; whether that's a sensible advantage given the jury-rigged nature of the setup is hard to decide universally.
Another option is to drag-and-drop references using the BBT quick-copy formatters, but that doesn't get you the built-in formatting of ODT-scan references.
Also, what you mean by glue scripts and how can I find what might be wrong with them? My technical skills are not particularly strong.
The proper solution would involve L&L taking academic writing seriously and build extension points for document automation akin to how Word/LiberOffice/Emacs/Sublime (und viele viele andere) do it, or at least a specialized system for references. But that doesn't look like it's in their plans.
The glue scripts are things you find under Editor Configuration at https://github.com/retorquere/zotero-better-bibtex/wiki/Cite-as-you-Write . Each editor has their own collection of scripts to get the references into your document. You'd have to talk to the author of the collection of scripts of your preference to see where things are failing in your case.
Assuming you're using a Mac, if you've followed Dave Smith's instructions here: https://github.com/davepwsmith/zotpick-applescript
then when you press ⌘-Y in Scrivener, the BBT picker (the red bar) should open. After you finish selecting the item, the citation marker should appear at the place where your cursor was in Scrivener. So make sure that your cursor is in the place where you want the reference before you press ⌘-Y.
If you're doing that and you're seeing the BBT picker, but you're still not getting any output in Scrivener, then it may be that the zotpick applescript is not installed correctly, or is not functioning as expected.
If you're using Linux, then send me an email.
I am using a Mac, and the red bar opens as expected. However, when I select the item, it goes back to zotero. I followed the instruction, copying the text from the applescript, creating an application; I added it to the application folder, pointed zotero to use it as its reference manager, so not sure how it might have ended up not being installed correctly.
First of all, if you are have both Zotero Standalone AND Zotero in Firefox, try removing the Better Bib(La)Tex plugin from one of your Zotero installations. I believe BBT can throw errors if two copies are running at the same time (the BBT experts will correct me if I am wrong).
Once you have BBT installed in only one version of Zotero, make sure that version of Zotero is running. Then in a browser (e.g. Safari) open the following URL: http://localhost:23119/better-bibtex/cayw?probe=probe
You should see the word 'ready' displayed in the browser. If you see something else, let us know. If you see 'ready', then read on.
It seems from your comments that you are using the Scannable Cite format for your citation markers. Still in the browser, open this URL:
http://localhost:23119/better-bibtex/cayw?format=scannable-cite
You should see the red picker window appear. Select an item in the normal way. Normally the picker will disappear after you finish selecting the item, and you would then see some text in the browser window with your citation in Scannable Cite marker format (e.g. {|China Maritime Customs, 1903|p. 5||zg:1790983:8RBSR87F} ). If the picker greys out and appears to crash, then restart Zotero and try again.
Let us know what you are seeing in the browser window and we can take it from there.
I followed the first URL and everything was fine.
When I followed the second URL, everything went well until I clicked enter. Then it automatically went from my browser to Zotero. When I returned to my browser, and clicked on the tab with that url, it had the correct citation there though.
That is a similar situation to what happens in Scrivener I think. I click enter and it goes to Zotero instead of adding the text to Scrivener.
It's identical to the usual one, but with the changed URL suggested by @emilianoeheyns. I'm not very hopeful - the script normally handles foregrounding windows so I'm not sure why it's failing for you - but it's worth a try.
What version of OS X/macOS are you running?
Can the script output somewhere what app it thinks is in front and what text is being pasted, just so we know it's active? I don't know AppleScript (and even though I do have an OSX system, not actively looking to get acquainted -- what a klunky, ugly language AppleScript is. Makes my skin crawl. Of the million ready-to-embed languages they could have used for free, *this* is what their engineers came up with? Oy.)
Presumably the script is active since it's calling the picker.
Should we continue this on github?
http://thedigitalresearcher.com/how-to-use-zotero-with-scrivener-part-2/
and
https://danielvreeman.com/using-scrivener-for-writing-scientific-papers
I keep stumbling at the 'Install Add-On from File' step - I have downloaded RTF/ODF-Scan for Zotero but in Zotero standalone when I click Tools > Add Ons > Cogwheel > Install from file RTF/ODF-Scan it does not appear as an option. It is, however, listed as an add-on in my Firefox browster. I already have ZoteroLibreOffice Integration although there is a "warning" that "Zotero LibreOffice Integration could not be verified for use".
Maybe I jumped the gun, because I manually downloaded scannable cite, as per the instructions on this thread, and it is now listed as an output option. However RTF/ODF-Scan is still not in my Add-Ons. Can anyone help?
Many thanks in advance.
it will be in your Downloads folder.
To "install from file" you may need to navigate to your Downloads folder to choose zotero-odf-scan-v1.0.33-fx.xpi
Occasionally, Finder in Mac does not appear to update the contents of a folder. You could try using the Relaunch Finder option in "Force Quit" (top left apple symbol menu) if this happens to you. Restarting zotero may also be necessary.
https://forums.zotero.org/discussion/65869/towards-a-better-integration-between-zotero-and-scrivener?new=1
Is there a way to get the Zotero picker (the red bar) working with Zotero 5? Zotpick works with BBT which isn't working in Z5. Is there an alternative?