LyXConnecting LyX with Zotero

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
MarcusW
Posts: 1
Joined: Tue Jul 30, 2019 11:07 am

Connecting LyX with Zotero

Post by MarcusW »

Hi all,

I´m writing a thesis in LyX and have been recommended to use Zotero for my references. So I tried to follow the steps in this guide: http://derekwolfson.weebly.com/uploads/ ... zotero.pdf
and installed LyZ to connect LyX and Zotero.

Mozilla has apparently removed the LyZ add-on, but I found it at Github: https://github.com/willsALMANJ/lyz/releases

Under 2.4.1, step 9 in Wolfson's guide, it says "Now open LYX and goto Tools > Preferences > Paths and set LYXServer pipe to\\. pipe\lyxpipe" which I have done. I have also reconfigured and restarted LyX afterwards.

After that I followed the steps under 2.5 and opened a new LyX-document. But then when I open Zotero and try to right-click on my Solow paper and press “Cite in LYX”, it says:

"Wrong path to Lyx server.
Set the path specified in Lyx preferences." followed by "Could not contact server at: \\.\pipe\lyxpipe" and finally "Could not retrieve document name."

I have tried several times and have no clue why it is not working. Does anyone know what I have done wrong and perhaps offer some help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

hey1230
Posts: 2
Joined: Wed Dec 02, 2020 6:02 pm

Connecting LyX with Zotero

Post by hey1230 »

Hi MarcusW,

I imagine that you have already found a workaround for your thesis, but maybe some other could benefit this message.

I downloaded LyZ addon for zotero, but I didn't like it because I had to spend quite a time figuring out how to make it work, so I started using the "Better BibTeX for Zotero" (https://www.zotero.org/support/plugins, https://retorque.re/zotero-better-bibtex/) plugin, making it to keep that library updated, and it worked quite well to me.

Steps:
0. Install betterbibtex addon from Zotero webpage
1. Create a folder in Zotero
(2. Add entries as needed)
3. Right click the folder and select "export collection"
4. Select BetterBibTeX, and check "keep updated" –this way the plugin will sync changes made in Zotero with the BibTeX .bib archive
5. Save that file in the same folder where your project is, maybe in a "Bibliography" sub-folder
6. Cite in LyX and select your file as your reference source

Now everything just works, at least for what I need to write.

Hope you all the best with your thesis and keep safe in these times.
Post Reply