ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: staticMPfigure
Date: Wed, 11 Jun 2008 14:27:10 +0200	[thread overview]
Message-ID: <484FC49E.5050007@gmx.net> (raw)
In-Reply-To: <200806111341.40413.bbvogel@home.nl>

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
___________________________________________________________________________________


  reply	other threads:[~2008-06-11 12:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 10:02 staticMPfigure bbvogel
2008-06-10 12:50 ` staticMPfigure Hans Hagen
2008-06-10 13:31   ` staticMPfigure bbvogel
2008-06-10 14:18     ` staticMPfigure Peter Rolf
2008-06-11  6:57       ` staticMPfigure bbvogel
2008-06-11  9:41         ` staticMPfigure bbvogel
2008-06-11 10:07         ` staticMPfigure Peter Rolf
2008-06-11 11:41           ` staticMPfigure bbvogel
2008-06-11 12:27             ` Peter Rolf [this message]
     [not found] <mailman.4251.1207220924.4340.ntg-context@ntg.nl>
2008-04-10 15:57 ` staticMPfigure Wolfgang Werners-Lucchini
2008-04-10 16:10   ` staticMPfigure Hans Hagen
2008-04-10 21:41     ` staticMPfigure Aditya Mahajan
2008-04-10 22:01       ` staticMPfigure Mojca Miklavec
2008-04-10 22:23         ` staticMPfigure Aditya Mahajan
2008-04-10 22:38           ` staticMPfigure Mojca Miklavec
2008-04-11  7:44             ` staticMPfigure Hans Hagen
2008-04-11 10:31               ` staticMPfigure Mojca Miklavec
2008-04-11 12:16                 ` staticMPfigure Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2008-04-02 20:22 staticMPfigure Wolfgang Werners-Lucchini
2008-04-03  9:12 ` staticMPfigure Taco Hoekwater
2008-04-03 10:19   ` staticMPfigure Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484FC49E.5050007@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).