From b9897d84cb635d6a6b47aee17e818e3bfc296d2c Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 9 Feb 2014 21:40:13 +0100 Subject: [doc,sty] move luaotfload.sty out of the DTX Signed-off-by: Philipp Gesang --- .gitignore | 1 - luaotfload.dtx | 37 ++++++------------------------------- luaotfload.sty | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 32 deletions(-) create mode 100644 luaotfload.sty diff --git a/.gitignore b/.gitignore index e010a81..0da53bd 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,6 @@ luaotfload/* # Files generated by 'make world' and removed by 'make mrproper' luaotfload.pdf -luaotfload.sty luaotfload.tds.zip luaotfload.zip diff --git a/luaotfload.dtx b/luaotfload.dtx index 8f8632c..e0311a4 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -67,13 +67,6 @@ and the derived files \endpreamble -\let\MetaPrefix\DoubleperCent - -\generate{% - \usedir{tex/luatex/luaotfload}% - \file{luaotfload.sty}{\from{luaotfload.dtx}{package}}% -} - \obeyspaces \Msg{************************************************************************} \Msg{*} @@ -1558,30 +1551,12 @@ and the derived files % % \section{\fileent{luaotfload.sty}} % -% \iffalse -%<*package> -% \fi -% -% Classical Plain+\LATEX package initialization. -% -% \begin{macrocode} -\csname ifluaotfloadloaded\endcsname -\let\ifluaotfloadloaded\endinput -\bgroup\expandafter\expandafter\expandafter\egroup -\expandafter\ifx\csname ProvidesPackage\endcsname\relax - \input luatexbase.sty -\else - \NeedsTeXFormat{LaTeX2e} - \ProvidesPackage{luaotfload}% - [2014/42/42 v2.5 OpenType layout system] - \RequirePackage{luatexbase} -\fi -\RequireLuaModule{luaotfload-main} -\endinput -% \end{macrocode} -% \iffalse -% -% \fi +% As of version 2.5, the file \fileent{luaotfload.sty} is no longer +% generated from the \abbrev{dtx}. +% Instead, it is maintained separately as a plain \identifier{\TEX} file +% in the Luaotfload \identifier{git} tree. +% The file documentation which used to be found in this section has +% been preserved in the comments. % % \clearpage % \section{The GNU GPL License v2} diff --git a/luaotfload.sty b/luaotfload.sty new file mode 100644 index 0000000..a235d6b --- /dev/null +++ b/luaotfload.sty @@ -0,0 +1,45 @@ +%% Copyright (C) 2009-2014 +%% +%% by Elie Roux +%% and Khaled Hosny +%% and Philipp Gesang +%% +%% This file is part of Luaotfload. +%% +%% Home: https://github.com/lualatex/luaotfload +%% Support: . +%% +%% Luaotfload is under the GPL v2.0 (exactly) license. +%% +%% ---------------------------------------------------------------------------- +%% +%% Luaotfload is free software; you can redistribute it and/or +%% modify it under the terms of the GNU General Public License +%% as published by the Free Software Foundation; version 2 +%% of the License. +%% +%% Luaotfload is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with Luaotfload; if not, see . +%% +%% ---------------------------------------------------------------------------- +%% +%% Classical Plain+\LATEX package initialization. +%% +\csname ifluaotfloadloaded\endcsname +\let\ifluaotfloadloaded\endinput +\bgroup\expandafter\expandafter\expandafter\egroup +\expandafter\ifx\csname ProvidesPackage\endcsname\relax + \input luatexbase.sty +\else + \NeedsTeXFormat{LaTeX2e} + \ProvidesPackage{luaotfload}% + [2014/42/42 v2.5 OpenType layout system] + \RequirePackage{luatexbase} +\fi +\RequireLuaModule{luaotfload-main} + -- cgit v1.2.3