[pstricks] More first time troubles

Michael S Cloud mcloud1 at gmu.edu
Wed Apr 27 03:23:14 CEST 2011


I wanted to thank herbert and Doris for their help.  With that help I was able to get past the problem I had, and I can now get Miktex to build with pst function, but I'm having more problems.  I'll put off asking until I've searched around to find any solutions.  

Thanks again

Mike


----- Original Message -----
From: pstricks-request at tug.org
Date: Thursday, April 21, 2011 6:00 am
Subject: PSTricks Digest, Vol 99, Issue 19

> Send PSTricks mailing list submissions to
> 	pstricks at tug.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://tug.org/mailman/listinfo/pstricks
> or, via email, send a message with subject or body 'help' to
> 	pstricks-request at tug.org
> 
> You can reach the person managing the list at
> 	pstricks-owner at tug.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PSTricks digest..."
> 
> 
> Today's Topics:
> 
>   1. label white background in a yellow filled triangle (Lu?s Lopes)
>   2. Re: label white background in a yellow filled triangle
>      (Patrice M?GRET)
>   3. More first time troubles (Michael S Cloud)
>   4. Re: More first time troubles (Herbert Voss)
>   5. Re: More first time troubles (Doris Behrendt)
> 
> 
> -------------------------------------------------------------------
> ---
> 
> Message: 1
> Date: Wed, 20 Apr 2011 15:12:45 +0000
> From: Lu?s Lopes <qed_texte at hotmail.com>
> To: <pstricks at tug.org>
> Subject: [pstricks] label white background in a yellow filled triangle
> Message-ID: <BAY147-w18FC92EBB6FF435E525FCB98930 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> Dear list members, 
> 
> I have a yellow filled triangle and a label written in blue 
> in it. 
> 
> Is there a way to put a white background under the label? 
> 
> As always, thank you for your time. 
> 
> Luis 
> 
>                                               
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://tug.org/pipermail/pstricks/attachments/20110420/6ca65f96/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 20 Apr 2011 15:47:49 +0000
> From: Patrice M?GRET <Patrice.MEGRET at umons.ac.be>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: Re: [pstricks] label white background in a yellow filled
> 	triangle
> Message-ID:
> 	<3C5DBA7226EE2942A50BFC1C71B035C03A4008C2 at EXCHANGEDB1.umons.ac.be>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi Luis,
> 
> Here is a way to do with \psframebox*{}
> 
> \documentclass{report}
> 
> \usepackage{pstricks}
> 
> \begin{document}
> \begin{pspicture}(10,5)
> \psgrid
> \pspolygon[fillstyle=solid,fillcolor=yellow](1,3)(4,0)
> \rput(1,0.5){\psframebox*{\textcolor{blue}{Texte}}}
> \end{pspicture}
> 
> \end{document}
> 
> If the backgound color should be other than white (here red) then 
> use \psframebox[fillstyle=solid,fillcolor=red,linestyle=none]{\textcolor{blue}{Texte}}
> 
> Best regards,
> 
> Patrice
> 
> 
> 
> De : pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] De 
> la part de Lu?s Lopes
> Envoy? : mercredi 20 avril 2011 17:13
> ? : pstricks at tug.org
> Objet : [pstricks] label white background in a yellow filled triangle
> 
> Dear list members,
> 
> I have a yellow filled triangle and a label written in blue
> in it.
> 
> Is there a way to put a white background under the label?
> 
> As always, thank you for your time.
> 
> Luis
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://tug.org/pipermail/pstricks/attachments/20110420/571ff50f/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 20 Apr 2011 11:57:58 -0400
> From: Michael S Cloud <mcloud1 at gmu.edu>
> To: pstricks at tug.org
> Subject: [pstricks] More first time troubles
> Message-ID: <f722e766e038.4daeca46 at gmu.edu>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi
> 
>   With the help of folks on here I got my pstricks in Miktek to 
> build with no pstricks commands actually being used.  However, 
> when I add in the following single line it fails.  The line is 
> \pscircle{1.5}  so basically my code looks like
> 
> \usepackage{pstricks}
> 
> \begin{document}
> 
> some text and math sections
> 
> \pscircle{1.5}%
> 
> some more text 
> 
> \begin{bibliography}
> 
> bib stuff
> 
> \end{bibliography}
> 
> \end{document}
> 
> 
> 
> I get 4 errors on compiling all of which disappear if I take out 
> the pscircle command.
> The errors are:
> 1.91 \pscircle{1.5} !Undefined control sequence. <recently read> 
> \c at lor@to at ps!Undefined control sequence \XC at usec@lor ...string 
> \color@ #1#2\endcsname \@@   \fi \space
> !Undefined control sequence. <recently read> \c at lor@to at ps
> !Undefined control sequence \XC at usec@lor ...string \color@ 
> #1#2\endcsname \@@   \fi \space
> 
> I've tried using different packages such as pstcol (as per 
> pstricks document) I've tried including or not including various 
> other graphics packages such as graphicx and color none of this 
> makes any difference.  The PSTricks documentation talks about 
> problems with delimiters but my code has only the barest of 
> delimiters.  I put in comment symbols (%) to ensure I didn't have 
> a problem there, following PSTricks docs suggestions.  None of 
> this is working.
> 
> It seems likely the problem is in Miktex, not pstricks, but the 
> Miktex documentation I'm aware of doesn't discuss issues with 
> specific packages other than the one problem I had last time...
> 
> So... If anyone knows what's going on... I sure would appreciate it.
> 
> Mike
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 21 Apr 2011 09:08:19 +0200
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: Re: [pstricks] More first time troubles
> Message-ID: <4DAFD7E3.3090502 at FU-Berlin.DE>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Am 20.04.2011 17:57, schrieb Michael S Cloud:
> 
> >     With the help of folks on here I got my pstricks in Miktek 
> to build with no pstricks commands actually being used.  However, 
> when I add in the following single line it fails.  The line is 
> \pscircle{1.5}  so basically my code looks like
> 
> > I get 4 errors on compiling all of which disappear if I take out 
> the pscircle command.
> > The errors are:
> > 1.91 \pscircle{1.5} !Undefined control sequence.<recently read>  
> \c at lor@to at ps
> you should do what Doris already wrote:
> http://www.tug.org/pipermail/pstricks/2011/008812.html
> 
> this means that you cannot run pdflatex directly.
> 
> 
> Herbert
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Thu, 21 Apr 2011 10:21:44 +0200
> From: Doris Behrendt <doris.behrendt at me.com>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: Re: [pstricks] More first time troubles
> Message-ID: <8CEBA8A1-DE36-42AE-9B28-9C18A2F56AF1 at me.com>
> Content-Type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes
> 
> herbert, michael,
> 
> > you should do what Doris already wrote:
> > http://www.tug.org/pipermail/pstricks/2011/008812.html
> >
> 
> no! this was an answer to a mail of s.fleming on a mac, not to 
> michael;
> but also yes: s.fleming had a problem similar to yours, I guess: 
> it  
> seems that you are using pdflatex; what frontend are you using?  
> texworks or texniccenter?
> 
> there are 2 ways to use pstricks:
> 
> 1.) pdflatex together with the package auto-pst-pdf (read the  
> documentation of the package!!!!!!)
> 2.) not pdflatex, but the workaround latex-dvips-ps2pdf and no 
> extra  
> package (except of course the pstricks package and its connected  
> packages like pst-plot etc.); in this case you have got to change 
> the  
> default of your frontend (which is usually pdflatex);
> 
> how you can change the default of the frontend, depends of the  
> frontend you are using;
> 
> hope this helps
> 
> doris
> 
> 
> ------------------------------
> 
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> 
> 
> End of PSTricks Digest, Vol 99, Issue 19
> ****************************************
> 


More information about the PSTricks mailing list