Skip to content

Commit

Permalink
add test files
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Oct 27, 2024
1 parent 4bff2df commit bf44926
Show file tree
Hide file tree
Showing 4 changed files with 1,716 additions and 0 deletions.
57 changes: 57 additions & 0 deletions required/latex-lab/testfiles-math-luatex/math-20-alt-noluamml.pvt
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
% template for math reading.
\ExplSyntaxOn \sys_gset_rand_seed:n{1000} \ExplSyntaxOff
\DocumentMetadata
{
uncompress,testphase={phase-III,title,math},
%pdfversion=1.7,
%pdfstandard=ua-1
pdfversion=2.0,
pdfstandard=ua-2
}
\input{regression-test}

\documentclass{article}
\makeatletter
\ExplSyntaxOn
\tl_put_right:Nn\cdp@list{\cdp@elt {TU}{lmr}{m}{n}}
\ExplSyntaxOff
\makeatother

\usepackage{unicode-math}

\title{Test math tagging \jobname}

% global setups
% rolemap mathml to Span default false (probably senseless)
%\tagpdfsetup{role/mathml-tags}

% suppress loading of luamml
\tagpdfsetup{math/mathml/luamml/load=false} %

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

% suppress mathml-AF reading
\tagpdfsetup{math/mathml/sources=} %

% enable structure elements
%\tagpdfsetup{math/mathml/structelem} %

\begin{document}
% local settings. Can also be in the preamble but used here for clarity

% alt text, default currently false if not ua-1
\tagpdfsetup{math/alt/use = true}

% suppress tex source AF
\tagpdfsetup{math/tex/AF=false}

% suppress attaching of mathml-AF (local setting)
% \tagpdfsetup{math/mathml/AF=false}

inline $E=mc^2$

display
\[a^2+b^2=c^2\]

\end{document}
Loading

0 comments on commit bf44926

Please sign in to comment.