Re: [NTG-context] Custom lua script (updating and debugging)

2010-09-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I have also the experience that when the Lua file is placed where the LUA_PATH system variable points (or: see the documentation how exactly LUA_PATH works), than I can use the 'require' command and the Lua file will be found. E.g.: LUA_PATH = (...);C:\MyDir\?.lua

Re: [NTG-context] Custom lua script (updating and debugging)

2010-09-29 Thread Hans Hagen
On 29-9-2010 8:50, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I have also the experience that when the Lua file is placed where the LUA_PATH system variable points (or: see the documentation how exactly LUA_PATH works), than I can use the 'require' command and the Lua file will be

Re: [NTG-context] Custom lua script (updating and debugging)

2010-09-29 Thread Stefan Müller
Sorry for replying to the wrong thread... I just wanted to say that it works now. I justed started again from scratch and did the same as below. No idea what caused the trouble. Thanks again, Stefan. On 28.09.2010 23:53, Stefan Müller wrote: Hi, thanks for the fast reply Mojca!

[NTG-context] Custom lua script (updating and debugging)

2010-09-28 Thread Stefan Müller
Hi list, I'm currently messing around with a custom lua script (a pretty printer) and I have some beginner trouble. First: I put the file in MyContexDir\tex\texmf\tex\context\base\. What do I have to do to let ConTeXt work with the script and to let ConTeXt know that something has changed

Re: [NTG-context] Custom lua script (updating and debugging)

2010-09-28 Thread Mojca Miklavec
On Tue, Sep 28, 2010 at 12:41, Stefan Müller wrote: Hi list, I'm currently messing around with a custom lua script (a pretty printer) and I have some beginner trouble. First: I put the file in MyContexDir\tex\texmf\tex\context\base\. Put them into

Re: [NTG-context] Custom lua script (updating and debugging)

2010-09-28 Thread Stefan Müller
Hi, thanks for the fast reply Mojca! Unfortunately it is still not working. Here is what I did. I'm afraid it has possibly more to do with pretty printers in particular (than lua scripts in general), but actually I have no idea. I took the file