From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51765 Path: news.gmane.org!not-for-mail From: Harrie Frericks Newsgroups: gmane.comp.tex.context Subject: Re: First time user trying to get Context to work Date: Mon, 13 Jul 2009 12:00:03 +0200 Message-ID: <97eab8e50907130300p54c2a09codae558cde87ffae9@mail.gmail.com> References: <97eab8e50907130032k40e52369wccc2cdc53ac0e8cb@mail.gmail.com> <4A5AEA07.6030608@wxs.nl> <97eab8e50907130111g210930d5x6460dce43e798137@mail.gmail.com> <4A5AEEB5.7090507@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1325942254==" X-Trace: ger.gmane.org 1247479373 31961 80.91.229.12 (13 Jul 2009 10:02:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2009 10:02:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 13 12:02:46 2009 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 1MQIMu-00009y-0c for gctc-ntg-context-518@m.gmane.org; Mon, 13 Jul 2009 12:02:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB6B11FB8F; Mon, 13 Jul 2009 12:02:42 +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 29761-01-2; Mon, 13 Jul 2009 12:01:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BFA301FBCB; Mon, 13 Jul 2009 12:01:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 58CE51FBC5 for ; Mon, 13 Jul 2009 12:01:42 +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 29757-01-2 for ; Mon, 13 Jul 2009 12:00:47 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 7388B1FBD4 for ; Mon, 13 Jul 2009 12:00:05 +0200 (CEST) Original-Received: from mail-yx0-f177.google.com (mail-yx0-f177.google.com [209.85.210.177]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n6DA03gC029599 for ; Mon, 13 Jul 2009 12:00:04 +0200 Original-Received: by yxe7 with SMTP id 7so3564192yxe.16 for ; Mon, 13 Jul 2009 03:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=Iw709RlF4JhEDu4SWFJQJ+jcAwB8tBsTkrzJFmF9544=; b=RZs6VEDopjhVhROrc7GWoab6ADHlV4mdIKrgl3g1r8MGz6wnlg6CmJRZ8f84fWNd89 daFEz9DRRyJqlxe/1IJB+84gYhggCgntlI7RHnXP1zIX2sVR1U9P43dx9lTRtQdf+dtT mMuVQpdeV52Lj/+L1JdlfO0gTtk0sBUyMhA24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=wZ42q9eekWtyHovyrUuldIvQ/M1dTTco6zc+9YggqNkB0X4u2yB658wIk1yNKaJWac I5xR3wx3EWXFIXyGS1GRq1LBEVsQ7ISrv9o+ugb8a1Z8CjODQxO8kiDNpdrdQ/Mlb+2k mtxyMY+LVbBp16+ufhHCF8COS0DLxWJfy4P+g= Original-Received: by 10.150.189.2 with SMTP id m2mr7797197ybf.42.1247479203100; Mon, 13 Jul 2009 03:00:03 -0700 (PDT) In-Reply-To: <4A5AEEB5.7090507@wxs.nl> X-Google-Sender-Auth: 9949d32fbae78bf6 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.177; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 259898293 - 49e5037c099a - 20090713 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:51765 Archived-At: --===============1325942254== Content-Type: multipart/alternative; boundary=000e0cd6a982c3f7c4046e936298 --000e0cd6a982c3f7c4046e936298 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I did some more debugging: In the file kpse.rb I entered an exception object after line 274, like this: unless done then formatpaths.each do |fp| fpp = fp.sub(/#{engine}\/*$/o,'') begin FileUtils.makedirs(fpp) rescue => excobj puts "#{excobj.class}: #{excobj.message}" # false # maybe we don't have an path yet end if FileTest.directory?(fpp) && FileTest.writable?(fpp) then # use this path This generates the following output when running texexec --make --all TeXExex | using tex engine pdftex Errno::ENOENT: No such file or directory - c:/context/tex/texmf-mswin/web2c/pdftex:c: TeXExex | using tex format path ./pdftex TeXExex | unable to make format due to lack of permissions TeXExex | using mp engine mpost Errno::ENOENT: No such file or directory - c:/context/tex/texmf-mswin/web2c/:c: TeXExex | using mps format path Does this help in solving this problem? Thanks, Harrie On Mon, Jul 13, 2009 at 10:22 AM, Hans Hagen wrote: > Harrie Frericks wrote: > >> Problem 2 (not-solved) >>> >>>> I'm getting the infamous error: I can't find the format file >>>> `cont-en.fmt'! >>>> I searched this list and tried texexec --make --all This doesn't solve >>>> the >>>> problem. The problem is located in this part of the output: >>>> >>>> did you run 'setuptex' in the tex path first? >>> >>> Hans >>> >>> >> Yes, I did. It makes no difference. >> > > > the ./pdftex suggests that your env vars are not set up; on unix make sure > that you run > > . setuptex > > (with period) > > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --000e0cd6a982c3f7c4046e936298 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I did some more debugging:

In the file kpse.rb I entered= an exception object after line 274, like this:

=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0unless done then
=A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0formatpaths.= each do |fp|
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0fpp =3D fp.s= ub(/#{engine}\/*$/o,'')
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0begin
=A0=A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0FileUtils.makedirs(fpp)=A0
=A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rescue =3D&g= t; excobj
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0puts "#{excobj.class}: #{excobj.message}" # false # maybe we = don't have an path yet
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0end
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0if FileTest.directory?(fpp) && FileTest.= writable?(fpp) then
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# us= e this path

This generates the following output when runn= ing texexec --make --all

= TeXExex | using tex engine pdftex
Errno::ENOENT: No such file or direct= ory - c:/context/tex/texmf-mswin/web2c/pdftex:c:
TeXExex |= using tex format path ./pdftex
TeXExex | unable to make format due to l= ack of permissions
TeXExex |= using mp engine mpost
Errno::ENOENT: No such file or directory - c:/con= text/tex/texmf-mswin/web2c/:c:
TeXExex |= using mps format path

Does this help in solving this problem?<= /span>

= Thanks,

Harrie

On Mon, Jul 13, 2009 a= t 10:22 AM, Hans Hagen <pragma@wxs.nl> wrote:
Harrie Fr= ericks wrote:
Problem 2 (not-solved)
I'm getting the infamous error: I can't find the format file
`cont-en.fmt'!
=A0I searched this list and tried texexec --make --all =A0This doesn't = solve
the
problem. The problem is located in this part of the output:

did you run 'setuptex' in the tex path first?

Hans


Yes, I did. It makes no difference.


the ./pdftex suggests that your env vars are not set up; on unix make sure = that you run

. setuptex

(with period)


Hans

-----------------------------------------------------------------
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0Hans Hagen | PRAGMA ADE
=A0 =A0 =A0 =A0 =A0 =A0 =A0Ridderstraat 27 | 8061 GH Hasselt | The Netherl= ands
=A0 =A0 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 | ww= w.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: https://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--000e0cd6a982c3f7c4046e936298-- --===============1325942254== 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 ___________________________________________________________________________________ --===============1325942254==--