ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* IV. Talking and Tweaking
@ 2009-05-26  9:56 Piotr Kopszak
  2009-05-26 10:03 ` luigi scarso
  2009-05-26 10:10 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Piotr Kopszak @ 2009-05-26  9:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IV. Talking and Tweaking
  2009-05-26  9:56 IV. Talking and Tweaking Piotr Kopszak
@ 2009-05-26 10:03 ` luigi scarso
  2009-05-26 10:10 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: luigi scarso @ 2009-05-26 10:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 589 bytes --]

On Tue, May 26, 2009 at 11:56 AM, Piotr Kopszak <kopszak@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

[-- Attachment #1.2: Type: text/html, Size: 1059 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IV. Talking and Tweaking
  2009-05-26  9:56 IV. Talking and Tweaking Piotr Kopszak
  2009-05-26 10:03 ` luigi scarso
@ 2009-05-26 10:10 ` Hans Hagen
  2009-05-26 10:26   ` Piotr Kopszak
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2009-05-26 10:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IV. Talking and Tweaking
  2009-05-26 10:10 ` Hans Hagen
@ 2009-05-26 10:26   ` Piotr Kopszak
  2009-05-26 12:15     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Piotr Kopszak @ 2009-05-26 10:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>>
>> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IV. Talking and Tweaking
  2009-05-26 10:26   ` Piotr Kopszak
@ 2009-05-26 12:15     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2009-05-26 12:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-26 12:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-26  9:56 IV. Talking and Tweaking Piotr Kopszak
2009-05-26 10:03 ` luigi scarso
2009-05-26 10:10 ` Hans Hagen
2009-05-26 10:26   ` Piotr Kopszak
2009-05-26 12:15     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).