ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Burak Emir" <burak.emir@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: context minimal install problem? luatex bug?
Date: Sat, 7 Jun 2008 14:45:26 +0200	[thread overview]
Message-ID: <ac0ce270806070545l64089d98r15ca1e34ca8fb7e3@mail.gmail.com> (raw)
In-Reply-To: <ac0ce270806070537o35295be0q8b409336e27606a3@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 5056 bytes --]

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
>



-- 
Burak Emir
--
http://burak.emir.googlepages.com

[-- Attachment #1.2: Type: text/html, Size: 6555 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2008-06-07 12:45 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-07 11:23 Burak Emir
2008-06-07 11:55 ` Burak Emir
2008-06-07 12:15   ` Taco Hoekwater
2008-06-07 12:37     ` Burak Emir
2008-06-07 12:45       ` Burak Emir [this message]
2008-06-07 12:55         ` Taco Hoekwater
2008-06-07 12:59           ` Burak Emir
2008-06-07 13:18             ` Taco Hoekwater
2008-06-07 13:54               ` Burak Emir
2008-06-07 14:05                 ` Taco Hoekwater
2008-06-07 14:13                   ` Burak Emir
2008-06-07 14:17                     ` Taco Hoekwater
2008-06-07 14:44                       ` Burak Emir
2008-06-07 14:50                         ` Burak Emir
2008-06-07 16:27                         ` Jean Magnan de Bornier
2008-06-07 20:56                           ` Burak Emir
2008-06-07 21:09                             ` Burak Emir
2008-06-07 21:43                               ` Hans Hagen
2008-06-07 21:50                                 ` Burak Emir
2008-06-08 21:34                                   ` Hans Hagen
2008-06-07 21:29                             ` Mojca Miklavec
2008-06-07 12:01 ` Taco Hoekwater

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=ac0ce270806070545l64089d98r15ca1e34ca8fb7e3@mail.gmail.com \
    --to=burak.emir@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=taco@elvenkind.com \
    /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).