Re: LyX and LuaTeX
On 2010-11-02, Rob Oakes wrote: > But, initial experiments show that it was easy to get up and running, > and that it works with LyX 2.0 very well. Take care with UTF > characters, though. I probably could have gotten it sorted out, but > didn't really want to fuss with it. There is an ongoing effort to "unify" the usage of XeLaTeX and LuaLaTeX, i.e. recent versions of fontspec and unicode-math support work in a way you can use the same document with both engines. My description would be along the lines: Since TeXLive 2010 you can also use LuaTeX with LaTeX documents exported for the XeTeX engine (make sure *not* to load the "xunicode" package). Also, documents intended for XeTeX/LuaTeX should use the "polyglossia" package instead of "babel" for language support. AFAIK, is not yet implemented in LyX 2.0. Günter
Re: LyX and LuaTeX
Thanks for the link. I was able to get LuaTeX working with normal pdfTeX documents via following the instructions on the wiki (using the MacTeX 2010 distribution and LyX 2.0). I'm running into problems using fontspec, though. I think that is due to the lack of a fontspec database. (Described in the fontspec2010 docs.) To generate the database, you need to download and run a script. I'll have to experiment with it when I have a bit more time. But, initial experiments show that it was easy to get up and running, and that it works with LyX 2.0 very well. Take care with UTF characters, though. I probably could have gotten it sorted out, but didn't really want to fuss with it. I will update the wiki when I get a moment. (I'm also going to have a go with fontspec and see if I can get the problems sorted). Cheers, Rob
Re: LyX and LuaTeX
Rob Oakes wrote: > I am currently slogging my way through a book chapter on advanced methods > in LyX/LaTeX and just had a quick question. Does anyone know if there is > documentation on how to use LyX with luaTeX? > > I know that it isn't officially supported, and things would probably break > terribly, and that it might corrupt my mind and force me to sacrifice my > first born. But I'm kind of curious to experiment. Has anyone spent any > time using luaTeX from within LyX? Care to comment on just how broken > things were? I tried it once, just out of interest, but LuaTeX was not very stable back then. I suppose now that you can use fontspec, it's just a slight variation from the XeTeX setup described here: http://wiki.lyx.org/LyX/XeTeX Of course it would be very welcome if you could document your effort on the wiki. Jürgen
LyX and LuaTeX
Dear LyX Users, I am currently slogging my way through a book chapter on advanced methods in LyX/LaTeX and just had a quick question. Does anyone know if there is documentation on how to use LyX with luaTeX? I know that it isn't officially supported, and things would probably break terribly, and that it might corrupt my mind and force me to sacrifice my first born. But I'm kind of curious to experiment. Has anyone spent any time using luaTeX from within LyX? Care to comment on just how broken things were? Cheers, Rob