* Some questions about luatex
@ 2006-11-07 8:45 luigi scarso
2006-11-07 8:51 ` Hans Hagen
2006-11-07 10:04 ` Taco Hoekwater
0 siblings, 2 replies; 3+ messages in thread
From: luigi scarso @ 2006-11-07 8:45 UTC (permalink / raw)
hi some questions about luatex
(www.luatex.org)
1) will be possible some code like
\luatry{%
...tex code}
\luaexcept{
..tex code}
2) will be possible to embedding some other language ie Python (of
course, reading the C source) ?
Thanks in advance
luigi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Some questions about luatex
2006-11-07 8:45 Some questions about luatex luigi scarso
@ 2006-11-07 8:51 ` Hans Hagen
2006-11-07 10:04 ` Taco Hoekwater
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2006-11-07 8:51 UTC (permalink / raw)
luigi scarso wrote:
> hi some questions about luatex
> (www.luatex.org)
> 1) will be possible some code like
> \luatry{%
> ....tex code}
> \luaexcept{
> ...tex code}
> 2) will be possible to embedding some other language ie Python (of
> course, reading the C source) ?
>
i'm not sure what you mean here
\somelua{ lua code that may or may not give back tex input }
if you mean that we can use lua for pretty printing, then the answer is yes, in my mkiv code there is already a lua based pretty printing framework
Hans
Hans
-----------------------------------------------------------------
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Some questions about luatex
2006-11-07 8:45 Some questions about luatex luigi scarso
2006-11-07 8:51 ` Hans Hagen
@ 2006-11-07 10:04 ` Taco Hoekwater
1 sibling, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2006-11-07 10:04 UTC (permalink / raw)
luigi scarso wrote:
> hi some questions about luatex
> (www.luatex.org)
> 1) will be possible some code like
> \luatry{%
> ...tex code}
> \luaexcept{
> ..tex code}
Guess at what you want: maybe, but not right away. The \luatry
would have to save quite a bit of state information for this
to be useful, which is not feasible on short notice (imagine
having to save some 400+ globals and hooking into a few dozen
data structure operations)
> 2) will be possible to embedding some other language ie Python (of
> course, reading the C source) ?
If you want to change the sources yourself, then yes. Otherwise
no. If luatex were to allow this without recompile, nobody could
rely on a stable platform for interchange of documents.
Greetigngs, Taco
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-07 10:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-07 8:45 Some questions about luatex luigi scarso
2006-11-07 8:51 ` Hans Hagen
2006-11-07 10:04 ` Taco Hoekwater
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).