summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/unicode-math-testsuite.ltx
blob: e6e0d845bd8a8ad323d57a1c5fc2a8de745af5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
\documentclass{article}
\usepackage{xltxtra,fancyvrb,geometry,calc}
\usepackage[multidot]{grffile}
\geometry{margin=2cm,a4paper}
\setmainfont{TeX Gyre Pagella}
\setmonofont{Consolas}

\def\prefix{}
\newcommand\inserttest[1]{%
  \subsection{Test #1}
  \begin{minipage}{0.5\textwidth}
  \VerbatimInput{#1\prefix.ltx}
  \end{minipage}
  \hfill
  \begin{minipage}{8cm+4pt}
    \fboxsep=1pt
    \fboxrule=1pt
    \fbox{\includegraphics[width=8cm]{../testfiles/#1\prefix.safe.pdf}}
  \end{minipage}
}

\pagestyle{empty}
\begin{document}
\title{The \textsf{unicode-math} test suite}
\author{Will Robertson}
\date{Compiled: \today}
\maketitle
\thispagestyle{empty}

\section{Preamble}

\begin{minipage}{0.5\textwidth}
The following pieces of output are generated from the code shown.
As well as being good minimal examples, these tests are useful to ensure that new bugs don't affect old behaviour.
When the test suite is run, the new output is compared pixel by pixel with that shown here and warnings produced if the outputs are not identical.
\end{minipage}

\section{Test files for both engines}

\input{umtest-suite-F.tex}
\def\prefix{}

\section{Lua\LaTeX\ test files}

\input{umtest-suite-L.tex}

\section{\XeLaTeX\ test files}

\input{umtest-suite-X.tex}

\end{document}