From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41410 Path: news.gmane.org!not-for-mail From: "Burak Emir" Newsgroups: gmane.comp.tex.context Subject: Re: context minimal install problem? luatex bug? Date: Sat, 7 Jun 2008 14:45:26 +0200 Message-ID: References: <484A7BD1.9010209@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1387168637==" X-Trace: ger.gmane.org 1212842847 10345 80.91.229.12 (7 Jun 2008 12:47:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2008 12:47:27 +0000 (UTC) Cc: Taco Hoekwater To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 07 14:48:09 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 1K4xq3-0005bO-5c for gctc-ntg-context-518@m.gmane.org; Sat, 07 Jun 2008 14:48:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B77AC1FD91; Sat, 7 Jun 2008 14:47:16 +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 21386-02-8; Sat, 7 Jun 2008 14:46:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A21031FCF6; Sat, 7 Jun 2008 14:46:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D56511FCF6 for ; Sat, 7 Jun 2008 14:46:08 +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 21386-02-7 for ; Sat, 7 Jun 2008 14:45:29 +0200 (CEST) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.241]) by ronja.ntg.nl (Postfix) with ESMTP id 6AAD71FC77 for ; Sat, 7 Jun 2008 14:45:28 +0200 (CEST) Original-Received: by rv-out-0708.google.com with SMTP id f25so1568830rvb.14 for ; Sat, 07 Jun 2008 05:45:27 -0700 (PDT) Original-Received: by 10.114.181.1 with SMTP id d1mr1357391waf.185.1212842726871; Sat, 07 Jun 2008 05:45:26 -0700 (PDT) Original-Received: by 10.114.176.7 with HTTP; Sat, 7 Jun 2008 05:45:26 -0700 (PDT) In-Reply-To: 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:41410 Archived-At: --===============1387168637== Content-Type: multipart/alternative; boundary="----=_Part_15569_25231333.1212842726852" ------=_Part_15569_25231333.1212842726852 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline p.s.: This may be the problem? $ context test.texMtxRun | loading configuration for /usr/local/context/tex/texmf/web2c from /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31 MtxRun | error MtxRun | total runtime: 0.011 $ ls /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31 ls: /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31: No such file or directory On Sat, Jun 7, 2008 at 2:37 PM, Burak Emir wrote: > Hi Taco, > > Thanks for the quick response. I unset TEXMF, TEXMFMAIN and did `luatools > --generate'. I also throw context/bin out of my PATH. > > First thing I notice: I can run context again (without parameters) > But with test.tex, it still does not work: > > Burak-Emirs-MacBook-Pro:/tmp/testlua.a buraq$ context test.tex > MtxRun | loading configuration for /usr/local/context/tex/texmf/web2c from > /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31 > MtxRun | error > MtxRun | total runtime: 0.011 > > output of 'env MTX_INPUT_TRACE=3 context test.tex': > > ? tex locator not found: %s | /usr/local/context/tex/texmf-project > ? tex locator not found: %s | /usr/local/context/tex/texmf-fonts > ? tex locator not found: %s | /usr/local/context/tex/texmf-local > ! tex locator found: %s | /usr/local/context/tex/texmf-context > = hash append: %s | /usr/local/context/tex/texmf-context > ? tex locator not found: %s | /usr/local/context/tex/texmf-extra > ! tex locator found: %s | /usr/local/context/tex/texmf > = hash append: %s | /usr/local/context/tex/texmf > ! using suffix based filetype: %s | lua > ? blobpath asked: %s | context.lua > ? blobpath do: %s (%s) | /usr/local/context/tex/texmf-context > ? blobpath do: %s (%s) | /usr/local/context/tex/texmf > ? filename: %s | context.lua > - readable: %s | ./context.lua > - readable: %s | ./context.lua > - readable: %s | ./context.lua > - readable: %s | ./context.lua > ! using suffix based filetype: %s | lua > ? blobpath asked: %s | mtx-context.lua > ? blobpath do: %s (%s) | /usr/local/context/tex/texmf-context > ? blobpath do: %s (%s) | /usr/local/context/tex/texmf > ? filename: %s | mtx-context.lua > - readable: %s | ./mtx-context.lua > - readable: %s | ./mtx-context.lua > - readable: %s | ./mtx-context.lua > - readable: %s | ./mtx-context.lua > = found in hash: %s | > /usr/local/context/tex/texmf-context/scripts/context/lua/mtx-context.lua > MtxRun | loading configuration for /usr/local/context/tex/texmf/web2c from > /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31 > MtxRun | error > MtxRun | total runtime: 0.010 > > Any idea what is going on? > > Burak > > > On Sat, Jun 7, 2008 at 2:15 PM, Taco Hoekwater wrote: > >> Burak Emir wrote: >> > p.s.: I figured out that I had an alias defined in my bash_profile >> > alias context="ruby >> > /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb >> > texexec --luatex" >> >> I this may explain the dvi instead of pdf problem, but you also have >> a configuration problem with mtxrun (that is not unheard of at all ...) >> >> >> # have coffee >> >> all good so far, no need to repeat any of it >> >> >> export >> >> >> PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/context/bin:/usr/local/context/tex/texmf-osx-intel/bin >> >> You don't actually need /usr/local/context/bin in the PATH I think, >> but it should be harmless. Mojca? >> >> >> export TEXMF=/usr/local/context/tex/texmf >> >> export TEXMFMAIN=$TEXMF >> >> This is BAD. You definately do not want to set TEXMF to that one >> directory, and do not need either of the variables at all. >> After removing these two from your environment and a manual >> >> $ luatools --generate >> >> all should be well. If it is not, you should post the output of >> >> $ env MTX_INPUT_TRACE=3 context test.tex >> >> for debugging purposes. >> >> Background information: It fails so miserably because if you set TEXMF, >> it should have a small list of different locations, not just >> /usr/local/context/tex/texmf >> In fact, most files live in >> /usr/local/context/tex/texmf-local >> But simply not setting the variable at all should work just fine. >> >> Best wishes, >> Taco >> >> ___________________________________________________________________________________ >> 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 >> >> ___________________________________________________________________________________ >> > > > > > -- > Burak Emir > -- > http://burak.emir.googlepages.com > -- Burak Emir -- http://burak.emir.googlepages.com ------=_Part_15569_25231333.1212842726852 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline p.s.: This may be the problem?

