From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72639 Path: news.gmane.org!not-for-mail From: "Christian" Newsgroups: gmane.comp.tex.context Subject: Metapost graphics in separate file, help needed Date: Wed, 23 Nov 2011 19:23:19 +0100 Message-ID: <008601ccaa0d$0068d9b0$013a8d10$@gmx.de> 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: dough.gmane.org 1322072631 23426 80.91.229.12 (23 Nov 2011 18:23:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2011 18:23:51 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 23 19:23:46 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RTHU0-00051R-9b for gctc-ntg-context-518@m.gmane.org; Wed, 23 Nov 2011 19:23:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 928A2CB180; Wed, 23 Nov 2011 19:23:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yTn65NLWMUsL; Wed, 23 Nov 2011 19:23:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD08FCB16F; Wed, 23 Nov 2011 19:23:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 94631CB16F for ; Wed, 23 Nov 2011 19:23:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6QEO8fBtYMnD for ; Wed, 23 Nov 2011 19:23:36 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id DC2F5CB164 for ; Wed, 23 Nov 2011 19:23:36 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id pANINacr021341 for ; Wed, 23 Nov 2011 19:23:36 +0100 Original-Received: (qmail invoked by alias); 23 Nov 2011 18:23:35 -0000 Original-Received: from f053215071.adsl.alicedsl.de (EHLO christiandelux) [78.53.215.71] by mail.gmx.net (mp057) with SMTP; 23 Nov 2011 19:23:35 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX1/dyTZkcund+eDJCQBzTu7ueHyulnXDgICjhs86Qc cGbJ23BxOdpV+3 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AcyqDPnzrQoWuu5nSTGd9dYhvVQ4/g== Content-Language: de X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.23; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05G0GnABf - 5d74970ba997 - 20111123 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:72639 Archived-At: Dear List, I am experiencing a strange problem. I have a project, essentially with the following structure (desperate attempt to keep track of my stuff): mainfile.mkiv: % BOF ...lots of setups and settings... \starttext \input metapostgraphics.mkiv \input chapter1.mkiv \input chapter2.mkiv \input chapter3.mkiv \stoptext % EOF I generate the PDF with 'context mainfile.mkiv' So far for the structure. Now my problem: metapostgraphics.mkiv contains several (4) metapost graphics with \startuseMPgraphics{nameX} ... \stopuseMPgraphics. In chapter2.mkiv I want to use them with \useMPgraphics{nameX}. It worked well until today, when I added a fifth graphic. Then I suddenly get a frame with 'undefined' inside instead of the picture. I tried everything, checked for typos, tried different names, double checked the MP-code etc. but to no avail. It only works if I put the exact same MP-code between \startMPcode \stopMPcode directly in the chapter2.mkiv What is wrong here? Am I missing something? Did I get the input mechanism all wrong? ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________