Discussion:
[Dvipng] dvipng and MikTeX
Rajneesh Hegde
2005-05-22 20:43:39 UTC
Permalink
hi,
I'm trying to install dvipng 1.5 for use with the
preview-latex package. This is on a Windows XP
computer with MikTeX 2.4 installed. I also have an
up-to-date cygwin installation.

I obtained the libpng and GD libraries required for
compiling dvipng but it's complaining about the
kpathsea library. Is it possible to get the kpathsea
library through MikTeX? My current "large" package set
in MikTeX has a kpsewhich executable but doesn't have
the library. If the full installation has the library,
then I could just updae that instead of trying to
compile kpathsea myself.

Also, MikTeX has a dvipng executable, but it's version
1.1. This doesn't seem to have the options needed to
bypass ghostscript. Unfortunately, MikTeX update
didn't update its copy of dvipng. Any suggestions?
Thanks fr your time,

Rajneesh.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Jan-Åke Larsson
2005-05-23 08:08:45 UTC
Permalink
Post by Rajneesh Hegde
I obtained the libpng and GD libraries required for
compiling dvipng but it's complaining about the
kpathsea library. Is it possible to get the kpathsea
library through MikTeX? My current "large" package set
in MikTeX has a kpsewhich executable but doesn't have
the library. If the full installation has the library,
then I could just updae that instead of trying to
compile kpathsea myself.
As far as I understand, MIKTeX has its own kpathsea library,
libkps and is compiled natively, not via cygwin.
Post by Rajneesh Hegde
Also, MikTeX has a dvipng executable, but it's version
1.1. This doesn't seem to have the options needed to
bypass ghostscript. Unfortunately, MikTeX update
didn't update its copy of dvipng. Any suggestions?
Thanks fr your time,
I'll contact Christian Schenk and ask him to update. As soon as
I've released dvipng 1.6.

/JÅ
Rajneesh Hegde
2005-05-23 18:08:05 UTC
Permalink
Post by Jan-Åke Larsson
As far as I understand, MIKTeX has its own kpathsea
library,
libkps and is compiled natively, not via cygwin.
Does that mean I can use it to make dvipng myself? If
not, then I suppose dvipng is not an option with the
MiKTeX/preview-latex combination? Or can one use
dvipng 1.1 with suitable options? Version 1.1 doesn't
seem to have the -noghostscript option, so what
command-line switches should I use?
Post by Jan-Åke Larsson
I'll contact Christian Schenk and ask him to update.
As soon as
I've released dvipng 1.6.
Thanks for your help,

Rajneesh.



Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
j***@mai.liu.se
2005-05-23 18:39:19 UTC
Permalink
Post by Rajneesh Hegde
Post by Jan-Åke Larsson
As far as I understand, MIKTeX has its own kpathsea
library,
libkps and is compiled natively, not via cygwin.
Does that mean I can use it to make dvipng myself?
Not unless you have the same build environment that Christian
Schenk uses, and this is not cygwin. I can probably dig this up
somewhere, but I believe it is some sort of commercial tool.
Post by Rajneesh Hegde
If not, then I suppose dvipng is not an option with the
MiKTeX/preview-latex combination? Or can one use
dvipng 1.1 with suitable options? Version 1.1 doesn't
seem to have the -noghostscript option, so what
command-line switches should I use?
I think that removing --noghostscript and --picky would be enough
to make the thing run. Look through preview-latex customizations,
I forget the name of the variable to customize.

/J\AA
Rajneesh Hegde
2005-05-24 04:38:57 UTC
Permalink
Post by j***@mai.liu.se
I think that removing --noghostscript and --picky
would be enough
to make the thing run. Look through preview-latex
customizations,
I customized preview-dvipng-command, removing the
first, and the both, of those switches. Neither option
worked - preview-latex complained that it had no
images to preview. oh well, I suppose I'll wait for an
updated version to show up in MiKTeX :) Thanks for
your help,

Rajneesh.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Jan-Åke Larsson
2005-05-24 07:40:59 UTC
Permalink
Post by Rajneesh Hegde
I customized preview-dvipng-command, removing the
first, and the both, of those switches. Neither option
worked - preview-latex complained that it had no
images to preview.
Was it able to run dvipng? Was the latex run successful? (C-c C-l)
/JÅ

Loading...