From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41568 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: staticMPfigure Date: Wed, 11 Jun 2008 14:27:10 +0200 Message-ID: <484FC49E.5050007@gmx.net> References: <200806101202.35244.bbvogel@home.nl> <200806110857.32078.bbvogel@home.nl> <484FA3FE.9050306@gmx.net> <200806111341.40413.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 1213187329 19875 80.91.229.12 (11 Jun 2008 12:28:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2008 12:28:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 11 14:29:31 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 1K6PS8-0000zv-8t for gctc-ntg-context-518@m.gmane.org; Wed, 11 Jun 2008 14:29:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DADEE1FDDB; Wed, 11 Jun 2008 14:28:29 +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 32144-02-43; Wed, 11 Jun 2008 14:27:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1862D1FDD9; Wed, 11 Jun 2008 14:27:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 204F11FDD9 for ; Wed, 11 Jun 2008 14:27:46 +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 03337-10-3 for ; Wed, 11 Jun 2008 14:27:11 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 136391FDCD for ; Wed, 11 Jun 2008 14:27:11 +0200 (CEST) Original-Received: (qmail invoked by alias); 11 Jun 2008 12:27:10 -0000 Original-Received: from i5387DF03.versanet.de (EHLO [192.168.1.3]) [83.135.223.3] by mail.gmx.net (mp055) with SMTP; 11 Jun 2008 14:27:10 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1/0WDMBlTP0XKDxMdB8TdLcZy3+bV+3IQu9GbxrWa KusX0j//Okuje9 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <200806111341.40413.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:41568 Archived-At: bbvogel@home.nl schrieb: > 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 > that's all the magic :) have you also updated the lua scripts in texmf-mswin\bin ? there is a command option for this, but i copy luatools.lua and mtxrun.lua still by hand. texmf-context\scripts\context\lua\? --> texmf-mswin\bin\? you have to do this every time you update context. best wishes, peter > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________