[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users 1509] Re: Problem with mgp2ps -c



Hi Yoshifumi,

Thanks for the reply.  I tried adding the -sty color and other
directives as you suggested.  Couple of things:

1.  In the usual presentation, the colors seem to be reversed; i.e., the
equations come out in black surrounded by a white background (I'd guess
that it's the boundingbox).

2.  When I run mgp2ps -c things work slightly better:  now the equations
come out in the expected colors, however, only the last equation on the
page displays.  The other ones flash by and are overwritten by any
subsequent latex output.  (I have multiple %filter sections, one for
each equation, even if they're on the same page).

Suggestions?

David


On Sun, 2010-06-06 at 17:30 +0900, Yoshifumi Nishida wrote:
> Hi David,
> 
> From: David Ronis <ronis@ronispc.chem.mcgill.ca>
> Subject: [mgp-users 1505] Problem with mgp2ps -c
> Date: Fri, 04 Jun 2010 11:27:18 -0400
> Message-ID: <>
> 
>  > Hi Yoshifumi,
>  > 
>  > I'm trying to convert a presentation (with lots of equations that I
>  > typeset with latex and %filter) to postscript.   The equations come out
>  > correctly when I don't specify the -c flag to mgp2ps, but don't show up
>  > when I do.  I use a black background, but specify fore "white" before
>  > displaying the image.  Here's an example:
>  > 
>  > %fore "white"
>  > %filter "latex2eps.sh CSC_U"
>  > \begin{eqnarray}
>  >   \beta \tilde u_{c,c;{eff}}(k) &=& \beta \tilde
>  >   u_{c,c}(k)-\frac{\rho_pk^2\tilde c^2_{p,c}(k)}{k^2+\kappa^2},
>  > 	\nonumber
>  > \end{eqnarray}
>  > %endfilter
>  > %center, fore "white", image "CSC_U.eps" 256 250 250 1
> 
> Please try the following.
> 
> %fore "white"
> %filter "latex2eps.sh -sty color CSC_U"
> \begin{eqnarray}
> \pagecolor{black}
> \color{white}
>   \beta \tilde u_{c,c;{eff}}(k) &=& \beta \tilde
>   u_{c,c}(k)-\frac{\rho_pk^2\tilde c^2_{p,c}(k)}{k^2+\kappa^2},
> 	\nonumber
> \end{eqnarray}
> %endfilter
> %center, fore "white", image "CSC_U.eps" 256 250 250 1
> 
>  > Another problem seems to be the implementation of newimage under mgp2ps.
>  > First, simple black and white graphics don't appear (I suspect that this
>  > is the same problem as above).  Second, the -rotate option seems to be
>  > ignored.
> 
> I will take a look. Please wait for a while.
> 
>  > Finally,  has any progress been made on supressing respawning %system
>  > commands (e.g., movies) when a page is redrawn?
> 
> Sorry. no progress has been made so far. But, I will take a look if there's
> a simple way to do it.
> 
> Thanks,
> --
> Yoshifumi Nishida
> nishida@sfc.wide.ad.jp
>