summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expl3/l3font.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/expl3/l3font.sty')
-rw-r--r--Master/texmf-dist/tex/latex/expl3/l3font.sty105
1 files changed, 105 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/expl3/l3font.sty b/Master/texmf-dist/tex/latex/expl3/l3font.sty
new file mode 100644
index 00000000000..78a6f23ec48
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/expl3/l3font.sty
@@ -0,0 +1,105 @@
+%%
+%% This is file `l3font.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% l3font.dtx (with options: `package')
+%%
+%%
+%% EXPERIMENTAL CODE
+%%
+%% Do not distribute this file without also distributing the
+%% source files specified above.
+%%
+%% Do not distribute a modified version of this file.
+%%
+%%
+%% 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.
+%%
+%% -----------------------------------------------------------------------
+\RequirePackage{l3names}
+\GetIdInfo$Id: l3font.dtx 2175 2011-03-03 12:16:46Z will $
+ {L3 Experimental Font Loading}
+\ProvidesExplPackage
+ {\filename}{\filedate}{\fileversion}{\filedescription}
+\package_check_loaded_expl:
+\cs_new_protected:Npn \font_set:Nnn #1#2#3 { \tex_font:D #1 = #2 ~at~ #3 \scan_stop: }
+\cs_new_protected:Npn \font_gset:Nnn #1#2#3 {
+ \tex_global:D \tex_font:D #1 = #2 ~at~ #3 \scan_stop:
+}
+\cs_generate_variant:Nn \font_set:Nnn {c}
+\cs_generate_variant:Nn \font_gset:Nnn {c}
+\cs_set_eq:NN \font_set_eq:NN \tex_let:D
+\cs_set_protected:Npn \font_gset_eq:NN { \tex_global:D \tex_let:D }
+\cs_set:Npn \font_set_to_current:N #1 {
+ \exp_after:wN \font_set_eq:NN \exp_after:wN #1 \tex_the:D \tex_font:D
+}
+\cs_set:Npn \font_gset_to_current:N #1 {
+ \tex_global:D \exp_after:wN \font_set_eq:NN \exp_after:wN #1 \tex_the:D \tex_font:D
+}
+\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.
+}
+\prg_new_conditional:Nnn \font_if_null:N {p,TF,T,F} {
+ \if_meaning:w #1 \tex_nullfont:D
+ \prg_return_true:
+ \else:
+ \prg_return_false:
+ \fi:
+}
+%%
+%%
+%% End of file `l3font.sty'.