Dear All In a the recent Luatex 0.46.0 announcement http://tug.org/pipermail/luatex/2009-November/001118.html experimental support for loading external libraries was reported. I am running Windows Vista with ConTeXt ver: 2010.03.12 19:49 MKIV fmt: 2010.3.16 int: english/english with LuaTeX, Version beta-0.51.0-2010031309 (rev 3479) I have also downloaded Lua 5.1 from http://luaforwindows.luaforge.net/ and so have Lua5.1.dll installed. This distribution has a number of interesting extenal libraries (ie DLLs) that I would like to try out with LuaTeX. If I can make progress I would be happy to document and write-up my experiments for posting on the Wiki in case they may be of interest to others. I should say that my coding skills are somewhat rusty as I've been away from programming/TeX for a few years... so do please excuse my "simplistic" questions :-) So, I was wondering if anyone has a minimal example they would be kind enough to share, or can give me a few pointers/guidelines so that I can start experimenting. In particular, I'm interested to call external libraries and inject the output from an external library into TeX for typesetting. For example, is it possible to load a library once, keep it loaded and access the library functions from different commands during the TeX run? In outline... --- run some code to load the library (initialisation) --- keeping the library available --- some commands\definitions to accss library functions eg \calltolibrary{....) --- make callsto library and pass the output into TeX for typesetting I would be very grateful for any guidance/help that can be offered. Warm wishes to all Graham