LaTeX forum ⇒ BibTeX, biblatex and biberIEEEtran | Error by "Missing Item" in Bibliography Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
damien
Posts: 2
Joined: Wed Nov 26, 2008 8:23 am

IEEEtran | Error by "Missing Item" in Bibliography

Postby damien » Wed Nov 26, 2008 8:31 am

Hello all,

I am trying to migrate to LaTeX, using Kile under Ubuntu 8.04.

I am attempting to modify the example IEEE "bare_jrbl.tex" file to use the "IEEEexample.bib" file supplied - that is, I want to use a separate bibliography and want to rule out my own bibtex file as the problem.

I have change the tex file as follows. I have commented out the following, and added the following below:

  1. % can use a bibliography generated by BibTeX as a .bbl file
  2. % BibTeX documentation can be easily obtained at:
  3. % http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/
  4. % The IEEEtran BibTeX style support page is at:
  5. % http://www.michaelshell.org/tex/ieeetran/bibtex/
  6. \bibliographystyle{IEEEtran}
  7. % argument is your BibTeX string definitions and bibliography database(s)
  8. \bibliography{./IEEEexample}
  9. %
  10. % <OR> manually copy in the resultant .bbl file
  11. % set second argument of \begin to the number of references
  12. % (used to reserve space for the reference number labels box)
  13. % \begin{thebibliography}{1}
  14.  
  15. % \bibitem{IEEEhowto:kopka}
  16. % H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
  17. % 0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.
  18.  
  19. % \end{thebibliography}


And, I have added the following citation in the main section:

  1. % Here we have the typical use of a "T" for an initial drop letter
  2. % and "HIS" in caps to complete the first word.
  3. \IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
  4. for IEEE journal papers produced under \LaTeX\ using
  5. IEEEtran.cls version 1.7 and later.
  6. % You must have at least 2 lines in the paragraph with the drop letter
  7. % (should never be an issue)
  8. I wish you the best of success.
  9.  
  10. %%%%%%%%% ADDED LINE BELOW %%%%%%%%%%%%%
  11. \cite{IEEEwebsite}


However, I get the following error message in the window below:
  1. [LaTeX] bare_jrnl.tex => bare_jrnl.dvi (latex)
  2. [LaTeX] finished with exit status 1
  3. ./bare_jrnl.tex:525: Citation `IEEEwebsite' on page 1 undefined on input line 525.
  4. ./bare_jrnl.bbl:24:Something's wrong--perhaps a missing \item. \end{thebibliography}
  5. ./bare_jrnl.tex:0: There were undefined references.
  6. [LaTeX] 1 error, 2 warnings, 0 badboxes


And the following bbl file gets generated:
  1. % Generated by IEEEtran.bst, version: 1.12 (2007/01/11)
  2. \begin{thebibliography}{0}
  3. \providecommand{\url}[1]{#1}
  4. \csname url@samestyle\endcsname
  5. \providecommand{\newblock}{\relax}
  6. \providecommand{\bibinfo}[2]{#2}
  7. \providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}
  8. \providecommand{\BIBentryALTinterwordstretchfactor}{4}
  9. \providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus
  10. \BIBentryALTinterwordstretchfactor\fontdimen3\font minus
  11. \fontdimen4\font\relax}
  12. \providecommand{\BIBforeignlanguage}[2]{{%
  13. \expandafter\ifx\csname l@#1\endcsname\relax
  14. \typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%
  15. \typeout{** loaded for the language `#1'. Using the pattern for}%
  16. \typeout{** the default language instead.}%
  17. \else
  18. \language=\csname l@#1\endcsname
  19. \fi
  20. #2}}
  21. \providecommand{\BIBdecl}{\relax}
  22. \BIBdecl
  23.  
  24. \end{thebibliography}


