创建 pdf 文件时出现 Doxygen 和 Latex 错误

Doxygen & Latex error while creating pdf file

我正在使用 Doxygen GUI 在 windows 下创建我的文档。这是我的项目文件夹 "D:\Users\Jorge\Desktop\":

Pract3Copia+
           |
           +--Documentation (Empty Directory)
           |
           +-- dfa.cpp
           |
           +-- dfa.hpp
           |
           +-- dfa.o
           |
           +-- dfaException.hpp
           |
           +-- dfaException.cpp
           |
           +-- dfaException.o
           |
           +-- state.cpp
           |
           +-- state.hpp
           |
           +-- state.o
           |
           +-- main.cpp
           |
           +-- main.o
           |
           +-- dfa.exe
           |
           +-- Makefile
           |
           +-- 1.dfa

Doxygen 完成文件创建后,我得到:

Documentation+ 
             |
             +-- Latex+ 
                      |
                      +-- annotated.tex
                      |
                      +-- classdfa.tex
                      |
                      +-- classdfa_exceptions.eps
                      |
                      +-- classdfa_exception.tex
                      |
                      +-- classstate.tex
                      |
                      +-- doxygen.sty
                      |
                      +-- hierarchy.tex
                      |
                      +-- make.bat
                      |
                      +-- Makefile
                      |
                      +-- refman.tex
                      |
                      +-- structconnection.tex

现在,我继续在 cmd 中执行 "make" 命令。但是我遇到了一些错误并且没有生成 .pdf 文件。我不知道这是如何工作的,所以我不太确定我应该如何解决它。我也没有在互联网上发现错误。谢谢

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>make

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>set Dir_Old=D:\Users\Jor
ge\Desktop\Pract3-copia\Documentation\latex

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>cd /D D:\Users\Jorge\Des
ktop\Pract3-copia\Documentation\latex\

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>del /s /f *.ps *.dvi *.a
ux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
Cant find D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex\*.p
s

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>pdflatex refman
"pdflatex" is not recognized as an internal or external command, operable program or batch file.

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>echo ----
----

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>makeindex refman.idx
"makeindex" is not recognized as an internal or external command, operable program or batch file.

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>echo ----
----

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>pdflatex refman
"pdflatex" is not recognized as an internal or external command, operable program or batch file.

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>setlocal enabledelayedex
pansion

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>set count=8

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>set content=X

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>for /F "tokens=*" %T in
('findstr /C:"Rerun LaTeX" refman.log') do set content="%~T"
FINDSTR: Cant open refman.log

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>if !content! == X for /F
 "tokens=*" %T in ('findstr /C:"Rerun to get cross-references right" refman.log'
) do set content="%~T"
FINDSTR: Cant open refman.log

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>if !content! == X goto :
skip

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>endlocal

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>makeindex refman.idx
"makeindex" is not recognized as an internal or external command, operable program or batch file.

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>pdflatex refman
"pdflatex" is not recognized as an internal or external command, operable program or batch file.

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>cd /D D:\Users\Jorge\Des
ktop\Pract3-copia\Documentation\latex

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>set Dir_Old=

D:\Users\Jorge\Desktop\Pract3-copia\Documentation\latex>

您需要安装 Latex 发行版才能生成 PDF 文件。我使用 MikTex。您应该已经安装了以下工具:

  • Latex 发行版(例如 MikTex)
  • Ghostscript
  • TCL 解释器(例如 ActiveTcl)