IV. Talking and Tweaking
Hello, I finally decided to learn lua and start making use of it in ConTeXt. I was quite excited to find examples of interfaces in the fourth part of "A New Kind of TeX" paper. It would be really useful if someone could give examples how they could actually be used, at least some of them e.g. command.insert, command.hbox, command.vbox, tex.parindent I think it would also be quite useful to propose a limited set of most useful interfaces, something like the Top Ten ConTeXt commands. Is it possible at all? All Best Piotr -- http://okle.pl
On Tue, May 26, 2009 at 11:56 AM, Piotr Kopszak
Hello,
I finally decided to learn lua and start making use of it in ConTeXt. I was quite excited to find examples of interfaces in the fourth part of "A New Kind of TeX" paper. It would be really useful if someone could give examples how they could actually be used, at least some of them e.g.
command.insert, command.hbox, command.vbox, tex.parindent
luatexref-t.pdf http://www.luatex.org/svn/trunk/manual/luatexref-t.pdf mk.pdf http://www.pragma-ade.com/general/manuals/mk.pdf -- luigi
Piotr Kopszak wrote:
Hello,
I finally decided to learn lua and start making use of it in ConTeXt. I was quite excited to find examples of interfaces in the fourth part of "A New Kind of TeX" paper. It would be really useful if someone could give examples how they could actually be used, at least some of them e.g.
command.insert, command.hbox, command.vbox, tex.parindent
where are these command.* defined? in context command is a reserved namespace tex.parindent is \parindent at the lua end but setting it that way will probably mess up context's own indent handling at some point there will be a context lua api defined but it's a bit early for that now
I think it would also be quite useful to propose a limited set of most useful interfaces, something like the Top Ten ConTeXt commands. Is it possible at all?
could be interesting ... a wiki page where users can mention their top-ten ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
command.insert, command.hbox, command.vbox, tex.parindent
where are these command.* defined? in context command is a reserved namespace
I found it on screen IV. of http://luatex.org/talks/luaconf-paper.pdf and nowhere else, that's why I asked. (Sorry, tex.parindent is mentioned in luatexref-t.pdf) P. -- http://okle.pl
Piotr Kopszak wrote:
command.insert, command.hbox, command.vbox, tex.parindent where are these command.* defined? in context command is a reserved namespace
I found it on screen IV. of
http://luatex.org/talks/luaconf-paper.pdf
and nowhere else, that's why I asked. (Sorry, tex.parindent is mentioned in luatexref-t.pdf)
keep in mind that these are old talks and interfaces (and ideas) might have changed so luatexref-t.pdf is the reference (mk.pdf is the development history showing usage) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
luigi scarso
-
Piotr Kopszak