On Wed, 2008-10-15 at 23:37 -0300, David Bremner wrote:
Can you try again with 
>  export TEXMFCNF=/usr/share/texmf/web2c
> 
Thank you David,

your suggestion works. A crude workaround could be to set TEXMFCNF from
/usr/bin/context and run

luatools --generate --verbose
context --make

from that script. (Note that I have changed luatex-cache directory)

#!/bin/sh

TEXMFCNF=/usr/share/texmf/web2c
export TEXMFCNF

TEXMFCACHE="$HOME/.texmf-var"
export TEXMFCACHE

mkdir -p "$TEXMFCACHE"

# Crude method to check whether format files were already generated
cont_fmt=`find "$TEXMFCACHE/luatex-cache/" -name cont-en.fmt`

# Generate format files if they are not present
if [ -z "$cont_fmt" ]; then
luatools --generate --verbose
mtxrun --script context --make
fi

mtxrun --script context "$@"





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to