[NTG-context] IV. Talking and Tweaking

2009-05-26 Thread 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

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
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] IV. Talking and Tweaking

2009-05-26 Thread luigi scarso
On Tue, May 26, 2009 at 11:56 AM, Piotr Kopszak kops...@gmail.com 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


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
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] IV. Talking and Tweaking

2009-05-26 Thread Hans Hagen

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
-
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] IV. Talking and Tweaking

2009-05-26 Thread Piotr Kopszak

 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
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] IV. Talking and Tweaking

2009-05-26 Thread Hans Hagen

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
-
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___