From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40243 Path: news.gmane.org!not-for-mail From: John Devereux Newsgroups: gmane.comp.tex.context Subject: Re: Unable to generate luatex formats Date: Tue, 15 Apr 2008 12:25:47 +0100 Message-ID: <8763ujl5qc.fsf@cordelia.devereux.me.uk> References: <87r6d7lfcw.fsf@cordelia.devereux.me.uk> <480475DA.60908@elvenkind.com> <87ej97laff.fsf@cordelia.devereux.me.uk> <48047BB4.8040902@wxs.nl> <87abjvl7z5.fsf@cordelia.devereux.me.uk> <6faad9f00804150346l3b78887drc47e996352df558e@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 1208258804 15470 80.91.229.12 (15 Apr 2008 11:26:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2008 11:26:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 15 13:27:20 2008 connect(): Connection refused 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 1JljJi-0002TF-Lo for gctc-ntg-context-518@m.gmane.org; Tue, 15 Apr 2008 13:27:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 10F851FCD3; Tue, 15 Apr 2008 13:26:34 +0200 (CEST) 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 19249-03-4; Tue, 15 Apr 2008 13:26:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 345E81FCA2; Tue, 15 Apr 2008 13:26:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E27151FC7A for ; Tue, 15 Apr 2008 13:26:21 +0200 (CEST) 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 18930-04-3 for ; Tue, 15 Apr 2008 13:25:48 +0200 (CEST) Original-Received: from cordelia.devereux.me.uk (cordelia.devereux.me.uk [217.169.15.178]) by ronja.ntg.nl (Postfix) with ESMTP id 58E951FBC6 for ; Tue, 15 Apr 2008 13:25:48 +0200 (CEST) Original-Received: from [217.169.15.178] (helo=cordelia.devereux.me.uk ident=jd) by cordelia.devereux.me.uk with esmtp (Exim 4.69) (envelope-from ) id 1JljIJ-0006wd-Um for ntg-context@ntg.nl; Tue, 15 Apr 2008 12:25:48 +0100 In-Reply-To: <6faad9f00804150346l3b78887drc47e996352df558e@mail.gmail.com> (Mojca Miklavec's message of "Tue\, 15 Apr 2008 12\:46\:38 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) 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:40243 Archived-At: "Mojca Miklavec" writes: > On Tue, Apr 15, 2008 at 12:37 PM, John Devereux wrote: >> Hans Hagen writes: >> >> > John Devereux wrote: >> >> Taco Hoekwater writes: >> >> >> >>> John Devereux wrote: >> >>>> Michael Green writes: >> >>>> >> >>>>> I'm getting the following error when running this command: luatools -- >> >>>>> ini --verbose --compile cont-en >> >>>> Hi, I am getting a similar error on debian unstable. >> >>> Both of you, can you check that >> >>> >> >>> luatools luat-env.lua >> >> >> >> I just get a blank line printed. And I get the same if I feed it the name >> >> of a random, non-existent file. Which is not encouraging... >> >> >> >>> finds the file? If not, try running luatools --generate >> >> >> >> This produces: >> >> >> >> LuaTools | skipping /texmf-local/web2c/texmf.cnf >> >> LuaTools | skipping /texmf/web2c/texmf.cnf >> >> LuaTools | >> >> LuaTools | runtime: 0.003 seconds >> > >> > aha, so how about setting the env variables TEXMFCNF and TEXMF >> > >> > Hans >> >> aha indeed! >> >> Setting TEXMF was missing from the instructions in debian... Or perhaps I >> messed up my configuration in the past. >> >> luatools --ini --compile cont-en >> >> works now. >> >> I will start playing with it. >> >> A quick try of the example snippet did not work (see dump at end of >> message) but I will look into it more and try Mojcas advice re >> ctxtools --update. > > ctxtools --update won't help you as you have some missing fonts (msam7.tfm). > http://packages.debian.org/etch/all/texlive-base/filelist claims that > the file should be present in texlive-base in Debian, so it's a bit > confusing. > > Mojca Hi Mojca, There is a file here: /usr/share/texmf-texlive/fonts/tfm/public/ams/msam7.tfm But I don't know what else is needed. John >> ============================================================ >> >> ~$cat temp.tex >> >> \starttext >> \ctxlua{a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;} >> \stoptext >> >> ~$ texexec --lua temp.tex >> >> >> TeXExec | processing document 'temp.tex' >> TeXExec | no ctx file found >> TeXExec | tex processing method: context >> TeXExec | TeX run 1 >> TeXExec | writing option file temp.top >> TeXExec | using randomseed 1151 >> TeXExec | tex engine: luatex >> TeXExec | tex format: cont-en >> >> (./temp.tex >> >> ConTeXt ver: 2008.01.28 21:28 MKIV fmt: 2008.4.15 int: english/english >> >> language : language en is active >> report >> utilityfile: not present >> 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.mkiv >> lua : used config path - /usr/share/texmf/web2c/texmf.cnf >> lua : used cache path - //home/jd/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028 >> ) (/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 >> ) >> bodyfont : 12pt rm is loaded >> error >> define font: font with name msam7 is not found >> error >> define font: name: msam7, loading aborted >> ! Font \*7ptmmmarm*:=msam7 at 7pt not loadable: metric data not found or bad. >> >> \relax >> \xxdododefinefont ...tspec {#4}\newfontidentifier >> \let \localrelativefontsiz... >> \dodosetmathfamilyA ...amily \fontsize \endcsname >> \else \ifcsname \fontbody ... >> \dosetmathfamily ...athfamily \scriptscriptfont #1 >> \let \fontbody #3\dodosetm... >> ...\scriptscriptface \c!ma \empty >> \dosetmathfamily \mbfam \t... >> \synchronizemath ...athfonts \the \mathstrategies >> \fi >> ... >> l.1 >> \starttext >> ? -- John Devereux ___________________________________________________________________________________ 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 ___________________________________________________________________________________