From: "Joel C. Salomon" <joelcsalomon@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: ConTeXt mkiv on Ubuntu (Hardy alpha)
Date: Wed, 16 Jan 2008 12:27:50 -0500 [thread overview]
Message-ID: <7871fcf50801160927l448ca798g1f935ff01e829a84@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.0.9999.0801152249470.25425@nqv-yncgbc>
On Jan 15, 2008 10:51 PM, Aditya Mahajan <adityam@umich.edu> 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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-01-16 17:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-15 21:25 Joel C. Salomon
2008-01-15 22:12 ` luigi scarso
2008-01-16 0:47 ` Aditya Mahajan
2008-01-16 2:47 ` Joel C. Salomon
2008-01-16 3:51 ` Aditya Mahajan
2008-01-16 17:27 ` Joel C. Salomon [this message]
2008-01-16 23:49 ` Taco Hoekwater
2008-01-17 19:52 ` Joel C. Salomon
2008-01-17 20:36 ` luigi scarso
2008-01-18 0:40 ` Joel C. Salomon
2008-01-18 2:44 ` luigi scarso
2008-01-18 7:41 ` Taco Hoekwater
2008-01-17 0:38 ` Aditya Mahajan
2008-01-16 10:37 ` Alex Lubberts
2008-01-18 7:47 ` Olivier
2008-01-18 16:45 ` Joel C. Salomon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7871fcf50801160927l448ca798g1f935ff01e829a84@mail.gmail.com \
--to=joelcsalomon@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).