From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41563 Path: news.gmane.org!not-for-mail From: bbvogel@home.nl Newsgroups: gmane.comp.tex.context Subject: Re: staticMPfigure Date: Wed, 11 Jun 2008 13:41:39 +0200 Message-ID: <200806111341.40413.bbvogel@home.nl> References: <200806101202.35244.bbvogel@home.nl> <200806110857.32078.bbvogel@home.nl> <484FA3FE.9050306@gmx.net> 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 1213185021 11318 80.91.229.12 (11 Jun 2008 11:50:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2008 11:50:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 11 13:51:03 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 1K6Or1-0004Cb-7D for gctc-ntg-context-518@m.gmane.org; Wed, 11 Jun 2008 13:51:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B6411FC6A; Wed, 11 Jun 2008 13:50:07 +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 31817-07-2; Wed, 11 Jun 2008 13:49:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D820D1FC91; Wed, 11 Jun 2008 13:49:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF0511FC6A for ; Wed, 11 Jun 2008 13:49: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 32149-01 for ; Wed, 11 Jun 2008 13:48:35 +0200 (CEST) Original-Received: from smtpq1.groni1.gr.home.nl (smtpq1.groni1.gr.home.nl [213.51.130.200]) by ronja.ntg.nl (Postfix) with ESMTP id D05691FC91 for ; Wed, 11 Jun 2008 13:48:33 +0200 (CEST) Original-Received: from [213.51.130.188] (port=46258 helo=smtp3.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1K6Ooc-0004xj-7a for ntg-context@ntg.nl; Wed, 11 Jun 2008 13:48:34 +0200 Original-Received: from cp592104-b.dbsch1.nb.home.nl ([84.27.81.175]:49791 helo=[192.168.1.2]) by smtp3.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1K6OoZ-0001pj-2x for ntg-context@ntg.nl; Wed, 11 Jun 2008 13:48:33 +0200 User-Agent: KMail/1.9.5 In-Reply-To: <484FA3FE.9050306@gmx.net> 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:41563 Archived-At: On Wednesday 11 June 2008 12:07, Peter Rolf wrote: > 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! Then I have no idea whats going wrong. My procedure first-setup.bat copying the pdftex binaries... texmfstart texexec --make --all --pdftex texmfstart texexec test.tex generates pdf files without error but with empty pages. But MKIV is working now, so it is no longer a problem for me. Thanks and regards, Bernard > > 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 > ___________________________________________________________________________ >________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________