[Tex/LaTex] No Bibliography When Compiling in Lyx

bibliographiesbibtexcompilinglyxpdftex

I've not found a duplicate of this yet but I'm prepared to believe I've overlooked it.

I've been using Lyx a while and some time recently (I can't pinpoint exactly when) it's stopped compiling the Bibliography in my thesis. I haven't changed the .bst file recently, and my .bib library is kept up to date by Mendeley. To be clear the Biblography doesn't appear at all either in the document or in the TOC. If, however, I export from Lyx to PDFLatex and compile it that way (3 or 4 times) it seems to work, and everything appears in-tact.

Things I've tried:

  1. Rescanning the .bib, and deleting/recreating some citations. Nothing
    changes
  2. Copying the .bib to a new file, using that as the source. No different either.
  3. Duplicating the .bst file, and changing it within the document. Nope
  4. Creating a test file with the same class and bibliography file/style as the original, and making test references. One reference worked, and compiled correctly. Additional references didn't appear, and after adding a fourth the original reference (that had been working!) vanished as well, as did the Bibliography section.

I'm totally stumped by this and really infuriated. Having deadlines doesn't help. Any pointers in the right direction greatly appreciated: I would try and attach a MWE but given how hard it's been to replicate I don't know how much good it'll do!

Best Answer

Thanks for the tips everyone.

In the end I think I sussed it. Essentially I had attempted to change the appearance of URL dates in my bibliography, by changing the processor to bibtex8 with the option "urldate=long". Once I realised I didn't need it, I changed the processor back to "Default", and it appeared thus:

Greyed-out option

However, when I recovered an earlier version of the main lyx file, and ran diff, it highlighted that even though I'd selected to return to the default processor it was still running through bibtex8 with the option I'd chosen. It seems that even though in the menu it was greyed out (and set to "Default"), the actual content of the file hadn't updated to reflect this. Phew.

I wonder if this is a known thing, and my search terms just weren't quite right? Seems as though someone would've come across it before.