Using latex, I got this error message:

Latex Error: Environment DoxyEnumerate undefined.

How can this be fixed?

I checked the refman.tex file, \usepackage{doxygen} is there. Below is what refman.tex looks like:

{\Large  Users' Guide}\\  
{\large Version 3.0}\\  
{\small Copyright \copyright2009,sc Ltd.}\\  
\chapter{Introduction }  
\label{index}\hypertarget{index}{}\input{index} % here when comes to index.tex file, I got the error message. 

In index.tex file:

The full set of E-L functions are also available for programming. The tool kit is made up of two high-/level, shared libraries.

\item e\-\_\-co  
\item e\-\_\-co\-\_\-gra  


  • latex code looks like: The tool kit is made up of two high-\/level, shared libraries. \begin{DoxyEnumerate} \item eyelink\-_\-core \item eyelink\-_\-core\-_\-graphics \end{DoxyEnumerate}
    – user1558064
    Sep 12 '12 at 18:05
  • Yes, I guess something is missing for latex to find DoxyEnumerate and other things related to Doxygen. But I don't know what thing is missing. If it is \usepackage, what package I should add to it? Thanks.
    – user1558064
    Sep 12 '12 at 18:08
  • 1
    Please read this: How does accepting an answer work?
    – rekire
    Sep 12 '12 at 19:31
  • @user1558064: Please read the FAQ. The link to it is right at the top of the page. Sep 12 '12 at 21:47
  • Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question.
    – Werner
    Sep 13 '12 at 17:12

You need to build your based on the file refman.tex. If I guess right you did not include the right file. Anyway I think that the next line will help you:


Related to your update try to copy all usepackage to your main document and the content of the refman.tex into your main document. You find the start of the content with the command \chapter.

In my file it looks so:

\chapter{Namespace Index}
\chapter{Class Index}
\chapter{Class Index}
\chapter{File Index}
\chapter{Namespace Documentation}

Hope that helps

  • Yes, I checked refman.tex file, \usepackage{doxygen} is listed there. Detail about the refman.tex and index.tex is given above. What else could cause this error? Thanks.
    – user1558064
    Sep 12 '12 at 18:32
  • 1
    The only thing I can think of is that you are not using the doxygen.sty file that doxygen generates, but maybe a customized file (or one from a very old doxygen release). Please check if this file contains the \newenvironment{DoxyEnumerate} command.
    – doxygen
    Sep 12 '12 at 21:44
  • yes, this is the reason for the error message I got. Thanks. I use doxygenWizard to genearate a new one. now it works again.
    – user1558064
    Sep 13 '12 at 13:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy