On Wed, Jan 21, 2009 at 11:32 PM, Mojca Miklavec wrote:
On Wed, Jan 21, 2009 at 6:10 PM, Jean Magnan de Bornier wrote:
I wish I could use dvipng whenever I need to.
So you are plannig to release/improve the emacs module and document it for Maps?
I'll take a look at the end of the week to see if we can make it work with minimals.
Hello Jean, You need exactly (or at least) two things to make dvipng work: - dvipng binary - fonts/map/dvips/updmap/ps2pk.map I can add that to minimals, just a few questions below ... It's just that one day it might be splitted (together with dvips & different font tools that almost nobody uses) into some additional package that one needs to install separately (with additional arguments). We don't have updmap, so ps2pk needs to be either: a) prepared semi-manually with fonts that minimals ship b) taken from TeX Live with both fonts that minimals have and those that are not shipped at all How many exotic fonts do you usually need? Does ps2pk require some special syntax? (reading http://ftp.univie.ac.at/packages/tex/dviware/dvipng/fontmap.c and still asking stupid questions ...) There's only one thing I wonder about: [x]dvipdfmx uses the map file that are specified in dvi (xdv) specials. - How does dvips know which map files to use? / Is there some "quasi-standard" way to secify map files in dvi? - Would it make sense (in long term) to ask the author of dvipng to honour the map files specified in dvi file instead of requiring ps2pk to be unconditionally present? - not to be taken seriously: (Wouldn't it be nice if pdftex/luatex was able to generate PNGs out of the box? :) :) :) (Well, I know, ConTeXt is a bit different from LaTeX with respect to map files ...) Mojca