任何表选项都会导致编译失败

任何表选项都会导致编译失败

我遇到了一个无法调试的问题。这种情况确实发生了,但在额外的编译之后就消失了。我无法找出哪个最小代码产生了这个问题,因为我无法重现它。我加载的代码是我的 latex 模板,它太大了,无法在这里显示。目前我做了很多修改来支持 lualatex,但这个错误在 2015 年也发生过,但那时我没有尝试寻找根源。

Undefined control sequence.
\@@FBset@ ->\global \c@FBcntd
l.27 \begin{table}[h]
The control sequence at the end of the top line
of your error message was never \def’ed.

知道这个代码存在于哪个包中吗?这将有助于我进一步调试它。我在 Windows 上使用 lualatex 编译了最新的 texlive。但我知道它早在 2015 年使用 pdflatex 时就在我的代码中被发现了。

编辑:我可以在辅助文件中找到代码

\gdef\@@FBset@{\global\c@FBcnta}

但仍然不知道它是如何到达那里的。

编辑:由于它是来自 floatrow 的代码的信息,我可以找到 MWE:

% !TeX program = lualatex
\documentclass[]{scrbook}
\usepackage{floatrow}
\floatsetup{%
    style=plain,%
    facing=yes, % different layout for even and odd pages if twoside is on
}
\begin{document}

\pagenumbering{alph}
\pagestyle{empty}
\begin{table}[h]
\end{table}     

\end{document}

相关内容