From 85b7bc695629926641c7cb752fd478adfdf374f3 Mon Sep 17 00:00:00 2001 From: Marius Date: Sun, 4 Jul 2010 15:32:09 +0300 Subject: stable 2010-05-24 13:10 --- web2c/contextcnf.lua | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 web2c/contextcnf.lua (limited to 'web2c/contextcnf.lua') diff --git a/web2c/contextcnf.lua b/web2c/contextcnf.lua new file mode 100644 index 000000000..166a7504e --- /dev/null +++ b/web2c/contextcnf.lua @@ -0,0 +1,38 @@ +-- 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 { +-- LUACSTRIP = 'f', -- don't strip luc files (only use this for debugging, otherwise slower loading and bigger cache) +-- CACHEINTDS = 't', -- keep filedatabase and configuration in tds tree +-- PURGECACHE = 't', -- this saves disk space + TEXMFCACHE = 'c:/temp', -- installers can change this +-- TEXMFBOGUS = 'It works!', -- a test string +} -- cgit v1.2.3