summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fontspec/fontspec.dtx
blob: e5a6f2f111b3f8c82698dc0be78a9d0c7afeb156 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
%%^^A%%  fontspec.dtx -- part of FONTSPEC <wspr.io/fontspec>
%%^^A%%  Metadata for the package, including files and versioning

% \section{Package declaration}
%
% List all \texttt{dtx} files for running the \texttt{ins} file
% and typesetting the code.
%    \begin{macrocode}
%<*dtx>
\gdef\FONTSPECDTX{
  \DTX{fontspec.dtx}
  \DTX{fontspec-code-load.dtx}
  \DTX{fontspec-code-vars.dtx}
  \DTX{fontspec-code-msg.dtx}
  \DTX{fontspec-code-opening.dtx}
  \DTX{fontspec-code-fontload.dtx}
  \DTX{fontspec-code-interfaces.dtx}
  \DTX{fontspec-code-user.dtx}
  \DTX{fontspec-code-api.dtx}
  \DTX{fontspec-code-internal.dtx}
  \DTX{fontspec-code-opentype.dtx}
  \DTX{fontspec-code-graphite.dtx}
  \DTX{fontspec-code-keyval.dtx}
  \DTX{fontspec-code-feat-opentype.dtx}
  \DTX{fontspec-code-scripts.dtx}
  \DTX{fontspec-code-lang.dtx}
  \DTX{fontspec-code-feat-aat.dtx}
  \DTX{fontspec-code-enc.dtx}
  \DTX{fontspec-code-math.dtx}
  \DTX{fontspec-code-closing.dtx}
  \DTX{fontspec-code-xfss.dtx}
}
%</dtx>
%    \end{macrocode}
%
% Now exit if we're using plain \TeX; this would usually be the case when
% loading this file with \texttt{fontspec.ins}.
%    \begin{macrocode}
%<*dtx>
\def\tmpa{plain}
\ifx\tmpa\fmtname\expandafter\endinput\fi
%</dtx>
%    \end{macrocode}
%
% Metadata for documentation; the official title and authors of the package.
%    \begin{macrocode}
%<*dtx>
\title{
  The \textsf{fontspec} package\\
  Font selection for \XeLaTeX\ and \LuaLaTeX
}
\author{
   \textsc{Will Robertson}\\
   With contributions by Khaled Hosny,\\
   Philipp Gesang, Joseph Wright, and others.\\
   \url{http://wspr.io/fontspec/}
}
%</dtx>
%    \end{macrocode}
%
% Declare the package version and date for each of the \texttt{.sty} files generated.
% In addition, declare the version and date for this \texttt{.dtx} file.
%    \begin{macrocode}
%<fontspec>\RequirePackage{xparse}
%<fontspec&load>\ProvidesExplPackage{fontspec}%
%<fontspec&XE>\ProvidesExplPackage{fontspec-xetex}%
%<fontspec&LU>\ProvidesExplPackage{fontspec-luatex}%
%<*dtx>
\RequirePackage{xparse}
\ProvidesExplFile{fontspec.dtx}
%</dtx>
%<*fontspec>
  {2020/02/03}{2.7h}{Font selection for XeLaTeX and LuaLaTeX}
%</fontspec>
%    \end{macrocode}
%
% Here the version and date are setup for typesetting the documentation.
%    \begin{macrocode}
%<*dtx>
\GetFileInfo{fontspec.dtx}
\date{\filedate \qquad \fileversion}
%</dtx>
%    \end{macrocode}
%
% \subsection{\textsf{Lua} header}
%
%    \begin{macrocode}
%<lua>fontspec          = fontspec or {}
%<lua>local fontspec    = fontspec
%<lua>fontspec.module   = {
%<lua>    name          = "fontspec",
%<lua>    version       = "2.7h",
%<lua>    date          = "2020/02/03",
%<lua>    description   = "Font selection for XeLaTeX and LuaLaTeX",
%<lua>    author        = "Khaled Hosny, Philipp Gesang, Will Robertson",
%<lua>    copyright     = "Khaled Hosny, Philipp Gesang, Will Robertson",
%<lua>    license       = "LPPL v1.3c"
%<lua>}
%    \end{macrocode}

\endinput

% /©
% ------------------------------------------------
% The FONTSPEC package  <wspr.io/fontspec>
% ------------------------------------------------
% Copyright  2004-2020  Will Robertson, LPPL "maintainer"
% Copyright  2009-2015  Khaled Hosny
% Copyright  2013       Philipp Gesang
% Copyright  2013-2016  Joseph Wright
% ------------------------------------------------
% This package is free software and may be redistributed and/or modified under
% the conditions of the LaTeX Project Public License, version 1.3c or higher
% (your choice): <http://www.latex-project.org/lppl/>.
% ------------------------------------------------
% ©/