On 1/6/2019 8:14 PM, Thomas A. Schmitz wrote:
On 06.01.19 19:20, Wolfgang Schuster wrote:
\starttext
\startluacode
print("abcdeφὴὰabcde")
local remap = utf.remapper { a = "y", c = "z", ὴ = "ή", ὰ = "ά" }
print(remap("abcdeφὴὰabcde"))
\stopluacode
\stoptext
Wolfgang, thank you, I should have looked into this manual! Is there an easy way to load the necessary additional libraries if I'm running luatex alone, outside of mtxrun? what do you mean with "running luatex alone" ; you can run scripts with
mtxrun --script yourscript foo.txt (or do you mean something different) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------