On Friday 29 January 2010 18:41:57 Peter Kümmel wrote: > Am Freitag, den 29.01.2010, 17:55 -0500 schrieb Steve Litt: > > Hi Peter, > > > > As a LyX user who often parses LyX native code in documents, > > programmatically writes LyX native code, and uses Vim to change LyX > > native code, I have the same reservations about lua as I do with XML -- > > it might make my job as a user a lot harder. Starting from your link I > > tried to find an example of luatex and couldn't. > > > > When the talk turns of embedding LUA within TeX, I start getting VERY > > nervous. XML is bad enough, but at least with an XML parser it parses > > down to hierarchy that could be reasonably parsed. Having looked at > > Javascript embedded HTML, I'm concerned. > > > > Do you have more docuemntation with examples of Luatex? > > Your doubts are fully justified, I also couldn't find an example on the > luatex site. Here is an example how Lua could be used within TeX > http://luatex.bluwiki.com/go/Traversing_TeX_nodes > Open a scope and enter the Lua scipt. > I assume the script is simpler than all the <..> </..> tags.
This example has no content. I'd be interested to see a real LuaTeX document in its native format. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt