summaryrefslogtreecommitdiff
path: root/web2c
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2008-05-21 15:21:00 +0200
committerHans Hagen <pragma@wxs.nl>2008-05-21 15:21:00 +0200
commit1d63a6eae86a6b78d4563ed60521449e4bf89f3c (patch)
tree5a0db36538992d01458e22ff765bf8258bd16161 /web2c
parentd7e26feb7432f7bd29dd065fa578dc8395fb408f (diff)
downloadcontext-1d63a6eae86a6b78d4563ed60521449e4bf89f3c.tar.gz
stable 2008.05.21 15:21
Diffstat (limited to 'web2c')
-rw-r--r--web2c/contextcnf.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/web2c/contextcnf.lua b/web2c/contextcnf.lua
new file mode 100644
index 000000000..d2708a925
--- /dev/null
+++ b/web2c/contextcnf.lua
@@ -0,0 +1,36 @@
+-- filename : texmfcnf.lua
+-- comment : companion to luatex/mkiv
+-- authors : Hans Hagen & Taco Hoekwater
+-- copyright: not relevant
+-- license : not relevant
+
+-- This file is read bij luatools, mtxrun and context mkiv. This is still
+-- somewhat experimental and eventually we will support booleans instead
+-- of the 't' strings. The content is similar to that of texmf.cnf. Both
+-- namespaces strings
+--
+-- TEXINPUT.context = "..."
+--
+-- and subtables (
+--
+-- context = { TEXINPUT = ".." }
+--
+-- are supported with the later a being the way to go. You can test settings
+-- with:
+--
+-- luatools --expand-var TEXMFBOGUS
+--
+-- which should return
+--
+-- It works!
+--
+-- We first read the lua configuration file(s) and then do a first variable
+-- expansion pass. Next we read the regular cnf files. These are cached
+-- in the mkiv cache for faster loading. The lua configuration files are
+-- not cached.
+
+return {
+-- PURGECACHE = 't', -- this saves disk space
+-- TEXMFCACHE = 'c:/temp', -- installers can change this
+ TEXMFBOGUS = 'It works!', -- a test string
+}