summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/expl3/l3font.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/expl3/l3font.dtx')
-rw-r--r--Master/texmf-dist/source/latex/expl3/l3font.dtx264
1 files changed, 0 insertions, 264 deletions
diff --git a/Master/texmf-dist/source/latex/expl3/l3font.dtx b/Master/texmf-dist/source/latex/expl3/l3font.dtx
deleted file mode 100644
index 2999b41ef4a..00000000000
--- a/Master/texmf-dist/source/latex/expl3/l3font.dtx
+++ /dev/null
@@ -1,264 +0,0 @@
-% \iffalse
-%% File: l3font.dtx Copyright (C) 1990-2011 LaTeX3 project
-%%
-%% It may be distributed and/or modified under the conditions of the
-%% LaTeX Project Public License (LPPL), either version 1.3c of this
-%% license or (at your option) any later version. The latest version
-%% of this license is in the file
-%%
-%% http://www.latex-project.org/lppl.txt
-%%
-%% This file is part of the ``expl3 bundle'' (The Work in LPPL)
-%% and all files in that bundle must be distributed together.
-%%
-%% The released version of this bundle is available from CTAN.
-%%
-%% -----------------------------------------------------------------------
-%%
-%% The development version of the bundle can be found at
-%%
-%% http://www.latex-project.org/svnroot/experimental/trunk/
-%%
-%% for those people who are interested.
-%%
-%%%%%%%%%%%
-%% NOTE: %%
-%%%%%%%%%%%
-%%
-%% Snapshots taken from the repository represent work in progress and may
-%% not work or may contain conflicting material! We therefore ask
-%% people _not_ to put them into distributions, archives, etc. without
-%% prior consultation with the LaTeX Project Team.
-%%
-%% -----------------------------------------------------------------------
-%
-%<*driver|package>
-\RequirePackage{l3names}
-%</driver|package>
-%\fi
-\GetIdInfo$Id: l3font.dtx 2223 2011-04-09 12:57:14Z will $
- {L3 Experimental Font Loading}
-%\iffalse
-%<*driver>
-%\fi
-\ProvidesFile{\filename.\filenameext}
- [\filedate\space v\fileversion\space\filedescription]
-%\iffalse
-\documentclass[full,checktest]{l3doc}
-\begin{document}
-\DocInput{l3font.dtx}
-\end{document}
-%</driver>
-% \fi
-%
-%
-% \title{The \textsf{l3font} package\thanks{This file
-% has version number \fileversion, last
-% revised \filedate.}\\
-% ``Fonts''}
-% \author{\Team}
-% \date{\filedate}
-% \maketitle
-%
-% \begin{documentation}
-%
-% This module covers basic font loading commands.
-% Functions are provided to load font faces and extract various
-% properties from them.
-%
-% Some features within are specific to \XeTeX\ and \LuaTeX; such functions
-% will be explicitly noted.
-%
-% This module is currently a work in progress as we incorporate \LaTeXe's
-% font loading into \pkg{expl3}. The successor to the NFSS
-% (tentatively denoted "xfss")
-% will provide
-% (backwards compatible) user-level functions for font selection.
-%
-% \section{Naming and scope}
-%
-% The "l3font" module largely provides commands for selecting and working
-% with typefaces selected at specific sizes.
-% (Many fonts have different shapes intended for use at different physical
-% sizes.)
-% We call a font at some size a "fontface" which is the function prefix
-% used for these commands and also should be the variable suffix for
-% denoting variables of this type.
-%
-% We reserve for future use the module name and variable type "font" for
-% higher-level font selection commands, such as for font families which have
-% linked bold, italic, etc., shapes with automatically-chosen optical sizes.
-% (I.e., what is currently provided in \LaTeXe\ by the NFSS.)
-%
-%
-% \section{Functions}
-%
-%
-% \begin{function}{\fontface_set:Nnn,\fontface_gset:Nnn,
-% \fontface_set:cnn,\fontface_gset:cnn}
-% \begin{syntax}
-% "\fontface_set:Nnn" <font cs> \Arg{font name} \Arg{font size}
-% "\fontface_set:Nnn \l_tenrm_fontface {cmr10} {10pt}"
-% \end{syntax}
-% Defines <cs> as a command to select the font defined by <font name>
-% at the <font size>. If the <font size> is empty, the font will be loaded
-% at its design size, which is usually specified by the font designer.
-% For fonts without a typical design size, this will usually be 10\,pt.
-% \end{function}
-%
-% \begin{function}{\fontface_set_eq:NN,\fontface_gset_eq:NN}
-% \begin{syntax}
-% "\fontface_set_eq:NN" <font cs1> <font cs2>
-% \end{syntax}
-% Copies <font cs2> into <font cs1>.
-% \end{function}
-%
-% \begin{function}{\fontface_set_to_current:N,\fontface_gset_to_current:N}
-% \begin{syntax}
-% "\fontface_set_to_current:N" <font cs>
-% \end{syntax}
-% Sets <font cs> to the font that is currently selected.
-% \end{function}
-%
-% \begin{function}{ \fontface_if_null:N / (pTF) }
-% \begin{syntax}
-% "\fontface_if_null:NTF" <font cs> \Arg{true} \Arg{false}
-% \end{syntax}
-% Conditional to switch whether the control sequence is the `null font'.
-% \end{function}
-%
-% \begin{function}{\font_suppress_not_found_error:,\font_enable_not_found_error:}
-% \begin{syntax}
-% "\font_suppress_not_found_error:"
-% "\font_enable_not_found_error:"
-% \end{syntax}
-% \emph{Not available in pdf\TeX.}
-% In LuaTeX or XeTeX, the error when a font is selected but does not exist
-% can be toggled with these two commands. The non-existance of a font can
-% then be tested with the "\fontface_if_null_p:N" conditional.
-% \end{function}
-%
-%
-%
-%
-% \end{documentation}
-%
-% \begin{implementation}
-%
-% \section{\pkg{l3font} implementation}
-%
-% \begin{macrocode}
-%<*package>
-\ProvidesExplPackage
- {\filename}{\filedate}{\fileversion}{\filedescription}
-\package_check_loaded_expl:
-%</package>
-%<*initex|package>
-% \end{macrocode}
-%
-% \TestFiles{m3font001.lvt}
-%
-% \begin{macro}{\fontface_set:Nnn,\fontface_gset:Nnn,
-% \fontface_set:cnn,\fontface_gset:cnn}
-% \UnitTested
-% \begin{arguments}
-% \item csname \item fontname \item size (dimension)
-% \end{arguments}
-% Note that the fontname needs to be escaped appropriately in "xetex"
-% or "luatex".
-% \begin{macrocode}
-\cs_new_protected:Npn \fontface_set:Nnn #1#2#3 {
- \tex_font:D #1 = #2 ~at~ #3 \scan_stop:
-}
-% \end{macrocode}
-%
-% \begin{macrocode}
-\cs_new_protected:Npn \fontface_gset:Nnn #1#2#3 {
- \tex_global:D \tex_font:D #1 = #2 ~at~ #3 \scan_stop:
-}
-% \end{macrocode}
-%
-% \begin{macrocode}
-\cs_generate_variant:Nn \fontface_set:Nnn {c}
-\cs_generate_variant:Nn \fontface_gset:Nnn {c}
-% \end{macrocode}
-% \end{macro}
-%
-%
-% \begin{macro}{\fontface_set_eq:NN}
-% \UnitTested
-% \begin{macrocode}
-\cs_set_eq:NN \fontface_set_eq:NN \tex_let:D
-\cs_set_protected:Npn \fontface_gset_eq:NN { \tex_global:D \tex_let:D }
-% \end{macrocode}
-% \end{macro}
-%
-%
-% \begin{macro}{\fontface_set_to_current:N,\fontface_gset_to_current:N}
-% \UnitTested
-% \begin{macrocode}
-\cs_set:Npn \fontface_set_to_current:N #1 {
- \exp_after:wN \fontface_set_eq:NN \exp_after:wN #1 \tex_the:D \tex_font:D
-}
-\cs_set:Npn \fontface_gset_to_current:N #1 {
- \tex_global:D \exp_after:wN \fontface_set_eq:NN \exp_after:wN #1 \tex_the:D \tex_font:D
-}
-% \end{macrocode}
-% \end{macro}
-%
-%
-% \begin{macro}{\font_suppress_not_found_error:,\font_enable_not_found_error:}
-% \UnitTested ^^A THIS IS A BIG LIE! NOT TESTED, BUT OH WELL
-% \begin{macrocode}
-\luatex_if_engine:TF
-{
- \cs_new:Npn \font_suppress_not_found_error:
- {\luatexsuppressfontnotfounderror=\c_one}
- \cs_new:Npn \font_enable_not_found_error:
- {\luatexsuppressfontnotfounderror=\c_zero}
-}
-{
- \xetex_if_engine:TF
- {
- \cs_new:Npn \font_suppress_not_found_error:
- {\suppressfontnotfounderror=\c_one}
- \cs_new:Npn \font_enable_not_found_error:
- {\suppressfontnotfounderror=\c_zero}
- }
- {
- \cs_new:Npn \font_suppress_not_found_error:
- {
- \msg_kernel_warning:nnx {l3font} {cmd-pdftex-unavail}
- {\font_suppress_not_found_error:}
- }
- }
-}
-\msg_kernel_new:nnn {l3font} {cmd-pdftex-unavail} {
- The~ command~ `\exp_not:n{#1}'~ is~ not~ available~ for~ the~ pdfTeX~ format.
-}
-% \end{macrocode}
-% \end{macro}
-%
-%
-% \begin{macro}[pTF]{\fontface_if_null:N}
-% \UnitTested
-% \begin{macrocode}
-\prg_new_conditional:Nnn \fontface_if_null:N {p,TF,T,F} {
- \if_meaning:w #1 \tex_nullfont:D
- \prg_return_true:
- \else:
- \prg_return_false:
- \fi:
-}
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macrocode}
-%</initex|package>
-% \end{macrocode}
-%
-%
-% \end{implementation}
-% \PrintIndex
-%
-% \endinput