diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-16 12:19:28 +0200 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-16 12:19:28 +0200 |
commit | fb079cebe47137b48aa90ad735075d657695239a (patch) | |
tree | c3826c8c8bbffdeb877d656f4450bef5515acbed | |
parent | 16c1318272c3fd2451cf7a3f5f93af1973131270 (diff) | |
download | luatexbase-fb079cebe47137b48aa90ad735075d657695239a.tar.gz |
A better fix
-rw-r--r-- | luatexbase-modutils.dtx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx index ae228b4..6f500da 100644 --- a/luatexbase-modutils.dtx +++ b/luatexbase-modutils.dtx @@ -378,10 +378,10 @@ See the aforementioned source file(s) for copyright and licensing information. % supporting Lua module and make sure |luaescapestring| is available. % % \begin{macrocode} -\ifx\csname\RequirePackage - \RequirePackage{luatexbase-loader} -\else +\expandafter\ifx\csname RequirePackage\endcsname\relax \input luatexbase-loader.sty +\else + \RequirePackage{luatexbase-loader} \fi \luatexbase@directlua{require('luatexbase.modutils')} \luatexbase@ensure@primitive{luaescapestring} |