Debian Codegraph @

texmf-dist/source/latex/unicode-math/unicode-math.dtx

raw
1 %%^^A%% unicode-math.dtx -- part of UNICODE-MATH <wspr.io/unicode-math>
2 %%^^A%% Metadata for the package code, including files and versioning
3
4 % \section{Package metadata}
5 %
6 % List all \texttt{dtx} files for (a) the \texttt{ins} file and~(b) typesetting the code.
7 % \begin{macrocode}
8 %<*dtx>
9 \def\DTXFILES{
10 \DTX{unicode-math.dtx}
11 \DTX{um-code-opening.dtx}
12 \DTX{um-code-variables.dtx}
13 \DTX{um-code-api.dtx}
14 \DTX{um-code-ui.dtx}
15 \DTX{um-code-pkgopt.dtx}
16 \DTX{um-code-msg.dtx}
17 \DTX{um-code-usv.dtx}
18 \DTX{um-code-setchar.dtx}
19 \DTX{um-code-mathtext.dtx}
20 \DTX{um-code-main.dtx}
21 \DTX{um-code-fontopt.dtx}
22 \DTX{um-code-fontparam.dtx}
23 \DTX{um-code-mathmap.dtx}
24 \DTX{um-code-sym-commands.dtx}
25 \DTX{um-code-alphabets.dtx}
26 \DTX{um-code-primes.dtx}
27 \DTX{um-code-sscript.dtx}
28 \DTX{um-code-compat.dtx}
29 \DTX{um-code-amsmath.dtx}
30 \DTX{um-code-epilogue.dtx}
31 }
32 %</dtx>
33 % \end{macrocode}
34 %
35 % Now exit if we're using plain \TeX\ when loading this file with \texttt{unicode-math.ins}.
36 % \begin{macrocode}
37 %<*dtx>
38 \ifx\plainoutput\undefined\else\expandafter\endinput\fi
39 %</dtx>
40 % \end{macrocode}
41 %
42 % Metadata for documentation; the title and authors of the package.
43 % \begin{macrocode}
44 %<*dtx>
45 \title{
46 Experimental Unicode mathematical typesetting:
47 The \pkg{unicode-math} package
48 }
49 \author{
50 \scshape Will Robertson\\
51 \itshape Philipp Stephani, Joseph Wright, Khaled Hosny, and others\\
52 \url{http://github.com/wspr/unicode-math}
53 }
54 %</dtx>
55 % \end{macrocode}
56 %
57 % Declare the package version and date.
58 % \begin{macrocode}
59 %<base>\RequirePackage{expl3}
60 %<base>\ProvidesExplPackage{unicode-math}
61 %<package&XE>\ProvidesExplPackage{unicode-math-xetex}
62 %<package&LU>\ProvidesExplPackage{unicode-math-luatex}
63 %<base|package> {2023/08/13} {0.8r} {Unicode maths in XeLaTeX and LuaLaTeX}
64 % \end{macrocode}
65 %
66 % Here the version and date are setup for typesetting the documentation.
67 % \begin{macrocode}
68 %<*dtx>
69 \date{
70 \def\filedate{2023/08/13}
71 \def\fileversion{0.8r}
72 \filedate \qquad \fileversion
73 }
74 %</dtx>
75 % \end{macrocode}
76 %
77 % \section{The \texttt{unicode-math.sty} loading file}
78 %
79 % The \texttt{unicode-math.sty} file is a stub which loads necessary packages
80 % and then splits into a XeTeX- or LuaTeX-specific version of the package.
81 %
82 % \begin{macrocode}
83 %<base>\sys_if_engine_luatex:T
84 %<base> {
85 %<base> \RequirePackageWithOptions{unicode-math-luatex}
86 %<base> \endinput
87 %<base> }
88 %<base>\sys_if_engine_xetex:T
89 %<base> {
90 %<base> \RequirePackageWithOptions{unicode-math-xetex}
91 %<base> \endinput
92 %<base> }
93 %<base>\msg_new:nnn {unicode-math} {unsupported-engine}
94 %<base> { Cannot~ be~ run~ with~ \c_sys_engine_str!\\ Use~ XeLaTeX~ or~ LuaLaTeX~ instead. }
95 %<base>\msg_error:nn {unicode-math} {unsupported-engine}
96 %<base>\endinput
97 % \end{macrocode}
98
99 \endinput
100
101 % /©
102 %
103 % ------------------------------------------------
104 % The UNICODE-MATH package <wspr.io/unicode-math>
105 % ------------------------------------------------
106 % This package is free software and may be redistributed and/or modified under
107 % the conditions of the LaTeX Project Public License, version 1.3c or higher
108 % (your choice): <http://www.latex-project.org/lppl/>.
109 % ------------------------------------------------
110 % Copyright 2006-2019 Will Robertson, LPPL "maintainer"
111 % Copyright 2010-2017 Philipp Stephani
112 % Copyright 2011-2017 Joseph Wright
113 % Copyright 2012-2015 Khaled Hosny
114 % ------------------------------------------------
115 %
116 % ©/