From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26114 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: metafun: problems, problems & problems again Date: Tue, 21 Feb 2006 20:01:13 +0100 Message-ID: <6faad9f00602211101g5ba3f6dbxb42abad582dc9e3a@mail.gmail.com> References: <6faad9f00602191520s5decf730r7cae44b7125c324@mail.gmail.com> <43F97F78.509@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140548513 4897 80.91.229.2 (21 Feb 2006 19:01:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2006 19:01:53 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 21 20:01:51 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 1FBclH-0000bZ-IP for gctc-ntg-context-518@m.gmane.org; Tue, 21 Feb 2006 20:01:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02F4C12772; Tue, 21 Feb 2006 20:01:23 +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 05008-03; Tue, 21 Feb 2006 20:01:19 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D21A11278D; Tue, 21 Feb 2006 20:01:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 562B41278D for ; Tue, 21 Feb 2006 20:01:16 +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 04993-05 for ; Tue, 21 Feb 2006 20:01:14 +0100 (CET) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.200]) by ronja.ntg.nl (Postfix) with SMTP id 990EC12772 for ; Tue, 21 Feb 2006 20:01:14 +0100 (CET) Original-Received: by nproxy.gmail.com with SMTP id n28so856616nfc for ; Tue, 21 Feb 2006 11:01:14 -0800 (PST) Original-Received: by 10.49.68.13 with SMTP id v13mr1574634nfk; Tue, 21 Feb 2006 11:01:13 -0800 (PST) Original-Received: by 10.48.202.12 with HTTP; Tue, 21 Feb 2006 11:01:13 -0800 (PST) Original-To: "mailing list for ConTeXt users" In-Reply-To: <43F97F78.509@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:26114 Archived-At: On 2/20/06, Hans Hagen wrote: > Mojca Miklavec wrote: > > But I still get no figures at all under MikTeX and "undefined" labels > > with the standalone. > > > that normally means that no tex subruns take place (or wrong ones) > > (maybe the system command is not executed, in the log you can see what > write 18 does) > > you can try (on a mp file): > > texexec --mptex somefile.mp > > and see what is reported I traced the problem of getting annoying "\loadfontfilesoncetrue undefined" messages down to the line 2936 in texexec.pl, sub RunMPX: if ( ( $Format eq '' ) || ( $Format =~ /^cont.*/io ) ) { RunConTeXtFile( $MpTmp, "tex" ); } else { RunSomeTeXFile( $MpTmp, "tex" ); } The first subroutine (RunConTeXtFile) is executed (as it should be), but it calls TeX instead of "ConTeXt" (format) and I have no idea how to change this behaviour. That's why all ConTeXt commands are undefined. The same is true for tex.rb, line 1442: if context then ok = RunConTeXtFile(mptex) else ok = RunSomeTeXFile(mptex) end It goes into the first part of the if sentence, but it nevertheless runs (plain) tex. Except that in this time it was far from evident for me where this RunConTeXtFile came from (I didn't see the definition anywhere except if it calls Perl at that place). On 2/20/06, Taco Hoekwater wrote: > Mojca Miklavec wrote: > > Is there any way to explore why the crash would happen? I get "An > > unhandled win32 exception occured in pdfetex.exe [2384]", 3164, 812, > > 1752, 2776, ... > > A (likely) candidate is an (software-ignored) attempt to write to > a file that is still in use by another application. It is quite > possible that this is the result of an I/O timing error that is in > itself caused by a misconfigured win32 install (harddisks in ms-dos > compatility mode, for example, or soundcard that share interrupts > with the harddisk controller. Might be. I also heard from some latex people that they had problems with pdflatex on some disks. It happened to me on two different computers on two different distros (MikTeX, standalone). Some crashing went away when I removed \setupoutput[pdf] from cont-sys.tex (but I'm stil confused since there are two cont-sys files, one .rme and one .ori. Which one should be used? They are identical, but why would one want to have the same file at two places?) Mojca