On Jan 15, 2008 10:51 PM, Aditya Mahajan
Is there a test file with mkiv-only features I can better test my installation on?
\ctxlua{a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;}
This will definitely not work for mkii :)
Good point; and here's where I ran into trouble: chesky@maxwell:~/Documents/tex practice$ cat hello_lua.tex \starttext Hello World \ctxlua{a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;} \stoptext chesky@maxwell:~/Documents/tex practice$ texexec --lutex hello_lua.tex TeXExec | processing document 'hello_lua.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file hello_lua.top TeXExec | using randomseed 657 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. (/usr/share/texmf/web2c/natural.tcx) entering extended mode (./hello_lua.tex ConTeXt ver: 2008.01.02 14:18 MKII fmt: 2008.1.15 int: english/english language : language en is active system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/share/texmf/tex/context/base/cont-new.mkii) (/usr/share/texmf/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/etc/texmf/tex/context/user/cont-sys.rme (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded language : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi :texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded specials : tex,postscript,rokicki loaded system : hello_lua.top loaded (./hello_lua.top specials : loading definition file tpd (/usr/share/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/share/texmf/tex/context/base/spec-fdf.tex (/usr/share/texmf/tex/context/base/spec-fdf.mkii)) specials : fdf loaded ) specials : fdf,tpd loaded ) systems : system commands are disabled (/usr/share/texmf/tex/context/base/pdfr-def.tex) systems : begin file hello_lua at line 1 ! Undefined control sequence. l.3 \ctxlua {a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;} ?
Is texexec for some reason not actually running luatex here? --Joel