|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
dvipng "unable to load" .eps file (MiKTeX 2.7)Hi all,
dvipng doesn't produce any output for included .eps files on my installation. C:\test>dvipng de.dvi This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson [1 <de.epsdvipng warning: No GhostScript pngalpha output, opaque image inclusion dvipng warning: Unable to load de.eps, image will be left blank >] If I include the file as PNG, it works. "de.dvi" is the result of "latex de.tex" on an up-to-date MiKTeX 2.7 installation. I have tried "\epsfig{file=de.eps,width=15cm}" as well as "\includegraphics[bb = 0 0 598 362]{de.eps}" with identical results. Output to PDF/DVI works, including the EPS graphic. I have tried supplying the full path in the .tex-file. Does anyone have an idea on what could be the problem here? Side note - when I try to run under linux (openSUSE 10.3), I get: This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 The last few lines when I run it with -d9999999 are: <de.eps GS RENDER ./de.eps -> png16m GS CALL: gs -sDEVICE=png16m -r277x277 -dBATCH -dNOPAUSE -q -sOutputFile=- -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dSAFER - PS CODE: <</PageSize[154 89]/PageOffset[0 0[1 1 dtransform exch]{0 ge{neg}if exch}forall]>>setpagedevice PS DATA: ...ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 Unfortunately on the windows installation "dvipng" wasn't compiled with DEBUG, so I can't provide that information. best regards, -- Bernhard HERMANN init.at informationstechnologie GmbH. Mariahilfer Str. 61/1/10 1060 Wien/Vienna Austria - EU Tel: +43 1 522 53 77 - 35 http://www.init.at hermann@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: dvipng "unable to load" .eps file (MiKTeX 2.7)Hello!
For me with the following document I did get the picture. I did also get it without the preview package and imbeded in some text. But the picture (.png) didn't show the right margin, the picture was truncated along the right side pf the text. This also worked compiling to .ps or .pdf. perhaps try not usinf the same name (de) for the tex file and the picture!!! Yours Alain Delmotte \documentclass{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage[esperanto,frenchb]{babel} \usepackage{lmodern} \usepackage{graphicx} \usepackage[active,tightpage]{preview} \begin{document} %Voici du texte pour encadrer la figure. Voici du %texte pour encadrer la figure. Voici du texte pour %encadrer la figure. Voici du texte pour encadrer %la figure. Voici du texte pour encadrer la figure. %Voici du texte pour encadrer la figure. \begin{preview} \includegraphics[scale=0.1]{coccinl2.eps} \end{preview} %Voici du texte pour encadrer la figure. Voici du %texte pour encadrer la figure. Voici du texte pour %encadrer la figure. Voici du texte pour encadrer %la figure. Voici du texte pour encadrer la figure. %Voici du texte pour encadrer la figure. \end{document} Bernhard Hermann a écrit : > Hi all, > > dvipng doesn't produce any output for included .eps files on my > installation. > C:\test>dvipng de.dvi > This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson > [1 <de.epsdvipng warning: No GhostScript pngalpha output, opaque image > inclusion > dvipng warning: Unable to load de.eps, image will be left blank >] > > If I include the file as PNG, it works. > "de.dvi" is the result of "latex de.tex" on an up-to-date MiKTeX 2.7 > installation. > > I have tried "\epsfig{file=de.eps,width=15cm}" as well as > "\includegraphics[bb = 0 0 598 362]{de.eps}" with identical results. > > Output to PDF/DVI works, including the EPS graphic. I have tried > supplying the full path in the .tex-file. > Does anyone have an idea on what could be the problem here? > > Side note - when I try to run under linux (openSUSE 10.3), I get: > This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson > ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 > > The last few lines when I run it with -d9999999 are: > <de.eps > GS RENDER ./de.eps -> png16m > GS CALL: gs -sDEVICE=png16m -r277x277 -dBATCH -dNOPAUSE -q > -sOutputFile=- -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dSAFER - > PS CODE: <</PageSize[154 89]/PageOffset[0 0[1 1 dtransform > exch]{0 ge{neg}if exch}forall]>>setpagedevice > PS DATA: ...ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 > > Unfortunately on the windows installation "dvipng" wasn't compiled with > DEBUG, so I can't provide that information. > > best regards, > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: dvipng "unable to load" .eps file (MiKTeX 2.7)Hi,
Thanks for your suggestion. Unfortunately, changing the filename doesn't make any difference. Do you have any idea on what else I could try to single it out? br, hermann Alain Delmotte wrote: > Hello! > > For me with the following document I did get the picture. > I did also get it without the preview package and imbeded in some text. > But the picture (.png) didn't show the right margin, the picture was > truncated along the right side pf the text. > This also worked compiling to .ps or .pdf. > > perhaps try not usinf the same name (de) for the tex file and the picture!!! > > Yours > > Alain Delmotte > > \documentclass{article} > > \usepackage[T1]{fontenc} > \usepackage[latin1]{inputenc} > \usepackage[esperanto,frenchb]{babel} > > \usepackage{lmodern} > \usepackage{graphicx} > \usepackage[active,tightpage]{preview} > > \begin{document} > > %Voici du texte pour encadrer la figure. Voici du > %texte pour encadrer la figure. Voici du texte pour > %encadrer la figure. Voici du texte pour encadrer > %la figure. Voici du texte pour encadrer la figure. > %Voici du texte pour encadrer la figure. > > \begin{preview} > \includegraphics[scale=0.1]{coccinl2.eps} > \end{preview} > > %Voici du texte pour encadrer la figure. Voici du > %texte pour encadrer la figure. Voici du texte pour > %encadrer la figure. Voici du texte pour encadrer > %la figure. Voici du texte pour encadrer la figure. > %Voici du texte pour encadrer la figure. > > \end{document} > > > Bernhard Hermann a écrit : > >> Hi all, >> >> dvipng doesn't produce any output for included .eps files on my >> installation. >> C:\test>dvipng de.dvi >> This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson >> [1 <de.epsdvipng warning: No GhostScript pngalpha output, opaque image >> inclusion >> dvipng warning: Unable to load de.eps, image will be left blank >] >> >> If I include the file as PNG, it works. >> "de.dvi" is the result of "latex de.tex" on an up-to-date MiKTeX 2.7 >> installation. >> >> I have tried "\epsfig{file=de.eps,width=15cm}" as well as >> "\includegraphics[bb = 0 0 598 362]{de.eps}" with identical results. >> >> Output to PDF/DVI works, including the EPS graphic. I have tried >> supplying the full path in the .tex-file. >> Does anyone have an idea on what could be the problem here? >> >> Side note - when I try to run under linux (openSUSE 10.3), I get: >> This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson >> ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 >> >> The last few lines when I run it with -d9999999 are: >> <de.eps >> GS RENDER ./de.eps -> png16m >> GS CALL: gs -sDEVICE=png16m -r277x277 -dBATCH -dNOPAUSE -q >> -sOutputFile=- -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dSAFER - >> PS CODE: <</PageSize[154 89]/PageOffset[0 0[1 1 dtransform >> exch]{0 ge{neg}if exch}forall]>>setpagedevice >> PS DATA: ...ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 >> >> Unfortunately on the windows installation "dvipng" wasn't compiled with >> DEBUG, so I can't provide that information. >> >> best regards, >> >> >> > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > MiKTeX-Users mailing list > MiKTeX-Users@... > https://lists.sourceforge.net/lists/listinfo/miktex-users > > -- Bernhard HERMANN init.at informationstechnologie GmbH. Mariahilfer Str. 61/1/10 1060 Wien/Vienna Austria - EU Tel: +43 1 522 53 77 - 35 http://www.init.at hermann@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: dvipng "unable to load" .eps file (MiKTeX 2.7)am Mittwoch, 18. Juni 2008 um 16:04 schrieb Bernhard Hermann:
> Hi all, > dvipng doesn't produce any output for included .eps files on my > installation. C:\test>>dvipng de.dvi > This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson > [1 <de.epsdvipng warning: No GhostScript pngalpha output, opaque image > inclusion > dvipng warning: Unable to load de.eps, image will be left blank >] > If I include the file as PNG, it works. > "de.dvi" is the result of "latex de.tex" on an up-to-date MiKTeX 2.7 > installation. > I have tried "\epsfig{file=de.eps,width=15cm}" as well as > "\includegraphics[bb = 0 0 598 362]{de.eps}" with identical results. > Output to PDF/DVI works, including the EPS graphic. I have tried > supplying the full path in the .tex-file. > Does anyone have an idea on what could be the problem here? > Side note - when I try to run under linux (openSUSE 10.3), I get: > This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson > ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 > The last few lines when I run it with -d9999999 are: > <de.eps > GS RENDER ./de.eps -> png16m > GS CALL: gs -sDEVICE=png16m -r277x277 -dBATCH -dNOPAUSE -q > -sOutputFile=- -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dSAFER - > PS CODE: <</PageSize[154 89]/PageOffset[0 0[1 1 dtransform > exch]{0 ge{neg}if exch}forall]>>setpagedevice > PS DATA: ...ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 Sounds as if your eps is problematic. Is it a real eps-file? And does it have some binary preview? I at least didn't have any problems with the standard rose.eps and tiger.eps and this code \documentclass{article} \usepackage{graphicx} \pagestyle{empty} \begin{document} \fbox{\includegraphics[width=5cm]{rose}} \end{document} and the calls dvipng and dvipng -T tight (miktex 2.7). -- Mit freundlichen Grüßen Ulrike Fischer mailto:list@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: dvipng "unable to load" .eps file (MiKTeX 2.7)Thank you for the suggestion, this indeed works (I used "transistor.eps"
in the doc/-directory of the MiKTeX 2.7 distribution). Confusingly, the .eps-file has worked for a long time before (presumably at least up until version 2.4). Do you have any idea on why this may have regressed? Ulrike Fischer wrote: > am Mittwoch, 18. Juni 2008 um 16:04 schrieb Bernhard Hermann: > > >> Hi all, >> > > >> dvipng doesn't produce any output for included .eps files on my >> installation. >> > C:\test>>dvipng de.dvi > >> This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson >> [1 <de.epsdvipng warning: No GhostScript pngalpha output, opaque image >> inclusion >> dvipng warning: Unable to load de.eps, image will be left blank >] >> > > >> If I include the file as PNG, it works. >> "de.dvi" is the result of "latex de.tex" on an up-to-date MiKTeX 2.7 >> installation. >> > > >> I have tried "\epsfig{file=de.eps,width=15cm}" as well as >> "\includegraphics[bb = 0 0 598 362]{de.eps}" with identical results. >> > > >> Output to PDF/DVI works, including the EPS graphic. I have tried >> supplying the full path in the .tex-file. >> Does anyone have an idea on what could be the problem here? >> > > >> Side note - when I try to run under linux (openSUSE 10.3), I get: >> This is dvipng 1.9 Copyright 2002-2006 Jan-Ake Larsson >> ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 >> > > >> The last few lines when I run it with -d9999999 are: >> <de.eps >> GS RENDER ./de.eps -> png16m >> GS CALL: gs -sDEVICE=png16m -r277x277 -dBATCH -dNOPAUSE -q >> -sOutputFile=- -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dSAFER - >> PS CODE: <</PageSize[154 89]/PageOffset[0 0[1 1 dtransform >> exch]{0 ge{neg}if exch}forall]>>setpagedevice >> PS DATA: ...ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1 >> > > Sounds as if your eps is problematic. Is it a real eps-file? And does > it have some binary preview? I at least didn't have any problems with > the standard rose.eps and tiger.eps and this code > > \documentclass{article} > \usepackage{graphicx} > \pagestyle{empty} > \begin{document} > \fbox{\includegraphics[width=5cm]{rose}} > \end{document} > > and the calls dvipng and dvipng -T tight (miktex 2.7). > > > > -- Bernhard HERMANN init.at informationstechnologie GmbH. Mariahilfer Str. 61/1/10 1060 Wien/Vienna Austria - EU Tel: +43 1 522 53 77 - 35 http://www.init.at hermann@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: dvipng "unable to load" .eps file (MiKTeX 2.7)am Freitag, 20. Juni 2008 um 10:04 schrieb Bernhard Hermann:
> Thank you for the suggestion, this indeed works (I used "transistor.eps" > in the doc/-directory of the MiKTeX 2.7 distribution). You mean, it works with another eps? > Confusingly, the .eps-file has worked for a long time before (presumably > at least up until version 2.4). > Do you have any idea on why this may have regressed? dvipng use ghostscript, and ghostscript versions changes. Also miktex now has its own ghostscript. It is quote possible that this affect conversions. And faulty eps have a tendency to work only sometimes. -- Mit freundlichen Grüßen Ulrike Fischer mailto:list@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: dvipng "unable to load" .eps file (MiKTeX 2.7)Ulrike Fischer wrote:
> >> Thank you for the suggestion, this indeed works (I used "transistor.eps" >> in the doc/-directory of the MiKTeX 2.7 distribution). >> > > You mean, it works with another eps? > Yes > >> Confusingly, the .eps-file has worked for a long time before (presumably >> at least up until version 2.4). >> >> Do you have any idea on why this may have regressed? >> > > dvipng use ghostscript, and ghostscript versions changes. Also miktex > now has its own ghostscript. It is quote possible that this affect > conversions. And faulty eps have a tendency to work only sometimes. > > Okay. I think we'll have to accept the situation as it is ;) Thank you for your help! -- Bernhard HERMANN init.at informationstechnologie GmbH. Mariahilfer Str. 61/1/10 1060 Wien/Vienna Austria - EU Tel: +43 1 522 53 77 - 35 http://www.init.at hermann@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: dvipng "unable to load" .eps file (MiKTeX 2.7)On Fri, Jun 20, 2008 at 5:04 AM, Bernhard Hermann <hermann@...> wrote:
> Thank you for the suggestion, this indeed works (I used "transistor.eps" > in the doc/-directory of the MiKTeX 2.7 distribution). > Confusingly, the .eps-file has worked for a long time before (presumably > at least up until version 2.4). > > Do you have any idea on why this may have regressed? Ghostscript has made some changes to more strictly enforce PostScript standards. If you are using an external font the font may have changed. There are many things you can do to salvage your file: 0. make sure you can view the file with ghostscript (e.g., using gsview)? You may need to find different fonts, etc., or even report a bug and wait for the fix to appear. 1. get epstools (I use the version from OpenPKG.org because I can have the same tools on multiple platforms -- there are also are Windows versions). Use it to check for problems in the purported EPS, e.g., E?PS file. 2. get epspdf and the utilities from xpdf (pdftops), widely available on linux and also in a Win32 version. You can convert the E?PS to PDF and back to EPS, which often rescues E?PS files. 3. get ps2edit (linux or Win32) and convert to an editable format such as Adobe Illustrator. There is an option to replace fonts with outline paths, which is often helpful if the problem is related to fonts. 4. in some cases the simplest way out is to rasterize the E?PS file file and save in an image format. A dirty secret in the industry is that sometimes you have to print a E?PS, scan it, and then manually edit the scanned figure to get a version that typesets properly. -- George N. White III <aa056@...> Head of St. Margarets Bay, Nova Scotia ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: dvipng "unable to load" .eps file (MiKTeX 2.7)Thanks for all the information! I am sure most of it will even be
relevant to our particular problem situation. We have since managed to export the .eps differently (on a Mac, to "Generic EPS" instead of "MS-DOS EPS"), now it works again. I consider this request "answered". Thanks to all who responded with helpful suggestions! George N. White III wrote: > On Fri, Jun 20, 2008 at 5:04 AM, Bernhard Hermann <hermann@...> wrote: > > >> Thank you for the suggestion, this indeed works (I used "transistor.eps" >> in the doc/-directory of the MiKTeX 2.7 distribution). >> Confusingly, the .eps-file has worked for a long time before (presumably >> at least up until version 2.4). >> >> Do you have any idea on why this may have regressed? >> > > Ghostscript has made some changes to more strictly enforce > PostScript standards. If you are using an external font the > font may have changed. There are many things you can do > to salvage your file: > > 0. make sure you can view the file with ghostscript (e.g., > using gsview)? You may need to find different fonts, etc., or > even report a bug and wait for the fix to appear. > > 1. get epstools (I use the version from OpenPKG.org because > I can have the same tools on multiple platforms -- there are also > are Windows versions). Use it to check for problems in the > purported EPS, e.g., E?PS file. > > 2. get epspdf and the utilities from xpdf (pdftops), widely available > on linux and also in a Win32 version. You can convert the E?PS > to PDF and back to EPS, which often rescues E?PS files. > > 3. get ps2edit (linux or Win32) and convert to an editable format > such as Adobe Illustrator. There is an option to replace fonts with > outline paths, which is often helpful if the problem is related to > fonts. > > 4. in some cases the simplest way out is to rasterize the E?PS file > file and save in an image format. A dirty secret in the industry > is that sometimes you have to print a E?PS, scan it, and then > manually edit the scanned figure to get a version that typesets > properly. > > > -- Bernhard HERMANN init.at informationstechnologie GmbH. Mariahilfer Str. 61/1/10 1060 Wien/Vienna Austria - EU Tel: +43 1 522 53 77 - 35 http://www.init.at hermann@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
| Free Forum Powered by Nabble | Forum Help |