Quantcast

dvipng

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

dvipng

Ryan Krauss
I am having trouble with the dvipng that comes with Miktex.  I am
running Miktex 2.4.1704.  I am attaching a very simple test tex file.  
The output is just one pixel (png is attached).  The error message from
dvigpng follows.

Thanks for any help,

Ryan

C:\ryan>dvipng -o test.png test
This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
[1Trying to make PK font "cmr12" (at 400 DPI)...
Creating "cmr12.pk"...
"mf" \mode:=cx; \mag:=1+100/300;nonstopmode;input cmr12
This is METAFONT, Version 2.71828 (MiKTeX 2.4)

(C:\MiKTeX\texmf\fonts\source\public\cm\cmr12.mf
(C:\MiKTeX\texmf\fonts\source\public\cm\cmbase.mf)
(C:\MiKTeX\texmf\fonts\source\public\cm\roman.mf
! Missing `:' has been inserted
! This can't happen (copy).
mode_param->if.unknown.mode_guard_(EXPR5000)
                                           
:(EXPR5000):=(EXPR1);mode_guard_...

cx_->mode_param(pixels_per_inch,300)
                                   
;mode_param(blacker,0);mode_param(fillin...
<scantokens> cx_

<to be read again>
                   ;
mode_setup->...nput "&mode)else:mode_name[mode]fi;
                                                 
if.unknown.mag:mag=1;fi.if...
l.12 mode_setup
               ; font_setup;
Transcript written on cmr12.log.
METAFONT failed for some reason
makepk: METAFONT failed on "cmr12".
dvipng warning: font cmr12 at 400 dpi not found, characters will be left
blank T
rying to make PK font "cmmi12" (at 400 DPI)...
Creating "cmmi12.pk"...
"mf" \mode:=cx; \mag:=1+100/300;nonstopmode;input cmmi12
This is METAFONT, Version 2.71828 (MiKTeX 2.4)

(C:\MiKTeX\texmf\fonts\source\public\cm\cmmi12.mf
(C:\MiKTeX\texmf\fonts\source\public\cm\cmbase.mf)
(C:\MiKTeX\texmf\fonts\source\public\cm\mathit.mf
! Missing `:' has been inserted
! This can't happen (copy).
mode_param->if.unknown.mode_guard_(EXPR5000)
                                           
:(EXPR5000):=(EXPR1);mode_guard_...

cx_->mode_param(pixels_per_inch,300)
                                   
;mode_param(blacker,0);mode_param(fillin...
<scantokens> cx_

<to be read again>
                   ;
mode_setup->...nput "&mode)else:mode_name[mode]fi;
                                                 
if.unknown.mag:mag=1;fi.if...
l.7 mode_setup
              ; font_setup;
Transcript written on cmmi12.log.
METAFONT failed for some reason
makepk: METAFONT failed on "cmmi12".
dvipng warning: font cmmi12 at 400 dpi not found, characters will be
left blank
Trying to make PK font "cmr8" (at 400 DPI)...
Creating "cmr8.pk"...
"mf" \mode:=cx; \mag:=1+100/300;nonstopmode;input cmr8
This is METAFONT, Version 2.71828 (MiKTeX 2.4)

(C:\MiKTeX\texmf\fonts\source\public\cm\cmr8.mf
(C:\MiKTeX\texmf\fonts\source\public\cm\cmbase.mf)
(C:\MiKTeX\texmf\fonts\source\public\cm\roman.mf
! Missing `:' has been inserted
! This can't happen (copy).
mode_param->if.unknown.mode_guard_(EXPR5000)
                                           
:(EXPR5000):=(EXPR1);mode_guard_...

cx_->mode_param(pixels_per_inch,300)
                                   
;mode_param(blacker,0);mode_param(fillin...
<scantokens> cx_

<to be read again>
                   ;
mode_setup->...nput "&mode)else:mode_name[mode]fi;
                                                 
if.unknown.mag:mag=1;fi.if...
l.12 mode_setup
               ; font_setup;
Transcript written on cmr8.log.
METAFONT failed for some reason
makepk: METAFONT failed on "cmr8".
dvipng warning: font cmr8 at 400 dpi not found, characters will be left
blank  a
t (78,91) source \special{src:3test.tex}]

\documentclass[12pt]{article}
\begin{document}
This is a test.\\
$x^3+\theta$
\end{document}

test.png (114 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dvipng

Hans F. Nordhaug
* Ryan Krauss <[hidden email]> [2005-09-26]:

> I am having trouble with the dvipng that comes with Miktex.  I am
> running Miktex 2.4.1704.  I am attaching a very simple test tex file.  
> The output is just one pixel (png is attached).  The error message from
> dvigpng follows.
>
> Thanks for any help,
>
> Ryan
>
> C:\ryan>dvipng -o test.png test
> This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
> [1Trying to make PK font "cmr12" (at 400 DPI)...
> Creating "cmr12.pk"...
> "mf" \mode:=cx; \mag:=1+100/300;nonstopmode;input cmr12
> This is METAFONT, Version 2.71828 (MiKTeX 2.4)
>
> (C:\MiKTeX\texmf\fonts\source\public\cm\cmr12.mf
> (C:\MiKTeX\texmf\fonts\source\public\cm\cmbase.mf)
> (C:\MiKTeX\texmf\fonts\source\public\cm\roman.mf
> ! Missing `:' has been inserted
> ! This can't happen (copy).
[cut]

As you see from the errors the problem isn't dvipng, but metafont.
This has been reported as a bug already - see
https://sourceforge.net/tracker/index.php?func=detail&aid=1242543&group_id=10783&atid=110783
The easy fix is to rebuild all formats (as stated in the bug report).

Hans


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
MiKTeX-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/miktex-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dvipng

Ryan Krauss
Thanks,  I am up and running.

Taken from the bug page you referred me to:
"rebuilding all format files via MiKTeX Options->
General->Format Files->Update Now solved the problem."

That worked for me as well.

Ryan

Hans F. Nordhaug wrote:

> * Ryan Krauss <[hidden email]> [2005-09-26]:
>
>>I am having trouble with the dvipng that comes with Miktex.  I am
>>running Miktex 2.4.1704.  I am attaching a very simple test tex file.  
>>The output is just one pixel (png is attached).  The error message from
>>dvigpng follows.
>>
>>Thanks for any help,
>>
>>Ryan
>>
>>C:\ryan>dvipng -o test.png test
>>This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
>>[1Trying to make PK font "cmr12" (at 400 DPI)...
>>Creating "cmr12.pk"...
>>"mf" \mode:=cx; \mag:=1+100/300;nonstopmode;input cmr12
>>This is METAFONT, Version 2.71828 (MiKTeX 2.4)
>>
>>(C:\MiKTeX\texmf\fonts\source\public\cm\cmr12.mf
>>(C:\MiKTeX\texmf\fonts\source\public\cm\cmbase.mf)
>>(C:\MiKTeX\texmf\fonts\source\public\cm\roman.mf
>>! Missing `:' has been inserted
>>! This can't happen (copy).
>
> [cut]
>
> As you see from the errors the problem isn't dvipng, but metafont.
> This has been reported as a bug already - see
> https://sourceforge.net/tracker/index.php?func=detail&aid=1242543&group_id=10783&atid=110783
> The easy fix is to rebuild all formats (as stated in the bug report).
>
> Hans
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> MiKTeX-Users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/miktex-users
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
MiKTeX-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/miktex-users
Loading...