From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41560 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: staticMPfigure Date: Wed, 11 Jun 2008 12:07:58 +0200 Message-ID: <484FA3FE.9050306@gmx.net> References: <200806101202.35244.bbvogel@home.nl> <200806101531.58366.bbvogel@home.nl> <484E8D1C.6030907@gmx.net> <200806110857.32078.bbvogel@home.nl> 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 1213182712 4122 80.91.229.12 (11 Jun 2008 11:11:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2008 11:11:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 11 13:12:34 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 1K6OFm-00007h-2T for gctc-ntg-context-518@m.gmane.org; Wed, 11 Jun 2008 13:12:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 101201FB89; Wed, 11 Jun 2008 13:11:44 +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 26894-02; Wed, 11 Jun 2008 13:11:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2BF881FD55; Wed, 11 Jun 2008 12:35:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B6E5C1FD4E for ; Wed, 11 Jun 2008 12:35: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 21431-01-9 for ; Wed, 11 Jun 2008 12:34:34 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id F05601FD62 for ; Wed, 11 Jun 2008 12:07:59 +0200 (CEST) Original-Received: (qmail invoked by alias); 11 Jun 2008 10:07:59 -0000 Original-Received: from i5387DF03.versanet.de (EHLO [192.168.1.3]) [83.135.223.3] by mail.gmx.net (mp063) with SMTP; 11 Jun 2008 12:07:59 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX19FL6pBKl9F1xHUrBRChmt79wilofxQ0YsGv+UQ1R lL18MWIGT/CakG User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <200806110857.32078.bbvogel@home.nl> X-Enigmail-Version: 0.95.6 X-Y-GMX-Trusted: 0 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:41560 Archived-At: bbvogel@home.nl schrieb: > On Tuesday 10 June 2008 16:18, Peter Rolf wrote: >> bbvogel@home.nl schrieb: >>> Hi, >>> >>> I get a different result. Using a fresh install (context-setup-mswin) on >>> windows XP: >>> >>> !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF >>> image fai >>> led (0) >>> ==> Fatal error occurred, no output PDF file produced! >>> >>> See the added logfile. >>> >>> Bernard >>> >>> >>> test.log: >>> This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6) >>> (format=cont-en 2008.6.10) 10 JUN 2008 15:23 >>> entering extended mode >>> \write18 enabled. >>> >> REMOVED< >>> image fai >>> led (0) >>> ==> Fatal error occurred, no output PDF file produced! >> afaik this is a pdftex bug, which is fixed in version 1.40.8 beta. >> >> 1.40.8 beta (window binaries): >> >> ftp://udon.nict.go.jp/pub/text/TeX/ptex-win32/current/pdftex-w32.tar.bz2 >> >> donno if this is also fixed in the latest 1.50alpha trunk (no longer >> available on akira's site). >> >> maybe some new windows binaries are needed for the minimal distribution. > > Thanks for the hint. I tried both this version as well as the > pdftex-stable-w32.bz2 and both don't work. > > A backup (20080421) however does work. > ====> > The first view lines from the log file: > This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6) > (format=cont-en 2008.4.21) 11 JUN 2008 08:24 > entering extended mode > \write18 enabled. > (c:/context/debug2/context/tex/texmf-context/web2c/natural.tcx) > **test.tex \emergencyend > (./test.tex > > ConTeXt ver: 2008.04.19 22:41 MKII fmt: 2008.4.21 int: english/english > <=== > > Since the pdfTeX version is the same as the current one, I guess the problem > is not in pdfTeX but in ConTeXt. > > But using startstaticMPfigure is not a must for me. startuseMPgraphic works > fine as well, especially with MKIV. > > just tried your code with pdftex 1.40.8beta and context beta from 07.06.2008. it works ok here. i will test this with yesterday beta after lunch. probably the mkiv part is also working then. so if you want staticmpfigure to work, you have to update your 'ancient' context and the pdftex binaries. :) edit: too late, you have already tested it. and as mentioned: mkii is also working! best wishes, peter > >>> <<<<<<< >>> >>> On Tuesday 10 June 2008 14:50, Hans Hagen wrote: >>>> bbvogel@home.nl wrote: >>>>> Hi, >>>>> >>>>> When I run the example below (current beta, pdftex, >>>>> live.contextgarden.net) the generated pdf does not contain any >>>>> pictures. Any suggestion how to solve this? Or is the command obsolete? >>>> works ok here for pdftex (maybe no intermediate run on the garden) >>>> >>>> in mkiv there was indeed a buglet (i never tested it) >>>> >>>>> Thanks, >>>>> >>>>> B. Vogel >>>>> >>>>> %test.tex >>>>> \startstaticMPfigure{center} >>>>> draw fullcircle scaled 2cm ; >>>>> dotlabel.bot(textext("(0,0)"),origin) ; >>>>> \stopstaticMPfigure >>>>> >>>>> \startstaticMPfigure{radius} >>>>> draw fullcircle scaled 2cm ; >>>>> drawarrow (0,0)--(1cm,0) ; >>>>> label.bot(textext("$r$"),(5mm,0)) ; >>>>> \stopstaticMPfigure >>>>> >>>>> \starttext >>>>> >>>>> Circle centered \usestaticMPfigure[center][width=1cm] at origin with >>>>> radius \usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$. >>>>> >>>>> \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________