From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32511 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Problem using mptopdf with Metapost containing LaTeX Date: Thu, 04 Jan 2007 10:44:57 +0100 Message-ID: <459CCC99.1010403@elvenkind.com> References: <459CB1C2.9010309@uni-jena.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: sea.gmane.org 1167903932 20763 80.91.229.12 (4 Jan 2007 09:45:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 09:45:32 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 04 10:45:30 2007 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 1H2PA5-0006YX-Kx for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jan 2007 10:45:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 379EE1FAFF; Thu, 4 Jan 2007 10:42:21 +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 18868-04-4; Thu, 4 Jan 2007 10:42:17 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5753C20100; Thu, 4 Jan 2007 10:42:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D6D620109 for ; Thu, 4 Jan 2007 10:42: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 18868-04-3 for ; Thu, 4 Jan 2007 10:42:12 +0100 (CET) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 503121FF9A for ; Thu, 4 Jan 2007 10:42:12 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id 8953E64774 for ; Thu, 4 Jan 2007 10:44:58 +0100 (CET) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31078-07 for ; Thu, 4 Jan 2007 10:44:58 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id 3FBE364771 for ; Thu, 4 Jan 2007 10:44:58 +0100 (CET) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <459CB1C2.9010309@uni-jena.de> X-Virus-Scanned: by amavisd-new at elvenkind.net 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:32511 Archived-At: Martin Buchmann wrote: > Hi, > > I am not really a ConTeXt user but use the mptopdf script to convert my > mp drawings directly into pdf which was working great in the past. > Yesterday and the day before i updated my TeX system using Gerben's > i-Installer to the new gwTeX foundation and to the latest ConTeXt beta > and since then I get an error if my Metapost file contains LaTeX control > sequences: Same here. I am guessing this is a bug in the ruby version of texexec, because it used to work with the perl version, for sure. Taco > >>MPtoPDF 1.3.2 : running 'texexec --mptex ' >>TeXExec | processing graphic 'mp-minimal.mp' >>TeXExec | using internal mptotex converter >>TeXExec | processing document 'mp-minimal-temp.tex' >>TeXExec | no ctx file found >>TeXExec | tex processing method: context >>TeXExec | writing option file mp-minimal-temp.top >>TeXExec | using randomseed 1177 >>TeXExec | tex engine: pdfetex >>TeXExec | tex format: cont-en >>This is pdfTeX, Version 3.141592-1.40.0-rc4 (Web2C 7.5.5) >> (/usr/local/gwTeX/texmf.pkgs/web2c/natural.tcx) >>entering extended mode >>(./mp-minimal-temp.tex >> >>ConTeXt ver: 2007.01.02 13:44 MK II fmt: 2007.1.3 int: english/english >> >>language : language en is active >>system : cont-new loaded >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-new.tex >>systems : beware: some patches loaded from cont-new.tex >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-new.mkii)) >>system : cont-old loaded >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-old.tex >>loading : Context Old Macros >>) >>system : cont-fil loaded >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-fil.tex >>loading : Context File Synonyms >>) >>system : cont-sys.rme loaded >>(/usr/local/gwTeX/texmf.pkgs/tex/context/user/cont-sys.rme >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-exa.tex) >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-syn.tex) >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-enc.tex) >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-siz.tex) >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-map.tex) >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-spe.tex) >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-akb.tex)) >>bodyfont : 12pt rm is loaded >>language : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex >>nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3 >> es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi >>:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec- >> >>>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec >> >>->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded >>specials : tex,postscript,rokicki loaded >>system : mp-minimal-temp.top loaded >>(./mp-minimal-temp.top >>specials : loading definition file dvi >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/spec-dvi.tex) >>specials : tex loaded >>specials : loading definition file ps >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/spec-ps.tex) >>specials : tex,postscript loaded >>specials : loading definition file tr >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/spec-tr.tex) >>specials : tex,postscript,rokicki loaded >>) >>systems : system commands are disabled >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-def.tex) >>(/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-lan.tex) >>systems : begin file mp-minimal-temp at line 42 >>! Undefined control sequence. >>l.44 \documentclass >> [12pt,a4paper]{article} >>? >>! Emergency stop. >>l.44 \documentclass >> [12pt,a4paper]{article} >>No pages of output. >>Transcript written on mp-minimal-temp.log. >>TeXExec | runtime: 0.529086 >>This is MetaPost, Version 0.993 (Web2C 7.5.5) >>(/usr/local/gwTeX/texmf.pkgs/web2c/natural.tcx) >>(mp-minimal.mp >> >>>>mp-minimal.mp >>>>mp-minimal.mpx >> >>! Unable to make mpx file. >>l.9 label(btex >> Test etex, (1,1) ); >>Transcript written on mp-minimal.log. >>TeXExec | runtime: 0.865779 >> >>MPtoPDF 1.3.2 : no filename matches mp-minimal > > > Here is my minimal example: > > prologues:=2; > verbatimtex > \documentclass[12pt,a4paper]{article} > \begin{document} > etex > > beginfig(1); > > label(btex Test etex, (1,1) ); > > endfig; > end > > I tried to understand which script is actual called when i call mptopdf > but got kind of lost in the sequence of shell script calling ruby > scripts calling perl scripts, etc. So, I wasn't able to find out the > right command line options, etc. for making mpost aware of calling latex > instead of tex. Can someone help me out here? > > Best regards > Martin >