| 1 |
%%^^A%% fontspec.dtx -- part of FONTSPEC <latex3.github.io/fontspec> |
| 2 |
%%^^A%% Metadata for the package, including files and versioning |
| 3 |
|
| 4 |
% \section{Package declaration} |
| 5 |
% |
| 6 |
% List all \texttt{dtx} files for running the \texttt{ins} file |
| 7 |
% and typesetting the code. |
| 8 |
% \begin{macrocode} |
| 9 |
%<*dtx> |
| 10 |
\gdef\FONTSPECDTX{ |
| 11 |
\DTX{fontspec.dtx} |
| 12 |
\DTX{fontspec-code-load.dtx} |
| 13 |
\DTX{fontspec-code-vars.dtx} |
| 14 |
\DTX{fontspec-code-msg.dtx} |
| 15 |
\DTX{fontspec-code-opening.dtx} |
| 16 |
\DTX{fontspec-code-fontload.dtx} |
| 17 |
\DTX{fontspec-code-interfaces.dtx} |
| 18 |
\DTX{fontspec-code-user.dtx} |
| 19 |
\DTX{fontspec-code-api.dtx} |
| 20 |
\DTX{fontspec-code-internal.dtx} |
| 21 |
\DTX{fontspec-code-opentype.dtx} |
| 22 |
\DTX{fontspec-code-graphite.dtx} |
| 23 |
\DTX{fontspec-code-keyval.dtx} |
| 24 |
\DTX{fontspec-code-feat-opentype.dtx} |
| 25 |
\DTX{fontspec-code-scripts.dtx} |
| 26 |
\DTX{fontspec-code-lang.dtx} |
| 27 |
\DTX{fontspec-code-feat-aat.dtx} |
| 28 |
\DTX{fontspec-code-enc.dtx} |
| 29 |
\DTX{fontspec-code-math.dtx} |
| 30 |
\DTX{fontspec-code-closing.dtx} |
| 31 |
\DTX{fontspec-code-xfss.dtx} |
| 32 |
} |
| 33 |
%</dtx> |
| 34 |
% \end{macrocode} |
| 35 |
% |
| 36 |
% Now exit if we're using plain \TeX; this would usually be the case when |
| 37 |
% loading this file with \texttt{fontspec.ins}. |
| 38 |
% \begin{macrocode} |
| 39 |
%<*dtx> |
| 40 |
\def\tmpa{plain} |
| 41 |
\ifx\tmpa\fmtname\expandafter\endinput\fi |
| 42 |
%</dtx> |
| 43 |
% \end{macrocode} |
| 44 |
% |
| 45 |
% Metadata for documentation; the official title and authors of the package. |
| 46 |
% \begin{macrocode} |
| 47 |
%<*dtx> |
| 48 |
\title{ |
| 49 |
The \textsf{fontspec} package\\ |
| 50 |
Font selection for \XeLaTeX\ and \LuaLaTeX |
| 51 |
} |
| 52 |
\author{ |
| 53 |
\textsc{Will Robertson}\\ |
| 54 |
With contributions by Khaled Hosny,\\ |
| 55 |
Philipp Gesang, Joseph Wright, and others.\\ |
| 56 |
\url{http://latex3.github.io/fontspec/} |
| 57 |
} |
| 58 |
%</dtx> |
| 59 |
% \end{macrocode} |
| 60 |
% |
| 61 |
% Declare the package version and date for each of the \texttt{.sty} files generated. |
| 62 |
% In addition, declare the version and date for this \texttt{.dtx} file. |
| 63 |
% \begin{macrocode} |
| 64 |
%<fontspec>\RequirePackage{xparse} |
| 65 |
%<fontspec&load>\ProvidesExplPackage{fontspec}% |
| 66 |
%<fontspec&XE>\ProvidesExplPackage{fontspec-xetex}% |
| 67 |
%<fontspec&LU>\ProvidesExplPackage{fontspec-luatex}% |
| 68 |
%<*dtx> |
| 69 |
\ProvidesExplFile{fontspec.dtx} |
| 70 |
%</dtx> |
| 71 |
%<*fontspec> |
| 72 |
{2025/09/29}{2.9g}{Font selection for XeLaTeX and LuaLaTeX} |
| 73 |
%</fontspec> |
| 74 |
% \end{macrocode} |
| 75 |
% |
| 76 |
% Here the version and date are setup for typesetting the documentation. |
| 77 |
% \begin{macrocode} |
| 78 |
%<*dtx> |
| 79 |
\GetFileInfo{fontspec.dtx} |
| 80 |
\date{\filedate \qquad \fileversion} |
| 81 |
%</dtx> |
| 82 |
% \end{macrocode} |
| 83 |
% |
| 84 |
% \subsection{\textsf{Lua} header} |
| 85 |
% |
| 86 |
% \begin{macrocode} |
| 87 |
%<lua>fontspec = fontspec or {} |
| 88 |
%<lua>local fontspec = fontspec |
| 89 |
%<lua>fontspec.module = { |
| 90 |
%<lua> name = "fontspec", |
| 91 |
%<lua> version = "2.9g", |
| 92 |
%<lua> date = "2025/09/29", |
| 93 |
%<lua> description = "Font selection for XeLaTeX and LuaLaTeX", |
| 94 |
%<lua> author = "Khaled Hosny, Philipp Gesang, Will Robertson", |
| 95 |
%<lua> copyright = "Khaled Hosny, Philipp Gesang, Will Robertson", |
| 96 |
%<lua> license = "LPPL v1.3c" |
| 97 |
%<lua>} |
| 98 |
% \end{macrocode} |
| 99 |
|
| 100 |
\endinput |
| 101 |
|
| 102 |
% /© |
| 103 |
% ------------------------------------------------ |
| 104 |
% The FONTSPEC package <latex3.github.io/fontspec> |
| 105 |
% ------------------------------------------------ |
| 106 |
% Copyright 2022-2025 The LaTeX project, LPPL "maintainer" |
| 107 |
% Copyright 2004-2022 Will Robertson |
| 108 |
% Copyright 2009-2015 Khaled Hosny |
| 109 |
% Copyright 2013 Philipp Gesang |
| 110 |
% Copyright 2013-2016 Joseph Wright |
| 111 |
% ------------------------------------------------ |
| 112 |
% This package is free software and may be redistributed and/or modified under |
| 113 |
% the conditions of the LaTeX Project Public License, version 1.3c or higher |
| 114 |
% (your choice): <http://www.latex-project.org/lppl/>. |
| 115 |
% ------------------------------------------------ |
| 116 |
% ©/ |