From 1d63a6eae86a6b78d4563ed60521449e4bf89f3c Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 21 May 2008 15:21:00 +0200 Subject: stable 2008.05.21 15:21 --- web2c/contextcnf.lua | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 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..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 +} -- cgit v1.2.3