I'm using BibTex to build my bibliography.
I have a lot of references and most of them work fine, but for some reason LaTeX claims some of them are undefined.
Here's a part of my .bib file:
@misc{REF1,
title={{Title 1}},
url={https://url.one/},
journal={url.one},
},
@misc{REF2,
title={{Title 2}},
url={https://url.two/,
author={Author, Two},
year={2}
},
@misc{REF3,
title={{Title 3}},
author={Author, Three},
year={3}
},
@book{REF4,
place={Place 4},
title={Title 4},
publisher={Publisher 4},
author={Author, Four},
year={4}
},
This way, all citations are fine, except for REF3. Switching REF2 and REF3 from place in the .bib file suddenly makes REF4 undefined.
I'm not sure what's going wrong here.
My main.tex file is built from a bunch of other .tex files which I \input{}, and at the end of this file I insert my bibliography in IEEEtran style.
,after the entries is unnecessary (if not wrong) and you are missing a}inurl={https://url.two/,inREF2. – Phelype Oleinik Jun 12 '19 at 10:11}. However the commas do change the error message! If you look at the<main text name here>.blg(which you should, when there are problems with the bibliography) the error message is more clear without the commas (it saysI was expecting a `,' or a `}'instead of the more cryptic"{" immediately follows a field name). – Phelype Oleinik Jun 12 '19 at 10:22