From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41409 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:37:49 +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="===============1023011137==" X-Trace: ger.gmane.org 1212842373 9195 80.91.229.12 (7 Jun 2008 12:39:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2008 12:39:33 +0000 (UTC) Cc: Taco Hoekwater To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 07 14:40:14 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 1K4xiP-0003Fs-To for gctc-ntg-context-518@m.gmane.org; Sat, 07 Jun 2008 14:40:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 364C01FD16; Sat, 7 Jun 2008 14:39:25 +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 21159-04-4; Sat, 7 Jun 2008 14:38:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9DC9F1FCF6; Sat, 7 Jun 2008 14:38:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9571F1FCC7 for ; Sat, 7 Jun 2008 14:38:27 +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 20564-03-5 for ; Sat, 7 Jun 2008 14:37:52 +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 B080C1FD16 for ; Sat, 7 Jun 2008 14:37:51 +0200 (CEST) Original-Received: by rv-out-0708.google.com with SMTP id f25so1567356rvb.14 for ; Sat, 07 Jun 2008 05:37:50 -0700 (PDT) Original-Received: by 10.114.94.1 with SMTP id r1mr1418368wab.2.1212842270030; Sat, 07 Jun 2008 05:37:50 -0700 (PDT) Original-Received: by 10.114.176.7 with HTTP; Sat, 7 Jun 2008 05:37:49 -0700 (PDT) In-Reply-To: <484A7BD1.9010209@elvenkind.com> 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:41409 Archived-At: --===============1023011137== Content-Type: multipart/alternative; boundary="----=_Part_15560_28105027.1212842270017" ------=_Part_15560_28105027.1212842270017 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_15560_28105027.1212842270017 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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_15560_28105027.1212842270017-- --===============1023011137== 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 ___________________________________________________________________________________ --===============1023011137==--