Problem loading a DLL with the latest Ctx beta
Any way to re-enable user DLL loading into ConTeXt, even in the future, would be appreciated...
I have just uploaded dynamically linked luatex and luajittex. I hope that you can again load your lua DLL modules in a few days. Further, standard C functions can be used in ffi without loading a C DLL. For example, my previous example can be changed as follows: % % context test.tex % \starttext \placeformula \startformula j_1(2.387) = \startluacode local ffi = require("ffi") ffi.cdef[[ double _j1(double x); ]] tex.print(ffi.C._j1(2.387)) \stopluacode \stopformula \stoptext Best, Akira
Hello Akira,
On Sun, 09 Apr 2017 00:23:48 +0200, Akira Kakuto
Any way to re-enable user DLL loading into ConTeXt, even in the future, would be appreciated...
I have just uploaded dynamically linked luatex and luajittex.
great news, I'll try it in the upcoming week. Thank you. Best regards, Lukas
I hope that you can again load your lua DLL modules in a few days. Further, standard C functions can be used in ffi without loading a C DLL. For example, my previous example can be changed as follows:
% % context test.tex % \starttext \placeformula \startformula j_1(2.387) = \startluacode local ffi = require("ffi") ffi.cdef[[ double _j1(double x); ]] tex.print(ffi.C._j1(2.387)) \stopluacode \stopformula \stoptext
Best, Akira
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038
Hello Akira,
I tested ConTeXt run with my DLL module and all works fine.
Thank you again!
Best regards,
Lukas
On Sun, 09 Apr 2017 00:23:48 +0200, Akira Kakuto
Any way to re-enable user DLL loading into ConTeXt, even in the future, would be appreciated...
I have just uploaded dynamically linked luatex and luajittex. I hope that you can again load your lua DLL modules in a few days. Further, standard C functions can be used in ffi without loading a C DLL. For example, my previous example can be changed as follows:
% % context test.tex % \starttext \placeformula \startformula j_1(2.387) = \startluacode local ffi = require("ffi") ffi.cdef[[ double _j1(double x); ]] tex.print(ffi.C._j1(2.387)) \stopluacode \stopformula \stoptext
Best, Akira
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038
participants (2)
-
Akira Kakuto
-
Procházka Lukáš Ing.