$  context test.texMtxRun | loading configuration for /usr/local/context/tex/texmf/web2c from /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31
MtxRun | error
MtxRun | total runtime: 0.011

$ ls  /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31
ls: /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31: No such file or directory


On Sat, Jun 7, 2008 at 2:37 PM, Burak Emir <burak.emir@gmail.com> wrote:
Hi Taco,

Thanks for the quick response. I unset TEXMF, TEXMFMAIN and did `luatools --generate'. I also throw context/bin out of my PATH.

First thing I notice: I can run context again (without parameters)
But with test.tex, it still does not work:

Burak-Emirs-MacBook-Pro:/tmp/testlua.a buraq$ context test.tex
MtxRun | loading configuration for /usr/local/context/tex/texmf/web2c from /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31
MtxRun | error
MtxRun | total runtime: 0.011

output of  'env MTX_INPUT_TRACE=3 context test.tex':

? tex locator not found: %s | /usr/local/context/tex/texmf-project
? tex locator not found: %s | /usr/local/context/tex/texmf-fonts
? tex locator not found: %s | /usr/local/context/tex/texmf-local
! tex locator found: %s | /usr/local/context/tex/texmf-context
= hash append: %s | /usr/local/context/tex/texmf-context
? tex locator not found: %s | /usr/local/context/tex/texmf-extra
! tex locator found: %s | /usr/local/context/tex/texmf
= hash append: %s | /usr/local/context/tex/texmf
! using suffix based filetype: %s | lua
? blobpath asked: %s | context.lua
? blobpath do: %s (%s) | /usr/local/context/tex/texmf-context
? blobpath do: %s (%s) | /usr/local/context/tex/texmf
? filename: %s | context.lua
- readable: %s | ./context.lua
- readable: %s | ./context.lua
- readable: %s | ./context.lua
- readable: %s | ./context.lua
! using suffix based filetype: %s | lua
? blobpath asked: %s | mtx-context.lua
? blobpath do: %s (%s) | /usr/local/context/tex/texmf-context
? blobpath do: %s (%s) | /usr/local/context/tex/texmf
? filename: %s | mtx-context.lua
- readable: %s | ./mtx-context.lua
- readable: %s | ./mtx-context.lua
- readable: %s | ./mtx-context.lua
- readable: %s | ./mtx-context.lua
= found in hash: %s | /usr/local/context/tex/texmf-context/scripts/context/lua/mtx-context.lua
MtxRun | loading configuration for /usr/local/context/tex/texmf/web2c from /Users/buraq/luatex-cache/context/f70b0d481875d119766efabfbdb61af7/trees/01ff2a12d1aaf66ed1ecab879ab73b31
MtxRun | error
MtxRun | total runtime: 0.010

Any idea what is going on?

Burak


On Sat, Jun 7, 2008 at 2:15 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
Burak Emir wrote:
> p.s.: I figured out that I had an alias defined in my bash_profile
> alias context="ruby
> /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb
> texexec --luatex"

I this may explain the dvi instead of pdf problem, but you also have
a configuration problem with mtxrun (that is not unheard of at all ...)

>> # have coffee

all good so far, no need to repeat any of it

>> export
>> PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/context/bin:/usr/local/context/tex/texmf-osx-intel/bin

You don't actually need /usr/local/context/bin in the PATH I think,
but it should be harmless. Mojca?

>> export TEXMF=/usr/local/context/tex/texmf
>> export TEXMFMAIN=$TEXMF

This is BAD. You definately do not want to set TEXMF to that one
directory, and do not need either of the variables at all.
After removing these two from your environment and a manual

  $ luatools --generate

all should be well. If it is not, you should post the output of

  $ env MTX_INPUT_TRACE=3 context test.tex

for debugging purposes.

Background information: It fails so miserably because if you set TEXMF,
it should have a small list of different locations, not just
  /usr/local/context/tex/texmf
In fact, most files live in
  /usr/local/context/tex/texmf-local
But simply not setting the variable at all should work just fine.

Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________







--
Burak Emir
--
http://burak.emir.googlepages.com ------=_Part_15569_25231333.1212842726852-- --===============1387168637== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1387168637==--