Google Doc: citations converted to plain text
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.
Until now, I always _cut_ and pasted citations. But because you asked to _copy_ and paste, I did so, and then the pasted citation is working as it should!
I did get some warnings in the Developer Console, but no errors: https://pastebin.com/e119Pdjs
I'm now trying to see if copy/paste, as opposed to cut/paste, also works in my large 'real' document. And then I will also send you a next pastebin with the result of a cut/paste.
cut/paste does not generate an error immediately after pasting, but it does when I try to edit the citation: https://pastebin.com/zZ5qU7h6
You are not seeing the proper functionality though, where if you cut a citation and then paste it, there is a brief screen for Zotero while it works on the document to update the newly pasted citation. It would be very helpful if you kept on testing with us so we can figure out why this isn't working for you and potentially other users and fix it for all. I will have more things to test tomorrow.
I then wait until the screen disappears, and then put my cursor inside the citation. I get, as expected, the menu to edit. When I click on this, Zotero 'works' for some time, and then gives the error message.
After that, the citation has become plain tekst.
I've done a few tests, also with my original large document, and it looks like cutting & pasting now works indeed. Let's wait for @szia to see if his problem is also gone.
Thank you already for your persistence in chasing this bug.
I'm experiencing similar problems. I'm using Google docs with Chrome on Windows. Conector version 5.0.55, and Zotero version 5.0.64.
After banging around trying to understand the issue for a while I found that it is related to cutting a chunk with citations. Once it is cut, when pasted it, it becomes unlinked, unless I use Ctrl-Z. When I use Ctrl-C and Ctrl-V and later delete the copied chunk, I'm OK. When I use the Ctrl-X and Ctrl-V when the chunk has one or more citations, the pasted citations are unlinked and bibliography turns out to be incomplete or not sorted. Examples...
Step one make insertions and bibliography:
Bla Bla bla.(1) Ble Ble ble.(2)
Bli Bli Bli.(3) Blo Blo Blo.(4)
Bibliography
1. Antunes de Brito CA, Teixeira MG. Increased number of deaths during a chikungunya epidemic in Pernambuco, Brazil. Mem Inst Oswaldo Cruz. 2017 Sep;112(9):650–1.
2. Brito CAA de. Alert: Severe cases and deaths associated with Chikungunya in Brazil. Rev Soc Bras Med Trop. 2017;50(5):585–9.
3. Dorléans F, Hoen B, Najioullah F, Herrmann-Storck C, Schepers KM, Abel S, et al. Outbreak of Chikungunya in the French Caribbean Islands of Martinique and Guadeloupe: Findings from a Hospital-Based Surveillance System (2013-2015). Am J Trop Med Hyg. 2018 Apr 23;98(6):1819–25.
4. Godaert L., Bartholet S., Dorléans F., Najioullah F., Dramé M., Fanon J.-L. Prediction of inhospital mortality in elderly patients with Chikungunya virus infection in Martinique (French West-Indies). Eur Geriatr Med. 2017;8(Supplement 1):S191–2.
Step two Ctrl-C the second paragraph and Ctrl-V before first paragraph and refresh (Ok as expected. Insertion and Bibliography are updated as expected.):
Bli Bli Bli.(1) Blo Blo Blo.(2)
Bla Bla bla.(3) Ble Ble ble.(4)
Bli Bli Bli.(1) Blo Blo Blo.(2)
Bibliography
1. Dorléans F, Hoen B, Najioullah F, Herrmann-Storck C, Schepers KM, Abel S, et al. Outbreak of Chikungunya in the French Caribbean Islands of Martinique and Guadeloupe: Findings from a Hospital-Based Surveillance System (2013-2015). Am J Trop Med Hyg. 2018 Apr 23;98(6):1819–25.
2. Godaert L., Bartholet S., Dorléans F., Najioullah F., Dramé M., Fanon J.-L. Prediction of inhospital mortality in elderly patients with Chikungunya virus infection in Martinique (French West-Indies). Eur Geriatr Med. 2017;8(Supplement 1):S191–2.
3. Antunes de Brito CA, Teixeira MG. Increased number of deaths during a chikungunya epidemic in Pernambuco, Brazil. Mem Inst Oswaldo Cruz. 2017 Sep;112(9):650–1.
4. Brito CAA de. Alert: Severe cases and deaths associated with Chikungunya in Brazil. Rev Soc Bras Med Trop. 2017;50(5):585–9.
Step three... back to step one and Ctrl-X the second paragraph and Ctrl-V before first paragraph and refresh (Not OK. Pasted citations are unlinked as soon refresh runs.):
Bli Bli Bli.(3) Blo Blo Blo.(4)
Bla Bla bla.(1) Ble Ble ble.(2)
Bibliography
1. Antunes de Brito CA, Teixeira MG. Increased number of deaths during a chikungunya epidemic in Pernambuco, Brazil. Mem Inst Oswaldo Cruz. 2017 Sep;112(9):650–1.
2. Brito CAA de. Alert: Severe cases and deaths associated with Chikungunya in Brazil. Rev Soc Bras Med Trop. 2017;50(5):585–9.
After messing around a lot my manuscript with unlinked citations I figured out that I should never use Ctrl-X on Google docs with chunks with citations.
Can anyone reproduce this test? Is this with me only?
Regards to all.
I was using conector 5.0.55 from start. After your comment I tried using firefox instead o Chrome and it worked. Then I realized that I was using Chrome 69, instead of the latest 73. After updating Chrome it worked on Chrome too.
Thank you very much for your attention.
Regards to all.
Just to say that I am still experiencing this issue.
Last versions of chrome 79.0.3945.130
last version of zotero connector 5.0.61
Google docs, and yes, copy-pasting or cut-pasting don't work, even after reboot.
Best,
yes it is installed as you can see with the version number and yes I can reproduce the issue when creating a new document.
Although the zotero overlay is always present, it searches for a lookup and then throws the "Zotero
Selected field null not returned from Docs backend
"
Thank you for your support ++
Sorry I was away. I tried, disabling all the extensions but zotero and I have the same issues event in a new document.
The browser recognise new zotero citations made in the gdoc.
If you are unsure if your problem is different from the original topic do not hesitate to create a new thread.
it' a pity that the process dosen't support the copy-paste workflow