summaryrefslogtreecommitdiff
path: root/luatexbase-cctb.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-cctb.dtx
parentd1621c3d398d6a737be9e8e45ebc0d2e32d7c82a (diff)
downloadluatexbase-fdb25dbd5a4ee9cb499cc0d61a85778368f46305.tar.gz
Adujst docstrip preamble.
Diffstat (limited to 'luatexbase-cctb.dtx')
-rw-r--r--luatexbase-cctb.dtx21
1 files changed, 10 insertions, 11 deletions
diff --git a/luatexbase-cctb.dtx b/luatexbase-cctb.dtx
index 729faf0..435bc0d 100644
--- a/luatexbase-cctb.dtx
+++ b/luatexbase-cctb.dtx
@@ -34,18 +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-cctb.dtx
-and the derived files
- luatexbase-cctb.sty luatexbase.cctb.lua
- test-cctb-plain.tex test-cctb-latex.tex
+See source file '\inFileName' for details.
\endpreamble
@@ -82,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-cctb.sty cctb.lua ...}
+\Msg{* luatexbase-cctb.sty luatexbase.cctb.lua}
\Msg{*}
\Msg{* Happy TeXing!}
\Msg{*}
@@ -254,7 +247,13 @@ and the derived files
% Load the supporting Lua module.
%
% \begin{macrocode}
-\directlua{dofile(kpse.find_file('luatexbase.cctb.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.cctb.lua')}
% \end{macrocode}
%
% The allocation macro. Allocate tables starting with 1, since table 0 is