Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-30 Thread Peter Münster
On Wed, Oct 29 2008, Tobias Burnus wrote: I have a scenario which fails with the current mechanism - even if following the sym links worked. Assume that a user only puts a texmf.cnf under $HOME/texmf/web2c/texmf.cnf. That file will be used by luatex, pdftex etc. but luatools will still

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-30 Thread Tobias Burnus
Hans, Hans Hagen wrote: what files are looked for depends also on env settings; but anyhow, at some point mkiv/luatex might drop the cnf file I think some kind of cnf file will still be necessary to tell TeX where to look for files, though with reasonable defaults, the file would only be

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-30 Thread Hans Hagen
Tobias Burnus wrote: Hans, Hans Hagen wrote: what files are looked for depends also on env settings; but anyhow, at some point mkiv/luatex might drop the cnf file I think some kind of cnf file will still be necessary to tell TeX where to look for files, though with reasonable

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-30 Thread luigi scarso
PS: Peter Münster wrote: Would KPSE find texmfcnf.lua in $HOME/texmf/web2c ? From one of your previous messages, I understand that it would *not* find it. It does - I messed up the web2c string search in the luatex binary; there are two strings. The right one seems to be:

[NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Tobias Burnus
Hello, for openSUSE there are now beta TeX Live 2008 packages available (http://download.opensuse.org/repositories/Publishing/). [By Werner Fink, who does also the normal openSUSE packages.] The question is how the ConTeXt with LuaTeX should be best handled. By default, there is no luatex-cache

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Tobias Burnus
Tobias Burnus wrote: a) Is the TEXMFCNF environment variable necessary or can this also be read by a config file, which is overwritten by the environment variable? Which scripts/executables make use of that environemt variable? I just saw that this might be possible in theory, but it fails

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Hans Hagen
Tobias Burnus wrote: Hello, for openSUSE there are now beta TeX Live 2008 packages available (http://download.opensuse.org/repositories/Publishing/). [By Werner Fink, who does also the normal openSUSE packages.] The question is how the ConTeXt with LuaTeX should be best handled. By

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Hans Hagen
Tobias Burnus wrote: some check whether b is a symbolic link and if it is, one follows the symbolic link until one finds the real binary; then one can use that path for ownpath. I tried to find some Lua routine which does so, but I couldn't find one ad hoc. (I have also the vague feeling

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Tobias Burnus
Hans Hagen wrote: i remember that there has been some discussion about this following link issue but i forgot what was the outcome do you test the latest binaries or the already outdated texlive ones? That was TeX Live, though I don't know whether it is the SVN version or something

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Tobias Burnus
Hi Hans, Hans Hagen wrote: i remember that there has been some discussion about this following link issue but i forgot what was the outcome Can you incorporate the following patch in your cont-tmf.zip? It should work with most Linux systems and it should not harm on other systems.

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Hans Hagen
Tobias Burnus wrote: Hi Hans, Hans Hagen wrote: i remember that there has been some discussion about this following link issue but i forgot what was the outcome Can you incorporate the following patch in your cont-tmf.zip? It should work with most Linux systems and it should not

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Tobias Burnus
Hi Hans, Hans Hagen wrote: you use an old luatools / luat-inp.lua; I updated now luat-inp.lua from the latest experimental cont-tmf.zip, however, that does not help. a) luatools.lua does not use luat-inp.lua (and luatools.lua is up to date in TeX Live) Thus updating does not help. (Besides,

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Tobias Burnus
Tobias Burnus wrote: c) Werner asks: Why is the KPSE library not used? I have a scenario which fails with the current mechanism - even if following the sym links worked. Assume that a user only puts a texmf.cnf under $HOME/texmf/web2c/texmf.cnf. That file will be used by luatex, pdftex etc.

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Hans Hagen
Tobias Burnus wrote: Hi Hans, Hans Hagen wrote: you use an old luatools / luat-inp.lua; I updated now luat-inp.lua from the latest experimental cont-tmf.zip, however, that does not help. a) luatools.lua does not use luat-inp.lua (and luatools.lua is up to date in TeX Live) Thus updating

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Hans Hagen
Tobias Burnus wrote: Hi Hans, Hans Hagen wrote: you use an old luatools / luat-inp.lua; I updated now luat-inp.lua from the latest experimental cont-tmf.zip, however, that does not help. did you copy that file to 'luatools' in the bin path?

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Tobias Burnus
Hi Hans, Hans Hagen wrote: luat-inp.lua is merged into luatools in order to make in 'stand-alone' OK, I missed that. By the way, unless I screwed up completely, the new luatools you have sent me work: LuaTools | variable SELFAUTOLOC set to /usr/bin LuaTools | variable SELFAUTODIR set to

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Hans Hagen
Tobias Burnus wrote: I agree about the KPSE shortcomings, however, just for finding texmf.cnf KPSE should be good enough. (OK, finding texmfcnf.lua does not seem to work well as the lua extension means that web2c is not searched.) but using kpse would mean initializing it and that means

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-29 Thread Hans Hagen
Tobias Burnus wrote: Tobias Burnus wrote: c) Werner asks: Why is the KPSE library not used? I have a scenario which fails with the current mechanism - even if following the sym links worked. Assume that a user only puts a texmf.cnf under $HOME/texmf/web2c/texmf.cnf. That file will be used