Skip to content

Commit

Permalink
fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Feb 12, 2025
1 parent b5509a6 commit 4bd5f47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tagpdf-struct.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_struct_fill_kid_key:n #1 %#1 is the struct num
{
\sys_if_engine_luatex:TF
\sys_if_engine_luatex:F
{
\seq_clear:N \l_@@_tmpa_seq
\seq_map_inline:cn { g_@@_struct_kids_#1_seq }
Expand Down
3 changes: 3 additions & 0 deletions tagpdf.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,11 @@
%</base>
% \end{macrocode}
%\section{Package options}
% The boolean is kept for now for compability, can go in 2026.
% \begin{macrocode}
%<*package>
\bool_new:N\g_@@_mode_lua_bool
\sys_if_engine_luatex:T {\bool_gset_true:N \g_@@_mode_lua_bool}
\DeclareOption {luamode} { }
\DeclareOption {genericmode}{ }
\ProcessOptions
Expand Down

0 comments on commit 4bd5f47

Please sign in to comment.