From 46c64ac9b3bb3dab8bf4a1dc6039983171c73186 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= <mpg@elzevir.fr>
Date: Mon, 29 Mar 2010 06:03:16 +0200
Subject: First attempt at using compat.

---
 luatexbase-modutils.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'luatexbase-modutils.dtx')

diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index cc8032e..d8a411e 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -229,7 +229,7 @@ See source file '\inFileName' for details.
 \fi
 %    \end{macrocode}
 %
-%    Load the package loader.
+%    Load \pk{luatexbase-loader} (hence \pk{luatexbase-compat}).
 %
 %    \begin{macrocode}
 \begingroup\expandafter\expandafter\expandafter\endgroup
@@ -264,10 +264,10 @@ See the module #1 documentation for explanation.^^J ...^^J}%
 %    \texttt{\string\luaRequireModule} with two mandatory arguments.
 %
 %    \begin{macrocode}
-\def\luatexUseModule#1{\directlua{luatexbase.use_module([[#1]])}}
+\def\luatexUseModule#1{\luatexbase@directlua{luatexbase.use_module([[#1]])}}
 
 \expandafter\ifx\csname ProvidesPackage\endcsname\relax
-  \def\luatexRequireModule#1#2{\directlua{%
+  \def\luatexRequireModule#1#2{\luatexbase@directlua{%
       luatexbase.require_module([[#1]], [[#2]])}}
 \else
 %    \end{macrocode}
@@ -278,12 +278,12 @@ See the module #1 documentation for explanation.^^J ...^^J}%
 %    date).
 %
 %    \begin{macrocode}
-  \newcommand\luatexRequireModule[2][0]{\directlua{luatexbase.require_module([[#2]], [[#1]])}}
+  \newcommand\luatexRequireModule[2][0]{\luatexbase@directlua{luatexbase.require_module([[#2]], [[#1]])}}
 \fi
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\directlua{require('luatexbase.modutils')}
+\luatexbase@directlua{require('luatexbase.modutils')}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-- 
cgit v1.2.3

