Re: Re: preview-latex 0.9 released...

Jan-Ake Larsson <[email protected]> Fri, 4 Mar 2005 08:42:08 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <[email protected]>
Ralf Angeli wrote:
> > dvipng (version 1.4 or later: teTeX-3.0
> > works, TeXlive2004 not)
>=20
> Ouch!  Why is that?

In 1.3 and later there is a --picky switch that makes dvipng skip
pages with unknown specials and whatnot. Preview-latex uses this to
enable a fallback to the usual dvips->gs converter for pages with such
content.

Earlier versions of dvipng will read --picky as '-p 0' which will
prevent it from outputting any pages (there is usually no page 0). If
you want to enable earlier versions of dvipng, you need to disable
this feature of preview-latex, that is, customize away '-picky' from
preview-dvipng-command.

Then dvipng 1.1-1.2 will work, but will not have this fallback
behaviour. The usual things will work, of course, but things like
pstricks, psfrag, and many other packages that use specials I haven't
implemented will not work.

> Okay, I just made a `cvs up', `make clean', `./autogen.sh' and
> `./configure'.  This is what I got in Makefile:
>=20
> prefix =3D /usr/local$(null)
> lispdir =3D ${datadir}/emacs/22.0.50/site-lisp$(null)
> icondir =3D ${packagelispdir}/images$(null)
> datadir =3D ${prefix}/share$(null)
> packagedir =3D no$(null)
> packagelispdir =3D ${datadir}/emacs/22.0.50/site-lisp/preview$(null)
> auctexdir =3D /usr/local/share/emacs/site-lisp$(null)
>=20
> Is it supposed to be like this?  I was used to get a site-lisp
> directory which is not special to a certain Emacs version.  That means
> usually preview-latex was installed into
> /usr/local/share/emacs/site-lisp/preview/.

I'd agree here. WHOA, what has happened to the lispdir checking?
Previosly there was an explicit list of directories we would like to
install into. Now we seem to be using the contents of load-path. What
is the rationale for this?


/J=C5


--=20
Death before dishonor. Nothing before coffee!


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click