PSTricks problem

Christina Thiele cthiele at ccs.carleton.ca
Fri Sep 12 11:56:50 CEST 2003


You know, I ran into a similar PSTricks-related problem once ...

At issue were the following packages (Herbert, you didn't indicate
_which_ PSTricks packages you might be loading):

   \usepackage{pstcol,pst-fill,pst-grad}

In the Technical Addendum (p.73), FAQ #19 indicates that there are
DVIPSONE-specific versions of both pstricks.con and pstricks.pro.

Now, I've done a search on pstricks.con and found it in several
locations with varying different dates ...

1. pstricks.con in yandy\texinput is dated 3/21/01 and when I open it
   up, it says that it's the DVIPSONE-specific version, with a 2001
   date in it.

2. pstricks.con in yandy\yandytex\texinput is dated 12/19/99 and it
   too is the DVIPSONE-specific version, but has a 1994 date in it.
   So I'd say remove it -- or rename to something else. Just in case
   it's the one that gets accessed first (remember, (Y&Y)TeX will only
   look for the first instance of a file and not read the same name
   later on). Your log file will actually tell you which one's being
   accessed.

Notice the note in pstricks.con that says you may need to have the -j
flag set for DVIPSONE. You can do this by editing the dviwindo.ini
file. I did it this way, inserting

   DVIPSONE=-j

into the [Window] section, just before [Environment].

Now for pstricks.pro. Here are my search results:

1. pstricks.pro in c:\yandy\yandytex\texinput is the 13kb
   non-DVIPSONE-specific version ...

2. pstricks.old (same location as 1.) is actually a 1993 version of
   a DVIPSONE-specific version of pstricks.con (!) and should probably
   be totally disregarded.

3. pstricks.old in c:\yandy\ps is 13kb in size, and is in fact the
   DVIPSONE-specific version of pstricks.pro.

4. pstricks2.pro in c:\yandy\ps, at 13kb, is a newer version of the
   non-DVIPSONE-specific pstricks.pro file.

Sooooo ...  it's beginning to look as though the contents of
pstricks.pro and pstricks.old are reversed for use with Y&YTeX --
maybe when the .pro file was being hand-tuned, it got saved
incorrectly ...

Check your machine to see if you get the same confused situation. This
may be the cause of your difficulties.

Do some careful renaming of files, making sure they go where they
ought to, and see if this gets you unwedged. If yes, then make sure to
tell us -- the swapped contents of the two files has to be fixed for
the next version.

Based on FAQ#19, .pro files are supposed to be in c:\yandy\ps, and the
.con files are to be in `the \texinput subfolder' -- I figure that'd
be the c:\yandy\yandytex\texinput folder.

However, if I search on all *.pro files under c:\yandy, they're
turning up in various locations, so go figure!

Well, I hope _some_ of this helps out!

Ch.

===============

Herbert Gintis writes:
>
> --=====================_1382277843==_.ALT
> Content-Type: text/plain; charset="us-ascii"; format=flowed
>
> At 04:59 PM 9/11/2003 +0100, Robin Fairbairns wrote:
> >herbert gintis writes:
> >
> > > I just installed PSTricks on my laptop. When I compile the test program
> > > that come with it (test-pst.tex), I get an error message from Acrobat
> > > Distiller, saying there's an error in the ps file, then "OffendingCommand:
> > > SDict". Any idea what this means?
> > >
> > > The first commands that lead to this error are:
> > >
> > > \begin{pspicture}(-1,0)(2,2)
> > >    \begin{psclip}{\psdiamond(1.5,0.2)(2.0,0.5)}
> > >      \Huge Scary Monsters
> > >    \end{psclip}
> > > \end{pspicture}
> >
> >where did you get your copy of pstricks from?
>          CTAN. I got the 1997 version, which I was told is the most recent.
>          Of course, this should work, since it comes right out of the LaTeX
> Graphics Companion.
>
> >i'm not sure this is significant, but (a) pstricks was developed for
> >the freeware dvips, (b) SDict is a postscript dictionary that dvips
> >creates for use when processing \special commands, and (c) i don't
> >know whether dvipsone is _supposed_ to have the same internal
> >structure here (it does share ancestry with dvips).
>          I looked out the PS file. I don't think the SDict error message
> refers to the real problem. Typical error message!
>          There is a special pstricks.con for Y&Y. It comes with the
> pstricks distribution.
> >(note, i'm at home sick, and don't have any y&y manuals with me, so
> >don't know if the faq -- for example -- says anything about this
> >matter.)
>          There are a few implementation suggestions, which I took without
> solving the problem.
>
> Thanks for the help.
>
> Best,
>
> Herb Gintis
>
>
>
> >robin
>
> Herbert Gintis
> ...





More information about the yandytex mailing list