Skip to content

Commit 5962260

Browse files
committed
Fix for creating the manual with older versions of LaTeX
1 parent faecd64 commit 5962260

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

templates/latex/doxygen.sty

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
\int_new:N \g__doxy_nohyper_int
3535
\AtBeginDocument
3636
{
37-
\renewenvironment{tblrNoHyper}
37+
\IfPackageAtLeastTF{tabularray}{2024-02-16}
38+
{
39+
\renewenvironment{tblrNoHyper}
3840
{
3941
\int_compare:nNnT {\g__doxy_nohyper_int} = {0} {\begin{NoHyper}}
4042
\int_gincr:N \g__doxy_nohyper_int
@@ -43,6 +45,10 @@
4345
\int_gdecr:N \g__doxy_nohyper_int
4446
\int_compare:nNnT {\g__doxy_nohyper_int} = {0} {\end{NoHyper}}
4547
}
48+
}
49+
{
50+
%older version, doesn't provide tblrNoHyper
51+
}
4652
}
4753
\ExplSyntaxOff
4854

0 commit comments

Comments
 (0)