Skip to content

Commit

Permalink
repair fancyhdr tests
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Jan 10, 2025
1 parent 1a180ab commit 2e8faef
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions testfiles-luatex/test-mc-manual-para-split.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
\makeatletter
%Avoid killing of para hooks:
\def\f@nch@clear@par@hook:n#1{}
\def\f@nch@restore@parhook#1{}
\def\f@nch@saveclr@parhook#1{}
\pdfmanagement_add:nnn {Catalog} {Lang}{(en-UK)}
\pdfmanagement_add:nnn {Info} {Title}{(Title)}

Expand Down
2 changes: 2 additions & 0 deletions testfiles-luatex/test-struct-user.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
\ExplSyntaxOn
%Avoid killing of para hooks:
\def\f@nch@clear@par@hook:n#1{}
\def\f@nch@restore@parhook#1{}
\def\f@nch@saveclr@parhook#1{}
\cfoot{\leavevmode\tag_mc_end_push:\tagmcbegin{artifact=pagination}\thepage\tagmcend\tag_mc_begin_pop:n{artifact}}

\pdfmanagement_add:nnn {Catalog}{Lang}{(en-UK)}
Expand Down
3 changes: 2 additions & 1 deletion testfiles-luatex/testauxtree.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
\makeatletter
%Avoid killing of para hooks:
\def\f@nch@clear@par@hook:n#1{}

\def\f@nch@restore@parhook#1{}
\def\f@nch@saveclr@parhook#1{}
\cfoot{\leavevmode\tag_mc_end_push:\tagmcbegin{artifact=pagination}\thepage\tagmcend\tag_mc_begin_pop:n{artifact}}
\pdfmanagement_add:nnn{Info}{Title}{(title)}
\ExplSyntaxOff\makeatother
Expand Down
2 changes: 2 additions & 0 deletions testfiles-pdftex/test-mc-manual-para-split.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
\makeatletter
%Avoid killing of para hooks:
\def\f@nch@clear@par@hook:n#1{}
\def\f@nch@restore@parhook#1{}
\def\f@nch@saveclr@parhook#1{}
\pdfmanagement_add:nnn {Catalog} {Lang}{(en-UK)}
\pdfmanagement_add:nnn {Info} {Title}{(Title)}

Expand Down
2 changes: 2 additions & 0 deletions testfiles-pdftex/test-struct-user.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
\makeatletter
%Avoid killing of para hooks:
\def\f@nch@clear@par@hook:n#1{}
\def\f@nch@restore@parhook#1{}
\def\f@nch@saveclr@parhook#1{}
\cfoot{\leavevmode\tag_mc_end_push:\tagmcbegin{artifact=pagination}\thepage\tagmcend\tag_mc_begin_pop:n{artifact}}

\pdfmanagement_add:nnn {Catalog}{Lang}{(en-UK)}
Expand Down
2 changes: 2 additions & 0 deletions testfiles-pdftex/testauxtree.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
\makeatletter
%Avoid killing of para hooks:
\def\f@nch@clear@par@hook:n#1{}
\def\f@nch@restore@parhook#1{}
\def\f@nch@saveclr@parhook#1{}
\cfoot{\leavevmode\tag_mc_end_push:\tagmcbegin{artifact=pagination}\thepage\tagmcend\tag_mc_begin_pop:n{artifact}}
\pdfmanagement_add:nnn{Info}{Title}{(title)}
\ExplSyntaxOff\makeatother
Expand Down
2 changes: 2 additions & 0 deletions testfiles/test-fancyhdr.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
\makeatletter\ExplSyntaxOn
%Avoid fancyhdr killing of para hooks:
\def\f@nch@clear@par@hook:n#1{}
\def\f@nch@restore@parhook#1{}
\def\f@nch@saveclr@parhook#1{}
\makeatother\ExplSyntaxOff
\pagestyle{fancy}
\lhead{some \emph{text} }
Expand Down

0 comments on commit 2e8faef

Please sign in to comment.