summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2009-04-23 15:22:25 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2009-04-23 15:22:25 +0200
commit190afdecb3f4d133e472fd17a140c57100219b7b (patch)
treec4dce7c6e609147c6709581bf52f6443b10b95ad /luaotfload.dtx
parentfed311d67f0258a26530e04c43acf3d0261a25ce (diff)
downloadluaotfload-190afdecb3f4d133e472fd17a140c57100219b7b.tar.gz
sync with the latest ConTeXt beta, and using luaotfload in DVI mode too (for dvipdfmx)
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx23
1 files changed, 4 insertions, 19 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index 7422158..ab04b2c 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -4,7 +4,7 @@
%
% This work is under the CC0 license.
%
-% This work consists of the main source file luamcallbacks.dtx
+% This work consists of the main source file luaotfload.dtx
% and the derived files
% luaotfload.sty, luaotfload.lua
%
@@ -49,7 +49,7 @@ Copyright (C) 2009 by Elie Roux <elie.roux@telecom-bretagne.eu>
This work is under the CC0 license.
-This work consists of the main source file luainputenc.dtx
+This work consists of the main source file luaotfload.dtx
and the derived files
luaotfload.sty, luaotfload.lua
@@ -278,7 +278,7 @@ end
% \begin{macrocode}
luaotfload.loadmodule('luat-dum.lua') -- not used in context at all
-luaotfload.loadmodule('luat-con.lua') -- maybe some day we don't need this one
+luaotfload.loadmodule('data-con.lua') -- maybe some day we don't need this one
% \end{macrocode}
%
@@ -308,6 +308,7 @@ end
%
% \begin{macrocode}
+luaotfload.loadmodule('node-res.lua')
luaotfload.loadmodule('node-inj.lua')
luaotfload.loadmodule('node-fnt.lua')
luaotfload.loadmodule('node-dum.lua')
@@ -395,22 +396,6 @@ end
\RequirePackage{luatextra}
\fi
-% \end{macrocode}
-%
-% We print a warning if we are not in PDF mode.
-%
-% \begin{macrocode}
-
-\ifnum\pdfoutput<1
- \expandafter\ifx\csname PackageWarning\endcsname\relax
- \write16{}
- \write16{Warning: luaotfload only works in PDF mode, otf fonts won't work.}
- \write16{}
- \else
- \PackageWarning{luaotfload}{luaotfload only works in PDF mode, otf fonts won't work.}
- \fi
-\fi
-
\expandafter\edef\csname otfl@AtEnd\endcsname{%
\catcode64 \the\catcode64\relax
}