# How to solve Latex Error: DoxyEnumerate undefined

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:

\documentclass[a4paper]{book}
\usepackage{a4wide}
\usepackage{makeidx}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{times}
\ifx\pdfoutput\undefined
\usepackage[ps2pdf,
pagebackref=true,
]{hyperref}
\usepackage{pspicture}
\else
\usepackage[pdftex,
pagebackref=true,
]{hyperref}
\fi
\usepackage{doxygen}
\makeindex
\setcounter{tocdepth}{1}
\renewcommand{\footrulewidth}{0.4pt}
\begin{document}
\begin{titlepage}
\vspace*{7cm}
\begin{center}
{\Large  Users' Guide}\\
\vspace*{1cm}
{\large Version 3.0}\\
\vspace*{0.5cm}
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{roman}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\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.

\begin{DoxyEnumerate}
\item e\-\_\-co
\item e\-\_\-co\-\_\-gra
\end{DoxyEnumerate}


Thanks.

-

## migrated from stackoverflow.comSep 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
sorry for the silly question, how should I do to accept answers? –  user1558064 Sep 12 '12 at 19:16

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:

\usepackage{doxygen}


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}
\input{namespaces}
\chapter{Class Index}
\input{hierarchy}
\chapter{Class Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Namespace Documentation}
\input{...


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
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