如何诊断由oxygen 1.8生成的LaTeX中的错误.x: LT@LL@FM@cr



自v1.6以来,我一直在使用Doxygen成功地为一个相当大的Fortran 90项目生成PDF文档。在最近升级到oxygen 1.8之后,pdflatex出现了一个我无法理解的错误。从refman.log:

.
.
.
<use classfate__source_a022bf629bdc1d3059ebd5fb86d13b4f4_icgraph.pdf>
Package pdftex.def Info: classfate__source_a022bf629bdc1d3059ebd5fb86d13b4f4_ic
graph.pdf used on input line 607.
(pdftex.def)             Requested size: 350.0pt x 65.42921pt.
)
(./classm__aerosol.tex
! Undefined control sequence.
<recently read> LT@LL@FM@cr 
l.25 ...1833ffa6f2fae54ededb}{ia-_-nsize}), \*
? ?
Type <return> to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.

查看classm__aerosol.tex的前25行,没有明显匹配的错误信息:

hypertarget{classm__aerosol}{section{m-_-aerosol Module Reference}
label{classm__aerosol}index{m-_-aerosol@{m-_-aerosol}}
}

Contains general aerosol-/related constants and routines.  

subsection*{Public Member Functions}
begin{DoxyCompactItemize}
item 
subroutine hyperlink{classm__aerosol_aa06c1f39c6bd34f22be92d21535f0320}{aerdis} (I-A-E-R-O, M-A-E-R-O, V-O-L, A-R-E-A, M-U, T-G-A-S, R-H-O, A-G-A-M-M-A, X-L-A-E-R, D-M-E-A-N, N-A-E-R, X-N-D-A-E-R, L-S-D-A-E-R)
begin{DoxyCompactList}smallitemem Return aerosol mass given a volume, based on aerosol size distribution function. end{DoxyCompactList}item 
real(kind=wp) function hyperlink{classm__aerosol_a2dff4ff413057e8788fba7270a30c093}{lamsed} (V-O-L, H, M-U-G, R-H-O-A-E-R, A-G-A-M-M-A, A-C-H-I, A-F-E-O, K-O, M-A-E-R, F-M-A-E-R, F-A-E-R-S-S, F-S-E-D-D-K)
begin{DoxyCompactList}smallitemem Calculate aerosol removal constant and interpolation factor between steady-/state and decaying aerosol correlations. end{DoxyCompactList}item 
pure real(kind=wp) function hyperlink{classm__aerosol_a6d0a04004f49c404c67e0aa69dd39ee1}{fdbend} (V-E-L, H-S-E-D, T-G, R-H-O-G, M-U-G, R-H-O-P-A-R, C-A-E-R-O, X-D-B-E-N-D, N90-J)
begin{DoxyCompactList}smallitemem Find total impaction efficiency for aerosol deposition considering 90-/degree bends in a flow path. end{DoxyCompactList}end{DoxyCompactItemize}
subsection*{Public Attributes}
begin{DoxyCompactItemize}
item 
integer, parameter hyperlink{classm__aerosol_a8f604b7ffe3c1833ffa6f2fae54ededb}{ia-_-nsize} = 30
item 
integer, parameter hyperlink{classm__aerosol_ae71813ecf0c7768af9d6292efb14774f}{ia-_-nmass} = 10
item 
real(kind=wp), dimension(hyperlink{classm__aerosol_a8f604b7ffe3c1833ffa6f2fae54ededb}{ia-_-nsize}), \*

没有明显匹配最近读取的块"LT@LL@FM@cr",我不知道足够的低级TeX来将其转换为可能实际存在于源文本中的内容。

怀疑这个问题可能已经在比Linux Mint (v1.8.1.2)附带的更高版本的oxygen中修复了,我构建了&从源代码安装了v1.8.3.1,更新了我的doxyfile,删除了旧文档并重新生成了它。我也得到了同样的错误

在refman.log中没有任何明显的内容表明LaTeX包丢失或损坏,我完全不知道是什么原因导致的

当你在谷歌上搜索时,这仍然会得到点击:doxygen missing $ inserted我想补充一点。

不要使用包含下划线(_)的PROJECT_NAME !

在简短地查看了一下氧的当前文档(我使用的是1.8.4)之后,它没有明确说明

这将很难解决,除非你提供更多的信息-可能使用errorcontextlines=9999建议在评论的问题。

作为第一个短的,不能找到的控制序列的名称(即LT@LL@FM@cr)是由长表包定义的(文档,第15页)-因此添加:

usepackage{longtable}

放到文档的序言部分可能会有帮助。

如果是这样,根据这里的氧气文档,在配置文件中添加以下内容应该可以达到目的:

EXTRA_PACKAGES=longtable

最新更新