2020-07-13 20:29:47 +02:00
|
|
|
% Based on lualatex.ini, originally written 2008 by Karl Berry. Public domain.
|
|
|
|
|
|
|
|
\input luametatexconfig.tex
|
2020-05-28 14:37:19 +02:00
|
|
|
|
2019-07-17 21:14:34 +02:00
|
|
|
\begingroup
|
2020-07-13 20:29:47 +02:00
|
|
|
\catcode`\{=1 %
|
|
|
|
\catcode`\}=2 %
|
|
|
|
% Set up job name quoting before latex.ltx
|
|
|
|
% Web2c pdfTeX/XeTeX quote job names containing spaces, but LuaTeX does
|
|
|
|
% not do this at the engine level. The behaviour can be changed using
|
|
|
|
% a callback. Originally this code was loaded via lualatexquotejobname.tex
|
|
|
|
% but that required a hack around latex.ltx: the behaviour has been altered
|
|
|
|
% to allow the callback route to be used directly.
|
|
|
|
\global\everyjob{\directlua{require("lualatexquotejobname.lua")}}
|
|
|
|
\global\chardef\eTeXversion=2
|
|
|
|
\global\def\eTeXrevision{.2}
|
2020-05-28 14:37:19 +02:00
|
|
|
\endgroup
|
2020-07-13 20:29:47 +02:00
|
|
|
|
2021-11-07 00:06:46 +01:00
|
|
|
\let\LMLTsaveddump\dump
|
|
|
|
\let\dump\relax
|
2019-07-17 21:14:34 +02:00
|
|
|
\input latex.ltx
|
2021-11-07 00:06:46 +01:00
|
|
|
\let\dump\LMLTsaveddump
|
|
|
|
%
|
|
|
|
\makeatletter
|
|
|
|
\def\set@fontsize#1#2#3{%
|
|
|
|
\@defaultunits\@tempdimb#2pt\relax\@nnil
|
|
|
|
\edef\f@size{\strip@pt\@tempdimb}%
|
|
|
|
\@defaultunits\@tempdimc#3pt\relax\@nnil
|
|
|
|
\edef\f@baselineskip{\the\@tempdimc}%
|
|
|
|
\edef\f@linespread{#1}%
|
|
|
|
\let\baselinestretch\f@linespread
|
|
|
|
\def\size@update{%
|
|
|
|
\baselineskip\f@baselineskip\relax
|
|
|
|
\baselineskip\f@linespread\baselineskip
|
|
|
|
\normalbaselineskip\baselineskip
|
|
|
|
\setbox\strutbox\hbox{%
|
|
|
|
\vrule\@height.7\baselineskip
|
|
|
|
\@depth.3\baselineskip
|
|
|
|
\@width\z@}%
|
|
|
|
\let\size@update\relax}%
|
|
|
|
}
|
|
|
|
\makeatother
|
|
|
|
%
|
|
|
|
\dump
|