From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25251 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: New Installation under miktex, not working Date: Mon, 16 Jan 2006 10:35:29 -0500 (EST) Message-ID: References: <5f8ls1llftg2hc0hvqhosfaquidc7u2fuu@4ax.com> <6faad9f00601160010v6ce82033t284ecaaad78ead65@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1137425769 11192 80.91.229.2 (16 Jan 2006 15:36:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2006 15:36:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 16 16:36:07 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1EyWOY-0001Y4-Sp for gctc-ntg-context-518@m.gmane.org; Mon, 16 Jan 2006 16:35:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B442C127E1; Mon, 16 Jan 2006 16:35:43 +0100 (CET) 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 25151-04; Mon, 16 Jan 2006 16:35:39 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1B548127E7; Mon, 16 Jan 2006 16:35:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 431F9127E7 for ; Mon, 16 Jan 2006 16:35:37 +0100 (CET) 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 31774-02 for ; Mon, 16 Jan 2006 16:35:35 +0100 (CET) Original-Received: from pushingtin.mr.itd.umich.edu (pushingtin.mr.itd.umich.edu [141.211.14.78]) by ronja.ntg.nl (Postfix) with SMTP id 5E232127E1 for ; Mon, 16 Jan 2006 16:35:34 +0100 (CET) Original-Received: from aditya.annarb01.mi.comcast.net (bgp996717bgs.nanarb01.mi.comcast.net [68.40.50.205]) by pushingtin.mr.itd.umich.edu (smtp) with ESMTP id k0GFZSJa032452 for ; Mon, 16 Jan 2006 10:35:33 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00601160010v6ce82033t284ecaaad78ead65@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:25251 Archived-At: <--- On Jan 16, Mojca Miklavec wrote ---> > Todd DeVries wrote: >> Hi, >> >> I'm attempting to install context under miktex 2.4. I've updated the >> format files and followed other instructions as per the contextgarden >> discussions. I'm probably missing something really obvious and would >> appreciate any help offered. I receive this output when running the >> following commands: > > I don't know why I keep using MikTeX (there are problems all the time, > but it is [or at least it should be] easy to update and is already > installed on most computers here), just some points: I use latex a lot, and for windows+latex Miktex is one of the best distribution. Most of the packages get installed on the fly and it can be updated easily. Once you get used to it, it is hard to try other latex distributions. > - texexec --make --all doesn't work anyway (well, it works, but it > forgets to copy the files to the proper place) It also happens with me and the solution that you describe below works. You need to update the formats from Miktex Options. I *guess* the reason texexec fails to place the format in proper place is because it simply does not know where the localtexmf tree is. I am not sure if it has a way of finding it out without the user specifying an environment variable. > If you want to make formats, go to MikTeX options -> TeX formats -> > choose cont-en -> Edit ... > Here are the values that I have (it may be that I changed any of them > manually, I don't remember): > Format Name: cont-en > Compiler: pdfe-TeX (Extended Mode) > Input File Name: cont-en.tex > Output File Name: cont-en.efmt > Exclude has to be unchecked > > - MikTeX updates the formats automatically (if it does). If it > doesn't, the "standard ConTeXt" ways fail anyway and searching for > files doesn't always work either > - I often have problems after upgrading ConTeXt, but I can hardly tell > you what to do. I try all the different tricks (updating filename > database, building the formats, ...) without any success, but after > two days it simply works again by some black magic. Here is what I do (I am not sure even if this is the correct thing to do, but seems to work) Make a tree called pragma-texmf. Download cont-tmf.zip and cont-fnt.zip and unzip them in pragma-texmf. Go to MikTex options and add pragma-texmf as a tree. Move it up so that it is the first tree. This way whenever any program searches for a context related file, it finds it in the pragma-tree. Now go and recreate the formats. Everything works (well except mptopdf the program, but that is not critical for me). To keep in sync with context's pace of development, simply download the entire cont-tmf tree whenever a newer version is released. I have not managed to convince texsync to just download texmf tree, and I do not really care about downloading a big zip. This makes me feel whether it is a good idea to have miktex and context for windows (from the pragma site) in parallel. I use cygwin and context for windows only seems to work from cmd.exe and not bash.exe. I tried to convert setuptex.sh to setuptex.bash, but could not get to work. So, I settled with the method of downloading the relevant trees and things work (by black magic, as you said) Aditya