我使用 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>