And finally, if it helps anyone, the following latex output gets generated
  1. *****
  2. ***** LaTeX output:
  3. ***** cd '/home/damien/phd/Publications/templates/IEEE'
  4. ***** latex -interaction=nonstopmode 'bare_jrnl.tex'
  5. *****
  6. This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
  7. %&-line parsing enabled.
  8. entering extended mode
  9. (./bare_jrnl.tex
  10. LaTeX2e <2005/12/01>
  11. Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
  12. yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov
  13. ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon
  14. ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i
  15. nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp
  16. eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia
  17. n, swedish, ukenglish, loaded.
  18. (./IEEEtran.cls
  19. Document Class: IEEEtran 2007/03/05 V1.7a by Michael Shell
  20. -- See the "IEEEtran_HOWTO" manual for usage information.
  21. -- http://www.michaelshell.org/tex/ieeetran/
  22. (/usr/share/texmf-texlive/tex/latex/psnfss/ot1ptm.fd)
  23. -- Using 8.5in x 11in (letter) paper.
  24. -- Using DVI output.
  25. -- This is a 10 point document.
  26. ) (./bare_jrnl.aux)
  27.  
  28. LaTeX Warning: Citation `IEEEwebsite' on page 1 undefined on input line 525.
  29.  
  30. (./bare_jrnl.bbl
  31.  
  32. ! LaTeX Error: Something's wrong--perhaps a missing \item.
  33.  
  34. See the LaTeX manual or LaTeX Companion for explanation.
  35. Type H <return> for immediate help.
  36. ...
  37.  
  38. l.24 \end{thebibliography}
  39.  
  40. ) [1] (./bare_jrnl.aux)
  41.  
  42. LaTeX Warning: There were undefined references.
  43.  
  44. )
  45. (see the transcript file for additional information)
  46. Output written on bare_jrnl.dvi (1 page, 2888 bytes).
  47. Transcript written on bare_jrnl.log.


I'm now at a bit of a loss, so if anyone could point me in the correct direction, it would be very much appreciated.

Cheers
Damien

damien
Posts: 2
Joined: Wed Nov 26, 2008 8:23 am

Postby damien » Wed Nov 26, 2008 11:03 am

OK, I have lost a day on this, but I have managed to work it out.

1. Update your IEEE Template from CTAN (downloading the zip is easiest): http://www.ctan.org/tex-archive/macros/ ... /IEEEtran/

2. Clean out any latex-generated files from your project/directory.

3. Test the following using kile (or the command line, if you are comfortable with with it)
Build -> Compile -> latex
Build -> Compile -> Bibtex
Build -> Compile -> latex
Build -> Compile -> latex (yes, twice after bibtex)
Build -> View -> ViewDVI

If it comes out as you expect, then it's time to update your quick-build button. By default (at least in Ubuntu 8.04, Hardy Heron) it does not automatically follow the steps above. To do so:
Settings -> Configure Kile
Click on "tools -> Build"
Go down to "QuickBuild" under "select a tool"
Under "select a configuration", choose "Latex+BibTex+ViewDVI", or just add the steps yourself with the "Tool" drop-down box and the buttons below.

Hopefully this helps someone else. It really, really frustrated me!

crobar
Posts: 12
Joined: Mon Nov 16, 2009 4:41 pm

Postby crobar » Mon Nov 16, 2009 4:43 pm

Thank you, I had the same problem, no doubt you've saved me hours of gnashing of teeth followed by much forehead slapping. Here's to meaningful error messages!

padmaiyenghar
Posts: 2
Joined: Tue Aug 16, 2011 9:53 am

Postby padmaiyenghar » Wed Oct 19, 2011 9:31 am

Thanks a lot for posting this query and reply. It saved a lot of time for me.

-Padma

linhtdh1k49
Posts: 1
Joined: Mon Dec 26, 2011 11:07 am

Postby linhtdh1k49 » Mon Dec 26, 2011 11:41 am

Thank you for posting this solution for Bibtex.
In my case, I am using
TexMaker 3.2
MikTex 2.9

I am also having a problem with IEEEtran package.

1, Line 24, LaTeX errors: Something's wrong-perhaps a missing \item.
2, Line 525, Citation IEEEwebsite on page 1 undefined on input line 525.
3, Line 1, There were undefined references.

I think it's exactly what you have met before.

But when I do quick build, clean out all stuffs, and change sequence of compliler :LATEX --> BIBTEX --> LATEX --> LATEX.

Unfortunately, it still happened same errors.

I have been stuck in this error for long time, although searching and trying to change sequence. But it did not work.

Please help me >_<

evaampe
Posts: 1
Joined: Thu Jan 19, 2012 6:07 pm

Postby evaampe » Thu Jan 19, 2012 6:12 pm

Hi,

I have the same problem. I also use the newest IEEEtran I just downloaded from the website. But in two column mode I get the error:

./bare_jrnl.tex:0: There were undefined references.

I do: pdflatex bibtex pdflatex pdflatex

Any idea?

Cheers
Eva

  1. %% bare_jrnl.tex
  2. %% V1.3
  3. %% 2007/01/11
  4. %% by Michael Shell
  5. %% see http://www.michaelshell.org/
  6. %% for current contact information.
  7. %%
  8. %% This is a skeleton file demonstrating the use of IEEEtran.cls
  9. %% (requires IEEEtran.cls version 1.7 or later) with an IEEE journal paper.
  10. %%
  11. %% Support sites:
  12. %% http://www.michaelshell.org/tex/ieeetran/
  13. %% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
  14. %% and
  15. %% http://www.ieee.org/
  16.  
  17.  
  18.  
  19. % *** Authors should verify (and, if needed, correct) their LaTeX system ***
  20. % *** with the testflow diagnostic prior to trusting their LaTeX platform ***
  21. % *** with production work. IEEE's font choices can trigger bugs that do ***
  22. % *** not appear when using other class files. ***
  23. % The testflow support page is at:
  24. % http://www.michaelshell.org/tex/testflow/
  25.  
  26.  
  27. %%*************************************************************************
  28. %% Legal Notice:
  29. %% This code is offered as-is without any warranty either expressed or
  30. %% implied; without even the implied warranty of MERCHANTABILITY or
  31. %% FITNESS FOR A PARTICULAR PURPOSE!
  32. %% User assumes all risk.
  33. %% In no event shall IEEE or any contributor to this code be liable for
  34. %% any damages or losses, including, but not limited to, incidental,
  35. %% consequential, or any other damages, resulting from the use or misuse
  36. %% of any information contained here.
  37. %%
  38. %% All comments are the opinions of their respective authors and are not
  39. %% necessarily endorsed by the IEEE.
  40. %%
  41. %% This work is distributed under the LaTeX Project Public License (LPPL)
  42. %% ( http://www.latex-project.org/ ) version 1.3, and may be freely used,
  43. %% distributed and modified. A copy of the LPPL, version 1.3, is included
  44. %% in the base LaTeX documentation of all distributions of LaTeX released
  45. %% 2003/12/01 or later.
  46. %% Retain all contribution notices and credits.
  47. %% ** Modified files should be clearly indicated as such, including **
  48. %% ** renaming them and changing author support contact information. **
  49. %%
  50. %% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex,
  51. %% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex
  52. %%*************************************************************************
  53.  
  54. % Note that the a4paper option is mainly intended so that authors in
  55. % countries using A4 can easily print to A4 and see how their papers will
  56. % look in print - the typesetting of the document will not typically be
  57. % affected with changes in paper size (but the bottom and side margins will).
  58. % Use the testflow package mentioned above to verify correct handling of
  59. % both paper sizes by the user's LaTeX system.
  60. %
  61. % Also note that the "draftcls" or "draftclsnofoot", not "draft", option
  62. % should be used if it is desired that the figures are to be displayed in
  63. % draft mode.
  64. %
  65. %
  66. % If IEEEtran.cls has not been installed into the LaTeX system files,
  67. % manually specify the path to it like:
  68. \documentclass[journal]{IEEEtran}
  69. %\RequirePackage{lineno}
  70. %\documentclass[journal,10pt,draftclsnofoot,onecolumn]{IEEEtran}
  71. %\linenumbers
  72. \usepackage{textcomp} %µ symbool
  73.  
  74.  
  75.  
  76.  
  77. % Some very useful LaTeX packages include:
  78. % (uncomment the ones you want to load)
  79.  
  80.  
  81. % *** MISC UTILITY PACKAGES ***
  82. %
  83. %\usepackage{ifpdf}
  84. % Heiko Oberdiek's ifpdf.sty is very useful if you need conditional
  85. % compilation based on whether the output is pdf or dvi.
  86. % usage:
  87. % \ifpdf
  88. % % pdf code
  89. % \else
  90. % % dvi code
  91. % \fi
  92. % The latest version of ifpdf.sty can be obtained from:
  93. % http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/
  94. % Also, note that IEEEtran.cls V1.7 and later provides a builtin
  95. % \ifCLASSINFOpdf conditional that works the same way.
  96. % When switching from latex to pdflatex and vice-versa, the compiler may
  97. % have to be run twice to clear warning/error messages.
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104. % *** CITATION PACKAGES ***
  105. %
  106. \usepackage{cite}
  107. % cite.sty was written by Donald Arseneau
  108. % V1.6 and later of IEEEtran pre-defines the format of the cite.sty package
  109. % \cite{} output to follow that of IEEE. Loading the cite package will
  110. % result in citation numbers being automatically sorted and properly
  111. % "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
  112. % cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
  113. % \cite will automatically add leading space, if needed. Use cite.sty's
  114. % noadjust option (cite.sty V3.8 and later) if you want to turn this off.
  115. % cite.sty is already installed on most LaTeX systems. Be sure and use
  116. % version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does
  117. % not currently provide for hyperlinked citations.
  118. % The latest version can be obtained at:
  119. % http://www.ctan.org/tex-archive/macros/latex/contrib/cite/
  120. % The documentation is contained in the cite.sty file itself.
  121.  
  122.  
  123.  
  124. \usepackage{multirow}
  125.  
  126.  
  127.  
  128. % *** GRAPHICS RELATED PACKAGES ***
  129. %
  130. \ifCLASSINFOpdf
  131. \usepackage[pdftex]{graphicx}
  132. % declare the path(s) where your graphic files are
  133. % \graphicspath{{../pdf/}{../jpeg/}}
  134. % and their extensions so you won't have to specify these with
  135. % every instance of \includegraphics
  136. % \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
  137. \else
  138. % or other class option (dvipsone, dvipdf, if not using dvips). graphicx
  139. % will default to the driver specified in the system graphics.cfg if no
  140. % driver is specified.
  141. % \usepackage[dvips]{graphicx}
  142. % declare the path(s) where your graphic files are
  143. % \graphicspath{{../eps/}}
  144. % and their extensions so you won't have to specify these with
  145. % every instance of \includegraphics
  146. %\DeclareGraphicsExtensions{.eps}
  147. \fi
  148. % graphicx was written by David Carlisle and Sebastian Rahtz. It is
  149. % required if you want graphics, photos, etc. graphicx.sty is already
  150. % installed on most LaTeX systems. The latest version and documentation can
  151. % be obtained at:
  152. % http://www.ctan.org/tex-archive/macros/latex/required/graphics/
  153. % Another good source of documentation is "Using Imported Graphics in
  154. % LaTeX2e" by Keith Reckdahl which can be found as epslatex.ps or
  155. % epslatex.pdf at: http://www.ctan.org/tex-archive/info/
  156. %
  157. % latex, and pdflatex in dvi mode, support graphics in encapsulated
  158. % postscript (.eps) format. pdflatex in pdf mode supports graphics
  159. % in .pdf, .jpeg, .png and .mps (metapost) formats. Users should ensure
  160. % that all non-photo figures use a vector format (.eps, .pdf, .mps) and
  161. % not a bitmapped formats (.jpeg, .png). IEEE frowns on bitmapped formats
  162. % which can result in "jaggedy"/blurry rendering of lines and letters as
  163. % well as large increases in file sizes.
  164. %
  165. % You can find documentation about the pdfTeX application at:
  166. % http://www.tug.org/applications/pdftex
  167.  
  168.  
  169. \usepackage{epstopdf}
  170.  
  171.  
  172.  
  173. % *** MATH PACKAGES ***
  174. \usepackage[cmex10]{amsmath}
  175. % A popular package from the American Mathematical Society that provides
  176. % many useful and powerful commands for dealing with mathematics. If using
  177. % it, be sure to load this package with the cmex10 option to ensure that
  178. % only type 1 fonts will utilized at all point sizes. Without this option,
  179. % it is possible that some math symbols, particularly those within
  180. % footnotes, will be rendered in bitmap form which will result in a
  181. % document that can not be IEEE Xplore compliant!
  182. %
  183. % Also, note that the amsmath package sets \interdisplaylinepenalty to 10000
  184. % thus preventing page breaks from occurring within multiline equations. Use:
  185. %\interdisplaylinepenalty=2500
  186. % after loading amsmath to restore such page breaks as IEEEtran.cls normally
  187. % does. amsmath.sty is already installed on most LaTeX systems. The latest
  188. % version and documentation can be obtained at:
  189. % http://www.ctan.org/tex-archive/macros/latex/required/amslatex/math/
  190.  
  191.  
  192.  
  193.  
  194.  
  195. % *** SPECIALIZED LIST PACKAGES ***
  196. %
  197. \usepackage{algorithmic}
  198. % algorithmic.sty was written by Peter Williams and Rogerio Brito.
  199. % This package provides an algorithmic environment fo describing algorithms.
  200. % You can use the algorithmic environment in-text or within a figure
  201. % environment to provide for a floating algorithm. Do NOT use the algorithm
  202. % floating environment provided by algorithm.sty (by the same authors) or
  203. % algorithm2e.sty (by Christophe Fiorio) as IEEE does not use dedicated
  204. % algorithm float types and packages that provide these will not provide
  205. % correct IEEE style captions. The latest version and documentation of
  206. % algorithmic.sty can be obtained at:
  207. % http://www.ctan.org/tex-archive/macros/latex/contrib/algorithms/
  208. % There is also a support site at:
  209. % http://algorithms.berlios.de/index.html
  210. % Also of interest may be the (relatively newer and more customizable)
  211. % algorithmicx.sty package by Szasz Janos:
  212. % http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/
  213.  
  214.  
  215.  
  216.  
  217. % *** ALIGNMENT PACKAGES ***
  218. %
  219. \usepackage{array}
  220. % Frank Mittelbach's and David Carlisle's array.sty patches and improves
  221. % the standard LaTeX2e array and tabular environments to provide better
  222. % appearance and additional user controls. As the default LaTeX2e table
  223. % generation code is lacking to the point of almost being broken with
  224. % respect to the quality of the end results, all users are strongly
  225. % advised to use an enhanced (at the very least that provided by array.sty)
  226. % set of table tools. array.sty is already installed on most systems. The
  227. % latest version and documentation can be obtained at:
  228. % http://www.ctan.org/tex-archive/macros/latex/required/tools/
  229.  
  230.  
  231. \usepackage{mdwmath}
  232. \usepackage{mdwtab}
  233. % Also highly recommended is Mark Wooding's extremely powerful MDW tools,
  234. % especially mdwmath.sty and mdwtab.sty which are used to format equations
  235. % and tables, respectively. The MDWtools set is already installed on most
  236. % LaTeX systems. The lastest version and documentation is available at:
  237. % http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/
  238.  
  239.  
  240. % IEEEtran contains the IEEEeqnarray family of commands that can be used to
  241. % generate multiline equations as well as matrices, tables, etc., of high
  242. % quality.
  243.  
  244.  
  245. \usepackage{eqparbox}
  246. % Also of notable interest is Scott Pakin's eqparbox package for creating
  247. % (automatically sized) equal width boxes - aka "natural width parboxes".
  248. % Available at:
  249. % http://www.ctan.org/tex-archive/macros/latex/contrib/eqparbox/
  250.  
  251.  
  252.  
  253.  
  254.  
  255. % *** SUBFIGURE PACKAGES ***
  256. %\usepackage[tight,footnotesize]{subfigure}
  257. % subfigure.sty was written by Steven Douglas Cochran. This package makes it
  258. % easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE
  259. % work, it is a good idea to load it with the tight package option to reduce
  260. % the amount of white space around the subfigures. subfigure.sty is already
  261. % installed on most LaTeX systems. The latest version and documentation can
  262. % be obtained at:
  263. % http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/
  264. % subfigure.sty has been superceeded by subfig.sty.
  265.  
  266.  
  267.  
  268. %\usepackage[caption=false]{caption}
  269. %\usepackage[font=footnotesize]{subfig}
  270. % subfig.sty, also written by Steven Douglas Cochran, is the modern
  271. % replacement for subfigure.sty. However, subfig.sty requires and
  272. % automatically loads Axel Sommerfeldt's caption.sty which will override
  273. % IEEEtran.cls handling of captions and this will result in nonIEEE style
  274. % figure/table captions. To prevent this problem, be sure and preload
  275. % caption.sty with its "caption=false" package option. This is will preserve
  276. % IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later
  277. % (recommended due to many improvements over 1.2) of subfig.sty supports
  278. % the caption=false option directly:
  279. \usepackage[caption=false,font=footnotesize]{subfig}
  280. %
  281. % The latest version and documentation can be obtained at:
  282. % http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
  283. % The latest version and documentation of caption.sty can be obtained at:
  284. % http://www.ctan.org/tex-archive/macros/latex/contrib/caption/
  285.  
  286.  
  287.  
  288.  
  289. % *** FLOAT PACKAGES ***
  290. %
  291. \usepackage{fixltx2e}
  292. % fixltx2e, the successor to the earlier fix2col.sty, was written by
  293. % Frank Mittelbach and David Carlisle. This package corrects a few problems
  294. % in the LaTeX2e kernel, the most notable of which is that in current
  295. % LaTeX2e releases, the ordering of single and double column floats is not
  296. % guaranteed to be preserved. Thus, an unpatched LaTeX2e can allow a
  297. % single column figure to be placed prior to an earlier double column
  298. % figure. The latest version and documentation can be found at:
  299. % http://www.ctan.org/tex-archive/macros/latex/base/
  300.  
  301.  
  302.  
  303. \usepackage{stfloats}
  304. % stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
  305. % the ability to do double column floats at the bottom of the page as well
  306. % as the top. (e.g., "\begin{figure*}[!b]" is not normally possible in
  307. % LaTeX2e). It also provides a command:
  308. %\fnbelowfloat
  309. % to enable the placement of footnotes below bottom floats (the standard
  310. % LaTeX2e kernel puts them above bottom floats). This is an invasive package
  311. % which rewrites many portions of the LaTeX2e float routines. It may not work
  312. % with other packages that modify the LaTeX2e float routines. The latest
  313. % version and documentation can be obtained at:
  314. % http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/
  315. % Documentation is contained in the stfloats.sty comments as well as in the
  316. % presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE
  317. % does not allow \baselineskip to stretch. Authors submitting work to the
  318. % IEEE should note that IEEE rarely uses double column equations and
  319. % that authors should try to avoid such use. Do not be tempted to use the
  320. % cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does
  321. % not format its papers in such ways.
  322.  
  323.  
  324. %\ifCLASSOPTIONcaptionsoff
  325. % \usepackage[nomarkers]{endfloat}
  326. % \let\MYoriglatexcaption\caption
  327. % \renewcommand{\caption}[2][\relax]{\MYoriglatexcaption[#2]{#2}}
  328. %\fi
  329. % endfloat.sty was written by James Darrell McCauley and Jeff Goldberg.
  330. % This package may be useful when used in conjunction with IEEEtran.cls'
  331. % captionsoff option. Some IEEE journals/societies require that submissions
  332. % have lists of figures/tables at the end of the paper and that
  333. % figures/tables without any captions are placed on a page by themselves at
  334. % the end of the document. If needed, the draftcls IEEEtran class option or
  335. % \CLASSINPUTbaselinestretch interface can be used to increase the line
  336. % spacing as well. Be sure and use the nomarkers option of endfloat to
  337. % prevent endfloat from "marking" where the figures would have been placed
  338. % in the text. The two hack lines of code above are a slight modification of
  339. % that suggested by in the endfloat docs (section 8.3.1) to ensure that
  340. % the full captions always appear in the list of figures/tables - even if
  341. % the user used the short optional argument of \caption[]{}.
  342. % IEEE papers do not typically make use of \caption[]'s optional argument,
  343. % so this should not be an issue. A similar trick can be used to disable
  344. % captions of packages such as subfig.sty that lack options to turn off
  345. % the subcaptions:
  346. % For subfig.sty:
  347. % \let\MYorigsubfloat\subfloat
  348. % \renewcommand{\subfloat}[2][\relax]{\MYorigsubfloat[]{#2}}
  349. % For subfigure.sty:
  350. % \let\MYorigsubfigure\subfigure
  351. % \renewcommand{\subfigure}[2][\relax]{\MYorigsubfigure[]{#2}}
  352. % However, the above trick will not work if both optional arguments of
  353. % the \subfloat/subfig command are used. Furthermore, there needs to be a
  354. % description of each subfigure *somewhere* and endfloat does not add
  355. % subfigure captions to its list of figures. Thus, the best approach is to
  356. % avoid the use of subfigure captions (many IEEE journals avoid them anyway)
  357. % and instead reference/explain all the subfigures within the main caption.
  358. % The latest version of endfloat.sty and its documentation can obtained at:
  359. % http://www.ctan.org/tex-archive/macros/latex/contrib/endfloat/
  360. %
  361. % The IEEEtran \ifCLASSOPTIONcaptionsoff conditional can also be used
  362. % later in the document, say, to conditionally put the References on a
  363. % page by themselves.
  364.  
  365.  
  366.  
  367.  
  368.  
  369. % *** PDF, URL AND HYPERLINK PACKAGES ***
  370. %
  371. \usepackage{url}
  372. % url.sty was written by Donald Arseneau. It provides better support for
  373. % handling and breaking URLs. url.sty is already installed on most LaTeX
  374. % systems. The latest version can be obtained at:
  375. % http://www.ctan.org/tex-archive/macros/latex/contrib/misc/
  376. % Read the url.sty source comments for usage information. Basically,
  377. % \url{my_url_here}.
  378.  
  379.  
  380.  
  381.  
  382.  
  383. % *** Do not adjust lengths that control margins, column widths, etc. ***
  384. % *** Do not use packages that alter fonts (such as pslatex). ***
  385. % There should be no need to do such things with IEEEtran.cls V1.6 and later.
  386. % (Unless specifically asked to do so by the journal or conference you plan
  387. % to submit to, of course. )
  388.  
  389.  
  390. % correct bad hyphenation here
  391. \hyphenation{op-tical net-works semi-conduc-tor}

vanqru
Posts: 1
Joined: Fri Sep 21, 2012 11:14 pm

Postby vanqru » Fri Sep 21, 2012 11:21 pm

I followed the instructions and it did help. Two important things I found out is that in your paper, you should have at least one reference for your bibtex to work and you should point correctly your command of bibtex to the bibtex program, e.g. (in my case: "C:/Program Files (x86)/MiKTeX 2.9/miktex/bin/bibtex.exe" %.aux" (%.aux instead of % or %.tex)
Hope it helps

majidraf
Posts: 2
Joined: Tue Nov 22, 2011 9:31 pm

Postby majidraf » Sun May 04, 2014 5:30 am

damien wrote:OK, I have lost a day on this, but I have managed to work it out.

1. Update your IEEE Template from CTAN (downloading the zip is easiest): http://www.ctan.org/tex-archive/macros/ ... /IEEEtran/

2. Clean out any latex-generated files from your project/directory.

3. Test the following using kile (or the command line, if you are comfortable with with it)
Build -> Compile -> latex
Build -> Compile -> Bibtex
Build -> Compile -> latex
Build -> Compile -> latex (yes, twice after bibtex)
Build -> View -> ViewDVI

If it comes out as you expect, then it's time to update your quick-build button. By default (at least in Ubuntu 8.04, Hardy Heron) it does not automatically follow the steps above. To do so:
Settings -> Configure Kile
Click on "tools -> Build"
Go down to "QuickBuild" under "select a tool"
Under "select a configuration", choose "Latex+BibTex+ViewDVI", or just add the steps yourself with the "Tool" drop-down box and the buttons below.

Hopefully this helps someone else. It really, really frustrated me!


I spent two days to solve this problem until I found your solution. So appreciated for your help.

DarkChoclate
Posts: 1
Joined: Tue Apr 28, 2015 11:46 am

Postby DarkChoclate » Tue Apr 28, 2015 12:00 pm

I have the same problem, I tried to Compile .bib but I've got the following error: "Bibtex returned exit code 1 indicate that some problem might have occurred during compilation".
I tried for 2 hours but i could not solve the problem. Any help is very very much appreciated! :|


Here is my texfile:
  1. \documentclass[journal]{IEEEtran}
  2.  
  3. \usepackage{float} % force figures to location with [H]
  4. \usepackage[figuresright]{rotating} % rotation of figures
  5. \usepackage{subfigure} % stack and arange figures
  6. \usepackage{graphics} % you now may use jpg
  7. \usepackage{eso-pic} % include images covering the whole page (see title page)
  8. \usepackage{overpic} % you can use this package to write over your figure, see manual
  9. \usepackage{graphicx}
  10. \usepackage{epsfig}
  11. \usepackage{morefloats}
  12. \usepackage{amsmath,amsthm,txfonts,tabu}
  13. %\usepackage[noadjust]{cite}
  14. %\usepackage[style=ieee]{biblatex}
  15. %\usepackage{biblatex}
  16. \hyphenation{op-tical net-works semi-conduc-tor}
  17. \graphicspath{{./pics/}}
  18. \newcommand{\myreferences}{../references/myref.bib}
  19. \newcommand{\myreferencesbib}{../references/IEEEtran.bst}
  20. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  21. \begin{document}
  22. hi hi hi hi hi hi hi hi hi hi \cite{Noise2008}
  23. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  24. \newpage
  25. %\bibliographystyle{IEEEtran}
  26. %\bibliography{refs}
  27. \bibliographystyle{\myreferencesbib}
  28. \bibliography{\myreferences}
  29.  
  30. \end{document}

User avatar
Johannes_B
Site Moderator
Posts: 4183
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Apr 28, 2015 12:35 pm

Hi and welcome,

you haven't given us much information. What is the error BibTeX is reporting? Please show us the log file of BibTeX, it has the file ending blg.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 0 guests
https://latex.org/forum/viewtopic.php?p=57183
latex.org
crawl=CC-MAIN-2020-40
188575
application/http; msgtype=response
sha1:ILXBNYS5TZ4ZQ725DBUQI3F3IJTYU62O
<urn:uuid:f802871a-4120-462f-af80-b76a3e7a51c0>
2020-09-28T14:30:11Z
78.46.26.59
text/html
sha1:EVXFKWLLGRC4VQZC3OZTUFUEMYSR6XKU
<urn:uuid:ee170cfa-77fd-4ed0-bbf1-12f6b584acd5>
https://latex.org/forum/viewtopic.php?p=57183
response
<urn:uuid:6ff603eb-ccb3-47fe-bc3e-6fa128cfaf3c>
isPartOf: CC-MAIN-2020-40
publisher: Common Crawl
description: Wide crawl of the web for September 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-204.ec2.internal
software: Apache Nutch 1.17 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/