diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3final.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3final.dtx | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3final.dtx b/Master/texmf-dist/source/latex/l3kernel/l3final.dtx index 93bf9a5f987..e080da8a5bd 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-2014 The LaTeX3 Project +%% File: l3final.dtx Copyright (C) 1990-2015 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 4712 2014-04-30 08:17:49Z joseph $ +\GetIdInfo$Id: l3final.dtx 6223 2015-11-03 14:50:28Z joseph $ {L3 Experimental format finalisation} \begin{document} \DocInput{\jobname.dtx} @@ -77,6 +77,41 @@ %<*initex> % \end{macrocode} % +% \subsection{Temporary hacks} +% +% \begin{macro}{\T1/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 + { + \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 } + } +% \end{macrocode} +% \end{macro} +% +% Produce PDF output if possible (easier testing) and set some kind of +% horizontal width: the one here is the \LaTeXe{} default. A parfill is +% also useful so we get some kind of sensible paragraphs. +% \begin{macrocode} +\dim_set:Nn \tex_hsize:D { 345pt } +\skip_set:Nn \tex_parfillskip:D { 0pt plus 1fil } +\cs_if_exist:NT \pdftex_pdfoutput:D + { \int_set:Nn \pdftex_pdfoutput:D { 1 } } +% \end{macrocode} +% +% \begin{macro}{\stop} +% A way out of the run without needing to switch to the code environment. +% \begin{macrocode} +\cs_set_eq:NN \stop \tex_end:D +% \end{macrocode} +% \end{macro} +% +% \subsection{Final tasks} +% % \begin{macro}{\par} % \TeX{} has a nasty habit of inserting a command with the name \cs{par} % so we had better make sure that \cs{par} has a definition. |