summaryrefslogtreecommitdiff
path: root/luatexbase-attr.dtx
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-03-28 01:27:14 +0100
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-03-28 01:27:14 +0100
commitfdb25dbd5a4ee9cb499cc0d61a85778368f46305 (patch)
treef45fe18b1318af2b74697a802ff7c3027b34f457 /luatexbase-attr.dtx
parentd1621c3d398d6a737be9e8e45ebc0d2e32d7c82a (diff)
downloadluatexbase-fdb25dbd5a4ee9cb499cc0d61a85778368f46305.tar.gz
Adujst docstrip preamble.
Diffstat (limited to 'luatexbase-attr.dtx')
-rw-r--r--luatexbase-attr.dtx20
1 files changed, 10 insertions, 10 deletions
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.
- <mpg@elzevir.fr>
- <elie.roux@telecom-bretagne.eu>
+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.