From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38662 Path: news.gmane.org!not-for-mail From: "Joel C. Salomon" Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt mkiv on Ubuntu (Hardy alpha) Date: Wed, 16 Jan 2008 12:27:50 -0500 Message-ID: <7871fcf50801160927l448ca798g1f935ff01e829a84@mail.gmail.com> References: <7871fcf50801151325t5697e173udf77b4879093cd89@mail.gmail.com> <7871fcf50801151847r3566e6dak7a0a2d03b9ee5769@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200511833 13343 80.91.229.12 (16 Jan 2008 19:30:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2008 19:30:33 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 16 20:30:51 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JFDyK-0001xU-Cl for gctc-ntg-context-518@m.gmane.org; Wed, 16 Jan 2008 20:30:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EDA221FBE8; Wed, 16 Jan 2008 20:27:11 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07421-02; Wed, 16 Jan 2008 20:23:44 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2AD831FDCB; Wed, 16 Jan 2008 19:21:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EFEB61FC5A for ; Wed, 16 Jan 2008 19:16:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31183-01-3 for ; Wed, 16 Jan 2008 19:15:27 +0100 (CET) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by ronja.ntg.nl (Postfix) with ESMTP id 1B6701FB5B for ; Wed, 16 Jan 2008 18:28:04 +0100 (CET) Original-Received: by fk-out-0910.google.com with SMTP id 18so280239fkq.2 for ; Wed, 16 Jan 2008 09:27:50 -0800 (PST) Original-Received: by 10.78.131.8 with SMTP id e8mr1347618hud.1.1200504470392; Wed, 16 Jan 2008 09:27:50 -0800 (PST) Original-Received: by 10.78.13.7 with HTTP; Wed, 16 Jan 2008 09:27:50 -0800 (PST) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38662 Archived-At: On Jan 15, 2008 10:51 PM, Aditya Mahajan wrote: > > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________