[texworks] My Lua script doesn't find lpeg library

Reinhard Kotucha reinhard.kotucha at web.de
Sat May 24 01:09:57 CEST 2014


On 2014-05-23 at 21:51:12 +0200, Christophe Devalland wrote:

 > Hi,
 > my lua texworks script calls a lua program (via "dofile") with
 > inside a : require "lpeg"
 > I have no problem on linux but on windows seven, texworks says that
 > the lpeg library is not found. However I installed 'lua for
 > windows' and my program works outside texworks (lpeg.dll is in this
 > 'lua for windows' distribution).
 > How can I do to tell texworks to access the lpeg.dll ? I tried to
 > put it in my texworks script directory but it fails.  Thanks for
 > any ideas.

It shouldn't be necessary to install an external Lua.  Doesn't
TeXworks use texlua?  The latter has lpeg compiled-in.  And I strongly
recommend to use texlua due to its built-in modules and extensions.

Can you provide a minimal example which allows developers to reproduce
the problem?  The TeXworks version number might be helpful too.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------



More information about the texworks mailing list