[pstricks] color and pst-optexp

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Sat Nov 29 07:29:43 CET 2014

Dear Christoph,

I come back to our discussion for \iffasle-\fi. Luis Sequeira gives me a solution by using method=direct or file in\begin{slide}[method=direct]{}.

I have still a small trouble that I think is coming from pst-optexp: in the code sample below, I use \color{blue} to type the text in blue.
The text before the picture is indeed in blue but after the picture, it is switched to black if the optical components in the picture are on. If I comment out the optical components, the text after the picture is in blue as it should.

I suspect than when leaving  the pspicture environment, the state before the pspicture is not recovered.   I also tried with a component from pst-circ and I have a blue text before and after the picture.
Best regards,



Some text before the picture.


Some text after the picture.

-----Message d'origine-----
De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Christoph Bersch
Envoyé : vendredi 28 novembre 2014 14:08
À : pstricks at tug.org
Objet : Re: [pstricks] powerdot and pst-optexp


Zitat von Herbert Voss <Herbert.Voss at fu-berlin.de>:
> Patrice MÉGRET schrieb:
>> Yes, but it seems that we have a small bug in one of the packages 
>> because they should be able to be used together as any  pstricks packages.
> you are right, it should be solved by powerdot or pst-optexp

I could reproduce this error also without pst-optexp. Consider the following example, which show the same error:

Some Text.

Of course, if there is something on pst-optexp side which I could do, I'll be glad to do it.

Best regards,

PSTricks mailing list
PSTricks at tug.org
archive: http://www.tug.org/pipermail/pstricks/

More information about the PSTricks mailing list