diff options
Diffstat (limited to 'tex/context/base/l-xml.lua')
-rw-r--r-- | tex/context/base/l-xml.lua | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/tex/context/base/l-xml.lua b/tex/context/base/l-xml.lua index 14e97337b..d8cc4a984 100644 --- a/tex/context/base/l-xml.lua +++ b/tex/context/base/l-xml.lua @@ -1,23 +1,23 @@ -if not modules then modules = { } end modules ['l-xml'] = { - version = 1.001, - comment = "this module is replaced by the lxml-* ones", - author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", - copyright = "PRAGMA ADE / ConTeXt Development Team", - license = "see context related readme files" -} - --- We asume that the helper modules l-*.lua are loaded --- already. But anyway if you use mtxrun to run your script --- all is taken care of. - -if not trackers then - require('trac-tra') -end - -if not xml then - require('lxml-tab') - require('lxml-lpt') - require('lxml-mis') - require('lxml-aux') - require('lxml-xml') -end +if not modules then modules = { } end modules ['l-xml'] = {
+ version = 1.001,
+ comment = "this module is replaced by the lxml-* ones",
+ author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
+ copyright = "PRAGMA ADE / ConTeXt Development Team",
+ license = "see context related readme files"
+}
+
+-- We asume that the helper modules l-*.lua are loaded
+-- already. But anyway if you use mtxrun to run your script
+-- all is taken care of.
+
+if not trackers then
+ require('trac-tra')
+end
+
+if not xml then
+ require('lxml-tab')
+ require('lxml-lpt')
+ require('lxml-mis')
+ require('lxml-aux')
+ require('lxml-xml')
+end
|