From fdb25dbd5a4ee9cb499cc0d61a85778368f46305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Sun, 28 Mar 2010 01:27:14 +0100 Subject: Adujst docstrip preamble. --- luatexbase-attr.dtx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'luatexbase-attr.dtx') diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx index 7c9cc13..8e6b4a6 100644 --- a/luatexbase-attr.dtx +++ b/luatexbase-attr.dtx @@ -34,17 +34,11 @@ \let\MetaPrefix\relax \preamble -This is a generated file. -Written in 2009, 2010 by Manuel Pégourié-Gonnard and Élie Roux. - - +Written in 2009, 2010 by Manuel Pegourie-Gonnard and Elie Roux. This work is under the CC0 license. - -This work consists of the main source file luatexbase-attr.dtx -and the derived files - luatexbase-attr.sty luatexbase.attr.lua ... +See source file '\inFileName' for details. \endpreamble @@ -81,7 +75,7 @@ and the derived files \Msg{* To finish the installation you have to move the following} \Msg{* files into a directory searched by TeX:} \Msg{*} -\Msg{* luatexbase-attr.sty luatexbase.attr.lua ...} +\Msg{* luatexbase-attr.sty luatexbase.attr.lua} \Msg{*} \Msg{* Happy TeXing!} \Msg{*} @@ -230,7 +224,13 @@ and the derived files % Load the supporting Lua module. % % \begin{macrocode} -\directlua{dofile(kpse.find_file('luatexbase.attr.lua', 'lua'))} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname RequirePackage\endcsname\relax + \input luatexbase-loader.sty +\else + \RequirePackage{luatexbase-loader} +\fi +\directlua{require('luatexbase.attr.lua')} % \end{macrocode} % % The allocaton macro. -- cgit v1.2.3