From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40914 Path: news.gmane.org!not-for-mail From: "George N. White III" Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt on MikTeX broken Date: Tue, 6 May 2008 13:39:49 -0300 Message-ID: <22af238a0805060939v30fb8c46o2a455a0dfb367846@mail.gmail.com> References: <6faad9f00805030300t25487699h3d3617a2cde73edf@mail.gmail.com> <22af238a0805060729qd09b71et8ad47d75537d3144@mail.gmail.com> <6faad9f00805060757h1eb05487j2436bc7d6481bf54@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210092302 31141 80.91.229.12 (6 May 2008 16:45:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2008 16:45:02 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue May 06 18:45:35 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 1JtQIJ-0002OZ-Nz for gctc-ntg-context-518@m.gmane.org; Tue, 06 May 2008 18:45:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BB4331FC36; Tue, 6 May 2008 18:44:51 +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 06606-02; Tue, 6 May 2008 18:44:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A7B71FC7A; Tue, 6 May 2008 18:40:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9B3A1FC66 for ; Tue, 6 May 2008 18:40:35 +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 06604-01 for ; Tue, 6 May 2008 18:39:54 +0200 (CEST) Original-Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.187]) by ronja.ntg.nl (Postfix) with ESMTP id 24C851FC14 for ; Tue, 6 May 2008 18:39:51 +0200 (CEST) Original-Received: by gv-out-0910.google.com with SMTP id l14so303826gvf.1 for ; Tue, 06 May 2008 09:39:50 -0700 (PDT) Original-Received: by 10.150.84.41 with SMTP id h41mr907295ybb.220.1210091989652; Tue, 06 May 2008 09:39:49 -0700 (PDT) Original-Received: by 10.150.97.14 with HTTP; Tue, 6 May 2008 09:39:49 -0700 (PDT) In-Reply-To: <6faad9f00805060757h1eb05487j2436bc7d6481bf54@mail.gmail.com> Content-Disposition: inline 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:40914 Archived-At: On Tue, May 6, 2008 at 11:57 AM, Mojca Miklavec wrote: > On Tue, May 6, 2008 at 4:29 PM, George N. White III wrote: > > On Sat, May 3, 2008 at 7:00 AM, Mojca Miklavec > > wrote: > > > > > some time ago some MikTeX users have complained that ConTeXt doesn't > > > work on MikTeX. It seems to be a problem with MikTeX itself since this > > > workaround seems to solve the problem, at least temporary: > > > ruby "C:\Program Files\MiKTeX > > > 2.7\scripts\context\ruby\texmfstart.rb" texexec > > > > I'm not so quick to blame MiKTeX -- I suspect texmfstart.rb would need > > to provide some path searching tailored to MiKTeX. It seems to rely > > on $0 with a tetex/texlive directory structure where SELFAUTOPARENT > > can be used. > > Christian has indeed replied that he uses the binary version of > texmfstart from CTAN (which is a bit older that the one on PRAGMA). > But I still don't understand what can go wrong "in the middle of > nothing", without any major changes. So there is either a problem in > MikTeX or in ConTeXt. > > > > The only criticism of MiKTeX is that it is silly to distribute > > a broken package, but then it is up to ConTeXt users to report breakage > > and, ideally, supply fixes. > > I completely agree. Except that I have no MikTeX any more. And I don't > have the slightest idea what could have caused the problem. I don't > see any serious changes in the texmfstart code that could break the > 3-week-old version, while it has worked OK before. > > Mea culpa. I should have forced Hans to fix it during BachoTeX ... :) > I will try to misuse some windows computer next week to see if I can > find any bugs (but it's difficult to test since one cannot simply > modify the ruby script as on other platforms). You can replace texmfstart.exe with a .cmd script:: C:> type texmfstart.cmd @ruby c:/PROGRA~1/MIKTEX~1.7/scripts/context/ruby/texmfstart.rb %* C:> ruby c:/PROGRA~1/MIKTEX~1.7/scripts/context/ruby/texmfstart.rb texexec.rb cont-sample2e TeXExec | processing document 'cont-sample2e' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file cont-sample2e.top TeXExec | using randomseed 780 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.1415926-1.40.8-alpha-20080323 (MiKTeX 2.7) entering extended mode (cont-sample2e.tex ConTeXt ver: 2008.01.28 21:28 MKII fmt: 2008.2.18 int: english/english language : language en is active system : cont-new loaded ("C:\Program Files\MiKTeX 2.7\tex\context\base\cont-new.tex" FatalError : Your format does not match the base files! FormatVersion : 2008.01.28 21:28 MKII FilesVersion : 2008.04.18 14:17 TeXUtil | parsing file cont-sample2e.tui TeXUtil | shortcuts : 297 TeXUtil | expansions: 308 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 30 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 0.641 c:> texmfstart texexec.rb --make TeXExec | using search method 'kpsewhich' TeXExec | updating file database . ....... ....................... .......... ......... [...] TeXExec | generating mps format metafun mpost: Invalid command-line option [The command line can be captured by renaming mpost.exe to mpostbin.exe and making a script: >type mpost.cmd mpostbin %* This shows: >mpostbin -alias=metafun -initialize -tcx=natural.tcx --8bit metafun [...] With this, I can format simple documents. The mpost problem seems to be with the "--8bit" option, which comes from tex.rb. > > > (But apparently there are not many MikTeX users on the list anyway. > > > Else more would have complained.) > > > > Don't complain, just switch to a platform/distro where ConTeXt works > > and use mpm (since few others provide updates with the speed and > > convenience of MiKTeX). > > > > I think MiKTeX should remain focusing on the packages and binaries, > > and rely on upstream to fix broken packages. > > I agree. But I have thought that some change in MikTeX might have > occurred in the meantime. The problem with mpost suggests some tweaks are still needed to handle differences between linux and miktex command lines. -- George N. White III Head of St. Margarets Bay, Nova Scotia ___________________________________________________________________________________ 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 ___________________________________________________________________________________