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:
- Rescanning the .bib, and deleting/recreating some citations. Nothing changes
- Copying the .bib to a new file, using that as the source. No different either.
- Duplicating the .bst file, and changing it within the document. Nope
- 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!