LyXBibliography not compatible

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
dersami
Posts: 3
Joined: Mon Mar 18, 2013 3:14 pm

Bibliography not compatible

Post by dersami »

Hey,

I am currently writing my final thesis using LyX. and everything worked like a charm until I switched my citation style from numerical to natbib. Now my compilation process always cancels with this error message.
...and\NAT@force@numbers{}\NAT@force@numbers

Check the bibliography entries for non-compliant syntax,
or select author-year BibTeX style, e.g. plainnat
I already searched the net for a couple of hours trying to find possible solutions and created a MWE using a "test.bib" in JabRef, only having this as single element and it still does not work.

Code: Select all

@STANDARD{test2003,
  title = {test},
  organization = {test},
  institution = {test},
  author = {test},
  language = {test},
  howpublished = {test},
  type = {test},
  number = {3},
  revision = {2},
  address = {test},
  month = {august},
  year = {2003},
  owner = {sami},
  timestamp = {2013.03.18}
}
When I open a new LyX file and include the basics only (bibliography, ToC) it works. I found out that this error might occur as a result of temporary files not being removed completely and so i deleted my whole temp directory to be sure, but it did not help. I'm all out of ideas and resources and really hope someone will be able to help me, for my deadline is in two weeks.

best,

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Bibliography not compatible

Post by cgnieder »

Hi dersami,

Welcome to the LaTeX community!

Have you tried the suggestion given in the error message?
or select author-year BibTeX style, e.g. plainnat
If you have and you still get the error it would be best if you could upload a minimal LyX file that shows the error so we can reproduce it and hopefully can come up with a solution.

Regards
site moderator & package author
dersami
Posts: 3
Joined: Mon Mar 18, 2013 3:14 pm

Re: Bibliography not compatible

Post by dersami »

Thank you for the warm welcome!

I am using basic author-year already for troubleshooting purposes and I unfortunately ca not reproduce that error - I tried creating a new document with basically the same preferences add even added a few citations, but it compiles fine every time.

im just all out of ideas.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Bibliography not compatible

Post by cgnieder »

dersami wrote:I tried creating a new document with basically the same preferences add even added a few citations, but it compiles fine every time.
Then I suggest the standard way of getting a Infominimal working example: save the file that throws the error under a new name and start deleting the code/the document text until the error disappears. Then reinsert the last part you deleted (which must cause the error) and continue with the rest of the code in the same way until you get a minimal version causing the error. If you're lucky you'll be able to identify and correct the erroneous part yourself.

Regards
site moderator & package author
dersami
Posts: 3
Joined: Mon Mar 18, 2013 3:14 pm

Re: Bibliography not compatible

Post by dersami »

I just copy & pasted the content of the original file to a new test file, and now compiling works. I dont really know what happened but it seems as if that has done the trick - thank you.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Bibliography not compatible

Post by cgnieder »

dersami wrote:I just copy & pasted the content of the original file to a new test file, and now compiling works. I dont really know what happened but it seems as if that has done the trick - thank you.
Probably an auxiliary file still contained erroneous code. Such things happen if one changes packages that write stuff to auxiliary files... Probably deleting them (the aux file and possibly the bbl file) could help for the original document.

Regards
site moderator & package author
Post Reply