Document ClassesTransparent colors in pstricks

Information and discussion about specific document classes and how to create your own document classes.
mateja
Posts: 3
Joined: Wed Jul 30, 2008 4:26 pm

Transparent colors in pstricks

Post by mateja »

I can not use transparent colors in pstricks.

On the page:
http://www.tug.org/PSTricks/main.cgi?fi ... D/examples
I copied the entire original code for "Coor type 2" 3d15.tex and I made a 3d15.pdf file on my computer. Colors are regular instead of transparent as they are in the original file 3d15.pdf from the same page. (opacity=0.5 does not take effect)
I attached 3d15.log if it helps.

Can anybody please give me some advice?
Mateja
Attachments
3d15.log
(6.97 KiB) Downloaded 325 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Re: Transparent colors in pstricks

Post by CrazyHorse »

how did you created the pdf file?
mateja
Posts: 3
Joined: Wed Jul 30, 2008 4:26 pm

Re: Transparent colors in pstricks

Post by mateja »

I use TeXnicCenter.
I made: latex => ps2pdf
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Transparent colors in pstricks

Post by localghost »

mateja wrote:I can not use transparent colors in pstricks. [...] Can anybody please give me some advice? [...]
Make sure that you have the latest versions of both pst-3dplot and pstricks-add. Your log file says that you use older versions.


Best regards
Thorsten¹
mateja
Posts: 3
Joined: Wed Jul 30, 2008 4:26 pm

Re: Transparent colors in pstricks

Post by mateja »

Thanks for your hint, CrazyHorse. It was not much, but enough.

I uninstalled TeXnicCenter.
I reinstalled Ghostscript and GsView.
I installed TeXnicCenter again (automatic installed output profiles)

Now I can see transparent colors. The problem was an old version of Ghostscript i think.
I have to do some 3d pictures (intersection of a sphere and plane,...). My pictures will be much better now.

Mateja
jotacebusta
Posts: 4
Joined: Sat Nov 01, 2008 3:58 pm

Re: Transparent colors in pstricks

Post by jotacebusta »

Hi,
I'm a Ubuntu 8.04 user. How do I do to update pstricks-add and any package in general. I went to the package page, as localghost suggested, but I can't figure the way... My computer-science skills are not enough to do it.

Using Kile, I've obtained the following error: Package xkeyval Error: `opacity' undefined in families `,pstricks-add'. ...

Thanks

JC
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Transparent colors in pstricks

Post by CrazyHorse »

jotacebusta wrote:Hi,
I'm a Ubuntu 8.04 user. How do I do to update pstricks-add and any package in general. I went to the package page, as localghost suggested, but I can't figure the way... My computer-science skills are not enough to do it.

Using Kile, I've obtained the following error: Package xkeyval Error: `opacity' undefined in families `,pstricks-add'. ...
you can browse through
http://www.dante.de/~herbert/PSTricks-TDS
or download the complete tree
http://www.dante.de/~herbert/PSTricks-TDS.tgz

There are the same subdirectories as in your local tex distribution.

Herbert
jotacebusta
Posts: 4
Joined: Sat Nov 01, 2008 3:58 pm

Re: Transparent colors in pstricks

Post by jotacebusta »

Thanks,

I've downloaded the PSTricks-TDS.tgz file, but now I don't know what to do with it. There are about 50 files with a very similar name in my computer. Which ones do I have to replace?

thanks a lot!

JC
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Transparent colors in pstricks

Post by CrazyHorse »

jotacebusta wrote: I've downloaded the PSTricks-TDS.tgz file, but now I don't know what to do with it. There are about 50 files with a very similar name in my computer. Which ones do I have to replace?
you can simply copy all files into your existing TeX Directory Structure.
For example: /usr/share/texmf/
or for texlive: /usr/local/texlive/2008/texmf-dist/

from this level you have the same subdirectories.
It is also possible to copy only some of the files.
If you do not know, where your files are saved, you can get the
directory with eg: kpsewhich pstricks.tex

Herbert
jotacebusta
Posts: 4
Joined: Sat Nov 01, 2008 3:58 pm

Re: Transparent colors in pstricks

Post by jotacebusta »

Thanks again Herbert, so I did:
kpsewhich pstricks.tex
/usr/share/texmf-texlive/tex/generic/pstricks/pstricks.tex

That means that I have to put all the contents of PSTricks-TDS in the /usr/share/texmf-texlive/tex/generic directory?

thanks again,

JC
Post Reply