From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44538 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Mojca, Miktex, and seeming success! Date: Thu, 2 Oct 2008 23:57:40 +0200 Message-ID: <6faad9f00810021457m20dd9ed7m9b1ab326cfffd484@mail.gmail.com> References: <20081002155339.W7FYK.546554.root@Web02> 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 1222984764 4097 80.91.229.12 (2 Oct 2008 21:59:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 21:59:24 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 03 00:00:20 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 1KlWDa-0003J4-KV for gctc-ntg-context-518@m.gmane.org; Fri, 03 Oct 2008 00:00:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A811B1FE56; Thu, 2 Oct 2008 23:59:13 +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 28531-03-3; Thu, 2 Oct 2008 23:58:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 08EC11FBAA; Thu, 2 Oct 2008 23:58:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0566B1FB77 for ; Thu, 2 Oct 2008 23:58:18 +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 28531-03-2 for ; Thu, 2 Oct 2008 23:57:42 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by ronja.ntg.nl (Postfix) with ESMTP id 205511FBAA for ; Thu, 2 Oct 2008 23:57:41 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so221588ywm.74 for ; Thu, 02 Oct 2008 14:57:41 -0700 (PDT) Original-Received: by 10.150.12.3 with SMTP id 3mr554162ybl.18.1222984660990; Thu, 02 Oct 2008 14:57:40 -0700 (PDT) Original-Received: by 10.151.83.13 with HTTP; Thu, 2 Oct 2008 14:57:40 -0700 (PDT) In-Reply-To: <20081002155339.W7FYK.546554.root@Web02> 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:44538 Archived-At: On Thu, Oct 2, 2008 at 10:53 PM, wrote: > Mojca, > > OK, saw your new post on: > > http://blog.miktex.org/post/2008/05/ConTeXt-support.aspx > > So, I extracted cont-tfm.zip to c:\Contet, used Miktex2.7->Settings to add it as a Root, refreshed the filename database, but the formats will still not build in Miktext2.7->Settings->Format cont-en.pdftex. > > Creating the cont-en.pdftex format file... > Running pdftex... > This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) > > entering extended mode > > ("C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini") > > ! Emergency stop. > > <*> cont-en.ini You could try to change "cont-en.ini" into "cont-en.tex". I have no idea what's the difference, but one of the two of you who have complained about non-working ConTeXt on MikTeX reported that changing cont-en.ini into cont-en.tex has helped. > makefmt: pdftex failed on cont-en.ini. > initexmf.EXE: The operation failed for some reason. I got that one lots of time as well, but no idea why. > And my new format attempt won't build either: > > ("C:\Program Files\MiKTeX 2.7\tex\context\patterns\lang-hu.pat" > > ! TeX capacity exceeded, sorry [pattern memory=300000]. > > l.1243 ^^c3^^a1h1ors That one should be solvable, it's only that MikTeX handles those memory values in some non-standard way. See this thread: http://www.linuxquestions.org/questions/linux-general-1/miktex-tex-capacity-exceeded-651565/ http://docs.miktex.org/manual/initexmf.html I guess that it could be something like initexmf --edit-config-file pdftex.cfg and then you set pattern-memory or pattern_memory to some larger value. But you would need to google and test. > Finally, I gave up on trying to use Miktex2.7->Settings to build the formats, opened a DOS box, and typed: > > $ texmfstart texexec --make --all If you create texexec.bat, you don't need to type all that. I never use texmfstart, only texexec or context. > I refreshed the filename database, now things seemingly work. > > This file: > > \starttext > Hello, World! > \stoptext > > Does compile with: > > $ texmfstart texexec --pdf junk.tex > > And this file: > > input mp-tool > > beginfig(1); > > numeric u; > 10u=4in; > > drawdblarrow (-5u,0)--(5u,0); > label.rt(btex $\theta$ etex, (5u,0)); > drawdblarrow (0,-5u)--(0,5u); > label.top(btex $\phi$ etex, (0,5u)); > > endfig; > > end. > > Does compile with: > > $ mpost junk.mp > > And more importantly, mptopdf now seemingly works, as I can now do: > > $ mptopdf junk.1 > > Which produces junk-1.pdf and opens correctly with the correct fonts. Great :) > So, we'll see how this stands up .... > > Thanks for the help. > > Still open to further suggestion if any critique of my method. See above, but if texexec --make works OK, that's fine. There have been numerous problems with formats in MikTeX and I wasn't sure if they have been resolved or not. Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________