I have written a paper with bibliography in IEEEtran style. Everything was compiled and generated properly. Now I have been asked to convert the references to APA style. I have added pacakge and bibstyle apacite.sty. Now I am unable to compile it. Undefined references messages are popping-up. My latex file looks like this:






\providecommand{\e}[1]{\ensuremath{\times 10^{#1}}}

 blah blah blah



Latex messages are:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,         dumylang, nohyphenation, loaded.
Document Class: IEEEtran 2014/09/17 V1.8a by Michael Shell
-- See the "IEEEtran_HOWTO" manual for usage information.
 -- http://www.michaelshell.org/tex/ieeetran/
  -- Using 8.5in x 11in (letter) paper.
 -- Using DVI output.
 -- This is a 10 point document.
 ) (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
  (/usr/share/texmf-texlive/tex/latex/subfig/subfig.sty (./caption3.sty)) 
 (/usr/share/texmf-texlive/tex/latex/multirow/multirow.sty)        (./apacite.sty)
 (./ije.aux) (/usr/share/texmf-texlive/tex/latex/txfonts/omltxmi.fd)
 -- Lines per column: 56 (exact).


 LaTeX Warning: Reference `leakage' on page 1 undefined on input line 69.

 <gatelength.eps> <dynamic.eps> <leakage.eps>

  LaTeX Warning: Citation `chandrakasan1992low' undefined on input line      93.


      LaTeX Warning: Citation `lee2004gate' undefined on input line 102.

    LaTeX Warning: Reference `igate' on page 2 undefined on input line 102.

 ! Illegal parameter number in definition of \reserved@a.
  <to be read again> 
 l.108 ...an nmos transistor \cite{choi2001impact}}

I have put all the apacite files in the common folder. Please help.

  • 2
    Welcome to TeX.SE. In your code, the instructions \usepackage{apacite} and \bibliographystyle{apacite} are both commented out, and the instruction \bibliographystyle{IEEEtran/bibtex/IEEEtran} has not been commented out (yet). How do you expect this to work?
    – Mico
    May 24, 2017 at 12:46

1 Answer 1


probably a bit late, but for future people looking for solutions, this fixed it for me:

One has to call the package hyperref: Fixing JAIR style

One has to set the option ‘draft’: \pdfendlink ended up in different nesting level than \pdfstartlink

This code in the preamble did the trick:

    bookmarks=false,    % show bookmarks bar?
    pdftitle={TeX and friends hackers manual},    % title
    pdfauthor={Yiannis Lazarides},                     % author
    pdfsubject={TeX and LaTeX},                        % subject of the document
    pdfkeywords={TeX, LaTeX, graphics, images}, % list of keywords
    colorlinks=true,       % false: boxed links; true: colored links
    linkcolor=blue,       % color of internal links
    citecolor=black,       % color of links to bibliography
    filecolor=black,        % color of file links
    urlcolor=purple,        % color of external links
    linktoc=page            % only page is linked

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .