Jairo A. del Rio schrieb am 06.04.2020 um 15:58:
Well, I'll be more specific. I attach a zip file showing a minimal
example of what I achieved so far and its output (labelled "Works") and
what I actually want, but does not work (labelled "Doesnotwork"). I've
tried different commands and combina
On Sun, 5 Apr 2020, Jairo A. del Rio wrote:
I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua
libraries and bindings (defining \ctxlua and the like). For instance, I
have the file foo.lua with some macros and I want to use them in my
project. Something like this:
\startpr
Jairo A. del Rio schrieb am 05.04.2020 um 17:49:
None of them work. Maybe I'm doing something wrong.
I guess so because
\loadluafile[testh.lua]
and
\luaenvironment testh.lua
work for me.
Wolfgang
___
If
None of them work. Maybe I'm doing something wrong.
I have my project file (say, "main.tex") in a folder (say, "Main") and
projects in a subfolder (say "Products").
I've written some Lua macros in a file (say, "foo.lua") and I need all the
products to be able to call those Lua functions, so I trie
Jairo A. del Rio schrieb am 05.04.2020 um 15:00:
I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua
libraries and bindings (defining \ctxlua and the like). For instance, I
have the file foo.lua with some macros and I want to use them in my
project. Something like this:
\
On 05.04.20 15:00, Jairo A. del Rio wrote:
I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua
libraries and bindings (defining \ctxlua and the like). For instance, I
have the file foo.lua with some macros and I want to use them in my
project. Something like this:
\startp
Il 05/04/20 15:00, Jairo A. del Rio ha scritto:
I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua
libraries and bindings (defining \ctxlua and the like). For instance, I
have the file foo.lua with some macros and I want to use them in my
project. Something like this:
\s
I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua
libraries and bindings (defining \ctxlua and the like). For instance, I
have the file foo.lua with some macros and I want to use them in my
project. Something like this:
\startproject project
%\component foo.lua %This does no