From 115de635ae08e4154abf04182b07cf02dfd8f0c9 Mon Sep 17 00:00:00 2001 From: joseph Date: Thu, 6 Aug 2015 17:33:44 +0000 Subject: [PATCH] Use Lua comments when unpacking Lua files git-svn-id: http://www.latex-project.org/svnroot/latex2e-public@764 8685b20e-f38a-4a74-812f-bec00e2e18bd --- trunk/base/format.ins | 55 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/trunk/base/format.ins b/trunk/base/format.ins index 9e95539..0fca3f5 100644 --- a/trunk/base/format.ins +++ b/trunk/base/format.ins @@ -75,6 +75,47 @@ and covered by LPPL is defined by the unpacking scripts (with extension .ins) which are part of the distribution. \endpreamble +\def\MetaPrefix{--} +\declarepreamble\luapreamble + +This is a generated file. + +The source is maintained by the LaTeX Project team and bug +reports for it can be opened at http://latex-project.org/bugs.html +(but please observe conditions on bug reports sent to that address!) + + +Copyright 2015 +The LaTeX3 Project and any individual authors listed elsewhere +in this file. + +This file was generated from file(s) of the LaTeX base system. +-------------------------------------------------------------- + +It may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3c +of this license or (at your option) any later version. +The latest version of this license is in + http://www.latex-project.org/lppl.txt +and version 1.3c or later is part of all distributions of LaTeX +version 2005/12/01 or later. + +This file has the LPPL maintenance status "maintained". + +This file may only be distributed together with a copy of the LaTeX +base system. You may however distribute the LaTeX base system without +such generated files. + +The list of all files belonging to the LaTeX base distribution is +given in the file `manifest.txt'. See also `legal.txt' for additional +information. + +The list of derived (unpacked) files belonging to the distribution +and covered by LPPL is defined by the unpacking scripts (with +extension .ins) which are part of the distribution. +\endpreamble +\let\MetaPrefix\DoubleperCent + \declarepreamble\cfgpreamble This is a generated file. @@ -176,12 +217,10 @@ the system are in the document `cfgguide.tex'. \from{newlfont.dtx}{package} } -% luatex support +% luatex support (TeX part) -\generate{\file{ltluatex.lua}{\from{ltluatex.dtx}{lua}}} \generate{\file{ltluatex.tex}{\from{ltluatex.dtx}{tex,plain}}} - %%%%%%%%%%%%%%%%% CUSTOMISABLE FILES \usedir{tex/latex/base} @@ -209,6 +248,16 @@ the system are in the document `cfgguide.tex'. \generateFile{preload.ltx}{t}{% \from{preload.dtx}{preload,cm,xpt,tex}} +%%%%%%%%%%%%%%%%% Lua code + +% This is at the end as the prefix/postamble requirements are +% different to everything else + +\def\MetaPrefix{--} +\usepreamble\luapreamble +\nopostamble +\generate{\file{ltluatex.lua}{\from{ltluatex.dtx}{lua}}} + \endbatchfile -- 2.11.4.GIT