context:
ieee latex template for photonics journal using TeXworks editor.
procedure:
- in file Optogenetics.tex: add "\cite{Deisseroth2006}" to random section.
- in file Optogenetics.tex: define style and .bib file This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
\bibliographystyle{IEEEtran} \bibliography{Optogenetics} - create file Optogenetics.bib with the following content:This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
@electronic{Deisseroth2006, author = "Michael Shell", title = "{IEEE}tran Homepage", url = "http://www.michaelshell.org/tex/ieeetran/", year = "2007" } - execute.
error:
when adding references using ieee bibliography template, the following error occurs:
fix:
replaced procedure #2 with:
tried executing and it worked, .bib file loads perfectly. reverted to the code as written in procedure #2 (using IEEEtrans style) and the error no longer appeared, can't figure out why. i think it also helped that i restarted the editor but i'm not really sure.
::
when adding references using ieee bibliography template, the following error occurs:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! LaTeX Error: Something's wrong--perhaps a missing \item. | |
See the LaTeX manual or LaTeX Companion for explanation. | |
Type H <return> for immediate help. | |
... | |
l.3 \end{thebibliography} |
replaced procedure #2 with:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\bibliography{Optogenetics} | |
\bibliographystyle{plain} |
::