Skip to content

Commit

Permalink
new try for pdf test
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Nov 20, 2024
1 parent a13cde9 commit cba71b8
Show file tree
Hide file tree
Showing 2 changed files with 612 additions and 0 deletions.
35 changes: 35 additions & 0 deletions testfiles-lua/test_structnum-pdf.pvt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
\ExplSyntaxOn
\sys_gset_rand_seed:n{42}
\ExplSyntaxOff
\DocumentMetadata{
lang=en,
testphase={phase-III,math},
pdfversion=2.0,
pdfstandard=ua-2,
pdfstandard=a-4f,
uncompress
}
\input{regression-test}
\documentclass{article}

\usepackage{unicode-math}

% suppress writing of luamml-mathml
\tagpdfsetup{math/mathml/luamml/write=false} %

% suppress mathml-AF reading
\tagpdfsetup{math/mathml/sources=} %
\tagpdfsetup{math/mathml/AF=false}
\begin{document}
\ExplSyntaxOn
test
%\luamml_structelem:
%$a = b \quad
% \tagstructbegin{tag=mtext,stash}\tagmcbegin{}
% \luamml_annotate:en{nucleus=true,structnum=\tag_get:n{struct_num}}
% {\mbox{some~text~with~\emph{structure}}}
% \tagmcend\tagstructend
%$
\ExplSyntaxOff
\end{document}

Loading

0 comments on commit cba71b8

Please sign in to comment.