diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-03-29 06:03:16 +0200 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-03-29 06:03:16 +0200 |
commit | 46c64ac9b3bb3dab8bf4a1dc6039983171c73186 (patch) | |
tree | a5d8c3f6813848af9d25b898859e1426d377dae4 /luatexbase-loader.dtx | |
parent | db64070daee7f0f64183b45fea1de8ff993f8023 (diff) | |
download | luatexbase-46c64ac9b3bb3dab8bf4a1dc6039983171c73186.tar.gz |
First attempt at using compat.
Diffstat (limited to 'luatexbase-loader.dtx')
-rw-r--r-- | luatexbase-loader.dtx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/luatexbase-loader.dtx b/luatexbase-loader.dtx index 8584aa9..057b2bf 100644 --- a/luatexbase-loader.dtx +++ b/luatexbase-loader.dtx @@ -242,12 +242,23 @@ See source file '\inFileName' for details. % % \subsubsection{Main content} % +% First load \pk{luatexbase-compat}. +% +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname RequirePackage\endcsname\relax + \input luatexbase-compat.sty +\else + \RequirePackage{luatexbase-compat} +\fi +% \end{macrocode} +% % Load the supporting Lua module. This one doesn't follow the usual naming % conventions, since it won't be loaded with the usual functions for % obvious bootstraping reasons. % % \begin{macrocode} -\directlua{% +\luatexbase@directlua{% local file = "luatexbase.loader.lua" local path = assert(kpse.find_file(file, 'tex'), "File '"..file.."' no found") |