summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-02-09 21:40:13 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-02-09 21:40:13 +0100
commitb9897d84cb635d6a6b47aee17e818e3bfc296d2c (patch)
tree1c05760e6dfe0a5ca392ef1b9316df6e9548d2eb
parentcfb1b0117659535e74477fe800891768de78058b (diff)
downloadluaotfload-b9897d84cb635d6a6b47aee17e818e3bfc296d2c.tar.gz
[doc,sty] move luaotfload.sty out of the DTX
Signed-off-by: Philipp Gesang <phg42.2a@gmail.com>
-rw-r--r--.gitignore1
-rw-r--r--luaotfload.dtx37
-rw-r--r--luaotfload.sty45
3 files changed, 51 insertions, 32 deletions
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
-%</package>
-% \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 <elie.roux@telecom-bretagne.eu>
+%% and Khaled Hosny <khaledhosny@eglug.org>
+%% and Philipp Gesang <philipp.gesang@alumni.uni-heidelberg.de>
+%%
+%% This file is part of Luaotfload.
+%%
+%% Home: https://github.com/lualatex/luaotfload
+%% Support: <lualatex-dev@tug.org>.
+%%
+%% 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 <http://www.gnu.org/licenses/>.
+%%
+%% ----------------------------------------------------------------------------
+%%
+%% 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}
+