Hi, I guess this is really a basic question: I tried to compile luatex under OSX, this works, but I get the following error: ***************************************************************** * Error: The main texmf tree was not found. * * Use the --datadir option to specify its parent directory. * * If you do not have the files, you should be able to them from * * the same place you got these sources from, or from one of the * * CTAN hosts. * ***************************************************************** Regardless of this message, it still compiles. However, when I try to typeset the manual, I get the following fatal error: I can't find the format file `/Users/simi/Desktop/luatex- snapshot-20070622/build/texk/web2c/luatex.fmt'! luatex.fmt is nowhere on my system. Should this be part of the snapshot or is this something I should build myself? TIA simon -- Dr. des. Simon Spiegel EDV-Koordinator Seminar für Filmwissenschaft Plattenstrasse 54 CH-8032 Zürich +41 44 634 35 37 www.film.unizh.ch Büro: Wilfriedstrasse 6, Raum 006, +41 44 634 35 06
Simon Spiegel wrote:
Regardless of this message, it still compiles. However, when I try to typeset the manual, I get the following fatal error: I can't find the format file `/Users/simi/Desktop/luatex-snapshot-20070622/build/texk/web2c/luatex.fmt'!
luatex.fmt is nowhere on my system. Should this be part of the snapshot or is this something I should build myself?
You can best take the binaries that Arthur makes. Keep in mind that currently luatex is still kind of instable (node reimplemenation) and next will be a bit on the move dus to opentype reader reimplementation (ff 2 data model); around tug 2007 we expect to have binaries available that can qualify as beta quality. Formats you should build yourself, in the usual way (initex mode), unless you want to hook in lua code at startup time in which case you may want more specialized (explicit paths and such) command lines luatex.fmt ... in pdftex plain.tex may result in a pdftex.fmt file luatex itself does not ship with a format (although we have plans for a plain luatex format with rudimentary features as plain, but this has no high priority). 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 -----------------------------------------------------------------
You can best take the binaries that Arthur makes.
It's online now (https://foundry.supelec.fr/frs/?group_id=10 for the whole list of files), but please note that the binary I build for Mac OS X is for Intel processors only, as I have no access to a machine running on PowerPC. I could cross-compile for ppc, but then I couldn't test it ;-) Arthur
On 23.06.2007, at 15:14, Arthur Reutenauer wrote:
You can best take the binaries that Arthur makes.
It's online now (https://foundry.supelec.fr/frs/?group_id=10 for the whole list of files), but please note that the binary I build for Mac OS X is for Intel processors only, as I have no access to a machine running on PowerPC. I could cross-compile for ppc, but then I couldn't test it ;-)
Thanks, but as I said, I actually succeeded in compiling (on PPC), but my problem was the missing luatex.fmt simon -- Simon Spiegel Steinhaldenstr. 50 8002 Zürich Telephon: ++41 44 451 5334 Mobophon: ++41 76 459 60 39 http://www.simifilm.ch "I have never been certain that the moral of the Icarus myth is, as is generally accepted, 'don't fly too high', or whether it might also be thought of as: 'forget about the wax and feathers, and do a better job on the wings." Stanley Kubrick
Thanks, but as I said, I actually succeeded in compiling (on PPC), but my problem was the missing luatex.fmt
Sure, I was merely replying to Hans. To build the format, as he said, you must run LuaTeX in ini mode; so, to build, say, “plain LuaTeX”: ./luatex -ini --progname=luatex -jobname=luatex '\input plain.tex\dump' should build a format file with the name luatex.fmt, provided plain.tex is found by LuaTeX (I suggest putting it in the current directory for now). The problem you have here is that LuaTeX is not “distributed” with a set of TeX files, fonts, etc.; the only product is the binary, so you should make the distribution yourself. For my personal use, I chose to fake a real TeX installation by putting all the binaries in directories like $HOME/TeX/luatex/dev/$rev (with rev the number of the current revision; 508 as of this afternoon); and putting links from $HOME/TeX/luatex to the different texmf trees of the standard TeX Live installation (texmf, texmf-dist, texmf-var, etc.). This works because kpathsea expects to find the texmf trees either in the parent directory, or in the grand-parent. I find this architecture quite practical for all the different extensions of TeX currently under development (not only for LuaTeX). Once you have done that you can use LuaTeX pretty much like you use the original TeX or PDFTeX, with all the packages you wish (although I couldn't recommend trying to use LaTeX at this stage, mostly because of the hyphenation patterns). Arthur
participants (3)
-
Arthur Reutenauer
-
Hans Hagen
-
Simon Spiegel