Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Latex and pstricks missing pst-xkey [SOLVED - brute force]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
grad_guy
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2004
Posts: 109
Location: UCSD, La Jolla, CA

PostPosted: Thu Nov 30, 2006 12:53 am    Post subject: Latex and pstricks missing pst-xkey [SOLVED - brute force] Reply with quote

Hi,

I am looking to find a way to make some sketches in my latex document then I came across this site. There are many examples that I can learn from.

The problem is all examples I download and run latex with give me the same error.
Code:

`PST-3dplot' v1.72, 2006/02/07 (HV)
! I can't find file `pst-xkey'.
l.33 ...STXKeyLoaded\endinput\else\input pst-xkey
                                                  \fi
Please type another input file name:


Anyone has any ideas how to fix this?

My tetex version is 2.0.2-r8, I don't want to go to version 3 because current version is working fine with all my documents and presentations (foil + pdflatex).
I went to version 3 once and everything was a mess, so it is masked for now.


Last edited by grad_guy on Thu Nov 30, 2006 9:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
grad_guy
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2004
Posts: 109
Location: UCSD, La Jolla, CA

PostPosted: Thu Nov 30, 2006 2:30 am    Post subject: Reply with quote

OK, I think I fixed the above error somehow.

I emerge dev-tex/xkeyval-2.4-r1 (masked ~x86) which contains pst-xkey.tex pst-xkey.sty.
This doesn't just work right away. I have to copy files that come with xkeyval package to my TEXINPUTS path.
At this point Latex doesn't complain for pst-xkey anymore.

But I have a new error message;

Code:

This is TeX, Version 3.14159 (Web2C 7.4.5)
(./3d7.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/pstricks/pstricks.sty
(/usr/share/texmf/tex/generic/pstricks/pstricks.tex
`PSTricks' v97 patch 14  <1999/12/23> (tvz)
(/usr/share/texmf/tex/generic/pstricks/pstricks.con)))
(/home/nui/papers/latex/texslides/pst-3dplot.sty
(/home/nui/papers/latex/texslides/pst-3dplot.tex
(/usr/share/texmf/tex/generic/pstricks/pst-3d.tex  v97, 1997/03/25)
(/usr/share/texmf/tex/generic/pstricks/pst-node.tex  v97 patch 11, 2000/11/09)
(/usr/share/texmf/tex/generic/pstricks/pst-plot.tex  v97 patch 2, 1999/12/12
(/usr/share/texmf/tex/generic/multido/multido.tex  v1.4, 93/01/14 <tvz>))
(/usr/share/texmf/tex/generic/multido/multido.tex  v1.4, 93/01/14 <tvz>)
`PST-3dplot' v1.72, 2006/02/07 (HV)
(/home/nui/papers/latex/texslides/pst-xkey.tex
(/home/nui/papers/latex/texslides/xkeyval.sty
(/home/nui/papers/latex/texslides/xkeyval.tex
(/home/nui/papers/latex/texslides/keyval.tex))))
PSTricks error.  See User's Guide for further information.
                 Type  H <return>  for immediate help.
! Color `[cmyk]{0.2,0.6,1,0}' not defined.
\@pstrickserr ... immediate help.}\errmessage {#1}
                                                  \endgroup
l.850 ...Color={[cmyk]{0.2,0.6,1,0}},increment=10}

?


Grep "cmyk" shows that the error causing line is in pst-3dplot.tex which should not contain error.

Can someone help please?
Back to top
View user's profile Send private message
grad_guy
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2004
Posts: 109
Location: UCSD, La Jolla, CA

PostPosted: Thu Nov 30, 2006 9:31 pm    Post subject: Reply with quote

OK, I am able to run latex to create pdf graphic from those examples now.
Struggling ... but I did it!

Here's how I did it. (Just want to pass on to others who came across my situation)
1.When latex complain about cmyk color, just press ENTER (ignore it)
2.You will have *.dvi
If you use pst-3dplot download files from http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-3dplot/ into your TEXINPUTS path. Then copy *.pro from the package into your *.tex path. You need this when you run dvipdf *.dvi.
You will need to do the same for http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-vue3d/ if you use pst-vue3d. And so on...
3.Run dvipdf *.dvi and now you have pdf graphic ready to be included in your Latex document using pdflatex (as I am)

NOTE TO Dev who maintain Latex/Tetex packages.
The packages are quite fragmented or loosely organized, as far as I can see.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum