TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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  


share|improve this question

migrated from stackoverflow.com Sep 13 '12 at 14:42

This question came from our site for professional and enthusiast programmers.

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
See my answer and please remember to accept answers! – rekire Sep 12 '12 at 18:09
sorry for the silly question, how should I do to accept answers? – user1558064 Sep 12 '12 at 19:16
Please read this: How does accepting an answer work? – rekire Sep 12 '12 at 19:31
up vote 1 down vote accepted

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

share|improve this answer
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
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 posting your answer, you agree to the privacy policy and terms of service.