Success Story - II
Hello Happy to report that Luatex made my life easier once again. :) I've made another test papers for my students, with varying problems, and it was possible only due to Lua emedded code. Examples: Perform logical AND, OR and XOR under the following pair of hexadecimal numbers: \startluacode n = math.random(10,255) m = math.random(10,255) tex.print(string.format("%X, %X", n, m)) \stopluacode Encode your Name and Surname as a \startluacode a = {'null-terminated', 'dollar-terminated', 'Pascal'} tex.print( string.format('%s string.', a[math.random(1,3)]) ); \stopluacode Lucky, the discussion about Lua reference started in the list today, because I need more knowledge of Lua to make even more flexible assignments. Best regards, Vyatcheslav
On 10/25/07, Vyatcheslav Yatskovsky
Hello
Happy to report that Luatex made my life easier once again. :) I've made another test papers for my students, with varying problems, and it was possible only due to Lua emedded code. It's an important topic for. Do you have some other examples, so I eventually collect them in my wiki page?
-- luigi
Hello luigi, Thanks for the interest. I have provided the most prominent pieces of code already in this list. ;) Where are your Wiki page? -- Best regards, Vyatcheslav Yatskovsky
On 10/25/07, Vyatcheslav Yatskovsky
wrote: Hello
Happy to report that Luatex made my life easier once again. I've made another test papers for my students, with varying problems, and it was possible only due to Lua emedded code. It's an important topic for. Do you have some other examples, so I eventually collect them in my wiki page?
Thanks to Vyatcheslav Yatskovsky , examples are now at http://wiki.contextgarden.net/User:Luigi.scarso#Luatex_examples (more examples are welcome,of course) luigi
participants (2)
-
luigi scarso
-
Vyatcheslav Yatskovsky