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? 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
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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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.
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/web2c/natural.tcx) **test.tex \emergencyend (./test.tex ConTeXt ver: 2008.06.10 11:43 MKII fmt: 2008.6.10 int: english/english language : language en is active system : cont-new loaded (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-new.mkii) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-mtx.tex)) system : cont-old loaded (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/use r/cont-sys.tex (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/type-tmf.tex) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/type-siz.tex) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/type-one.tex) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/type-akb.tex) system (OLDTEX) : [line 67] ) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr-> texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 ru->t2a:t2a->21->2:3 en->ec:e c->22->2:3 uk->ec:ec->23->2:3 us->ec:ec->24->2:3 agr->agr:agr->25->2:3 da->ec:e c->26->2:3 sv->ec:ec->27->2:3 af->ec:ec->28->2:3 no->ec:ec->29->2:3 deo->ec:ec-
30->2:3 es->ec:ec->34->2:3 ca->ec:ec->35->2:3 la->ec:ec->36->2:3 ro->ec:ec->37 ->2:3 tr->ec:ec->38->2:3 fi->ec:ec->40->2:3 hu->ec:ec->41->2:3 loaded specials : tex,postscript,rokicki loaded \openout3 = `test.tui'.
system : test.top loaded (./test.top specials : loading definition file tpd (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/spec-tpd.tex specials : loading definition file fdf (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/spec-fdf.tex (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/spec-fdf.mkii)) specials : fdf loaded ) specials : fdf,tpd loaded ) \openout0 = `test-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are enabled \openout2 = `test-center.mp'. \openout2 = `test-radius.mp'. (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/pdfr-def.tex) systems : begin file test at line 12 fonts : resetting map file list {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-empty.map} fonts : using map file: original-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-base.map} fonts : using map file: original-ams-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-ams-base.map} fonts : using map file: original-public-lm {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-public-lm.map} fonts : using map file: lm-ec {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-e c.map} fonts : using map file: lm-math {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-m ath.map} fonts : using map file: lm-rm {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-r m.map} fonts : using map file: 8r-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/8r-base.map} fonts : using map file: ec-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/ec-base.map} fonts : using map file: t5-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/t5-base.map} fonts : using map file: original-ams-euler {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-ams-euler.map} !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF image fai led (0) ==> Fatal error occurred, no output PDF file produced! <<<<<<< 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 _________________________________________________________________________ __________
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.
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/web2c/natural.tcx) **test.tex \emergencyend (./test.tex
ConTeXt ver: 2008.06.10 11:43 MKII fmt: 2008.6.10 int: english/english
language : language en is active system : cont-new loaded
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-new.tex systems : beware: some patches loaded from cont-new.tex
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-new.mkii) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-mtx.tex)) system : cont-old loaded
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/use r/cont-sys.tex (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/type-tmf.tex) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/type-siz.tex) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/type-one.tex) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/type-akb.tex) system (OLDTEX) : [line 67] ) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr-> texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 ru->t2a:t2a->21->2:3 en->ec:e c->22->2:3 uk->ec:ec->23->2:3 us->ec:ec->24->2:3 agr->agr:agr->25->2:3 da->ec:e c->26->2:3 sv->ec:ec->27->2:3 af->ec:ec->28->2:3 no->ec:ec->29->2:3 deo->ec:ec-
30->2:3 es->ec:ec->34->2:3 ca->ec:ec->35->2:3 la->ec:ec->36->2:3 ro->ec:ec->37 ->2:3 tr->ec:ec->38->2:3 fi->ec:ec->40->2:3 hu->ec:ec->41->2:3 loaded specials : tex,postscript,rokicki loaded \openout3 = `test.tui'.
system : test.top loaded (./test.top specials : loading definition file tpd
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/spec-tpd.tex specials : loading definition file fdf
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/spec-fdf.tex (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/spec-fdf.mkii)) specials : fdf loaded ) specials : fdf,tpd loaded ) \openout0 = `test-mpgraph.mp'.
\openout0 = `mpgraph.mp'.
systems : system commands are enabled \openout2 = `test-center.mp'.
\openout2 = `test-radius.mp'.
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas e/pdfr-def.tex) systems : begin file test at line 12 fonts : resetting map file list {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-empty.map} fonts : using map file: original-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-base.map} fonts : using map file: original-ams-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-ams-base.map} fonts : using map file: original-public-lm {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-public-lm.map} fonts : using map file: lm-ec {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-e c.map} fonts : using map file: lm-math {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-m ath.map} fonts : using map file: lm-rm {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-r m.map} fonts : using map file: 8r-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/8r-base.map} fonts : using map file: ec-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/ec-base.map} fonts : using map file: t5-base {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/t5-base.map} fonts : using map file: original-ams-euler {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte x/context/original-ams-euler.map} !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF 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.
<<<<<<<
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 ___________________________________________________________________________________
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.
<<<<<<<
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 ___________________________________________________________________________ ________
Indeed, the latest ConTeXt ver: 2008.06.10 18:23 MKIV fmt: 2008.6.11 int: english/english solves the problem on MKIV. Thanks, Bernard On Wednesday 11 June 2008 08:57, bbvogel@home.nl wrote:
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.
<<<<<<<
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 _________________________________________________________________________ __ ________
___________________________________________________________________________ ________ 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 ___________________________________________________________________________ ________
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
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 ___________________________________________________________________________ ________
bbvogel@home.nl schrieb:
On Wednesday 11 June 2008 12:07, Peter Rolf wrote:
bbvogel@home.nl schrieb:
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
On Tuesday 10 June 2008 16:18, Peter Rolf wrote: 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 ___________________________________________________________________________________
participants (3)
-
bbvogel@home.nl
-
Hans Hagen
-
Peter Rolf