On Tue, Jan 23, 2007 at 05:13:58PM -0600, [EMAIL PROTECTED] wrote:
> Dear LyX,
>
> I have a problem with instant preview of equations (which
> I shut off). I find that defined math symbols don't show up.
>
> If I define
>
> \newcommand\Pc{P^c}
>
> and then have an equation
>
> \Pc = P^c
>
> the left-hand side will show up in the preview, but not the
> right. Nothing shows up, including in the .dvi or .png files,
> such as
>
>
> 0lyxpreview.dvi
>
> 0lyxpreview7.png
>
> I also get messages such as shown below when the equation preview
> processes and equation (perhaps a side effect of something else)
>
> I have an x86_64 system with fedora core 6. The latex -version
> output is included below.
>
> I hope this is helpful. My work around is just to shut
> equation preview off.
>
> Thanks
> Brian
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>
> pplatex: Process input file 5lyxpreview.dvi
> pplatex: Copy data to 5lyxpreview.dvi
> dvipng warning: at (4294967070,4294967271) ignored header
> \special{!/[EMAIL PROTECTED](11.84)def}. dvipng warning: at
> (4294967070,4294967271) ignored header \special{!userdict
> begin/preview-bop-level 0 def/bop-hook{/preview-bop-level dup
> load dup 0 le{/isls false def/vsize 792 def/hsize 612 def}if 1
> add store}bind def/eop-hook{/preview-bop-level dup load dup 0
> gt{1 sub}if store}bind def end}.
This happens with dvipng versions less than 1.8 and some recent versions
of the preview.sty package. Upgrading to dvipng 1.8 should fix it.
Maybe we should check for the dvipng version in configure.py, but this
is not sufficient as older versions of dvipng work well with older
versions of preview.sty.
--
Enrico