-
-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
1,716 additions
and
0 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
required/latex-lab/testfiles-math-luatex/math-20-alt-noluamml.pvt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
Oops, something went wrong.