summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3final.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3final.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3final.dtx86
1 files changed, 79 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3final.dtx b/Master/texmf-dist/source/latex/l3kernel/l3final.dtx
index 96ffcd918fc..2a62d525d4a 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3final.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3final.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: l3final.dtx Copyright (C) 1990-2015 The LaTeX3 Project
+%% File: l3final.dtx Copyright (C) 1990-2016 The 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
@@ -35,7 +35,7 @@
%
%<*driver>
\documentclass[full]{l3doc}
-\GetIdInfo$Id: l3final.dtx 6320 2015-12-15 09:49:47Z joseph $
+\GetIdInfo$Id: l3final.dtx 6411 2016-02-12 21:06:00Z joseph $
{L3 Experimental format finalisation}
\begin{document}
\DocInput{\jobname.dtx}
@@ -260,16 +260,88 @@
%
% \subsection{Temporary hacks}
%
-% \begin{macro}{\T1/lmr/m/n/10}
+% \begin{macro}{\T1/lmr/m/n/10, \TU/lmr/m/n/10}
% For \emph{testing only} provide some kind of output: for that we
% need a font. At present, select Latin Modern Roman at 10\,pt:
% entirely arbitrary but at least usable.
% \begin{macrocode}
-\tex_everypar:D \exp_after:wN
+\sys_if_engine_luatex:T
{
- \exp_after:wN \tex_font:D \cs:w T1/lmr/m/n/10 \cs_end:
- = ec-lmr10 \scan_stop:
- \use:c { T1/lmr/m/n/10 }
+ \tex_everyjob:D \exp_after:wN
+ {
+ \tex_the:D \tex_everyjob:D
+ \lua_now_x:n { require("l3format.lua") }
+ }
+ }
+\use:x
+ {
+ \tex_everyjob:D
+ {
+ \tex_the:D \tex_everyjob:D
+ \bool_if:nTF
+ {
+ \sys_if_engine_luatex_p: ||
+ \sys_if_engine_xetex_p:
+ }
+ {
+ \tex_font:D \exp_not:c { TU/lmr/m/n/10 }
+ = "[lmroman10-regular.otf]/OT" \scan_stop:
+ \exp_not:c { TU/lmr/m/n/10 }
+ \tex_font:D \exp_not:c { TU/lmm/m/n/10 }
+ = "[latinmodern-math.otf]/OT:mode=base;script=math;" \scan_stop:
+ \tex_font:D \exp_not:c { TU/lmm/m/n/7 }
+ = "[latinmodern-math.otf]/OT:mode=base;script=math;+ssty=0;"~at~7pt \scan_stop:
+ \tex_font:D \exp_not:c { TU/lmm/m/n/5 }
+ = "[latinmodern-math.otf]/OT:mode=base;script=math;+ssty=1;"~at~5pt \scan_stop:
+ \exp_not:N \int_step_inline:nnnn { 0 } { 1 } { 3 }
+ {
+ \tex_textfont:D ##1 = \exp_not:c { TU/lmm/m/n/10 }
+ \tex_scriptfont:D ##1 = \exp_not:c { TU/lmm/m/n/7 }
+ \tex_scriptscriptfont:D ##1 = \exp_not:c { TU/lmm/m/n/5 }
+ }
+ }
+ {
+ \tex_font:D \exp_not:c { T1/lmr/m/n/10 }
+ = ec-lmr10 \scan_stop:
+ \exp_not:c { T1/lmr/m/n/10 }
+ \tex_font:D \exp_not:c { OT1/lmr/m/n/10 }
+ = rm-lmr10 \scan_stop:
+ \tex_font:D \exp_not:c { OML/lmm/m/it/10 }
+ = lmmi10 \scan_stop:
+ \tex_font:D \exp_not:c { OMS/lmsy/m/n/10 }
+ = lmsy10 \scan_stop:
+ \tex_font:D \exp_not:c { OMX/lmex/m/n/10 }
+ = lmex10 \scan_stop:
+ \tex_font:D \exp_not:c { OT1/lmr/m/n/7 }
+ = rm-lmr7 \scan_stop:
+ \tex_font:D \exp_not:c { OML/lmm/m/it/7 }
+ = lmmi7 \scan_stop:
+ \tex_font:D \exp_not:c { OMS/lmsy/m/n/7 }
+ = lmsy7 \scan_stop:
+ \tex_font:D \exp_not:c { OMX/lmex/m/n/7 }
+ = lmex10~at~7pt \scan_stop:
+ \tex_font:D \exp_not:c { OT1/lmr/m/n/5 }
+ = rm-lmr5 \scan_stop:
+ \tex_font:D \exp_not:c { OML/lmm/m/it/5 }
+ = lmmi5 \scan_stop:
+ \tex_font:D \exp_not:c { OMS/lmsy/m/n/5 }
+ = lmsy5 \scan_stop:
+ \tex_font:D \exp_not:c { OMX/lmex/m/n/5 }
+ = lmex10~at~5pt \scan_stop:
+ \tex_textfont:D 0 = \exp_not:c { OT1/lmr/m/n/10 }
+ \tex_textfont:D 1 = \exp_not:c { OML/lmm/m/it/10 }
+ \tex_textfont:D 2 = \exp_not:c { OMS/lmsy/m/n/10 }
+ \tex_textfont:D 3 = \exp_not:c { OMX/lmex/m/n/10 }
+ \tex_scriptfont:D 0 = \exp_not:c { OT1/lmr/m/n/7 }
+ \tex_scriptfont:D 1 = \exp_not:c { OML/lmm/m/it/7 }
+ \tex_scriptfont:D 2 = \exp_not:c { OMS/lmsy/m/n/7 }
+ \tex_scriptfont:D 3 = \exp_not:c { OMX/lmex/m/n/7 }
+ \tex_scriptscriptfont:D 0 = \exp_not:c { OT1/lmr/m/n/5 }
+ \tex_scriptscriptfont:D 1 = \exp_not:c { OML/lmm/m/it/5 }
+ \tex_scriptscriptfont:D 2 = \exp_not:c { OMS/lmsy/m/n/5 }
+ \tex_scriptscriptfont:D 3 = \exp_not:c { OMX/lmex/m/n/5 }
+ }
+ }
}
% \end{macrocode}
% \end{macro}