From cyrille.piatecki at univ-orleans.fr Wed Jan 9 07:54:32 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Wed, 9 Jan 2013 07:54:32 +0100 Subject: [pstricks] pstDie Message-ID: <50ED1428.7050808@univ-orleans.fr> In pst-ob3D I have seen that we can choose randomly the up face of the dice but I need to choose by myself the up face. How can I do ? From Herbert.Voss at FU-Berlin.DE Fri Jan 11 20:09:25 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 11 Jan 2013 20:09:25 +0100 Subject: [pstricks] pstDie In-Reply-To: <50ED1428.7050808@univ-orleans.fr> References: <50ED1428.7050808@univ-orleans.fr> Message-ID: <50F06365.2080002@FU-Berlin.DE> Am 09.01.2013 07:54, schrieb Cyrille Piatecki: > In pst-ob3D I have seen that we can choose randomly the up face of the > dice but I need to choose by myself the up face. How can I do ? please provide _aleays_ complete examples, it takes me too much time to create one, to see what happens or what you exactly mean. Herbert From mluque5130 at aol.com Sat Jan 12 16:24:14 2013 From: mluque5130 at aol.com (Manuel Luque) Date: Sat, 12 Jan 2013 10:24:14 -0500 Subject: [pstricks] pstDie In-Reply-To: <50ED1428.7050808@univ-orleans.fr> References: <50ED1428.7050808@univ-orleans.fr> Message-ID: <8CFBEF00375070D-16E8-11E49@webmail-d162.sysops.aol.com> Cyrille Piatecki wrote : >In pst-ob3D I have seen that we can choose randomly the up face of the >dice but I need to choose by myself the up face. How can I do ? Here is an example of random dice thrown in 3D with PSTricks. It uses the macro "RANDOM" written by Denis Arseneau, and the package by Michael Mehlich : "fp". http://manuel.luque.perso.neuf.fr/Des/ (in french) Manuel -----E-mail d'origine----- De : Cyrille Piatecki A: pstricks Envoy? le : Me, 9 Jan 2013 7:54 Sujet : [pstricks] pstDie In pst-ob3D I have seen that we can choose randomly the up face of the dice but I need to choose by myself the up face. How can I do ? _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: dices.png Type: image/png Size: 37966 bytes Desc: not available URL: From paul at abulafia.nl Sun Jan 13 14:25:23 2013 From: paul at abulafia.nl (Paul van der Hulst) Date: Sun, 13 Jan 2013 14:25:23 +0100 Subject: [pstricks] Compatibility issue with yap in latest pstricks Message-ID: <50F2B5C3.2050500@abulafia.nl> Hi, Running MikTex 2.9 32 bit, all updates as of 12/1/2013 applied. After the latest update, yap only shows a blank window with a menu bar and the windows 7 rotating 'busy' doughnut. This happened after a miktex update. By selectively updating a MikTex install on a different machine I narrowed it down to the pstricks update. I uninstalled pstricks and then reinstalled from the original installation source (december 2011). Problem fixed. Code to reproduce: |\documentclass[a4paper,twoside,11pt]{book} \usepackage{pstricks} \begin{document} Motivation and operation(forced/self-oscillating) of class-D amplifiers.\\ \end{document}| Comment out |usepackage{pstricks}| to 'fix'. Usually I'm up to date with updates, so it seems this is a new issue (after december 15 or so) only with the latest yap/pstricks as of 13/1/2013. Confirmed on 2 machines. Paul van der Hulst -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Jan 13 17:44:32 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 13 Jan 2013 17:44:32 +0100 Subject: [pstricks] Compatibility issue with yap in latest pstricks In-Reply-To: <50F2B5C3.2050500@abulafia.nl> References: <50F2B5C3.2050500@abulafia.nl> Message-ID: <50F2E470.9080602@FU-Berlin.DE> Am 13.01.2013 14:25, schrieb Paul van der Hulst: > Running MikTex 2.9 32 bit, all updates as of 12/1/2013 applied. > > > After the latest update, yap only shows a blank window with a menu bar > and the windows 7 rotating 'busy' doughnut. > > This happened after a miktex update. By selectively updating a MikTex > install on a different machine I narrowed it down to the pstricks > update. I uninstalled pstricks and then reinstalled from the original > installation source (december 2011). Problem fixed. I installed in a virtual box the basic MiKTeX 2.9 with Windows 7 and had no problems with latex/pdflatex -enable-write18/latex Maybe others can confirm your problem. Herbert > > Code to reproduce: > > |\documentclass[a4paper,twoside,11pt]{book} > > \usepackage{pstricks} > > \begin{document} > > Motivation and operation(forced/self-oscillating) of class-D amplifiers.\\ > > \end{document}| > > Comment out |usepackage{pstricks}| to 'fix'. > > Usually I'm up to date with updates, so it seems this is a new issue > (after december 15 or so) only with the latest yap/pstricks as of > 13/1/2013. Confirmed on 2 machines. > > > Paul van der Hulst > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From Poul.Riis at skolekom.dk Sun Jan 13 18:22:19 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Sun, 13 Jan 2013 18:22:19 +0100 Subject: [pstricks] Missing grid line In-Reply-To: <50F2E470.9080602@FU-Berlin.DE> References: <50F2B5C3.2050500@abulafia.nl> <,> <50F2E470.9080602@FU-Berlin.DE> Message-ID: I think I have asked this question a couple of years ago but I still don't understand why there is one vertical and one horizontal grid line missing on the last figure resulting from the tex-file below (where I draw the frame manually) but not on the first one (where the frame is drawn by setting axesstyle=frame). Poul Riis \documentclass[a4paper,12pt]{article} \usepackage[x11names]{xcolor} \usepackage{pstricks-add} \usepackage{geometry} \pagestyle{empty} \topmargin=-3cm \textwidth=20cm \textheight=29.5cm \hoffset=-2.65cm \tolerance=5000 \hbadness=5000 \pretolerance=2500 \parindent = 0em \begin{document} \psset{unit=10cm} \begin{pspicture}(-1,-1.4)(1,1.4) \psaxes[Dx=0.1,Dy=0.1,linewidth=1pt,labels=none,xticksize=-1.4 1.4, yticksize=-1 1,subticks=5, xsubticksize=1,ysubticksize=1,tickcolor=Green4,subtickcolor=LightSalmon4,axesstyle=frame]{->}(0,0)(-1,-1.4)(1.0,1.4) \psaxes[Dx=0.1,Dy=0.1,linewidth=1pt,labels=all,xticksize=-0.3mm 0mm,yticksize=-0.3mm 0mm]{->}(0,0)(-1,-1.4)(1,1.4) \end{pspicture} \begin{pspicture}(-1,-1.4)(1,1.4) \psaxes[Dx=0.1,Dy=0.1,linewidth=1pt,labels=none,xticksize=-1.4 1.4, yticksize=-1 1,subticks=5, xsubticksize=1,ysubticksize=1,tickcolor=Green4,subtickcolor=LightSalmon4]{->}(0,0)(-1,-1.4)(1.0,1.4) \psaxes[Dx=0.1,Dy=0.1,linewidth=1pt,labels=all,xticksize=-0.3mm 0mm,yticksize=-0.3mm 0mm]{->}(0,0)(-1,-1.4)(1,1.4) \psline[linewidth=0.4pt,linecolor=Green4](-1,1.4)(1,1.4)(1,-1.4)(-1,-1.4)(-1,1.4) \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyrille.piatecki at univ-orleans.fr Sun Jan 13 19:23:19 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Sun, 13 Jan 2013 19:23:19 +0100 Subject: [pstricks] PSTricks Digest, Vol 120, Issue 4 In-Reply-To: References: Message-ID: <50F2FB97.4030402@univ-orleans.fr> Le 12/01/2013 16:24, pstricks-request at tug.org a ?crit : > 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. Re: pstDie (Manuel Luque) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 12 Jan 2013 10:24:14 -0500 > From: Manuel Luque > To: , > Subject: Re: [pstricks] pstDie > Message-ID: <8CFBEF00375070D-16E8-11E49 at webmail-d162.sysops.aol.com> > Content-Type: text/plain; charset="utf-8" > > > > Cyrille Piatecki wrote : > >> In pst-ob3D I have seen that we can choose randomly the up face of the >> dice but I need to choose by myself the up face. How can I do ? > Here is an example of random dice thrown in 3D with PSTricks. It uses the macro "RANDOM" written by Denis Arseneau, and the package by Michael Mehlich : "fp". > > http://manuel.luque.perso.neuf.fr/Des/ > > (in french) > > > > > > > > > Manuel > > > > > > -----E-mail d'origine----- > De : Cyrille Piatecki > A: pstricks > Envoy? le : Me, 9 Jan 2013 7:54 > Sujet : [pstricks] pstDie > > > In pst-ob3D I have seen that we can choose randomly the up face of the > dice but I need to choose by myself the up face. How can I do ? > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: dices.png > Type: image/png > Size: 37966 bytes > Desc: not available > URL: > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 120, Issue 4 > **************************************** > I think that you have not really understud my question. The random draw set apart, I wonder how to display volontarily a specific up-face of the dice. In all the exemples of the documention 4 points appears but I want to display the four other faces up in a deterministic way. to list all the combination of the thraw of two dices. Right now I haven't seen how to display it . Thanks Cyrille Piatecki From Herbert.Voss at FU-Berlin.DE Sun Jan 13 19:45:51 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 13 Jan 2013 19:45:51 +0100 Subject: [pstricks] Compatibility issue with yap in latest pstricks In-Reply-To: <50F2B5C3.2050500@abulafia.nl> References: <50F2B5C3.2050500@abulafia.nl> Message-ID: <50F300DF.4030001@FU-Berlin.DE> Am 13.01.2013 14:25, schrieb Paul van der Hulst: > This happened after a miktex update. By selectively updating a MikTex > install on a different machine I narrowed it down to the pstricks > update. I uninstalled pstricks and then reinstalled from the original > installation source (december 2011). Problem fixed. I investigated a bit more and found the problem (hopefully) Install with thze package manager the package pst-tools and try again. Herbert From Herbert.Voss at FU-Berlin.DE Sun Jan 13 20:32:41 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 13 Jan 2013 20:32:41 +0100 Subject: [pstricks] Missing grid line In-Reply-To: References: <50F2B5C3.2050500@abulafia.nl> <, > <50F2E470.9080602@FU-Berlin.DE> Message-ID: <50F30BD9.4000101@FU-Berlin.DE> Am 13.01.2013 18:22, schrieb Poul Riis: > I think I have asked this question a couple of years ago but I still > don't understand why there is one vertical and one horizontal grid line > missing on the last figure resulting from the tex-file below (where I > draw the frame manually) but not on the first one (where the frame is > drawn by setting axesstyle=frame). that is a problem with the internal code and you call it a feature unless someone finds time to dig into the code and find a better solution ... Herbert From mluque5130 at aol.com Sun Jan 13 20:42:21 2013 From: mluque5130 at aol.com (Manuel Luque) Date: Sun, 13 Jan 2013 14:42:21 -0500 Subject: [pstricks] PSTricks Digest, Vol 120, Issue 4 Message-ID: <8CFBFDD3CD57C05-22F4-189DF@webmail-m132.sysops.aol.com> Cyrille Piatecki wrote : >I think that you have not really understud my question. Sorry. It is easy to place a dice with its coordinates CX and CY. We then turns around Ox or Oy with angles: thetax and thetay values by multiples of 90. Some examples: \begin{center} \psset{unit=0.5} \psset{Decran=20,K=.5,Dobs=40,carpet=true,PHI=40,Side=2,THETA=135} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetax=90] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetax=270] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetax=180] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetay=90] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetay=270] \end{pspicture} \end{center} -----E-mail d'origine----- De : Cyrille Piatecki A: pstricks Envoy? le : Di, 13 Jan 2013 19:24 Sujet : Re: [pstricks] PSTricks Digest, Vol 120, Issue 4 Le 12/01/2013 16:24, pstricks-request at tug.org a ?crit : > 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. Re: pstDie (Manuel Luque) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 12 Jan 2013 10:24:14 -0500 > From: Manuel Luque > To: , > Subject: Re: [pstricks] pstDie > Message-ID: <8CFBEF00375070D-16E8-11E49 at webmail-d162.sysops.aol.com> > Content-Type: text/plain; charset="utf-8" > > > > Cyrille Piatecki wrote : > >> In pst-ob3D I have seen that we can choose randomly the up face of the >> dice but I need to choose by myself the up face. How can I do ? > Here is an example of random dice thrown in 3D with PSTricks. It uses the macro "RANDOM" written by Denis Arseneau, and the package by Michael Mehlich : "fp". > > http://manuel.luque.perso.neuf.fr/Des/ > > (in french) > > > > > > > > > Manuel > > > > > > -----E-mail d'origine----- > De : Cyrille Piatecki > A: pstricks > Envoy? le : Me, 9 Jan 2013 7:54 > Sujet : [pstricks] pstDie > > > In pst-ob3D I have seen that we can choose randomly the up face of the > dice but I need to choose by myself the up face. How can I do ? > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: dices.png > Type: image/png > Size: 37966 bytes > Desc: not available > URL: > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 120, Issue 4 > **************************************** > I think that you have not really understud my question. The random draw set apart, I wonder how to display volontarily a specific up-face of the dice. In all the exemples of the documention 4 points appears but I want to display the four other faces up in a deterministic way. to list all the combination of the thraw of two dices. Right now I haven't seen how to display it . Thanks Cyrille Piatecki _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: faces.png Type: image/png Size: 182473 bytes Desc: not available URL: From mluque5130 at aol.com Mon Jan 14 06:37:28 2013 From: mluque5130 at aol.com (Manuel Luque) Date: Mon, 14 Jan 2013 00:37:28 -0500 Subject: [pstricks] : PSTricks Digest, Vol 120, Issue 4 In-Reply-To: <8CFBFDD3CD57C05-22F4-189DF@webmail-m132.sysops.aol.com> References: <8CFBFDD3CD57C05-22F4-189DF@webmail-m132.sysops.aol.com> Message-ID: <8CFC0305F5BE8FB-1260-2013F@webmail-m021.sysops.aol.com> Here is a more realistic and complete solution. http://manuel.luque.perso.neuf.fr/Des/Faces.pdf http://manuel.luque.perso.neuf.fr/Des/Faces.tex http://manuel.luque.perso.neuf.fr/Des/ -----E-mail d'origine----- De : Manuel Luque A: cyrille.piatecki ; pstricks Envoy? le : Di, 13 Jan 2013 20:42 Sujet : Re : [pstricks] PSTricks Digest, Vol 120, Issue 4 Cyrille Piatecki wrote : >I think that you have not really understud my question. Sorry. It is easy to place a dice with its coordinates CX and CY. We then turns around Ox or Oy with angles: thetax and thetay values by multiples of 90. Some examples: \begin{center} \psset{unit=0.5} \psset{Decran=20,K=.5,Dobs=40,carpet=true,PHI=40,Side=2,THETA=135} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetax=90] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetax=270] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetax=180] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetay=90] \end{pspicture} \begin{pspicture}(-7,-5)(7,5) \Die[CX=4,CY=4] \Die[CX=-4,CY=-4,carpet=false,thetay=270] \end{pspicture} \end{center} -----E-mail d'origine----- De : Cyrille Piatecki A: pstricks Envoy? le : Di, 13 Jan 2013 19:24 Sujet : Re: [pstricks] PSTricks Digest, Vol 120, Issue 4 Le 12/01/2013 16:24, pstricks-request at tug.org a ?crit : > 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. Re: pstDie (Manuel Luque) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 12 Jan 2013 10:24:14 -0500 > From: Manuel Luque > To: , > Subject: Re: [pstricks] pstDie > Message-ID: <8CFBEF00375070D-16E8-11E49 at webmail-d162.sysops.aol.com> > Content-Type: text/plain; charset="utf-8" > > > > Cyrille Piatecki wrote : > >> In pst-ob3D I have seen that we can choose randomly the up face of the >> dice but I need to choose by myself the up face. How can I do ? > Here is an example of random dice thrown in 3D with PSTricks. It uses the macro "RANDOM" written by Denis Arseneau, and the package by Michael Mehlich : "fp". > > http://manuel.luque.perso.neuf.fr/Des/ > > (in french) > > > > > > > > > Manuel > > > > > > -----E-mail d'origine----- > De : Cyrille Piatecki > A: pstricks > Envoy? le : Me, 9 Jan 2013 7:54 > Sujet : [pstricks] pstDie > > > In pst-ob3D I have seen that we can choose randomly the up face of the > dice but I need to choose by myself the up face. How can I do ? > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: dices.png > Type: image/png > Size: 37966 bytes > Desc: not available > URL: > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 120, Issue 4 > **************************************** > I think that you have not really understud my question. The random draw set apart, I wonder how to display volontarily a specific up-face of the dice. In all the exemples of the documention 4 points appears but I want to display the four other faces up in a deterministic way. to list all the combination of the thraw of two dices. Right now I haven't seen how to display it . Thanks Cyrille Piatecki _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: faces.png Type: image/png Size: 182473 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2des.png Type: image/png Size: 198491 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Tue Jan 15 17:54:39 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 15 Jan 2013 17:54:39 +0100 Subject: [pstricks] Fwd: New on CTAN: pst-vectorian In-Reply-To: References: Message-ID: <50F589CF.8070805@FU-Berlin.DE> -------- Original-Nachricht -------- Betreff: New on CTAN: pst-vectorian Datum: Tue, 15 Jan 2013 16:50:58 +0000 Von: CTAN Announcements Antwort an: ctan-ann at dante.de An: ctan-ann at dante.de the daemon stirred and cried: > Name of contribution: pst-vectorian > Author's name: Patrick Fradin > Package version: 0.4 > Location on CTAN: graphics/pstricks/contrib/pst-vectorian/ > Summary description: Printing ornaments > License type: lppl > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > This is a PSTricks related package for drawing ornaments. The > documentation is in french, but the examples are self-explanatory thanks for the upload; i've installed the new version, and updated the catalogue repository. > Users may view the package catalogue entry at > http://mirror.ctan.org/help/Catalogue/entries/pst-vectorian.html > or they may browse the package directory at > http://mirror.ctan.org/graphics/pstricks/contrib/pst-vectorian/ Robin Fairbairns For the CTAN team _______________________________________________ Ctan-ann mailing list Ctan-ann at dante.de https://lists.dante.de/mailman/listinfo/ctan-ann From rshepard at appl-ecosys.com Tue Jan 15 18:33:33 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Tue, 15 Jan 2013 09:33:33 -0800 Subject: [pstricks] Moving Image Origin on Page Message-ID: It's been a long time since I needed to generate figures for a report so I've been re-reading Herbert's PSTricks book to re-learn what to do. Unfortunately, I'm stuck at the very earliest stage: setting the figure size and having it centered on the page. I've tried using the origin command, but I'm not putting it in the proper place, properly specifying settings, or both. Here's the stub for the eventual figure: \documentclass[letterpaper,10pt]{article} \usepackage{pstricks-add} \begin{document} \begin{pspicture}(-1.5in,-0.5in)(6in,4in) \psgrid[subgriddiv=1in,gridcolor=black!25] \psline[linewidth=2pt](1.25in,1.25in)(3.5in,1.25in) \end{pspicture} \end{document} The \psgrid is temporary for properly aligning and sizing the figure. When that's correct I'll adjust the line size and placement and add the other elements needed. A clue to what I've not done correctly will be much appreciated. Rich From rshepard at appl-ecosys.com Tue Jan 15 18:37:48 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Tue, 15 Jan 2013 09:37:48 -0800 Subject: [pstricks] Moving Image Origin on Page [RESOLVED] In-Reply-To: References: Message-ID: On Tue, 15 Jan 2013, Rich Shepard wrote: > Unfortunately, I'm stuck at the very earliest stage: setting the figure > size and having it centered on the page. I've tried using the origin > command, but I'm not putting it in the proper place, properly specifying > settings, or both. I think the problem was trying to use inches rather than centimeters for length units. Removing those really cleaned up the PostScript display. Rich From jean-come.charpentier at wanadoo.fr Tue Jan 15 19:07:22 2013 From: jean-come.charpentier at wanadoo.fr (=?iso-8859-1?q?Jean-C=F4me?= Charpentier) Date: Tue, 15 Jan 2013 19:07:22 +0100 Subject: [pstricks] Moving Image Origin on Page In-Reply-To: References: Message-ID: <50F59ADA.3060909@wanadoo.fr> Le 15/01/2013 18:33, Rich Shepard a ?crit : > It's been a long time since I needed to generate figures for a report so > I've been re-reading Herbert's PSTricks book to re-learn what to do. > > Unfortunately, I'm stuck at the very earliest stage: setting the figure > size and having it centered on the page. I've tried using the origin > command, but I'm not putting it in the proper place, properly specifying > settings, or both. > > Here's the stub for the eventual figure: > > \documentclass[letterpaper,10pt]{article} > \usepackage{pstricks-add} > > \begin{document} > \begin{pspicture}(-1.5in,-0.5in)(6in,4in) > \psgrid[subgriddiv=1in,gridcolor=black!25] > \psline[linewidth=2pt](1.25in,1.25in)(3.5in,1.25in) > \end{pspicture} > \end{document} > > The \psgrid is temporary for properly aligning and sizing the figure. I don't really understand. The size of this figure is the size of the line inside it. Isn't it? So the bounding box is (1.25in,1.25in)(3.5in,1.25in) There is only one (syntaxic) error in this code: subgriddiv isn't a dimension: subgriddiv=1in is an error. subgriddiv indicates the number of subdivisions in one division, here you have to say subgriddiv=1 > When > that's correct I'll adjust the line size and placement and add the other > elements needed. > > A clue to what I've not done correctly will be much appreciated. Well. Using inches rather centimeter isn't an error as you say in your second post. In fact, I don't understand why you want centering in a such way... Furthemore, it's not perfectly centering. Using the real bounding box and the center (or \centering macro) environment seems to me more accurate. My attempt (with inches): \documentclass[letterpaper,10pt]{article} \usepackage{pstricks-add} \begin{document} \psset{unit=1in} \hspace*{-1.5in}\begin{pspicture}(-1.5,-0.5)(6,4) \psgrid[subgriddiv=10,gridcolor=black!25] \psline[linewidth=2pt](1.25,1.25)(3.5,1.25) \end{pspicture} \par\vspace{1in} \begin{center} \begin{pspicture}(1.25,1.25)(3.25,1.25) \psline[linewidth=2pt](1.25,1.25)(3.5,1.25) \end{pspicture} \end{center} \end{document} Jean-C?me Charpentier From rshepard at appl-ecosys.com Tue Jan 15 19:55:33 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Tue, 15 Jan 2013 10:55:33 -0800 Subject: [pstricks] Moving Image Origin on Page In-Reply-To: <50F59ADA.3060909@wanadoo.fr> References: <50F59ADA.3060909@wanadoo.fr> Message-ID: On Tue, 15 Jan 2013, Jean-C?me Charpentier wrote: > There is only one (syntaxic) error in this code: subgriddiv isn't a > dimension: subgriddiv=1in is an error. subgriddiv indicates the number of > subdivisions in one division, here you have to say subgriddiv=1 Oops! > Well. Using inches rather centimeter isn't an error as you say in your > second post. In fact, I don't understand why you want centering in a such > way. I've done it before with inches, but kept missing the proper way today. The reason I want it centered is to make it easier to size properly in the LaTeX document in which this appears. > My attempt (with inches): Thank you. Rich From vkanetka at uoguelph.ca Tue Jan 15 20:28:25 2013 From: vkanetka at uoguelph.ca (Vinay Kanetkar) Date: Tue, 15 Jan 2013 14:28:25 -0500 Subject: [pstricks] Moving Image Origin on Page In-Reply-To: <50F59ADA.3060909@wanadoo.fr> Message-ID: <85115632.2012923.1358278105703.JavaMail.root@erie.cs.uoguelph.ca> Hello: I have a problem in changing axis labels. In my first graph, I would like months of year to be labels. In my second graph, I would like numbers to be labels. My first graph works as expected, second one does not. There might be command to reset options. Any help would be appreciated. Vinay -------------- next part -------------- A non-text attachment was scrubbed... Name: Costs_Test.tex Type: text/x-tex Size: 3726 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Tue Jan 15 22:17:18 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 15 Jan 2013 22:17:18 +0100 Subject: [pstricks] Moving Image Origin on Page In-Reply-To: <85115632.2012923.1358278105703.JavaMail.root@erie.cs.uoguelph.ca> References: <85115632.2012923.1358278105703.JavaMail.root@erie.cs.uoguelph.ca> Message-ID: <50F5C75E.9050608@FU-Berlin.DE> Am 15.01.2013 20:28, schrieb Vinay Kanetkar: > I have a problem in changing axis labels. > In my first graph, I would like months of year to be labels. > In my second graph, I would like numbers to be labels. > > My first graph works as expected, second one does not. > There might be command to reset options. Any help would be > appreciated. you can use the xLabels option: \listfiles \documentclass[style=fyma, display=slides,paper=letterpaper ]{powerdot} \usepackage{pst-plot} \usepackage{pstricks-add} \makeatletter \let\oldpd at section\pd at section \def\pd at section[#1]#2#3{\def\othersectiontext{#3}\oldpd at section[#1]{#2}} \makeatother \pddefinetemplate[sectionslide]{sectionothertext}{}{% \rput[c](.575\slidewidth,.5\slideheight){\othersectiontext}% } \setkeys[pd]{section}{sectemp=sectionothertext} \def\parno{\par\noindent} \title{Costs and Prices} \author{Vinay Kanetkar \\ \date{January, 2013} } \begin{document} \maketitle \begin{wideslide}[toc=,bm=]{Toronto Gasoline Market Margins, 2012} \psset{yunit=0.5mm,xunit=10mm} % \begin{pspicture}(-0.5,-1)(12,140)%\showgrid \psaxes[showorigin=true,Dy=20,Ox=1, xLabels={January,February,March,April,May,June,July, August,September,October,November,December}, xLabelsRot=30]{->}(12,140) \pspolygon[fillstyle=solid,fillcolor=red] (0, 122.6)(1, 128.2)(2, 131.0)(3, 134.8) (4, 128.5)(5, 123.2)(6, 124.7)(7, 129.5) (8, 130.0)(9, 125.0)(10, 122.5)(11, 120.5)(11, 0)(0, 0) \pspolygon[fillstyle=solid,fillcolor=cyan] (0, 83.8)(1, 88.7)(2, 91.2)(3, 94.6) (4, 89.0)(5, 84.3)(6, 85.7)(7, 89.9) (8, 90.4)(9, 85.9)(10, 83.7)(11, 81.9)(11, 0)(0, 0) \pspolygon[fillstyle=solid,fillcolor=blue] (0, 76.5)(1, 81.4)(2, 84.2)(3, 87.9) (4, 82.1)(5, 77.7)(6, 80.2)(7, 84.1) (8, 84.7)(9, 80.8)(10, 78.8)(11, 75.1)(11,0)(0,0) \pspolygon[fillstyle=solid,fillcolor=green] (0, 60.9)(1, 59.7)(2, 53.8)(3, 52.9)(4, 54.7) (5, 50.9)(6, 47.7)(7, 54.6)(8, 57.2)(9, 57.9) (10, 54.0)(11, 46.3)(11, 0)(0, 0) \rput*[lB](5,110){\tiny Taxes, \$0.393} \rput*[lB](5,85){\tiny Retailer Margin, \$0.063} \rput*[lB](5,68){\tiny Refiner Margin, \$0.269} \rput*[lB](5,30){\tiny Cost of Crude, \$0.542} \rput[lb](-.2,-25){\tiny Source: http://www.kentmarketingservices.com/dnn/PetroleumPriceData.aspx} \end{pspicture} \end{wideslide} \begin{slide}[toc=,bm=]{Graphical Illustration of Price Increase} \begin{center} \psset{xunit=1cm,yunit=.5cm,linecolor=lightgray} \begin{pspicture}(0,0)(10,15)%\showgrid {\scriptsize \psaxes[linecolor=lightgray,Dx=1,Dy=2]{->}(0,0)(0,0)(10,15)} \pspolygon*[linecolor=gray,linewidth=1.5pt](0,0)(0,5.5)(4,5.5)(4,0) \pspolygon[linecolor=brown,linewidth=1.5pt](0,0)(0,10)(4,10)(4,0) \pscurve[linewidth=2pt]{-}(9,7.5)(7.2,8)(6,8.5)(5.143,9)(4.5,9.5)(4,10)(3.6,10.5)(3.273,11)(3,11.5)(2.77,12)(2.57,12.5)(2.4,13)(2.25,13.5) \psdots[dotstyle=o](9,7.5)(7.2,8)(6,8.5)(5.143,9)(4.5,9.5)(4,10)(3.6,10.5)(3.273,11)(3,11.5)(2.77,12)(2.57,12.5)(2.4,13)(2.25,13.5) \rput(2,3){{\scriptsize Variable Cost}} \rput(5,-1.75){Quantity Sold (in '000)} \rput(-.5,7){\rotateleft{Price}} \rput(3.3,12){{\scriptsize +10\%}} \rput(5.2,10){{\scriptsize $-10$\%}} \psline[linecolor=cyan,linewidth=2pt](0,10)(0,11)(3.273,11)(3.273,0) \pspolygon[linecolor=magenta,fillstyle=solid,fillcolor=magenta](0,10)(0,11)(3.273,11)(3.273,10)(0,10) \pspolygon[linecolor=magenta,fillstyle=solid,fillcolor=magenta](3.273,5.5)(3.273,10)(4,10)(4,5.5)(3.273,5.5) \rput(2,10.5){{\scriptsize Revenue Gain}} \rput(3.6,7.5){{\scriptsize Loss}} \end{pspicture} \end{center} \end{slide} \end{document} Herbert From germain.boyer at ac-toulouse.fr Sat Jan 19 13:36:42 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Sat, 19 Jan 2013 13:36:42 +0100 Subject: [pstricks] pstricks about psdot Message-ID: Bonjour, For me it's difficult to control dotsize and dotscale, so i write two macros \psdotx and \psdotl %---------------------------------------------------------------------------------------------------------------------------- \newcommand*{\psdotx}[3][0.15cm]{% \pnode#2{thenode} \multido{\r=#3+90 , \ra=1+1}{4}{% \pnode([nodesep=#1,angle=\r]thenode){thenode\ra} \psline(thenode)(thenode\ra)% }% fin du \multido }% fin de \newcommand % %---------------------------------------------------------------------------------------------------------------------------- % exemples : % % \psset{linewidth=0.25mm} % \SpecialCoor % \psdotx[3mm]{(P)}{45} % \psdotx[0.3]{(P)}{45} % \psdotx{(1,3)}{30} % \psdotx{(2;45)}{45} % % #1 est la longueur d'une demi-branche (par d?faut 0.15 cm) % #2 est les coordonn?es du point % #3 est l'inclinaison de la premi?re demi-branche de la croix % %---------------------------------------------------------------------------------------------------------------------------- %---------------------------------------------------------------------------------------------------------------------------- \newcommand*{\psdotl}[3][0.15cm]{% \pnode#2{thenode} \multido{\r=#3+90 , \ra=1+1}{2}{% \pnode([nodesep=#1,angle=\r]thenode){thenode\ra} \psline(thenode)(thenode\ra)% }% fin du \multido }% fin de \newcommand % %---------------------------------------------------------------------------------------------------------------------------- % exemples : % % \psset{linewidth=0.25mm} % \SpecialCoor % \psdotl[3mm]{(P)}{45} % \psdotl[0.3]{(P)}{45} % \psdotl{(1,3)}{30} % \psdotl{(2;45)}{45} % % #1 est la longueur d'une demi-branche (par d?faut 0.15 cm) % #2 est les coordonn?es du point % #3 est l'inclinaison de la premi?re demi-branche du trait %---------------------------------------------------------------------------------------------------------------------------- \documentclass[a4paper,11pt]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[dvipsnames]{pstricks} \usepackage{pst-eucl} \begin{document} \psset{unit=0.5cm} % \begin{pspicture}(-2,-1)(8,6.2) % \psset{gridcolor=gray , gridwidth=0.15mm , gridlabels=0pt , subgriddiv=1} \psgrid(-2,-1)(8,6) % \psset{PointSymbol=none} % \pstGeonode(4,1){A} \pstGeonode(6,2){B} \pstGeonode(1,5){C} \pstGeonode(3,4){D} \pstGeonode(2,1){E} % \psset{linewidth=0.35mm} % \psdotx[1.25mm]{(A)}{90} \psdotx[2mm]{(B)}{45} \psdotx[2mm]{(C)}{60} \psdotx[2mm]{(D)}{90} \psdotx[2mm]{(E)}{30} % \end{pspicture} % \end{document} %---------------------------------------------------------------------------------------------------------------------------- Is it possible to do \psdotx[dotxlength=2mm,dotxangle=45,linewidth=0.35mm](A) Is it possible to do \psset{dotxlength=2mm,dotxangle=45,linewidth=0.35mm} \psdotsx(A)(B)(C) and the same for \psdotl Thanks for your answers. Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From germain.boyer at ac-toulouse.fr Sat Jan 19 15:15:13 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Sat, 19 Jan 2013 15:15:13 +0100 Subject: [pstricks] small change Message-ID: Bonjour, I do a small change to have #1 = dotxlength \newcommand*{\psdotx}[3][0.30cm]{% \pnode#2{thenode} \multido{\r=#3+90 , \ra=1+1}{4}{% \pnode([unit=#1,nodesep=0.5,angle=\r]thenode){thenode\ra} \psline(thenode)(thenode\ra)% }% fin du \multido }% fin de \newcommand Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Jan 20 20:50:21 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 20 Jan 2013 20:50:21 +0100 Subject: [pstricks] pstricks about psdot In-Reply-To: References: Message-ID: <50FC4A7D.50203@FU-Berlin.DE> Am 19.01.2013 13:36, schrieb Germain BOYER: > For me it's difficult to control dotsize and dotscale, so i write two > macros \psdotx and \psdotl I do not really understand what do you want to draw. However, here is an example how optional arguments can be used: \documentclass[a4paper,11pt]{article} \usepackage[dvipsnames]{pstricks} \usepackage{pst-eucl} \makeatletter \def\psdotx{\@ifnextchar[{\psdotx at i}{\psdotx at i[nodesep=1.5mm]}} \def\psdotx at i[#1](#2)#3{{% \psset{#1}% \pnode(#2){thenode}% \multido{\r=#3+90 , \ia=1+1}{4}{% \pnode([angle=\r]#2){thenode\ia} \psline(#2)(thenode\ia)% }% fin du \multido }}% fin de \newcommand \makeatother \begin{document} \psset{unit=0.5cm} % \begin{pspicture}(-2,-1)(8,6.2) % \psset{gridcolor=gray, gridwidth=0.15mm, gridlabels=0pt, subgriddiv=1} %\psgrid(-2,-1)(8,6) \pnode(4,1){A} \pnode(6,2){B} \pnode(1,5){C} \pnode(3,4){D} \pnode(2,1){E} \psset{linewidth=0.35mm} \psdotx[nodesep=1.25mm](A){90} \psdotx[nodesep=2mm](B){45} \psdotx[nodesep=2mm](C){60} \psdotx[nodesep=2mm,linecolor=red](D){90} \psdotx[nodesep=2mm,linewidth=2mm](E){30} \end{pspicture} % \end{document} Herbert From germain.boyer at ac-toulouse.fr Tue Jan 22 19:07:45 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Tue, 22 Jan 2013 19:07:45 +0100 Subject: [pstricks] PSTricks Digest, Vol 120, Issue 10 References: Message-ID: Bonjour, Thanks Herbert for your answer. When you draw a simple picture, it's better if all the lines have the same width. If i put \psdots[dotstyle=x](2,1) then the width of the dot is not \pslinewidth. If i put \psdots[dotstyle=x,dotsize=2mm 0](2,1) then the width of the dot change. For this reason, i try to write a newcommand to have the width of the dot = \pslinewidth and the size of the dot i like. Your good solution give me a new idea. Like \pslinewidth is there \psnodesep and \psangle ? If yes i can do : \makeatletter \def\psdotx{\@ifnextchar[{\psdotx at i}{\psdotx at i[nodesep=1.5mm,angle=45]}} \def\psdotx at i[#1](#2){{% \psset{#1}% \pnode(#2){thenode}% \multido{\r=\psangle+90 , \ia=1+1}{4}{% \pnode([angle=\r]#2){thenode\ia} \psline(#2)(thenode\ia)% }% fin du \multido }}% fin de \newcommand \makeatother and after \psdotx(A) or \psdotx[angle=30](A) or for a lot of points \psset{nodesep=2mm,angle=60} \psdotx[](A) \psdotx[](B) etc... Is it possible ? Thanks for your answers. Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabian.brunner at web.de Fri Jan 25 10:46:10 2013 From: fabian.brunner at web.de (Fabian Brunner) Date: Fri, 25 Jan 2013 10:46:10 +0100 Subject: [pstricks] incorrect xLabels Message-ID: <51025462.1070903@web.de> Hello everyone, I have problems with axis labels. Can anyone explain why the following code produces incorrect x-labels (the first label is missing, the second is '.75a'). I'm using texlive2012. \documentclass[a4paper,12pt]{article} \usepackage{pst-plot} \begin{document} \psgraph[axesstyle=frame,Oy=0.75,Dy=0.05,xLabels={a,b,c,d,e,f,g,h,i,j,k}](0,0.75)(10,1.5){4in}{4in}% \endpsgraph \end{document} The following code works nicely: \psgraph[axesstyle=frame,Oy=0.0,Dy=0.05,xLabels={a,b,c,d,e,f,g,h,i,j,k}](0,0)(10,1){4in}{4in}% \endpsgraph Thank you! Fabian From Herbert.Voss at FU-Berlin.DE Fri Jan 25 15:13:08 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 25 Jan 2013 15:13:08 +0100 Subject: [pstricks] incorrect xLabels In-Reply-To: <51025462.1070903@web.de> References: <51025462.1070903@web.de> Message-ID: <510292F4.8050600@FU-Berlin.DE> On 25.01.2013 10:46, Fabian Brunner wrote: > I have problems with axis labels. Can anyone explain why the following > code produces > incorrect x-labels (the first label is missing, the second is '.75a'). > I'm using texlive2012. > > \documentclass[a4paper,12pt]{article} > \usepackage{pst-plot} > \begin{document} > \psgraph[axesstyle=frame,Oy=0.75,Dy=0.05,xLabels={a,b,c,d,e,f,g,h,i,j,k}](0,0.75)(10,1.5){4in}{4in}% use it this way: \psgraph[axesstyle=frame,Oy=0.75,Dy=0.05,xLabels={a,b,c,d,e,f,g,h,i,j,k}](0,0)(10,0.75){4in}{4in}% Herbert From fabian.brunner at web.de Fri Jan 25 16:42:44 2013 From: fabian.brunner at web.de (Fabian Brunner) Date: Fri, 25 Jan 2013 16:42:44 +0100 Subject: [pstricks] incorrect xLabels In-Reply-To: <510292F4.8050600@FU-Berlin.DE> References: <51025462.1070903@web.de> <510292F4.8050600@FU-Berlin.DE> Message-ID: <5102A7F4.3020104@web.de> Thank you, Herbert! It works but it means that I will have to manually rescale the data I want to plot using fileplot. They are in the range between 0.75 and 1.5 on the y-axis. That's why I wanted to set ymin=0.75 and ymax=1.5. Sorry I didn't mention it, I wanted to keep the example as simple as possible. Fabian Am 25.01.2013 15:13, schrieb Herbert Voss: > On 25.01.2013 10:46, Fabian Brunner wrote: > >> I have problems with axis labels. Can anyone explain why the following >> code produces >> incorrect x-labels (the first label is missing, the second is '.75a'). >> I'm using texlive2012. >> >> \documentclass[a4paper,12pt]{article} >> \usepackage{pst-plot} >> \begin{document} >> \psgraph[axesstyle=frame,Oy=0.75,Dy=0.05,xLabels={a,b,c,d,e,f,g,h,i,j,k}](0,0.75)(10,1.5){4in}{4in}% >> > > use it this way: > > \psgraph[axesstyle=frame,Oy=0.75,Dy=0.05,xLabels={a,b,c,d,e,f,g,h,i,j,k}](0,0)(10,0.75){4in}{4in}% > > > Herbert > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Fri Jan 25 16:47:05 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 25 Jan 2013 16:47:05 +0100 Subject: [pstricks] incorrect xLabels In-Reply-To: <5102A7F4.3020104@web.de> References: <51025462.1070903@web.de> <510292F4.8050600@FU-Berlin.DE> <5102A7F4.3020104@web.de> Message-ID: <5102A8F9.4080104@FU-Berlin.DE> On 25.01.2013 16:42, Fabian Brunner wrote: > Thank you, Herbert! It works but it means that I will have to > manually rescale the data I want to plot using fileplot. They are in the > range between 0.75 and 1.5 on the y-axis. That's why I wanted to set > ymin=0.75 > and ymax=1.5. Sorry I didn't mention it, I wanted to keep the example as > simple > as possible. I know, but I have at the moment no time to fix the bug You can use \pstScalePoints(1,1){}{0.75 sub} before your \listplot \dataplot \fileplot Herbert From Herbert.Voss at FU-Berlin.DE Fri Jan 25 22:29:09 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 25 Jan 2013 22:29:09 +0100 Subject: [pstricks] PSTricks Digest, Vol 120, Issue 10 In-Reply-To: References: Message-ID: <5102F925.6010904@FU-Berlin.DE> On 22.01.2013 19:07, Germain BOYER wrote: > When you draw a simple picture, it's better if all the lines have the > same width. > > If i put \psdots[dotstyle=x](2,1) then the width of the dot is not > \pslinewidth. > > If i put \psdots[dotstyle=x,dotsize=2mm 0](2,1) then the width of the > dot change. > > For this reason, i try to write a newcommand to have the width of the > dot = \pslinewidth and the size of the dot i like. The linewidth depends to the scaling of the dot. If you want to controll it separately you have to redefine the \psdot command from pstricks.tex Herbert From germain.boyer at ac-toulouse.fr Sat Jan 26 16:01:31 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Sat, 26 Jan 2013 16:01:31 +0100 Subject: [pstricks] PSTricks Digest, Vol 120, Issue 9 , 10 , 11 References: Message-ID: Changes to use better nodesep and angle. \makeatletter \def\psdotx{\@ifnextchar[{\psdotx at i}{\psdotx at i[]}} \def\psdotx at i[#1](#2){{% \psset{#1}% \pnode(#2){thenode}% \pnode([nodesep=1.5mm,angle=45,#1]thenode){thenode1} \psRelNode[angle=90](thenode)(thenode1){1}{thenode2} \psRelNode[angle=180](thenode)(thenode2){1}{thenode3} \psRelNode[angle=270](thenode)(thenode3){1}{thenode4} \psline(thenode)(thenode1) \psline(thenode)(thenode2) \psline(thenode)(thenode3) \psline(thenode)(thenode4) }}% fin de \newcommand \makeatother \documentclass[a4paper,11pt]{article} \usepackage{pstricks-add} \begin{document} \psset{unit=1cm} % \begin{pspicture}(-2,-1)(8,6.2) % \psset{gridcolor=gray, gridwidth=0.15mm, gridlabels=0pt, subgriddiv=1} \psgrid(-2,-1)(8,6) \psaxes[linewidth=0.25mm , tickwidth=0.25mm](0,0)(-2,-1)(8,6) \pnode(4,1){A} \pnode(6,2){B} \pnode(1,5){C} \pnode(3,4){D} \pnode(2,1){E} \psset{linewidth=0.35mm} % \psdotx(A) \psdotx[linecolor=red,nodesep=2mm](B) \psdotx[linecolor=green,nodesep=4mm,angle=30](2,2) \psdotx[linecolor=green,nodesep=4mm,angle=60](5,3) \psdotx[linecolor=blue,nodesep=3mm](5;45) \psdotx[linewidth=0.25mm,angle=30](C) % \psdotx[linecolor=red,nodesep=5mm](D) \psdotx[nodesep=5mm,linewidth=0.5mm](E) % \psdots(A)(2,2)(5;45) \end{pspicture} \end{document} Is it possible to do \psdotsx(A)(2,2)(5;45) like \psdots(A)(2,2)(5;45) ? Certainly yes but perhaps it's difficult. Thanks for your answers. Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From germain.boyer at ac-toulouse.fr Sat Jan 26 17:45:30 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Sat, 26 Jan 2013 17:45:30 +0100 Subject: [pstricks] PSTricks Digest, Vol 120, Issue 9 , 10 , 11 Message-ID: \psdotx short with multido \makeatletter \def\psdotx{\@ifnextchar[{\psdotx at i}{\psdotx at i[]}} \def\psdotx at i[#1](#2){{% \psset{#1}% \pnode(#2){thenode}% \pnode([nodesep=1.5mm,angle=45,#1]thenode){thenodea} \multido{\ia=0+90 , \ib=1+1}{4}{% \psRelNode[angle=\ia](thenode)(thenodea){1}{thenode\ib} \psline(thenode)(thenode\ib)% }% fin du \multido }}% fin de \newcommand \makeatother Re: PSTricks Digest, Vol 120, Issue 9 , 10 , 11 Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Jan 28 12:52:20 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 28 Jan 2013 12:52:20 +0100 Subject: [pstricks] PSTricks Digest, Vol 120, Issue 9 , 10 , 11 In-Reply-To: References: Message-ID: <51066674.4070207@FU-Berlin.DE> On 26.01.2013 16:01, Germain BOYER wrote: > Is it possible to do \psdotsx(A)(2,2)(5;45) like \psdots(A)(2,2)(5;45) ? > > > Certainly yes but perhaps it's difficult. yes, it is possible but takes some time. See how \psdots in pstricks.tre is defined. Herbert From fabian.brunner at web.de Mon Jan 28 15:54:18 2013 From: fabian.brunner at web.de (Fabian Brunner) Date: Mon, 28 Jan 2013 15:54:18 +0100 Subject: [pstricks] incorrect xLabels In-Reply-To: <5102A8F9.4080104@FU-Berlin.DE> References: <51025462.1070903@web.de> <510292F4.8050600@FU-Berlin.DE> <5102A7F4.3020104@web.de> <5102A8F9.4080104@FU-Berlin.DE> Message-ID: <5106911A.1040803@web.de> The command \pstScalePoints does not seem to work for \fileplot. I tried \begin{pspicture}(-0.5,-1)(6,6) \psaxes{->}(0,0)(6,6) \fileplot[ linecolor=red]{file.dat} \pstScalePoints(1,0.5){}{1 add} \fileplot[ linecolor=blue,linestyle=dotted]{file.dat} \end{pspicture} and the curves were identical. For \dataplot it worked. But I can still rescale the file content. Thank you, Herbert, for your responses! Fabian Am 25.01.2013 16:47, schrieb Herbert Voss: > On 25.01.2013 16:42, Fabian Brunner wrote: >> Thank you, Herbert! It works but it means that I will have to >> manually rescale the data I want to plot using fileplot. They are in the >> range between 0.75 and 1.5 on the y-axis. That's why I wanted to set >> ymin=0.75 >> and ymax=1.5. Sorry I didn't mention it, I wanted to keep the example as >> simple >> as possible. > > I know, but I have at the moment no time to fix the bug > You can use > > \pstScalePoints(1,1){}{0.75 sub} > > before your \listplot \dataplot \fileplot > > Herbert > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From Herbert.Voss at FU-Berlin.DE Mon Jan 28 15:58:34 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 28 Jan 2013 15:58:34 +0100 Subject: [pstricks] incorrect xLabels In-Reply-To: <5106911A.1040803@web.de> References: <51025462.1070903@web.de> <510292F4.8050600@FU-Berlin.DE> <5102A7F4.3020104@web.de> <5102A8F9.4080104@FU-Berlin.DE> <5106911A.1040803@web.de> Message-ID: <5106921A.2000207@FU-Berlin.DE> On 28.01.2013 15:54, Fabian Brunner wrote: > The command \pstScalePoints does not seem to work > for \fileplot. I tried > > \begin{pspicture}(-0.5,-1)(6,6) > \psaxes{->}(0,0)(6,6) > \fileplot[ linecolor=red]{file.dat} > \pstScalePoints(1,0.5){}{1 add} > \fileplot[ linecolor=blue,linestyle=dotted]{file.dat} > \end{pspicture} > > and the curves were identical. For \dataplot it worked. > But I can still rescale the file content. Ah yes, I forgot that it does only work for \listplot. However, you can read the data with \readdata before plotting it. Herbert From Herbert.Voss at FU-Berlin.DE Tue Jan 29 09:02:54 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 29 Jan 2013 09:02:54 +0100 Subject: [pstricks] \psdotx Message-ID: <5107822E.6090405@FU-Berlin.DE> Here is a possible solution for multiple dots Herbert \documentclass[a4paper,11pt]{article} \usepackage{pstricks-add} \makeatletter \def\psdotx{\@ifnextchar[{\psdotx at i}{\psdotx at i[]}} \def\psdotx at i[#1](#2){\def\psdotx at para{#1} \begingroup% \psset{#1}\psdotx at ii(#2)} \def\psdotx at ii(#1){% \pnode(#1){thenode}\psdotx at iii% \@ifnextchar({\psdotx at ii}{\endgroup} }% fin de \newcommand \def\psdotx at iii{% \pnode([nodesep=1.5mm,angle=45,\psdotx at para]thenode){thenode1}% \psRelNode[angle=90](thenode)(thenode1){1}{thenode2}% \psRelNode[angle=180](thenode)(thenode2){1}{thenode3}% \psRelNode[angle=270](thenode)(thenode3){1}{thenode4}% \psline(thenode)(thenode1)% \psline(thenode)(thenode2)% \psline(thenode)(thenode3)% \psline(thenode)(thenode4)} \makeatother \begin{document} \begin{pspicture}(-2,-1)(8,6.2) \psset{gridcolor=gray, gridwidth=0.15mm, gridlabels=0pt, subgriddiv=1} \psgrid(-2,-1)(8,6) \psaxes[linewidth=0.25mm , tickwidth=0.25mm](0,0)(-2,-1)(8,6) \pnode(4,1){A} \pnode(6,2){B} \pnode(1,5){C} \pnode(3,4){D} \pnode(2,1){E} \psset{linewidth=0.35mm} \psdotx(A) \psdotx[linecolor=blue,nodesep=3mm](B)(2,2)(5;45) \psdotx[linecolor=green,nodesep=4mm,angle=60](5,3) \psdotx[linewidth=0.25mm,angle=30](C) \psdotx[linecolor=red,nodesep=5mm](D) \psdotx[nodesep=5mm,linewidth=0.5mm](E) \psdot(5;45) \end{pspicture} \end{document} From rshepard at appl-ecosys.com Wed Jan 30 17:29:45 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Wed, 30 Jan 2013 08:29:45 -0800 Subject: [pstricks] Drawing a Klein Bottle Message-ID: Several months ago I found a nice image of a Klein bottle drawn with gnuplot, but the code was no longer available on the Web. So I searched for PSTricks code to draw one rather than re-inventing the wheel, but did not find any. Has anyone drawn such an image with PSTricks? If so, may I use and modify the code? If not, please pass me a pointer where I should start to create this image. The gnuplot version is attached as a .jpg file. TIA, Rich -------------- next part -------------- A non-text attachment was scrubbed... Name: klein.jpg Type: image/jpeg Size: 6802 bytes Desc: URL: From schmitt at med.uni-rostock.de Wed Jan 30 18:57:14 2013 From: schmitt at med.uni-rostock.de (Oliver Schmitt) Date: Wed, 30 Jan 2013 18:57:14 +0100 Subject: [pstricks] Drawing a Klein Bottle In-Reply-To: References: Message-ID: <51095EFA.5070601@med.uni-rostock.de> set parametric x(u,v)= v<2*pi ? (2.5-1.5*cos(v))*cos(u) : \ v<3*pi ? -2+(2+cos(u))*cos(v) : \ -2+2*cos(v)-cos(u) y(u,v)= v<2*pi ? (2.5-1.5*cos(v))*sin(u) : \ sin(u) z(u,v)= v Several months ago I found a nice image of a Klein bottle drawn with > gnuplot, but the code was no longer available on the Web. So I > searched for > PSTricks code to draw one rather than re-inventing the wheel, but did not > find any. > > Has anyone drawn such an image with PSTricks? If so, may I use and > modify > the code? If not, please pass me a pointer where I should start to create > this image. The gnuplot version is attached as a .jpg file. > > TIA, > > Rich > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: schmitt.vcf Type: text/x-vcard Size: 310 bytes Desc: not available URL: From germain.boyer at ac-toulouse.fr Wed Jan 30 19:04:14 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Wed, 30 Jan 2013 19:04:14 +0100 Subject: [pstricks] PSTricks Digest, Vol 120, Issue 15 References: Message-ID: Bonjour, Great thanks Herbert for your answer. It works very nice. You are fantastic. Great thanks. Germain ------------------------------ Message: 4 Date: Tue, 29 Jan 2013 09:02:54 +0100 From: Herbert Voss To: Graphics with PSTricks Subject: [pstricks] \psdotx Message-ID: <5107822E.6090405 at FU-Berlin.DE> Content-Type: text/plain; charset="UTF-8"; format=flowed Here is a possible solution for multiple dots Herbert \documentclass[a4paper,11pt]{article} \usepackage{pstricks-add} \makeatletter \def\psdotx{\@ifnextchar[{\psdotx at i}{\psdotx at i[]}} \def\psdotx at i[#1](#2){\def\psdotx at para{#1} \begingroup% \psset{#1}\psdotx at ii(#2)} \def\psdotx at ii(#1){% \pnode(#1){thenode}\psdotx at iii% \@ifnextchar({\psdotx at ii}{\endgroup} }% fin de \newcommand \def\psdotx at iii{% \pnode([nodesep=1.5mm,angle=45,\psdotx at para]thenode){thenode1}% \psRelNode[angle=90](thenode)(thenode1){1}{thenode2}% \psRelNode[angle=180](thenode)(thenode2){1}{thenode3}% \psRelNode[angle=270](thenode)(thenode3){1}{thenode4}% \psline(thenode)(thenode1)% \psline(thenode)(thenode2)% \psline(thenode)(thenode3)% \psline(thenode)(thenode4)} \makeatother \begin{document} \begin{pspicture}(-2,-1)(8,6.2) \psset{gridcolor=gray, gridwidth=0.15mm, gridlabels=0pt, subgriddiv=1} \psgrid(-2,-1)(8,6) \psaxes[linewidth=0.25mm , tickwidth=0.25mm](0,0)(-2,-1)(8,6) \pnode(4,1){A} \pnode(6,2){B} \pnode(1,5){C} \pnode(3,4){D} \pnode(2,1){E} \psset{linewidth=0.35mm} \psdotx(A) \psdotx[linecolor=blue,nodesep=3mm](B)(2,2)(5;45) \psdotx[linecolor=green,nodesep=4mm,angle=60](5,3) \psdotx[linewidth=0.25mm,angle=30](C) \psdotx[linecolor=red,nodesep=5mm](D) \psdotx[nodesep=5mm,linewidth=0.5mm](E) \psdot(5;45) \end{pspicture} \end{document} ------------------------------ Subject: Digest Footer _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks ------------------------------ End of PSTricks Digest, Vol 120, Issue 15 ***************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From rshepard at appl-ecosys.com Wed Jan 30 21:12:22 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Wed, 30 Jan 2013 12:12:22 -0800 Subject: [pstricks] Drawing a Klein Bottle In-Reply-To: <51095EFA.5070601@med.uni-rostock.de> References: <51095EFA.5070601@med.uni-rostock.de> Message-ID: On Wed, 30 Jan 2013, Oliver Schmitt wrote: > set parametric > x(u,v)= v<2*pi ? (2.5-1.5*cos(v))*cos(u) : \ > v<3*pi ? -2+(2+cos(u))*cos(v) : \ > -2+2*cos(v)-cos(u) > y(u,v)= v<2*pi ? (2.5-1.5*cos(v))*sin(u) : \ > sin(u) > z(u,v)= v v<2*pi ? 3*v-3*pi : \ > v<3*pi ? (2+cos(u))*sin(v)+3*pi : \ > -3*v+12*pi > splot x(u,v),y(u,v),-z(u,v) w pm3d Thank you, Oliver! I'll study this to be sure that I understand it well. Much appreciated, Rich From gilg at acrotex.net Wed Jan 30 21:19:42 2013 From: gilg at acrotex.net (Juergen Gilg) Date: Wed, 30 Jan 2013 21:19:42 +0100 Subject: [pstricks] Drawing a Klein Bottle In-Reply-To: References: <51095EFA.5070601@med.uni-rostock.de> Message-ID: <5109805E.2040203@acrotex.net> Dear Rich, have a look at: http://melusine.eu.org/lab/bpst/pst-solides3d/surfaces especially at: http://melusine.eu.org/lab/bpst/pst-solides3d/surfaces/ex_6.pst There are lots of surfaces presented done with pst-solides3d. However the code might be a bit obsolete due to some rewriting of the package. Hope this helps, Regards, J?rgen From rshepard at appl-ecosys.com Wed Jan 30 22:03:04 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Wed, 30 Jan 2013 13:03:04 -0800 Subject: [pstricks] Drawing a Klein Bottle In-Reply-To: <5109805E.2040203@acrotex.net> References: <51095EFA.5070601@med.uni-rostock.de> <5109805E.2040203@acrotex.net> Message-ID: On Wed, 30 Jan 2013, Juergen Gilg wrote: > have a look at: > http://melusine.eu.org/lab/bpst/pst-solides3d/surfaces/ex_6.pst > Hope this helps, J?rgen, Thank you. That's almost a Klein bottle. Rich From cyrille.piatecki at univ-orleans.fr Sat Feb 2 18:17:40 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Sat, 2 Feb 2013 18:17:40 +0100 Subject: [pstricks] a problem of deformation Message-ID: <510D4A34.2060303@univ-orleans.fr> Dear all, and certainly Herbert, I wonder why the open mouth is not correct in the following graphics. In pmy computer the two mouth are not drawn alike. In the same spirit when I use \psscalebox whith such a custom graphics I have often some deformation Thanks to have a look Cyrille Piatecki \documentclass{article} \usepackage{graphicx} \usepackage[dvips, x11names]{xcolor} \usepackage{pstricks, pstricks-add, pst-blur,pst-slpe,pst-coil} \begin{document} \begin{figure} \begin{center} \begin{pspicture}(3,.5)(9,6) %\psgrid \def\prisu{ \psline(6,.6)(7,.8) \psset{linecolor=red,linestyle=none} %\rput(3,2.5){\includegraphics[scale=1.2]{pdwc.eps}} \psline[linewidth=5cm,linecolor=red](6,0)(6.2,.75)(6.4,.5)(6.8,.7) %\rput(7,2.5){\includegraphics[scale=1.2]{pdwc.eps}} \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle = none](7.36,2.95){.58cm} \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle = none](7.35,3.9){.57cm} \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle = none](6.65,1.95){.2cm} \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle = none](8.18,1.9){.2cm} \pscustom[fillstyle=slope,slopebegin=white, slopeend=black!01,fillstyle=slope,slopebegin=white,slopeend = black!20]{ \pscurve[showpoints=true,linewidth=2.8pt](6.8,1.75)(7.3,1.75)(7.98,1.8) \pscurve[showpoints=true,linewidth=2.8pt](7.98,1.9)(7.96,2.2)(7.9,3.225)% \lineto(7.925,3.275) \pscurve[showpoints=true,linewidth=2.8pt](7.9,3.29)(7.8,3.35)(7.7,3.38)% \pscurve[showpoints=true,linewidth=2.8pt](7.7,3.38)(7.3,3.25)(7.,3.38)% \pscurve[showpoints=true,linewidth=2.8pt](7,3.38)(6.8,3.31)(6.7,3.24)% \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.75,2.5)(6.8,1.75)% } \pscustom[fillstyle=slope,slopebegin=black!30,slopeend=black!70,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](7,3.38)(6.8,3.31)(6.7,3.24)% \pscurve(6.7,3.22)(6.75,3.15)(6.8,3.1)(7.,3.15)(7.4,3.1)(7.6,3.15)(7.8,3.15)(7.9,3.175)(7.925,3.18)(7.9,3.2) \psline(7.92,3.225)(7.95,3.3) \pscurve(7.95,3.3)(7.825,3.35)(7.7,3.39)(7.4,3.25)(7,3.39) } \pscustom[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.68,3.24)(6.4,2.24)(6.45,1.95)% \psline[showpoints=true,linewidth=2.8pt](6.425,1.95)(6.8,1.95)% \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.68,3.24)(6.4,2.24)(6.45,1.95) } \pscustom[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](7.95,3.325)(8.3,2.7)(8.35,1.95)% \psline[showpoints=true,linewidth=2.8pt](8.35,1.95)(7.95,1.95)% \pscurve[showpoints=true,linewidth=2.8pt](7.95,1.95)(7.975,2.1)(7.85,2.7)(7.9,3.2) } \pscustom[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](7.42,1.75)(7.5,1.24)(7.5,.6)% \psline[showpoints=true,linewidth=2.8pt](7.5,.6)(8.1,.73)% \pscurve[showpoints=true,linewidth=2.8pt](8.1,.725)(8.15,.8)(8.15,.94)(7.975,1.8) } \pscustom[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](6.8,1.75)(6.75,1.24)(6.55,.7)% \psline[showpoints=true,linewidth=2.8pt](6.55,.6)(7.19,.55)% \pscurve[showpoints=true,linewidth=2.8pt](7.2,.73)(7.25,.84)(7.25,.94)(7.4,1.75) } %\pspolygon[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]()() \pspolygon[fillstyle=slope,slopebegin=black!10,slopeend=black!70,linecolor=blue,linearc=0.01](6.85,2.9)(7,2.95)(7.4,2.875)(7.7,2.95)(7.875,2.95)(7.85,2.8)(7.4,2.7)(7,2.8)(6.855,2.75) %\pspolygon[fillstyle=slope,slopebegin=black,slopeend=black!50,linecolor=blue](7.73,.45)(8.265,.45)(8.2685,.6)(7.73,.6) \pswedge[fillstyle=slope,slopebegin=black,slopeend=black!50,linecolor=blue](8,.45){.3cm}{0}{180} \pswedge[fillstyle=slope,slopebegin=black,slopeend=black!50,linecolor=blue](6.85,.45){.3cm}{0}{180} \rput(6,.75){\psBall{black}{.4cm}} \psline(6,.6)(9,.8)} \def\prisd{ \psline(6,.6)(7,.8) \psset{linecolor=red,linestyle=none} %\rput(3,2.5){\includegraphics[scale=1.2]{pdwc.eps}} \psline[linewidth=5cm,linecolor=red](6,0)(6.2,.75)(6.4,.5)(6.8,.7) %\rput(7,2.5){\includegraphics[scale=1.2]{pdwc.eps}} \pscircle[fillstyle=slope,slopebegin=Seashell4,slopeend=Seashell4!20,slopeangle=60,linestyle = none](7.36,2.95){.58cm} \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle = none](7.35,3.9){.57cm} \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle = none](6.65,1.95){.2cm} \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle = none](8.18,1.9){.2cm} \pscustom[fillstyle=slope,slopebegin=white, slopeend=Coral1!01,fillstyle=slope,slopebegin=white,slopeend = Coral1!20]{ \pscurve[showpoints=true,linewidth=2.8pt](6.8,1.75)(7.3,1.75)(7.98,1.8) \pscurve[showpoints=true,linewidth=2.8pt](7.98,1.9)(7.96,2.2)(7.9,3.225)% \lineto(7.925,3.275) \pscurve[showpoints=true,linewidth=2.8pt](7.9,3.29)(7.8,3.35)(7.7,3.38)% \pscurve[showpoints=true,linewidth=2.8pt](7.7,3.38)(7.3,3.25)(7.,3.38)% \pscurve[showpoints=true,linewidth=2.8pt](7,3.38)(6.8,3.31)(6.7,3.24)% \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.75,2.5)(6.8,1.75)% } \pscustom[fillstyle=slope,slopebegin=Coral1!30,slopeend=Coral1!70,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](7,3.38)(6.8,3.31)(6.7,3.24)% \pscurve(6.7,3.22)(6.75,3.15)(6.8,3.1)(7.,3.15)(7.4,3.1)(7.6,3.15)(7.8,3.15)(7.9,3.175)(7.925,3.18)(7.9,3.2) \psline(7.92,3.225)(7.95,3.3) \pscurve(7.95,3.3)(7.825,3.35)(7.7,3.39)(7.4,3.25)(7,3.39) } \pscustom[fillstyle=slope,slopebegin=white,slopeend=Coral1!30,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.68,3.24)(6.4,2.24)(6.45,1.95)% \psline[showpoints=true,linewidth=2.8pt](6.425,1.95)(6.8,1.95)% \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.68,3.24)(6.4,2.24)(6.45,1.95) } \pscustom[fillstyle=slope,slopebegin=white,slopeend=Coral1!30,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](7.95,3.325)(8.3,2.7)(8.35,1.95)% \psline[showpoints=true,linewidth=2.8pt](8.35,1.95)(7.95,1.95)% \pscurve[showpoints=true,linewidth=2.8pt](7.95,1.95)(7.975,2.1)(7.85,2.7)(7.9,3.2) } \pscustom[fillstyle=slope,slopebegin=white,slopeend=Coral1!30,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](7.42,1.75)(7.5,1.24)(7.5,.6)% \psline[showpoints=true,linewidth=2.8pt](7.5,.6)(8.1,.73)% \pscurve[showpoints=true,linewidth=2.8pt](8.1,.725)(8.15,.8)(8.15,.94)(7.975,1.8) } \pscustom[fillstyle=slope,slopebegin=white,slopeend=Coral1!30,linecolor=blue]{ \pscurve[showpoints=true,linewidth=2.8pt](6.8,1.75)(6.75,1.24)(6.55,.7)% \psline[showpoints=true,linewidth=2.8pt](6.55,.6)(7.19,.55)% \pscurve[showpoints=true,linewidth=2.8pt](7.2,.73)(7.25,.84)(7.25,.94)(7.4,1.75) } %\pspolygon[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]()() \pspolygon[fillstyle=slope,slopebegin=Coral1!10,slopeend=Coral1!70,linecolor=blue,linearc=0.01](6.85,2.9)(7,2.95)(7.4,2.875)(7.7,2.95)(7.875,2.95)(7.85,2.8)(7.4,2.7)(7,2.8)(6.855,2.75) %\pspolygon[fillstyle=slope,slopebegin=Coral1,slopeend=black!50,linecolor=blue](7.73,.45)(8.265,.45)(8.2685,.6)(7.73,.6) \pswedge[fillstyle=slope,slopebegin=Coral1,slopeend=Coral1!50,linecolor=blue](8,.45){.3cm}{0}{180} \pswedge[fillstyle=slope,slopebegin=Coral1,slopeend=Coral1!50,linecolor=blue](6.85,.45){.3cm}{0}{180} \rput(6,.75){\psBall{Coral1}{.4cm}} \psline(6,.6)(9,.8)} \rput(2.4,2.2){\psscalebox{.15 .15}{\prisu}} \rput(5.9,5.2){\psscalebox{.15 .15}{\prisd}} \pspolygon[fillstyle=slope,slopebegin=white,slopeend=PaleTurquoise1,linecolor=SteelBlue2,shadow=true,blur=true](5.5,1)(8.5,1)(8.5,4.)(5.5,4.) \psline[linecolor=SteelBlue2](5.5,2.5)(8.5,2.5) \psline[linecolor=SteelBlue2](7,1)(7,4) \rput(6.4,3.2){(3,3)} \rput(7.8,3.2){(5,0)} \rput(6.4,1.8){(0,5)} \rput(7.8,1.8){(1,1)} \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle = none](7.75,4.5){.45cm} \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle = none](6.25,4.5){.45cm} \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle = none](4.5,1.8){.45cm} \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle = none](4.5,3.2){.45cm} \def\bouche{ \pscustom[linecolor=Firebrick2,fillstyle=solid,fillcolor=pink]{ \psline(6.1,4.3)(6.4,4.3) \pscurve(6.4,4.3)(6.2,4.2)(6.1,4.3) }} \rput(0,0){\bouche} \rput(-1.8,-1.3){\bouche} \def\sil{ \psline[linewidth=2pt,linecolor=Firebrick1]{cc-cc}(7.6,4.4)(7.9,4.2) \psline[linewidth=2pt,linecolor=Firebrick1]{cc-cc}(7.6,4.2)(7.9,4.4)} \rput(0,0){\sil} \rput(-3.2,-2.7){\sil} %\psgrid \end{pspicture} \caption{\textsc{}}\label{} \end{center} \end{figure} \end{document} From Herbert.Voss at FU-Berlin.DE Sun Feb 3 10:48:24 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 3 Feb 2013 10:48:24 +0100 Subject: [pstricks] a problem of deformation In-Reply-To: <510D4A34.2060303@univ-orleans.fr> References: <510D4A34.2060303@univ-orleans.fr> Message-ID: <510E3268.1000608@FU-Berlin.DE> On 02.02.2013 18:17, Cyrille Piatecki wrote: > I wonder why the open mouth is not correct in the following graphics. In > pmy computer the two mouth are not drawn alike. > > In the same spirit when I use \psscalebox whith such a custom graphics I > have often some deformation I do not understand what you mean by "not correct" Herbert From cyrille.piatecki at univ-orleans.fr Mon Feb 4 09:56:41 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Mon, 4 Feb 2013 09:56:41 +0100 Subject: [pstricks] PSTricks Digest, Vol 121, Issue 1 In-Reply-To: References: Message-ID: <510F77C9.7080905@univ-orleans.fr> Le 03/02/2013 12:00, pstricks-request at tug.org a ?crit : > 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. a problem of deformation (Cyrille Piatecki) > 2. Re: a problem of deformation (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 2 Feb 2013 18:17:40 +0100 > From: Cyrille Piatecki > To: > Subject: [pstricks] a problem of deformation > Message-ID: <510D4A34.2060303 at univ-orleans.fr> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > Dear all, and certainly Herbert, > > I wonder why the open mouth is not correct in the following graphics. In > pmy computer the two mouth are not drawn alike. > > In the same spirit when I use \psscalebox whith such a custom graphics I > have often some deformation > > > Thanks to have a look > > Cyrille Piatecki > > > \documentclass{article} > \usepackage{graphicx} > \usepackage[dvips, x11names]{xcolor} > \usepackage{pstricks, pstricks-add, pst-blur,pst-slpe,pst-coil} > \begin{document} > > \begin{figure} > \begin{center} > \begin{pspicture}(3,.5)(9,6) > %\psgrid > \def\prisu{ > \psline(6,.6)(7,.8) > \psset{linecolor=red,linestyle=none} > %\rput(3,2.5){\includegraphics[scale=1.2]{pdwc.eps}} > \psline[linewidth=5cm,linecolor=red](6,0)(6.2,.75)(6.4,.5)(6.8,.7) > %\rput(7,2.5){\includegraphics[scale=1.2]{pdwc.eps}} > \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle > = none](7.36,2.95){.58cm} > \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle > = none](7.35,3.9){.57cm} > \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle > = none](6.65,1.95){.2cm} > \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle > = none](8.18,1.9){.2cm} > \pscustom[fillstyle=slope,slopebegin=white, > slopeend=black!01,fillstyle=slope,slopebegin=white,slopeend = black!20]{ > \pscurve[showpoints=true,linewidth=2.8pt](6.8,1.75)(7.3,1.75)(7.98,1.8) > \pscurve[showpoints=true,linewidth=2.8pt](7.98,1.9)(7.96,2.2)(7.9,3.225)% > \lineto(7.925,3.275) > \pscurve[showpoints=true,linewidth=2.8pt](7.9,3.29)(7.8,3.35)(7.7,3.38)% > \pscurve[showpoints=true,linewidth=2.8pt](7.7,3.38)(7.3,3.25)(7.,3.38)% > \pscurve[showpoints=true,linewidth=2.8pt](7,3.38)(6.8,3.31)(6.7,3.24)% > \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.75,2.5)(6.8,1.75)% > } > \pscustom[fillstyle=slope,slopebegin=black!30,slopeend=black!70,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](7,3.38)(6.8,3.31)(6.7,3.24)% > \pscurve(6.7,3.22)(6.75,3.15)(6.8,3.1)(7.,3.15)(7.4,3.1)(7.6,3.15)(7.8,3.15)(7.9,3.175)(7.925,3.18)(7.9,3.2) > \psline(7.92,3.225)(7.95,3.3) > \pscurve(7.95,3.3)(7.825,3.35)(7.7,3.39)(7.4,3.25)(7,3.39) > } > \pscustom[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.68,3.24)(6.4,2.24)(6.45,1.95)% > \psline[showpoints=true,linewidth=2.8pt](6.425,1.95)(6.8,1.95)% > \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.68,3.24)(6.4,2.24)(6.45,1.95) > } > \pscustom[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](7.95,3.325)(8.3,2.7)(8.35,1.95)% > \psline[showpoints=true,linewidth=2.8pt](8.35,1.95)(7.95,1.95)% > \pscurve[showpoints=true,linewidth=2.8pt](7.95,1.95)(7.975,2.1)(7.85,2.7)(7.9,3.2) > } > \pscustom[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](7.42,1.75)(7.5,1.24)(7.5,.6)% > \psline[showpoints=true,linewidth=2.8pt](7.5,.6)(8.1,.73)% > \pscurve[showpoints=true,linewidth=2.8pt](8.1,.725)(8.15,.8)(8.15,.94)(7.975,1.8) > } > \pscustom[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](6.8,1.75)(6.75,1.24)(6.55,.7)% > \psline[showpoints=true,linewidth=2.8pt](6.55,.6)(7.19,.55)% > \pscurve[showpoints=true,linewidth=2.8pt](7.2,.73)(7.25,.84)(7.25,.94)(7.4,1.75) > } > %\pspolygon[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]()() > \pspolygon[fillstyle=slope,slopebegin=black!10,slopeend=black!70,linecolor=blue,linearc=0.01](6.85,2.9)(7,2.95)(7.4,2.875)(7.7,2.95)(7.875,2.95)(7.85,2.8)(7.4,2.7)(7,2.8)(6.855,2.75) > %\pspolygon[fillstyle=slope,slopebegin=black,slopeend=black!50,linecolor=blue](7.73,.45)(8.265,.45)(8.2685,.6)(7.73,.6) > \pswedge[fillstyle=slope,slopebegin=black,slopeend=black!50,linecolor=blue](8,.45){.3cm}{0}{180} > \pswedge[fillstyle=slope,slopebegin=black,slopeend=black!50,linecolor=blue](6.85,.45){.3cm}{0}{180} > \rput(6,.75){\psBall{black}{.4cm}} > \psline(6,.6)(9,.8)} > > \def\prisd{ > \psline(6,.6)(7,.8) > \psset{linecolor=red,linestyle=none} > %\rput(3,2.5){\includegraphics[scale=1.2]{pdwc.eps}} > \psline[linewidth=5cm,linecolor=red](6,0)(6.2,.75)(6.4,.5)(6.8,.7) > %\rput(7,2.5){\includegraphics[scale=1.2]{pdwc.eps}} > \pscircle[fillstyle=slope,slopebegin=Seashell4,slopeend=Seashell4!20,slopeangle=60,linestyle > = none](7.36,2.95){.58cm} > \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle > = none](7.35,3.9){.57cm} > \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle > = none](6.65,1.95){.2cm} > \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle > = none](8.18,1.9){.2cm} > \pscustom[fillstyle=slope,slopebegin=white, > slopeend=Coral1!01,fillstyle=slope,slopebegin=white,slopeend = Coral1!20]{ > \pscurve[showpoints=true,linewidth=2.8pt](6.8,1.75)(7.3,1.75)(7.98,1.8) > \pscurve[showpoints=true,linewidth=2.8pt](7.98,1.9)(7.96,2.2)(7.9,3.225)% > \lineto(7.925,3.275) > \pscurve[showpoints=true,linewidth=2.8pt](7.9,3.29)(7.8,3.35)(7.7,3.38)% > \pscurve[showpoints=true,linewidth=2.8pt](7.7,3.38)(7.3,3.25)(7.,3.38)% > \pscurve[showpoints=true,linewidth=2.8pt](7,3.38)(6.8,3.31)(6.7,3.24)% > \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.75,2.5)(6.8,1.75)% > } > \pscustom[fillstyle=slope,slopebegin=Coral1!30,slopeend=Coral1!70,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](7,3.38)(6.8,3.31)(6.7,3.24)% > \pscurve(6.7,3.22)(6.75,3.15)(6.8,3.1)(7.,3.15)(7.4,3.1)(7.6,3.15)(7.8,3.15)(7.9,3.175)(7.925,3.18)(7.9,3.2) > \psline(7.92,3.225)(7.95,3.3) > \pscurve(7.95,3.3)(7.825,3.35)(7.7,3.39)(7.4,3.25)(7,3.39) > } > \pscustom[fillstyle=slope,slopebegin=white,slopeend=Coral1!30,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.68,3.24)(6.4,2.24)(6.45,1.95)% > \psline[showpoints=true,linewidth=2.8pt](6.425,1.95)(6.8,1.95)% > \pscurve[showpoints=true,linewidth=2.8pt](6.7,3.24)(6.68,3.24)(6.4,2.24)(6.45,1.95) > } > \pscustom[fillstyle=slope,slopebegin=white,slopeend=Coral1!30,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](7.95,3.325)(8.3,2.7)(8.35,1.95)% > \psline[showpoints=true,linewidth=2.8pt](8.35,1.95)(7.95,1.95)% > \pscurve[showpoints=true,linewidth=2.8pt](7.95,1.95)(7.975,2.1)(7.85,2.7)(7.9,3.2) > } > \pscustom[fillstyle=slope,slopebegin=white,slopeend=Coral1!30,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](7.42,1.75)(7.5,1.24)(7.5,.6)% > \psline[showpoints=true,linewidth=2.8pt](7.5,.6)(8.1,.73)% > \pscurve[showpoints=true,linewidth=2.8pt](8.1,.725)(8.15,.8)(8.15,.94)(7.975,1.8) > } > \pscustom[fillstyle=slope,slopebegin=white,slopeend=Coral1!30,linecolor=blue]{ > \pscurve[showpoints=true,linewidth=2.8pt](6.8,1.75)(6.75,1.24)(6.55,.7)% > \psline[showpoints=true,linewidth=2.8pt](6.55,.6)(7.19,.55)% > \pscurve[showpoints=true,linewidth=2.8pt](7.2,.73)(7.25,.84)(7.25,.94)(7.4,1.75) > } > %\pspolygon[fillstyle=slope,slopebegin=white,slopeend=black!30,linecolor=blue]()() > \pspolygon[fillstyle=slope,slopebegin=Coral1!10,slopeend=Coral1!70,linecolor=blue,linearc=0.01](6.85,2.9)(7,2.95)(7.4,2.875)(7.7,2.95)(7.875,2.95)(7.85,2.8)(7.4,2.7)(7,2.8)(6.855,2.75) > %\pspolygon[fillstyle=slope,slopebegin=Coral1,slopeend=black!50,linecolor=blue](7.73,.45)(8.265,.45)(8.2685,.6)(7.73,.6) > \pswedge[fillstyle=slope,slopebegin=Coral1,slopeend=Coral1!50,linecolor=blue](8,.45){.3cm}{0}{180} > \pswedge[fillstyle=slope,slopebegin=Coral1,slopeend=Coral1!50,linecolor=blue](6.85,.45){.3cm}{0}{180} > \rput(6,.75){\psBall{Coral1}{.4cm}} > \psline(6,.6)(9,.8)} > \rput(2.4,2.2){\psscalebox{.15 .15}{\prisu}} > \rput(5.9,5.2){\psscalebox{.15 .15}{\prisd}} > > \pspolygon[fillstyle=slope,slopebegin=white,slopeend=PaleTurquoise1,linecolor=SteelBlue2,shadow=true,blur=true](5.5,1)(8.5,1)(8.5,4.)(5.5,4.) > \psline[linecolor=SteelBlue2](5.5,2.5)(8.5,2.5) > \psline[linecolor=SteelBlue2](7,1)(7,4) > \rput(6.4,3.2){(3,3)} > \rput(7.8,3.2){(5,0)} > \rput(6.4,1.8){(0,5)} > \rput(7.8,1.8){(1,1)} > > \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle > = none](7.75,4.5){.45cm} > \pscircle[fillstyle=slope,slopebegin=Seashell3,slopeend=Seashell4!20,slopeangle=60,linestyle > = none](6.25,4.5){.45cm} > \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle > = none](4.5,1.8){.45cm} > \pscircle[fillstyle=slope,slopebegin=PeachPuff2,slopeend=PeachPuff1!20,slopeangle=60,linestyle > = none](4.5,3.2){.45cm} > \def\bouche{ > \pscustom[linecolor=Firebrick2,fillstyle=solid,fillcolor=pink]{ > \psline(6.1,4.3)(6.4,4.3) > \pscurve(6.4,4.3)(6.2,4.2)(6.1,4.3) > }} > \rput(0,0){\bouche} > \rput(-1.8,-1.3){\bouche} > \def\sil{ > \psline[linewidth=2pt,linecolor=Firebrick1]{cc-cc}(7.6,4.4)(7.9,4.2) > \psline[linewidth=2pt,linecolor=Firebrick1]{cc-cc}(7.6,4.2)(7.9,4.4)} > \rput(0,0){\sil} > \rput(-3.2,-2.7){\sil} > %\psgrid > \end{pspicture} > \caption{\textsc{}}\label{} > \end{center} > \end{figure} > > > > > > \end{document} > > > > ------------------------------ > > Message: 2 > Date: Sun, 3 Feb 2013 10:48:24 +0100 > From: Herbert Voss > To: > Subject: Re: [pstricks] a problem of deformation > Message-ID: <510E3268.1000608 at FU-Berlin.DE> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > On 02.02.2013 18:17, Cyrille Piatecki wrote: > >> I wonder why the open mouth is not correct in the following graphics. In >> pmy computer the two mouth are not drawn alike. >> >> In the same spirit when I use \psscalebox whith such a custom graphics I >> have often some deformation > I do not understand what you mean by "not correct" > > Herbert > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 121, Issue 1 > **************************************** > On my computer, the two mouth which are drawn with the same macro are not alike From Herbert.Voss at FU-Berlin.DE Mon Feb 4 15:28:46 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 4 Feb 2013 15:28:46 +0100 Subject: [pstricks] PSTricks Digest, Vol 121, Issue 1 In-Reply-To: <510F77C9.7080905@univ-orleans.fr> References: <510F77C9.7080905@univ-orleans.fr> Message-ID: <510FC59E.9040404@FU-Berlin.DE> On 04.02.2013 09:56, Cyrille Piatecki wrote: > On my computer, the two mouth which are drawn with the same macro are > not alike I cannot see any difference with TeXLive2012 Herbert From cyrille.piatecki at univ-orleans.fr Tue Feb 5 21:19:59 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Tue, 5 Feb 2013 21:19:59 +0100 Subject: [pstricks] PSTricks Digest, Vol 121, Issue 3 In-Reply-To: References: Message-ID: <5111696F.8020009@univ-orleans.fr> Le 05/02/2013 12:00, pstricks-request at tug.org a ?crit : > 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. Re: PSTricks Digest, Vol 121, Issue 1 (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 4 Feb 2013 15:28:46 +0100 > From: Herbert Voss > To: Graphics with PSTricks > Subject: Re: [pstricks] PSTricks Digest, Vol 121, Issue 1 > Message-ID: <510FC59E.9040404 at FU-Berlin.DE> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > On 04.02.2013 09:56, Cyrille Piatecki wrote: > >> On my computer, the two mouth which are drawn with the same macro are >> not alike > I cannot see any difference with TeXLive2012 > > Herbert > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 121, Issue 3 > **************************************** > I send a screen capture under bakoma -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture04.jpg Type: image/jpeg Size: 22373 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Wed Feb 6 10:04:01 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 6 Feb 2013 10:04:01 +0100 Subject: [pstricks] a problem of deformation In-Reply-To: <510E3268.1000608@FU-Berlin.DE> References: <510D4A34.2060303@univ-orleans.fr> <510E3268.1000608@FU-Berlin.DE> Message-ID: <51121C81.5090304@FU-Berlin.DE> On 03.02.2013 10:48, Herbert Voss wrote: > On 02.02.2013 18:17, Cyrille Piatecki wrote: > >> I wonder why the open mouth is not correct in the following graphics. In >> pmy computer the two mouth are not drawn alike. >> >> In the same spirit when I use \psscalebox whith such a custom graphics I >> have often some deformation > > I do not understand what you mean by "not correct" \documentclass{article} \usepackage[x11names]{pstricks} \begin{document} \begin{pspicture}[showgrid](3,.5)(9,6) \def\bouche{% \pscustom[linecolor=Firebrick2,fillstyle=solid,fillcolor=pink]{ \pscurve(0,0)(0.15,-0.1)(0.3,0) \closepath}} \rput(6.2,4.2){\bouche} \rput(4.4,2.9){\bouche} \end{pspicture} \end{document} Cyrille, please provide minmal examples and _not_ the complete code which has nothing to do with your problem. Define single objects relative to (0,0) Herbert From frank.studiert at googlemail.com Fri Feb 8 15:35:26 2013 From: frank.studiert at googlemail.com (Frank Gansert) Date: Fri, 8 Feb 2013 15:35:26 +0100 Subject: [pstricks] Problem setting up the correct labels Message-ID: Hi, I have a simple problem. I want a graph starting at -3.5, ending at 0.5 (from left to right) on both axes and the labels in steps of 1, as -3.5, -2.5, -1.5, -0.5 and 0.5. Changing the spread from 1 to 0.5 gets me into trouble as I do not want to increase the size of the picture. This causes trouble however as the labels I get are: -3.5, -2, -1, 0, 1. The data, however is shown in respect to the labels as I want them. Is it, that the 0 as a label has to appear? Example: \documentclass{scrartcl} \usepackage{pst-all} \usepackage{pstricks-add} \begin{document} \begin{figure} \begin{center} \psgraph[Ox=-3.5,Oy=-3.5,Dx=1,Dy=1]{-}(-3.5,-3.5)(-3.5,-3.5)(0.5,0.5){5cm}{5cm} \psdots[dotstyle=o, dotsize=6pt](-3.5,-3.5)(0.5,0.5) \psdots[dotstyle=*, dotsize=6pt](0,0) \endpsgraph \end{center} \end{figure} \end{document} For me the points (-3.5,-3.5) and (0.5,0.5) appear at the labels -3.5 and 1, respectively. The point (0,0) appears at (0.5,0.5). So the data is at the correct position, but the labels are wrong. Inverting the axes, in going from 0.5 to -3.5, does not help. In fact I get the labels 0.5, -0.3, -2, -3, -4. \documentclass{scrartcl} \usepackage{pst-all} \usepackage{pstricks-add} \begin{document} \begin{figure} \begin{center} \psgraph[Ox=0.5,Oy=0.5,Dx=-1,Dy=-1]{-}(0.5,0.5)(-3.5,-3.5){5cm}{5cm} \psdots[dotstyle=o, dotsize=6pt](-3.5,-3.5)(0.5,0.5) \psdots[dotstyle=*, dotsize=6pt](0,0) \endpsgraph \end{center} \end{figure} \end{document} The points appear at the correct position. Kind regards Frank From niklasnawrath at gmx.de Sat Feb 9 14:21:52 2013 From: niklasnawrath at gmx.de (Niklas Nawrath) Date: Sat, 9 Feb 2013 14:21:52 +0100 Subject: [pstricks] Problem setting up the correct labels In-Reply-To: References: Message-ID: <51164D70.5050002@gmx.de> Hi Frank, It seems to be a Problem with the number of decimal digits. With 1.0, it works for me: \documentclass{scrartcl} \usepackage{pst-all} \usepackage{pstricks-add} \begin{document} \begin{figure} \begin{center} \psgraph[Ox=-3.5,Oy=-3.5,Dx=1.0,Dy=1.0]{-}(-3.5,-3.5)(-3.5,-3.5)(0.5,0.5){5cm}{5cm} \psdots[dotstyle=o, dotsize=6pt](-3.5,-3.5)(0.5,0.5) \psdots[dotstyle=*, dotsize=6pt](0,0) \endpsgraph \end{center} \end{figure} \end{document} Hope it works for you too. Kind Regards, Niklas > Hi, > > > I have a simple problem. > I want a graph starting at -3.5, ending at 0.5 (from left to right) on > both axes and the labels in steps of 1, as -3.5, -2.5, -1.5, -0.5 and > 0.5. > Changing the spread from 1 to 0.5 gets me into trouble as I do not > want to increase the size of the picture. > > This causes trouble however as the labels I get are: -3.5, -2, -1, 0, 1. > The data, however is shown in respect to the labels as I want them. > > Is it, that the 0 as a label has to appear? > > Example: > \documentclass{scrartcl} > > \usepackage{pst-all} > \usepackage{pstricks-add} > > \begin{document} > \begin{figure} > \begin{center} > \psgraph[Ox=-3.5,Oy=-3.5,Dx=1,Dy=1]{-}(-3.5,-3.5)(-3.5,-3.5)(0.5,0.5){5cm}{5cm} > \psdots[dotstyle=o, dotsize=6pt](-3.5,-3.5)(0.5,0.5) > \psdots[dotstyle=*, dotsize=6pt](0,0) > \endpsgraph > \end{center} > \end{figure} > \end{document} > > For me the points (-3.5,-3.5) and (0.5,0.5) appear at the labels -3.5 > and 1, respectively. > The point (0,0) appears at (0.5,0.5). > > So the data is at the correct position, but the labels are wrong. > > > Inverting the axes, in going from 0.5 to -3.5, does not help. > In fact I get the labels 0.5, -0.3, -2, -3, -4. > > \documentclass{scrartcl} > > \usepackage{pst-all} > \usepackage{pstricks-add} > > \begin{document} > \begin{figure} > \begin{center} > \psgraph[Ox=0.5,Oy=0.5,Dx=-1,Dy=-1]{-}(0.5,0.5)(-3.5,-3.5){5cm}{5cm} > \psdots[dotstyle=o, dotsize=6pt](-3.5,-3.5)(0.5,0.5) > \psdots[dotstyle=*, dotsize=6pt](0,0) > \endpsgraph > \end{center} > \end{figure} > \end{document} > > The points appear at the correct position. > > Kind regards Frank > > From efrat10 at gmx.de Sat Feb 9 14:16:52 2013 From: efrat10 at gmx.de (Niklas Nawrath) Date: Sat, 9 Feb 2013 14:16:52 +0100 Subject: [pstricks] Problem setting up the correct labels In-Reply-To: References: Message-ID: <51164C44.4080705@gmx.de> Hi Frank, It seems to be a Problem with the number of decimal digits. With 1.0, it works for me: \documentclass{scrartcl} \usepackage{pst-all} \usepackage{pstricks-add} \begin{document} \begin{figure} \begin{center} \psgraph[Ox=-3.5,Oy=-3.5,Dx=1.0,Dy=1.0]{-}(-3.5,-3.5)(-3.5,-3.5)(0.5,0.5){5cm}{5cm} \psdots[dotstyle=o, dotsize=6pt](-3.5,-3.5)(0.5,0.5) \psdots[dotstyle=*, dotsize=6pt](0,0) \endpsgraph \end{center} \end{figure} \end{document} Hope it works for you too. Kind Regards, Niklas > Hi, > > > I have a simple problem. > I want a graph starting at -3.5, ending at 0.5 (from left to right) on > both axes and the labels in steps of 1, as -3.5, -2.5, -1.5, -0.5 and > 0.5. > Changing the spread from 1 to 0.5 gets me into trouble as I do not > want to increase the size of the picture. > > This causes trouble however as the labels I get are: -3.5, -2, -1, 0, 1. > The data, however is shown in respect to the labels as I want them. > > Is it, that the 0 as a label has to appear? > > Example: > \documentclass{scrartcl} > > \usepackage{pst-all} > \usepackage{pstricks-add} > > \begin{document} > \begin{figure} > \begin{center} > \psgraph[Ox=-3.5,Oy=-3.5,Dx=1,Dy=1]{-}(-3.5,-3.5)(-3.5,-3.5)(0.5,0.5){5cm}{5cm} > \psdots[dotstyle=o, dotsize=6pt](-3.5,-3.5)(0.5,0.5) > \psdots[dotstyle=*, dotsize=6pt](0,0) > \endpsgraph > \end{center} > \end{figure} > \end{document} > > For me the points (-3.5,-3.5) and (0.5,0.5) appear at the labels -3.5 > and 1, respectively. > The point (0,0) appears at (0.5,0.5). > > So the data is at the correct position, but the labels are wrong. > > > Inverting the axes, in going from 0.5 to -3.5, does not help. > In fact I get the labels 0.5, -0.3, -2, -3, -4. > > \documentclass{scrartcl} > > \usepackage{pst-all} > \usepackage{pstricks-add} > > \begin{document} > \begin{figure} > \begin{center} > \psgraph[Ox=0.5,Oy=0.5,Dx=-1,Dy=-1]{-}(0.5,0.5)(-3.5,-3.5){5cm}{5cm} > \psdots[dotstyle=o, dotsize=6pt](-3.5,-3.5)(0.5,0.5) > \psdots[dotstyle=*, dotsize=6pt](0,0) > \endpsgraph > \end{center} > \end{figure} > \end{document} > > The points appear at the correct position. > > Kind regards Frank > > From cyrille.piatecki at univ-orleans.fr Fri Feb 15 13:00:34 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Fri, 15 Feb 2013 13:00:34 +0100 Subject: [pstricks] a function defined by an infinite serie Message-ID: <511E2362.7030608@univ-orleans.fr> Hello , I wonder how to plot under pstricks the following function \varepsilon(t) = \sum_{n=0}^\infty \frac{\rho^n \cdot t^{n \cdot \alpha}}{\Gamma(n\cdot\alpha +1)}\cdot \epsilon_0 for whichever \rho --- positif or negatif --- and 0 < \alpha <= 1 Thanks for the help Cyrille Piatecki From usenet at bersch.net Fri Feb 15 13:38:44 2013 From: usenet at bersch.net (Christoph Bersch) Date: Fri, 15 Feb 2013 13:38:44 +0100 Subject: [pstricks] a function defined by an infinite serie In-Reply-To: <511E2362.7030608@univ-orleans.fr> References: <511E2362.7030608@univ-orleans.fr> Message-ID: <511E2C54.5060702@bersch.net> Hi, Am 15.02.2013 13:00, schrieb Cyrille Piatecki: > > I wonder how to plot under pstricks the following function > > \varepsilon(t) = \sum_{n=0}^\infty \frac{\rho^n \cdot t^{n \cdot > \alpha}}{\Gamma(n\cdot\alpha +1)}\cdot \epsilon_0 > > for whichever \rho --- positif or negatif --- and 0< \alpha<= 1 try this: \documentclass{article} \usepackage{pst-plot, pst-math} \begin{document} % #1 is \rho, #2 is \alpha, #3 is summation limit \def\epsilonfunc#1#2#3{% 0 % start value for summation 0 1 #3 { dup #1 exch exp exch #2 mul dup x exch exp 3 -1 roll mul exch 1 add GAMMA div add } for }% \begin{pspicture}[showgrid](10,10) \psplot[plotpoints=30, showpoints]{0}{10}{\epsilonfunc{0.2}{0.5}{30}} \end{pspicture} \end{document} This is with a fixed summation, I don't know the function behavior, so what truncation criterium might be used. Christoph From rshepard at appl-ecosys.com Mon Feb 18 17:20:52 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Mon, 18 Feb 2013 08:20:52 -0800 Subject: [pstricks] Cannot Build Example 59 Message-ID: Within the past couple of weeks I upgraded all PSTricks packages with Herbert's inclusive set. Today I downloaded the 2D example 59 and tried to compile it but it throws an error; the error log is attached. For some reason this line causes TeX to fail: \psset{interrupt={15,1,30}} A clue on what I need to fix will be appreciated. TIA, Rich -------------- next part -------------- This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011TeX Live 2011/Slackware (SBo)) (format=latex 2011.9.6) 18 FEB 2013 08:15 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **exa059.tex (./exa059.tex LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded . (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c at part=\count79 \c at section=\count80 \c at subsection=\count81 \c at subsubsection=\count82 \c at paragraph=\count83 \c at subparagraph=\count84 \c at figure=\count85 \c at table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/pst-plot/pst-plot.sty Package: pst-plot 2011/06/05 v1.00 LaTeX wrapper for `pst-plot' (HV) (/usr/share/texmf-dist/tex/latex/pstricks/pstricks.sty Package: pstricks 2012/08/24 v0.53 LaTeX wrapper for `PSTricks' (RN,HV) (/usr/share/texmf-dist/tex/generic/pstricks/pstricks.tex (/usr/share/texmf-dist/tex/generic/xkeyval/pst-xkey.tex File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) (/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty Package: xkeyval 2008/08/13 v2.6a package option processing (HA) (/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex \XKV at toks=\toks14 \XKV at tempa@toks=\toks15 \XKV at depth=\count87 File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA) (/usr/share/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/share/texmf/tex/generic/pstricks/pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv) \pstFP at xs=\count88 \pstFP at xia=\count89 \pstFP at xib=\count90 \pstFP at xfa=\count91 \pstFP at xfb=\count92 \pstFP at rega=\count93 \pstFP at regb=\count94 \pstFP at regs=\count95 \pstFP at times=\count96 ) (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex \pgfutil at everybye=\toks16 ) (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex \pgfkeys at pathtoks=\toks17 \pgfkeys at temptoks=\toks18 (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex \pgfkeys at tmptoks=\toks19 )) (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex \pgffor at iter=\dimen103 \pgffor at skip=\dimen104 \pgffor at stack=\toks20 \pgffor at toks=\toks21 ) \psLoopIndex=\count97 `PSTricks' v2.35 <2012/12/21> (tvz) \pst at dima=\dimen105 \pst at dimb=\dimen106 \pst at dimc=\dimen107 \pst at dimd=\dimen108 \pst at dimg=\dimen109 \pst at dimh=\dimen110 \pst at dimm=\dimen111 \pst at dimn=\dimen112 \pst at dimo=\dimen113 \pst at dimp=\dimen114 \pst at hbox=\box26 \pst at ibox=\box27 \pst at boxg=\box28 \pst at cnta=\count98 \pst at cntb=\count99 \pst at cntc=\count100 \pst at cntd=\count101 \pst at cntg=\count102 \pst at cnth=\count103 \pst at cntm=\count104 \pst at cntn=\count105 \pst at cnto=\count106 \pst at cntp=\count107 \@zero=\count108 \pst at toks=\toks22 (/usr/share/texmf-dist/tex/generic/pstricks/pstricks.con) \psunit=\dimen115 \psxunit=\dimen116 \psyunit=\dimen117 \pst at C@@rType=\count109 \pslinewidth=\dimen118 \psk at startLW=\dimen119 \psk at endLW=\dimen120 \pst at customdefs=\toks23 \pslinearc=\dimen121 \pst at symbolStep=\dimen122 \pst at symbolWidth=\dimen123 \pst at symbolLinewidth=\dimen124 \everypsbox=\toks24 \psframesep=\dimen125 \pslabelsep=\dimen126 \pst at shift=\dimen127 \theoverlaybox=\box29 ) File: pstricks.tex 2012/12/21 v2.35 `PSTricks' (tvz,hv) (/usr/share/texmf/tex/generic/pstricks/pst-fp.tex) File: pst-fp.tex 2012/12/21 v2.35 `PST-fp' (hv) File: pstricks.pro 2012/10/16 v. 1.15, PostScript prologue file (hv) File: pst-algparser.pro 2011/10/31 v. 0.04, PostScript prologue file (hv) File: pst-tools.pro 2012/01/01 v. 0.02, PostScript prologue file (hv) File: pst-dots.pro 2006/12/19 v. 2.00, PostScript prologue file (hv) (/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) (/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive ) Package xcolor Info: Driver file: dvips.def on input line 225. (/usr/share/texmf-dist/tex/latex/graphics/dvips.def File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) ) Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337. Package xcolor Info: Model `RGB' extended on input line 1353. Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355. Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356. Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357. Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358. Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359. Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360. )) (/usr/share/texmf-dist/tex/latex/xkeyval/pst-xkey.sty Package: pst-xkey 2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA) ) (/usr/share/texmf-dist/tex/latex/multido/multido.sty Package: multido 2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN) (/usr/share/texmf-dist/tex/generic/multido/multido.tex v1.42, 2010/05/14 \multido at count=\count110 \multidocount=\count111 \multido at stuff=\toks25 ) File: multido.tex 2010/05/14 v1.42 `multido' (tvz,hv) ) Package: pst-plot 2011/04/13 package wrapper for pst-plot.tex (hv) (/usr/share/texmf/tex/generic/pst-plot/pst-plot.tex v1.29, 2011/04/13 (tvz,hv) \pstRadUnit=\dimen128 \pstRadUnitInv=\dimen129 \pst at linecnt=\count112 \psk at subticksize=\dimen130 \pst at xticksizeA=\dimen131 \pst at xticksizeB=\dimen132 \pst at xticksizeC=\dimen133 \pst at yticksizeA=\dimen134 \pst at yticksizeB=\dimen135 \pst at yticksizeC=\dimen136 \@digitcounter=\count113 \psk at llx=\dimen137 \psk at lly=\dimen138 \psk at urx=\dimen139 \psk at ury=\dimen140 \pst at xunit=\dimen141 \pst at yunit=\dimen142 ) File: pst-plot.tex 2011/04/13 1.29 `pst-plot' (tvz,hv) ) (./exa059.aux) \openout1 = `exa059.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: External font `cmex10' loaded for size (Font) <7> on input line 9. LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line 9. LaTeX Font Info: External font `cmex10' loaded for size (Font) <20.74> on input line 9. LaTeX Font Info: External font `cmex10' loaded for size (Font) <14.4> on input line 9. LaTeX Font Info: External font `cmex10' loaded for size (Font) <12> on input line 9. ! Package xkeyval Error: `interrupt' undefined in families `,pstricks,pst-plot' . See the xkeyval package documentation for explanation. Type H for immediate help. ... l.12 \psset{interrupt={15,1,30}} ? x Here is how much of TeX's memory you used: 3616 strings out of 493634 56668 string characters out of 3148827 144148 words of memory out of 3000000 6926 multiletter control sequences out of 15000+200000 7302 words of font info for 26 fonts, out of 3000000 for 9000 831 hyphenation exceptions out of 8191 44i,6n,53p,312b,321s stack positions out of 5000i,500n,10000p,200000b,50000s No pages of output. From Herbert.Voss at FU-Berlin.DE Mon Feb 18 18:02:34 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 18 Feb 2013 18:02:34 +0100 Subject: [pstricks] Cannot Build Example 59 In-Reply-To: References: Message-ID: <51225EAA.2080103@FU-Berlin.DE> On 18.02.2013 17:20, Rich Shepard wrote: > Within the past couple of weeks I upgraded all PSTricks packages with > Herbert's inclusive set. Today I downloaded the 2D example 59 and tried to > compile it but it throws an error; the error log is attached. > > For some reason this line causes TeX to fail: > \psset{interrupt={15,1,30}} > > A clue on what I need to fix will be appreciated. I need at least the information about your versions. However, I suppose an old pst-plot.tex which was used instead of the new one. Herbert From rshepard at appl-ecosys.com Mon Feb 18 18:46:03 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Mon, 18 Feb 2013 09:46:03 -0800 Subject: [pstricks] Cannot Build Example 59 [RESOLVED] In-Reply-To: <51225EAA.2080103@FU-Berlin.DE> References: <51225EAA.2080103@FU-Berlin.DE> Message-ID: On Mon, 18 Feb 2013, Herbert Voss wrote: > I need at least the information about your versions. However, I suppose an > old pst-plot.tex which was used instead of the new one. Herbert, From the log file: Package: pst-plot 2011/06/05 v1.00 LaTeX wrapper for `pst-plot' (HV). Looks recent to me. Is there a newer version of pst-plot? I see that version 1.44 is now current. Sigh. Thought that I had all the latest versions. Now I have pst-plot updated. Thanks, Rich From Herbert.Voss at FU-Berlin.DE Mon Feb 18 19:32:02 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 18 Feb 2013 19:32:02 +0100 Subject: [pstricks] Cannot Build Example 59 [RESOLVED] In-Reply-To: References: <51225EAA.2080103@FU-Berlin.DE> Message-ID: <512273A2.40703@FU-Berlin.DE> On 18.02.2013 18:46, Rich Shepard wrote: > On Mon, 18 Feb 2013, Herbert Voss wrote: > >> I need at least the information about your versions. However, I >> suppose an >> old pst-plot.tex which was used instead of the new one. > > From the log file: Package: pst-plot 2011/06/05 v1.00 LaTeX wrapper for > `pst-plot' (HV). Looks recent to me. Is there a newer version of pst-plot? Rich, that is the version of pst-plot.sty which is only the wrapper for the important pst-plot.tex (1.44) > I see that version 1.44 is now current. Sigh. Thought that I had all the > latest versions. Now I have pst-plot updated. Herbert From rshepard at appl-ecosys.com Mon Feb 18 19:41:30 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Mon, 18 Feb 2013 10:41:30 -0800 Subject: [pstricks] Cannot Build Example 59 [RESOLVED] In-Reply-To: <512273A2.40703@FU-Berlin.DE> References: <51225EAA.2080103@FU-Berlin.DE> <512273A2.40703@FU-Berlin.DE> Message-ID: On Mon, 18 Feb 2013, Herbert Voss wrote: > Rich, that is the version of pst-plot.sty which is only the wrapper > for the important pst-plot.tex (1.44) Herbert, I grabbed the lastest pst-plot.tex and pst-plot.sty and put them in the proper subdirectories. Figure compiles now. Thanks, Rich From Poul.Riis at skolekom.dk Mon Feb 18 21:38:44 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Mon, 18 Feb 2013 21:38:44 +0100 Subject: [pstricks] psPrintValue, decimals Message-ID: How can I avoid decimals in the example below (decimals=0 does not work as expected)? Poul Riis \documentclass[12pt,a4paper]{article} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} \usepackage[danish]{babel} \usepackage{amsmath} \usepackage[svgnames,x11names]{xcolor} \usepackage{multido} \usepackage{pst-func} \usepackage{pstricks-add} \begin{pspicture}(-5,-5)(5,5) \multido{\nn=30+30}{11}{% \psset{linecolor={[tHsb]{\nn,1,1}}} \pstVerb{/theta \nn\space 2 div def} \psline[linewidth=0.5pt,arrows=->](!0 0)(!theta cos 5 mul theta sin 5 mul) \uput{2.5mm}[!theta]{!theta}(!theta cos 5 mul theta sin 5 mul){\psPrintValue[decimals=0,valuewidth=5,fontscale=8]{theta}}% } \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Feb 18 22:12:16 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 18 Feb 2013 22:12:16 +0100 Subject: [pstricks] psPrintValue, decimals In-Reply-To: References: Message-ID: <51229930.6020300@FU-Berlin.DE> On 18.02.2013 21:38, Poul Riis wrote: > How can I avoid decimals in the example below (decimals=0 does not work > as expected)? > \documentclass[12pt,a4paper]{article} > \usepackage[ansinew]{inputenc} > \usepackage[T1]{fontenc} > \usepackage[danish]{babel} > \usepackage{amsmath} > \usepackage[svgnames,x11names]{xcolor} > \usepackage{multido} > \usepackage{pst-func} > \usepackage{pstricks-add} > > > \begin{pspicture}(-5,-5)(5,5) > \multido{\nn=30+30}{11}{% > \psset{linecolor={[tHsb]{\nn,1,1}}} > \pstVerb{/theta \nn\space 2 div def} > \psline[linewidth=0.5pt,arrows=->](!0 0)(!theta cos 5 mul theta sin 5 mul) > \uput{2.5mm}[!theta]{!theta}(!theta cos 5 mul theta sin 5 > mul){\psPrintValue[decimals=0,valuewidth=5,fontscale=8]{theta}}% \psPrintValue[valuewidth=5,fontscale=8]{theta cvi} Herbert From Patrice.MEGRET at umons.ac.be Mon Mar 4 15:27:16 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Mon, 4 Mar 2013 14:27:16 +0000 Subject: [pstricks] problem in log plot Message-ID: <3C5DBA7226EE2942A50BFC1C71B035C072E19371@EXCHANGEDB1.umons.ac.be> Dear Herbert, I have a trouble with log graphs. (I used pst-plot 1.44) I understand subtick=10 as the number of intervals between two mains ticks thus drawing 9 subtick lines. But when I used the following code, I got 1 subtick in log graph and no in Cartesian graph. (By default subtick is 0) \documentclass{report} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-1,-1)(5,5) \psaxes[xylogBase=10,logLines=all](5,5) \end{pspicture} \hspace{1cm} \begin{pspicture}(-1,-1)(5,5) \psaxes[axesstyle=frame,ticksize=0 5](5,5) \end{pspicture} \end{document} To draw 10 subticks in log graph one should use subtick=9 whereas in rectangular plot one should use subtick=9. \documentclass{report} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-1,-1)(5,5) \psaxes[xylogBase=10,logLines=all,subticks=9,subticksize=0](5,5) \end{pspicture} \hspace{1cm} \begin{pspicture}(-1,-1)(5,5) \psaxes[axesstyle=frame,ticksize=0 5,subticks=10,subticksize=0](5,5) \end{pspicture} \end{document} If I looked at the example in your book (English edition, 2011), most log examples are draw with subtick=10 whereas now on the website examples it is subtick=9. So for log plit, we have to do subtick rect-1. Moreover subticks=10, ... 20, ... seems to draw incorrectly. By the way, in log graph setting subticksize=0 to cancel drawing has no effect. For both kind of graphs, I have also a small trouble with (sub)tickwidth=0pt and (sub)ticklinestyle=none: the lines are still drawn. \psset{yunit=1.5cm,xunit=3cm} \begin{pspicture}(-1.25,-4.75)(3.25,.75) \psaxes[xticksize=-4.5 0.5,ticklinestyle=dashed,subticks=5,xsubticksize=1,% ysubticksize=0.75,xsubticklinestyle=none,xsubtickwidth=0pt, subtickcolor=gray]{->}(0,0)(-1,-4)(3.25,0.5) \end{pspicture} I believe there is a bug in the code for log line and I would prefer to have the same behavior for rectangular and log plots. Best regards, Patrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From Patrice.MEGRET at umons.ac.be Mon Mar 4 17:56:43 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Mon, 4 Mar 2013 16:56:43 +0000 Subject: [pstricks] linewidth Message-ID: <3C5DBA7226EE2942A50BFC1C71B035C072E1A879@EXCHANGEDB1.umons.ac.be> Dear Herbert, I was thinking to know pstricks but I become crazy with this simple code: \documentclass{report} \usepackage{pstricks} \begin{document} \begin{pspicture}(4,4) \psline[linewidth=0pt,linestyle=dashed](1,1) \end{pspicture} \end{document} When linestyle is 'dotted' and linewidth is 0pt nothing is displayed as I expect but when linestyle is 'dashed' or 'solid' with linewidth=0pt, a line is nevertheless drawn? Is the normal behavior? Thanks for your help Patrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From lfsequeira at gmail.com Tue Mar 5 12:14:12 2013 From: lfsequeira at gmail.com (Luis Sequeira) Date: Tue, 5 Mar 2013 11:14:12 +0000 Subject: [pstricks] linewidth Message-ID: > Dear Herbert, > > I was thinking to know pstricks but I become crazy with this simple code: > > > \documentclass{report} > \usepackage{pstricks} > > \begin{document} > > \begin{pspicture}(4,4) > \psline[linewidth=0pt,linestyle=dashed](1,1) > \end{pspicture} > > \end{document} > > When linestyle is 'dotted' and linewidth is 0pt nothing is displayed as I expect but when linestyle is 'dashed' or 'solid' with linewidth=0pt, a line is nevertheless drawn? > Is the normal behavior? It seems a bit strange, I agree (I actually get a line in every case) Anyway, the right way to have a line (say, in a path, like in a \pscustom) but not draw anything is NOT to set the width to zero; you should use linestyle=none. e.g.: \psline[linestyle=none](1,1) Luis Sequeira From usenet at bersch.net Tue Mar 5 13:03:17 2013 From: usenet at bersch.net (Christoph Bersch) Date: Tue, 5 Mar 2013 13:03:17 +0100 Subject: [pstricks] linewidth In-Reply-To: <3C5DBA7226EE2942A50BFC1C71B035C072E1A879@EXCHANGEDB1.umons.ac.be> References: <3C5DBA7226EE2942A50BFC1C71B035C072E1A879@EXCHANGEDB1.umons.ac.be> Message-ID: <5135DF05.7020907@bersch.net> Hi, Am 04.03.2013 17:56, schrieb Patrice M?GRET: > > \psline[linewidth=0pt,linestyle=dashed](1,1) > > When linestyle is ?dotted? and linewidth is 0pt nothing is displayed as > I expect but when linestyle is ?dashed? or ?solid? with linewidth=0pt, a > line is nevertheless drawn? I do also see a line with dotted style. > Is the normal behavior? Yes, this is normal. Quoting the Postscript language reference : setlinewidth (which is called when using the PSTricks linewidth parameter): A line width of 0 is acceptable, and is interpreted as the thinnest line that can be rendered at device resolution?1 device pixel wide. However, some devices can- not reproduce 1-pixel lines, and on high-resolution devices, they are nearly invis- ible. Since the results of rendering such ?zero-width? lines are device-dependent, their use is not recommended. To suppress the line you must use linestyle=none. Best regards, Christoph From Patrice.MEGRET at umons.ac.be Tue Mar 5 15:28:32 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Tue, 5 Mar 2013 14:28:32 +0000 Subject: [pstricks] linewidth In-Reply-To: <5135DF05.7020907@bersch.net> References: <3C5DBA7226EE2942A50BFC1C71B035C072E1A879@EXCHANGEDB1.umons.ac.be> <5135DF05.7020907@bersch.net> Message-ID: <3C5DBA7226EE2942A50BFC1C71B035C072E1B513@EXCHANGEDB1.umons.ac.be> Dear Christophe, Dear Luis, Thanks for your info. Of course, linestyle=none is the best way to proceed. In fact, I have some trouble with sublines on graphs and as I used the linewidth parameter for this lines, I was thinking to put linewidth=0pt to temporally disable the drawing of that part of the graph. Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Christoph Bersch Envoy??: mardi 5 mars 2013 13:03 ??: pstricks at tug.org Objet?: Re: [pstricks] linewidth Hi, Am 04.03.2013 17:56, schrieb Patrice M?GRET: > > \psline[linewidth=0pt,linestyle=dashed](1,1) > > When linestyle is 'dotted' and linewidth is 0pt nothing is displayed > as I expect but when linestyle is 'dashed' or 'solid' with > linewidth=0pt, a line is nevertheless drawn? I do also see a line with dotted style. > Is the normal behavior? Yes, this is normal. Quoting the Postscript language reference : setlinewidth (which is called when using the PSTricks linewidth parameter): A line width of 0 is acceptable, and is interpreted as the thinnest line that can be rendered at device resolution-1 device pixel wide. However, some devices can- not reproduce 1-pixel lines, and on high-resolution devices, they are nearly invis- ible. Since the results of rendering such "zero-width" lines are device-dependent, their use is not recommended. To suppress the line you must use linestyle=none. Best regards, Christoph _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Wed Mar 6 10:35:47 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 6 Mar 2013 10:35:47 +0100 Subject: [pstricks] problem in log plot In-Reply-To: <3C5DBA7226EE2942A50BFC1C71B035C072E19371@EXCHANGEDB1.umons.ac.be> References: <3C5DBA7226EE2942A50BFC1C71B035C072E19371@EXCHANGEDB1.umons.ac.be> Message-ID: <51370DF3.7080903@FU-Berlin.DE> On 04.03.2013 15:27, Patrice M?GRET wrote: > I believe there is a bug in the code for log line and I would prefer to > have the same behavior for rectangular and log plots. Patrice, that behaviour cannot be changed. There are too many examples which use it. Herbert From Patrice.MEGRET at umons.ac.be Thu Mar 7 09:51:19 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Thu, 7 Mar 2013 08:51:19 +0000 Subject: [pstricks] problem in log plot In-Reply-To: <51370DF3.7080903@FU-Berlin.DE> References: <3C5DBA7226EE2942A50BFC1C71B035C072E19371@EXCHANGEDB1.umons.ac.be> <51370DF3.7080903@FU-Berlin.DE> Message-ID: <3C5DBA7226EE2942A50BFC1C71B035C072E1C0F1@EXCHANGEDB1.umons.ac.be> Dear Herbert, No problem to use "subtick-1" in log plot but there is still a problem with more than 9 subticks as in the example below: \documentclass{report} \usepackage{pst-all} \begin{document} \psset{unit=5cm} \begin{pspicture}(-1,-1)(2,2) \psaxes[xylogBase=10,logLines=all,subticks=19](2,2) %\psdot(! 2 log 2 log) \multido{\r=1.0+0.5}{19}{\psdot(! \r\space log \r\space log)} \end{pspicture} \end{document} It works perfectly for subticks=0 ... 9 but for subticks >= 10, there is a line to the left (see ps file with subticks=19) Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: mercredi 6 mars 2013 10:36 ??: pstricks at tug.org Objet?: Re: [pstricks] problem in log plot On 04.03.2013 15:27, Patrice M?GRET wrote: > I believe there is a bug in the code for log line and I would prefer > to have the same behavior for rectangular and log plots. Patrice, that behaviour cannot be changed. There are too many examples which use it. Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Document-TeX 2.ps Type: application/postscript Size: 181155 bytes Desc: Document-TeX 2.ps URL: From Herbert.Voss at FU-Berlin.DE Thu Mar 7 15:54:29 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 7 Mar 2013 15:54:29 +0100 Subject: [pstricks] problem in log plot In-Reply-To: <3C5DBA7226EE2942A50BFC1C71B035C072E1C0F1@EXCHANGEDB1.umons.ac.be> References: <3C5DBA7226EE2942A50BFC1C71B035C072E19371@EXCHANGEDB1.umons.ac.be> <51370DF3.7080903@FU-Berlin.DE> <3C5DBA7226EE2942A50BFC1C71B035C072E1C0F1@EXCHANGEDB1.umons.ac.be> Message-ID: <5138AA25.2010701@FU-Berlin.DE> On 07.03.2013 09:51, Patrice M?GRET wrote: > No problem to use "subtick-1" in log plot but there is still a problem with more than 9 subticks as in the example below: Patrice, the whole code for the log axes are really complecated and unless someone else will rewrite the code it will not be changed in the near future Herbert From Patrice.MEGRET at umons.ac.be Thu Mar 7 17:33:52 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Thu, 7 Mar 2013 16:33:52 +0000 Subject: [pstricks] problem in log plot In-Reply-To: <5138AA25.2010701@FU-Berlin.DE> References: <3C5DBA7226EE2942A50BFC1C71B035C072E19371@EXCHANGEDB1.umons.ac.be> <51370DF3.7080903@FU-Berlin.DE> <3C5DBA7226EE2942A50BFC1C71B035C072E1C0F1@EXCHANGEDB1.umons.ac.be> <5138AA25.2010701@FU-Berlin.DE> Message-ID: <3C5DBA7226EE2942A50BFC1C71B035C072E1D1B6@EXCHANGEDB1.umons.ac.be> Dear Herbert, For now, it works fine for 10 divisions (9 sublines) inside a decade and it is the way most of people will use it. I will try to find time to go into the code because it was working in the past (example 15-01-54 of the English edition of your pstricks books, UIT Cambridge, 20111). Could you be please send me the pst-plot code that was used that time, thanks. Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: jeudi 7 mars 2013 15:54 ??: pstricks at tug.org Objet?: Re: [pstricks] problem in log plot On 07.03.2013 09:51, Patrice M?GRET wrote: > No problem to use "subtick-1" in log plot but there is still a problem with more than 9 subticks as in the example below: Patrice, the whole code for the log axes are really complecated and unless someone else will rewrite the code it will not be changed in the near future Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Thu Mar 7 18:50:28 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 7 Mar 2013 18:50:28 +0100 Subject: [pstricks] problem in log plot In-Reply-To: <3C5DBA7226EE2942A50BFC1C71B035C072E1D1B6@EXCHANGEDB1.umons.ac.be> References: <3C5DBA7226EE2942A50BFC1C71B035C072E19371@EXCHANGEDB1.umons.ac.be> <51370DF3.7080903@FU-Berlin.DE> <3C5DBA7226EE2942A50BFC1C71B035C072E1C0F1@EXCHANGEDB1.umons.ac.be> <5138AA25.2010701@FU-Berlin.DE> <3C5DBA7226EE2942A50BFC1C71B035C072E1D1B6@EXCHANGEDB1.umons.ac.be> Message-ID: <5138D364.2050508@FU-Berlin.DE> On 07.03.2013 17:33, Patrice M?GRET wrote: > For now, it works fine for 10 divisions (9 sublines) inside a decade and it is the way most of people will use it. > > I will try to find time to go into the code because it was working in the past (example 15-01-54 of the English edition of your pstricks books, UIT Cambridge, 20111). Could you be please send me the pst-plot code that was used that time, thanks. Patrice, try the attached version. You should rename it to prevent conflicts with the current version Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: pst-plot.tex Type: text/x-tex Size: 86350 bytes Desc: not available URL: From the.counterterrorist at yahoo.com Mon Mar 11 00:29:29 2013 From: the.counterterrorist at yahoo.com (Counter Terrorist) Date: Sun, 10 Mar 2013 16:29:29 -0700 Subject: [pstricks] A GhostScript error when using fillstyle=dots Message-ID: <1362958169.45691.YahooMailNeo@web162603.mail.bf1.yahoo.com> Dear folks, The following can be compiled successfully with latex and dvips but cannot be proceeded with ps2pdf. \documentclass[pstricks,border=12pt]{standalone} \begin{document} \begin{pspicture}(-2,-2)(10,2) \pscircle[hatchcolor=gray,hatchsep=10pt,hatchwidth=3pt,fillstyle=dots]{2} \pscircle[hatchcolor=gray,hatchsep=10pt,hatchwidth=3pt,fillstyle=dots*](4,0){2} \psframe[hatchcolor=blue!30,linecolor=red,hatchsep=12pt,hatchwidth=4pt,fillstyle=dots*](6,-2)(10,2) \end{pspicture} \end{document} Is it a bug? Thank you in advance. best regards, GC http://tex.stackexchange.com/users/19356/garbage-collector -------------- next part -------------- An HTML attachment was scrubbed... URL: From wgrundlingh at gmail.com Mon Mar 11 02:43:13 2013 From: wgrundlingh at gmail.com (Werner Grundlingh) Date: Sun, 10 Mar 2013 18:43:13 -0700 Subject: [pstricks] A GhostScript error when using fillstyle=dots In-Reply-To: <1362958169.45691.YahooMailNeo@web162603.mail.bf1.yahoo.com> References: <1362958169.45691.YahooMailNeo@web162603.mail.bf1.yahoo.com> Message-ID: No problem here: *File List* standalone.cls 2012/09/15 v1.1b Class to compile TeX sub-files standalone ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO) ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO) ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional xkeyval.sty 2012/10/14 v2.6b package option processing (HA) xkeyval.tex 2012/10/14 v2.6b key=value parser (HA) standalone.cfg 2012/09/15 v1.1b Default configuration file for 'standalone' class article.cls 2007/10/19 v1.4h Standard LaTeX document class size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) pstricks.sty 2012/08/24 v0.53 LaTeX wrapper for `PSTricks' (RN,HV) pstricks.tex 2013/03/09 v2.36 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) pst-fp.tex 2013/03/09 v2.36 `PST-fp' (hv) xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) *********** The same output as in pst-news11 . On Sun, Mar 10, 2013 at 4:29 PM, Counter Terrorist < the.counterterrorist at yahoo.com> wrote: > Dear folks, > > The following can be compiled successfully with latex and dvips but cannot > be proceeded with ps2pdf. > > \documentclass[pstricks,border=12pt]{standalone} > \begin{document} > \begin{pspicture}(-2,-2)(10,2) > \pscircle[hatchcolor=gray,hatchsep=10pt,hatchwidth=3pt,fillstyle=dots]{2} > > \pscircle[hatchcolor=gray,hatchsep=10pt,hatchwidth=3pt,fillstyle=dots*](4,0){2} > > \psframe[hatchcolor=blue!30,linecolor=red,hatchsep=12pt,hatchwidth=4pt,fillstyle=dots*](6,-2)(10,2) > \end{pspicture} > \end{document} > > > Is it a bug? > > > Thank you in advance. > > best regards, > > > GC > http://tex.stackexchange.com/users/19356/garbage-collector > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From the.counterterrorist at yahoo.com Mon Mar 11 09:23:54 2013 From: the.counterterrorist at yahoo.com (Counter Terrorist) Date: Mon, 11 Mar 2013 01:23:54 -0700 Subject: [pstricks] A GhostScript error when using fillstyle=dots In-Reply-To: References: <1362958169.45691.YahooMailNeo@web162603.mail.bf1.yahoo.com> Message-ID: <1362990234.21683.YahooMailNeo@web162603.mail.bf1.yahoo.com> Dear Werner, Thank you for the hint. The problem no longer exists after updating my pstricks.tex and pst-fp.tex. regards, GC ________________________________ From: Werner Grundlingh To: Counter Terrorist ; Graphics with PSTricks Sent: Monday, March 11, 2013 8:43 AM Subject: Re: [pstricks] A GhostScript error when using fillstyle=dots No problem here: ?*File List* standalone.cls ? ?2012/09/15 v1.1b Class to compile TeX sub-files standalone ifluatex.sty ? ?2010/03/01 v1.3 Provides the ifluatex switch (HO) ? ?ifpdf.sty ? ?2011/01/30 v2.3 Provides the ifpdf switch (HO) ?ifxetex.sty ? ?2010/09/12 v0.6 Provides ifxetex conditional ?xkeyval.sty ? ?2012/10/14 v2.6b package option processing (HA) ?xkeyval.tex ? ?2012/10/14 v2.6b key=value parser (HA) standalone.cfg ? ?2012/09/15 v1.1b Default configuration file for 'standalone'? class ?article.cls ? ?2007/10/19 v1.4h Standard LaTeX document class ? size10.clo ? ?2007/10/19 v1.4h Standard LaTeX file (size option) pstricks.sty ? ?2012/08/24 v0.53 LaTeX wrapper for `PSTricks' (RN,HV) pstricks.tex ? ?2013/03/09 v2.36 `PSTricks' (tvz,hv) pst-xkey.tex ? ?2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) ? pst-fp.tex ? ?2013/03/09 v2.36 `PST-fp' (hv) ? xcolor.sty ? ?2007/01/21 v2.11 LaTeX color extensions (UK) ? ?color.cfg ? ?2007/01/18 v1.5 color configuration of teTeX/TeXLive ? ?dvips.def ? ?1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) ?*********** The same output as in pst-news11. On Sun, Mar 10, 2013 at 4:29 PM, Counter Terrorist wrote: Dear folks, > > >The following can be compiled successfully with latex and dvips but cannot be proceeded with ps2pdf. > > >\documentclass[pstricks,border=12pt]{standalone} >\begin{document} >\begin{pspicture}(-2,-2)(10,2) >\pscircle[hatchcolor=gray,hatchsep=10pt,hatchwidth=3pt,fillstyle=dots]{2} >\pscircle[hatchcolor=gray,hatchsep=10pt,hatchwidth=3pt,fillstyle=dots*](4,0){2} >\psframe[hatchcolor=blue!30,linecolor=red,hatchsep=12pt,hatchwidth=4pt,fillstyle=dots*](6,-2)(10,2) >\end{pspicture} >\end{document} > > > > >Is it a bug? > > > > >Thank you in advance. > > >best regards, > > > > >GC >http://tex.stackexchange.com/users/19356/garbage-collector > >_______________________________________________ >PSTricks mailing list >PSTricks at tug.org >http://tug.org/mailman/listinfo/pstricks >archive: http://www.tug.org/pipermail/pstricks/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyrille.piatecki at univ-orleans.fr Wed Mar 13 13:07:33 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Wed, 13 Mar 2013 13:07:33 +0100 Subject: [pstricks] pst-math Message-ID: <51406C05.60008@univ-orleans.fr> I wonder if for the pst-math function the option algebraic works ? Thanks From Herbert.Voss at FU-Berlin.DE Wed Mar 13 17:27:00 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 13 Mar 2013 17:27:00 +0100 Subject: [pstricks] pst-math In-Reply-To: <51406C05.60008@univ-orleans.fr> References: <51406C05.60008@univ-orleans.fr> Message-ID: <5140A8D4.101@FU-Berlin.DE> On 13.03.2013 13:07, Cyrille Piatecki wrote: > I wonder if for the pst-math function the option algebraic works ? I do not understand what you really mean. Herbert From lfsequeira at gmail.com Thu Mar 14 12:39:59 2013 From: lfsequeira at gmail.com (Luis Sequeira) Date: Thu, 14 Mar 2013 11:39:59 +0000 Subject: [pstricks] pst-math Message-ID: > I wonder if for the pst-math function the option algebraic works ? Yes. The algebraic option is defined in pstricks-add, so if you have both \usepackage{pstricks-add} \usepackage{pst-math} then you can use the functions defined in pst-math with the algebraic notation, e.g. \psset{algebraic=true} \psplot{-10}{10}{2*SIN(x)+1} instead of \psplot{-10}{10}{x SIN 2 mul 1 add} Luis Sequeira From Herbert.Voss at FU-Berlin.DE Thu Mar 14 14:38:24 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 14 Mar 2013 14:38:24 +0100 Subject: [pstricks] pst-math In-Reply-To: References: Message-ID: <5141D2D0.1090104@FU-Berlin.DE> On 14.03.2013 12:39, Luis Sequeira wrote: >> I wonder if for the pst-math function the option algebraic works ? > > Yes. The algebraic option is defined in pstricks-add, so if you have both defined in pstricks.tex, no need for loading pstricks-add pst-math defines only PostScript functions, the reason why it is not of interest if one uses the algebraic option or not. Herbert From cyrille.piatecki at univ-orleans.fr Thu Mar 14 20:58:41 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Thu, 14 Mar 2013 20:58:41 +0100 Subject: [pstricks] PSTricks Digest, Vol 122, Issue 6 In-Reply-To: References: Message-ID: <51422BF1.6040608@univ-orleans.fr> Le 14/03/2013 12:00, pstricks-request at tug.org a ?crit : > 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. pst-math (Cyrille Piatecki) > 2. Re: pst-math (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 13 Mar 2013 13:07:33 +0100 > From: Cyrille Piatecki > To: > Subject: [pstricks] pst-math > Message-ID: <51406C05.60008 at univ-orleans.fr> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > I wonder if for the pst-math function the option algebraic works ? > > Thanks > > > ------------------------------ > > Message: 2 > Date: Wed, 13 Mar 2013 17:27:00 +0100 > From: Herbert Voss > To: > Subject: Re: [pstricks] pst-math > Message-ID: <5140A8D4.101 at FU-Berlin.DE> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > On 13.03.2013 13:07, Cyrille Piatecki wrote: >> I wonder if for the pst-math function the option algebraic works ? > I do not understand what you really mean. > > Herbert > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 122, Issue 6 > **************************************** > In other terms could I typeset \psplot[algebraic]{1}{2}{GAMMA(x)} and this for any function in pst-math SIMPSON.... From the.counterterrorist at yahoo.com Sat Mar 16 14:17:42 2013 From: the.counterterrorist at yahoo.com (Counter Terrorist) Date: Sat, 16 Mar 2013 06:17:42 -0700 Subject: [pstricks] Unknown "feature" for fillcolor and a "bug" in \psmatrix Message-ID: <1363439862.44264.YahooMailNeo@web162601.mail.bf1.yahoo.com> Dear PSTricks maintainers and users, I have 2 "problems" to discuss.? 1. Why is fillcolor reset to white at the begin document? See the code at?http://tex.stackexchange.com/q/102640/19356 2. Should it be regarded as a bug where the rowsep of psmatrix is not accurate? See the code at?http://tex.stackexchange.com/q/102731/19356 I am sorry, I don't attach the MWE (minimal working example) here because? they have been posted ?to an external site with good syntax highlighting support. Thank you in advance. best regards, GC -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sat Mar 16 17:13:05 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 16 Mar 2013 17:13:05 +0100 Subject: [pstricks] Unknown "feature" for fillcolor and a "bug" in \psmatrix In-Reply-To: <1363439862.44264.YahooMailNeo@web162601.mail.bf1.yahoo.com> References: <1363439862.44264.YahooMailNeo@web162601.mail.bf1.yahoo.com> Message-ID: <39074.134.109.148.193.1363450385.webmail@webmail.zedat.fu-berlin.de> Counter Terrorist schrieb: > I have 2 "problems" to discuss.? > > 1. Why is fillcolor reset to white at the begin document? See the code > at?http://tex.stackexchange.com/q/102640/19356 > 2. Should it be regarded as a bug where the rowsep of psmatrix is not > accurate? See the code at?http://tex.stackexchange.com/q/102731/19356 > > I am sorry, I don't attach the MWE (minimal working example) here because? > they have been posted ?to an external site with good syntax highlighting > support. highlighting is not important, post the example! Herbert From the.counterterrorist at yahoo.com Sat Mar 16 18:21:54 2013 From: the.counterterrorist at yahoo.com (Counter Terrorist) Date: Sat, 16 Mar 2013 10:21:54 -0700 Subject: [pstricks] Unknown "feature" for fillcolor and a "bug" in \psmatrix In-Reply-To: <39074.134.109.148.193.1363450385.webmail@webmail.zedat.fu-berlin.de> References: <1363439862.44264.YahooMailNeo@web162601.mail.bf1.yahoo.com> <39074.134.109.148.193.1363450385.webmail@webmail.zedat.fu-berlin.de> Message-ID: <1363454514.44857.YahooMailNeo@web162606.mail.bf1.yahoo.com> Dear Herbert, Here are my MWE. The first problem: \documentclass[preview,border=12pt]{standalone}\usepackage{pstricks}\psset{fillstyle=solid,linecolor=red}% the following setting will be ignored by preview% \psset{fillcolor=green}\begin{document}\preview% Thus the setting must be inside the preview, does it seem strange to you?\psset{fillcolor=green}\psframebox{Karl's students}\endpreview\end{document} The second problem: \documentclass[preview,border=15pt]{standalone}\usepackage{pst-node}\addtopsstyle{gridstyle}{griddots=0}\psset{framearc=0.5, framesep=0.5, linewidth=0.5, colsep=1, rowsep=1, mnode=r, }\def\A{\psframebox{\pspicture(2,1)\psframe*[linecolor=blue](2,1)\endpspicture}}\begin{document}\begin{preview}\pspicture[showgrid=top](6,20)\rput[tl](1,20){%\psmatrix\A\\\A\\\A\\\A\\\A\\\endpsmatrix}\endpspicture\end{preview}\end{document} Thank you in advance. best regards, GC ________________________________ From: Herbert Voss To: Counter Terrorist ; Graphics with PSTricks Sent: Saturday, March 16, 2013 11:13 PM Subject: Re: [pstricks] Unknown "feature" for fillcolor and a "bug" in \psmatrix Counter Terrorist schrieb: > I have 2 "problems" to discuss.? > > ??? 1. Why is fillcolor reset to white at the begin document? See the code > at?http://tex.stackexchange.com/q/102640/19356 > ??? 2. Should it be regarded as a bug where the rowsep of psmatrix is not > accurate? See the code at?http://tex.stackexchange.com/q/102731/19356 > > I am sorry, I don't attach the MWE (minimal working example) here because? > they have been posted ?to an external site with good syntax highlighting > support. highlighting is not important, post the example! Herbert -------------- next part -------------- An HTML attachment was scrubbed... URL: From lichinho at icloud.com Fri Mar 15 12:16:42 2013 From: lichinho at icloud.com (Luis Sequeira) Date: Fri, 15 Mar 2013 11:16:42 +0000 Subject: [pstricks] pst-math Message-ID: <16DA42A5-B8F4-4C76-BC01-00338115E673@icloud.com> > defined in pstricks.tex, no need for loading pstricks-add > I stand corrected on this. Maybe it was first defined in pstricks-add (I think so), and later migrated to the main pstricks package, or maybe I'm totally wrong and it never was in pstricks-add. > pst-math defines only PostScript functions, the reason why it > is not of interest if one uses the algebraic option or not. > > Herbert Herbert, on that I stand my ground. The algebraic option DOES make a difference for pst-math. Regarding Cyrille's question: > In other terms could I typeset > > \psplot[algebraic]{1}{2}{GAMMA(x)} > > and this for any function in pst-math SIMPSON.... > Try \psplot{1}{2}{GAMMA(x)} with the algebraic option set - it WORKS (so, the answer to this question is a resounding YES!). Of course, the above will produce postscript errors if typeset without the algebraic option. Luis Sequeira From Herbert.Voss at FU-Berlin.DE Sun Mar 17 08:44:00 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 17 Mar 2013 08:44:00 +0100 Subject: [pstricks] pst-math In-Reply-To: <16DA42A5-B8F4-4C76-BC01-00338115E673@icloud.com> References: <16DA42A5-B8F4-4C76-BC01-00338115E673@icloud.com> Message-ID: <39567.134.109.148.193.1363506240.webmail@webmail.zedat.fu-berlin.de> Luis Sequeira schrieb: > Try > > \psplot{1}{2}{GAMMA(x)} > > with the algebraic option set - it WORKS (so, the answer to this question > is a resounding YES!). > Of course, the above will produce postscript errors if typeset without the > algebraic option. Luis, please provide _complete_ examples! Herbert From lichinho at icloud.com Sun Mar 17 20:28:25 2013 From: lichinho at icloud.com (Luis Sequeira) Date: Sun, 17 Mar 2013 19:28:25 +0000 Subject: [pstricks] pst-math Message-ID: >> >> Try >> >> \psplot{1}{2}{GAMMA(x)} >> >> with the algebraic option set - it WORKS (so, the answer to this question >> is a resounding YES!). >> Of course, the above will produce postscript errors if typeset without the >> algebraic option. > > Luis, > > please provide _complete_ examples! > > > Herbert I thought my point was clear enough, but below is a complete example. Note how algebraic=true works with the GAMMA function defined in pst-math. Both pspicture environments do the same thing, one with algebraic=true and the other with algebraic=false: the second one requires the postscript notation. Both versions would fail if the algebraic option was reversed, so it simply is not correct to say that the algebraic option is not revelant to pst-math. Luis \documentclass{scrartcl} \usepackage{pstricks,pst-plot,pst-math} \begin{document} \psset{algebraic=true} % \begin{pspicture}(2,2) \psplot{1}{2}{GAMMA(x)+1} %fails with algebraic=false \end{pspicture} \psset{algebraic=false} % \begin{pspicture}(2,2) \psplot{1}{2}{x GAMMA 1 add} %fails with algebraic=true \end{pspicture} \end{document} From Herbert.Voss at FU-Berlin.DE Sun Mar 17 21:37:20 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 17 Mar 2013 21:37:20 +0100 Subject: [pstricks] pst-math In-Reply-To: References: Message-ID: <51462980.20600@FU-Berlin.DE> On 17.03.2013 20:28, Luis Sequeira wrote: > I thought my point was clear enough, but below is a complete example. Note how algebraic=true works with the GAMMA function defined in pst-math. > Both pspicture environments do the same thing, one with algebraic=true and the other with algebraic=false: the second one requires the postscript notation. > Both versions would fail if the algebraic option was reversed, so it simply is not correct to say that the algebraic option is not revelant to pst-math. nobody said, that it is not relevant. It is not important, if you use PostScript functions from pst-math or not. The syntax for using the algebraic option is the same as for standard PostScript functions. \documentclass{scrartcl} \usepackage{pst-math,pst-plot} \begin{document} \begin{pspicture}(2,2) \psplot[algebraic]{1}{2}{GAMMA(x)+1}% algebraic noation \end{pspicture} \begin{pspicture}(2,2) \psplot{1}{2}{x GAMMA 1 add}% PostScript notation \end{pspicture} \end{document} Herbert > > Luis > > > \documentclass{scrartcl} > \usepackage{pstricks,pst-plot,pst-math} > > \begin{document} > \psset{algebraic=true} % > \begin{pspicture}(2,2) > \psplot{1}{2}{GAMMA(x)+1} %fails with algebraic=false > \end{pspicture} > > \psset{algebraic=false} % > \begin{pspicture}(2,2) > \psplot{1}{2}{x GAMMA 1 add} %fails with algebraic=true > \end{pspicture} > > > \end{document} > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From carloalbe1 at yahoo.it Mon Mar 18 09:00:24 2013 From: carloalbe1 at yahoo.it (Carlo Alberini) Date: Mon, 18 Mar 2013 08:00:24 +0000 Subject: [pstricks] alphanumeric fonts In-Reply-To: <51462980.20600@FU-Berlin.DE> References: <51462980.20600@FU-Berlin.DE> Message-ID: <1363593624.48495.YahooMailNeo@web171703.mail.ir2.yahoo.com> Hi list, just a question: is it possible to have, or to find some example of digital alphanumeric fonts with ps-tricks? Thank you so much! Carlo -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Mar 18 17:47:54 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 18 Mar 2013 17:47:54 +0100 Subject: [pstricks] alphanumeric fonts In-Reply-To: <1363593624.48495.YahooMailNeo@web171703.mail.ir2.yahoo.com> References: <51462980.20600@FU-Berlin.DE> <1363593624.48495.YahooMailNeo@web171703.mail.ir2.yahoo.com> Message-ID: <5147453A.7010004@FU-Berlin.DE> On 18.03.2013 09:00, Carlo Alberini wrote: > just a question: is it possible to have, or to find some example of > digital alphanumeric fonts with ps-tricks? You can use of of the free fonts for that instead of defining all characters with PStricks. Herbert From Poul.Riis at skolekom.dk Tue Mar 26 23:10:39 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Tue, 26 Mar 2013 23:10:39 +0100 Subject: [pstricks] Poster and pstricks Message-ID: The following works but as soon as I activate pstricks-add gsview can no longer show the .ps-file. What can I do? Poul Riis \documentclass[a4paper]{article} \usepackage{poster} %\usepackage{pstricks-add} \mag\magstep5 \begin{document} \begin{Poster}[vcenter=true,hcenter=true,clip=pstricks] Here I want to make a pspicture... %\psset{unit=1cm} %\begin{pspicture}(-7,-5)(7,5) %\psframe(-7,-5)(7,5) %\end{pspicture} \end{Poster} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Mar 27 08:11:08 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 27 Mar 2013 08:11:08 +0100 Subject: [pstricks] Poster and pstricks In-Reply-To: References: Message-ID: <51529B8C.7090300@FU-Berlin.DE> On 26.03.2013 23:10, Poul Riis wrote: > The following works but as soon as I activate pstricks-add gsview can no > longer show the .ps-file. > What can I do? > > > \documentclass[a4paper]{article} > \special{ps: (pstricks.pro) run } \usepackage{poster} \usepackage{pstricks-add} and pstricks.pro must be in the documents directory. post is a really old package and needs some rewriting to use the keyval setting from pstricks. Herbert > \usepackage{poster} > %\usepackage{pstricks-add} > > \mag\magstep5 > > \begin{document} > \begin{Poster}[vcenter=true,hcenter=true,clip=pstricks] > Here I want to make a pspicture... > %\psset{unit=1cm} > %\begin{pspicture}(-7,-5)(7,5) > %\psframe(-7,-5)(7,5) > %\end{pspicture} > \end{Poster} > \end{document} From saravanan.murugaiah at gmail.com Thu Mar 28 11:56:43 2013 From: saravanan.murugaiah at gmail.com (Saravanan Murugaiah) Date: Thu, 28 Mar 2013 16:26:43 +0530 Subject: [pstricks] Gradient with Pantone colors Message-ID: Dear All, Is there any possible way to apply gradient with Pantone colors? Kindly let me know if there is a way to achieve the same. Yours Sincerely, MadYuv -------------- next part -------------- An HTML attachment was scrubbed... URL: From pjo at cisunix.unh.edu Fri Mar 29 14:54:25 2013 From: pjo at cisunix.unh.edu (Paul Ossenbruggen) Date: Fri, 29 Mar 2013 09:54:25 -0400 Subject: [pstricks] MacTEX install problems Message-ID: I "successfully" installed MacTEX-2012 and tried to run the examples supplied with the package. Some worked. None of the pstricks or foreign language examples worked. My main is to use "pstricks" and "pst-func." I fear some is wrong with the installation. I cannot find any files described in "What has been installed" pdf. I previously installed TexLive prior to installing MacTEX-2012. My guess that there is installation error. Should I thrash TexLIVE and TexShop and try to install MacTEX-2012 again? From quark67 at free.fr Sun Mar 31 12:33:27 2013 From: quark67 at free.fr (Quark67) Date: Sun, 31 Mar 2013 12:33:27 +0200 Subject: [pstricks] MacTEX install problems In-Reply-To: References: Message-ID: <3B595220-395E-4D9F-9974-015AE1C39569@free.fr> Can you give the text of error you encounter ? Le 29 mars 2013 ? 14:54, Paul Ossenbruggen a ?crit : > I "successfully" installed MacTEX-2012 and tried to run the examples supplied with the package. Some worked. None of the pstricks or foreign language examples worked. My main is to use "pstricks" and "pst-func." > > I fear some is wrong with the installation. I cannot find any files described in "What has been installed" pdf. > > I previously installed TexLive prior to installing MacTEX-2012. My guess that there is installation error. > > Should I thrash TexLIVE and TexShop and try to install MacTEX-2012 again? > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From Herbert.Voss at FU-Berlin.DE Sun Mar 31 20:50:23 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 31 Mar 2013 20:50:23 +0200 Subject: [pstricks] MacTEX install problems In-Reply-To: References: Message-ID: <5158856F.9050302@FU-Berlin.DE> On 29.03.2013 14:54, Paul Ossenbruggen wrote: > I "successfully" installed MacTEX-2012 and tried to run the examples supplied with the package. Some worked. None of the pstricks or foreign language examples worked. My main is to use "pstricks" and "pst-func." > > I fear some is wrong with the installation. I cannot find any files described in "What has been installed" pdf. > > I previously installed TexLive prior to installing MacTEX-2012. My guess that there is installation error. > > Should I thrash TexLIVE and TexShop and try to install MacTEX-2012 again? you have to run xelatex or the sequence latex->dvips->ps2pdf and _not_ pdflatex Herbert From Herbert.Voss at FU-Berlin.DE Sun Mar 31 20:56:31 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 31 Mar 2013 20:56:31 +0200 Subject: [pstricks] Gradient with Pantone colors In-Reply-To: References: Message-ID: <515886DF.3030005@FU-Berlin.DE> On 28.03.2013 11:56, Saravanan Murugaiah wrote: > Is there any possible way to apply gradient with Pantone colors? Kindly > let me know if there is a way to achieve the same. no, there is no example with pantone colors Herbert From doris.behrendt at me.com Sun Apr 14 09:59:17 2013 From: doris.behrendt at me.com (Doris Behrendt) Date: Sun, 14 Apr 2013 09:59:17 +0200 Subject: [pstricks] pst-3dplot and beamer Message-ID: <66F2D9F5-FB20-470B-B266-8E8D5EF91053@me.com> hi list, I want to use pst-3dplot in a beamer presentation, but if I change the following minimal example from article to beamer, it stops working; any suggestions??? \documentclass[ngerman]{article} %\documentclass[ngerman]{beamer} \usepackage{babel} \usepackage{pstricks} \usepackage{pst-3dplot,pst-plot,pst-grad,pst-node} \usepackage{pstricks-add} \begin{document} %\begin{frame} \psframebox{ \begin{pspicture}(-5,-2.5)(5,2.5) \rput(0,0){huhu?} \end{pspicture}} %\end{frame} \end{document} thanx in advance doris From manfred.braun at uni-due.de Sun Apr 14 10:20:23 2013 From: manfred.braun at uni-due.de (Manfred Braun) Date: Sun, 14 Apr 2013 11:20:23 +0300 Subject: [pstricks] pst-3dplot and beamer In-Reply-To: <66F2D9F5-FB20-470B-B266-8E8D5EF91053@me.com> References: <66F2D9F5-FB20-470B-B266-8E8D5EF91053@me.com> Message-ID: Hi Doris, Your example works. I am using a MacBook Pro, OSX 10.6.8, but I didn't update my beamer.cls since 2011. What is your error message? Manfred On 14.04.2013, at 10:59, Doris Behrendt wrote: > hi list, > > I want to use pst-3dplot in a beamer presentation, but if I change the following minimal example from article to beamer, it stops working; > > any suggestions??? > > \documentclass[ngerman]{article} > %\documentclass[ngerman]{beamer} > \usepackage{babel} > \usepackage{pstricks} > \usepackage{pst-3dplot,pst-plot,pst-grad,pst-node} > \usepackage{pstricks-add} > > \begin{document} > > %\begin{frame} > \psframebox{ \begin{pspicture}(-5,-2.5)(5,2.5) > \rput(0,0){huhu?} > \end{pspicture}} > %\end{frame} > \end{document} > > > thanx in advance > doris > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From XC-lemens at web.de Sun Apr 14 10:23:16 2013 From: XC-lemens at web.de (=?ISO-8859-1?Q?Clemens_Sch=E4fermeier?=) Date: Sun, 14 Apr 2013 10:23:16 +0200 Subject: [pstricks] pst-3dplot and beamer In-Reply-To: <66F2D9F5-FB20-470B-B266-8E8D5EF91053@me.com> References: <66F2D9F5-FB20-470B-B266-8E8D5EF91053@me.com> Message-ID: <516A6774.509@web.de> hi doris, with the package etex you can avoid the "No room for a new \dimen ..." error message from 3d-plot. Try this: \documentclass[dvips]{beamer} \usepackage{etex} \usepackage{pstricks,pst-3dplot} \begin{document} \frame{ \psframebox{\begin{pspicture}(-5,-2.5)(5,2.5) \rput(0,0){huhu?} \end{pspicture}} } \end{document} > hi list, > > I want to use pst-3dplot in a beamer presentation, but if I change the following minimal example from article to beamer, it stops working; > > any suggestions??? > > \documentclass[ngerman]{article} > %\documentclass[ngerman]{beamer} > \usepackage{babel} > \usepackage{pstricks} > \usepackage{pst-3dplot,pst-plot,pst-grad,pst-node} > \usepackage{pstricks-add} > > \begin{document} > > %\begin{frame} > \psframebox{ \begin{pspicture}(-5,-2.5)(5,2.5) > \rput(0,0){huhu?} > \end{pspicture}} > %\end{frame} > \end{document} > > > thanx in advance > doris > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From doris.behrendt at me.com Sun Apr 14 10:39:19 2013 From: doris.behrendt at me.com (Doris Behrendt) Date: Sun, 14 Apr 2013 10:39:19 +0200 Subject: [pstricks] pst-3dplot and beamer In-Reply-To: <516A6774.509@web.de> References: <66F2D9F5-FB20-470B-B266-8E8D5EF91053@me.com> <516A6774.509@web.de> Message-ID: <6D088D4A-D644-4758-BB9F-A0A149DB0153@me.com> thanx, l?uft;-) On Apr 14, 2013, at 10:23 AM, Clemens Sch?fermeier wrote: > hi doris, > > with the package etex you can avoid the "No room for a new \dimen ..." error message from 3d-plot. Try this: > > \documentclass[dvips]{beamer} > \usepackage{etex} > \usepackage{pstricks,pst-3dplot} > > \begin{document} > \frame{ > \psframebox{\begin{pspicture}(-5,-2.5)(5,2.5) > \rput(0,0){huhu?} > \end{pspicture}} > } > \end{document} > >> hi list, >> >> I want to use pst-3dplot in a beamer presentation, but if I change the following minimal example from article to beamer, it stops working; >> >> any suggestions??? >> >> \documentclass[ngerman]{article} >> %\documentclass[ngerman]{beamer} >> \usepackage{babel} >> \usepackage{pstricks} >> \usepackage{pst-3dplot,pst-plot,pst-grad,pst-node} >> \usepackage{pstricks-add} >> >> \begin{document} >> >> %\begin{frame} >> \psframebox{ \begin{pspicture}(-5,-2.5)(5,2.5) >> \rput(0,0){huhu?} >> \end{pspicture}} >> %\end{frame} >> \end{document} >> >> >> thanx in advance >> doris >> _______________________________________________ >> PSTricks mailing list >> PSTricks at tug.org >> http://tug.org/mailman/listinfo/pstricks >> archive: http://www.tug.org/pipermail/pstricks/ >> > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ From doris.behrendt at me.com Sun Apr 14 11:16:16 2013 From: doris.behrendt at me.com (Doris Behrendt) Date: Sun, 14 Apr 2013 11:16:16 +0200 Subject: [pstricks] color of labels in 3dplot Message-ID: <855529A0-A504-4871-810A-30F45E3E5673@me.com> hi list, how can I change the color of labels in pst-3dplot? in the 2d-case I can use \labelFontSize=\color{asdf}, but pst-3dplot seems to ignore this ? d From Herbert.Voss at FU-Berlin.DE Sun Apr 14 12:05:03 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 14 Apr 2013 12:05:03 +0200 Subject: [pstricks] color of labels in 3dplot In-Reply-To: <855529A0-A504-4871-810A-30F45E3E5673@me.com> References: <855529A0-A504-4871-810A-30F45E3E5673@me.com> Message-ID: <516A7F4F.7060702@FU-Berlin.DE> On 14.04.2013 11:16, Doris Behrendt wrote: > how can I change the color of labels in pst-3dplot? in the 2d-case I can use \labelFontSize=\color{asdf}, but pst-3dplot seems to ignore this ? \documentclass[ngerman]{beamer} \usepackage{etex} \usepackage{pst-3dplot} \def\psxyzlabel#1{\bgroup\color{blue}\footnotesize\textsf{#1}\egroup} \begin{document} \begin{frame} \psframebox{% \begin{pspicture}(-5,-2.5)(5,2.5) \pstThreeDCoor[IIIDlabels,IIIDticks] \end{pspicture}} \end{frame} \end{document} Herbert From Herbert.Voss at FU-Berlin.DE Thu Apr 18 10:35:22 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 18 Apr 2013 10:35:22 +0200 Subject: [pstricks] Problem with the option printValue which causes an error of ghostscript In-Reply-To: <516EFFF3.5010108@wanadoo.fr> References: <516EFFF3.5010108@wanadoo.fr> Message-ID: <516FB04A.9030203@FU-Berlin.DE> On 17.04.2013 22:02, Fabrice wrote: > |\documentclass[a4paper,11pt]{article} > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > \usepackage{siunitx} > \usepackage[upright]{kpfonts} > \usepackage[frenchb]{babel} > \usepackage{pstricks-add,pst-func} > \usepackage{xcolor} > \begin{document} > \begin{center} > \psset{xunit=0.8cm,yunit=10cm,arrowscale=1.2,labelFontSize=\scriptstyle}% > \begin{pspicture}(0,0)(12,1)% > \psaxes[linewidth=1pt,Dy=0.1,ticksize=-3pt 0pt]{->}(0,0)(0,0)(12,1) > \uput[-90](11.6,0){$\scriptstyle{k}$} > \uput[r](0,0.96){$\scriptstyle{P(X=k)}$} > \psBinomial[printValue,fillstyle=solid,fillcolor=lightgray,barwidth=0.4]{10}{0.15} > \end{pspicture} > \end{center} > > \end{document}| \documentclass[a4paper,11pt]{article} \usepackage{pst-func} \begin{document} \psset{xunit=0.8cm,yunit=10cm,arrowscale=1.2,labelFontSize=\scriptstyle}% \begin{pspicture}(0,0)(12,1)% \psaxes[linewidth=1pt,Dy=0.1,ticksize=-3pt 0pt]{->}(0,0)(0,0)(12,1)% [$\scriptstyle k$,-90][$\scriptstyle P(X=k)$,0] \psBinomial[printValue,valuewidth=15,%%%% <== %%%%%% fillstyle=solid,fillcolor=lightgray, barwidth=0.4]{10}{0.4} \end{pspicture} \end{document} Herbert From kari.eloranta at mac.com Thu Apr 18 17:45:56 2013 From: kari.eloranta at mac.com (Kari Eloranta) Date: Thu, 18 Apr 2013 18:45:56 +0300 Subject: [pstricks] problem in equation numbering Message-ID: This might not be a pstricks related question, but any help is greatly appreciated. I have created a macro \newcommand{\info}[1]{% \vskip10pt \noindent\psframebox*[framesep=10pt,% fillstyle=solid,% fillcolor=yellow!55,% linecolor=black]{\parbox[c][\height][s]{\textwidth-18pt} {\noindent #1}} } which draws a filled yellow box around #1. If I call the macro with \info{{\blue Resistance}\\% The resistance of an electrical component is \begin{equation} R=\frac{V}{I} \end{equation}\label{eq:res} where $V$ is the potential difference across the component, and $I$ the electric current flowing through it.} the equation number (label) becomes 1.20 in the output pdf. However, when I try use \ref{eq:res} to reference the equation, the reference tag is 1.10 instead of 1.20. Recompiling does not help. Is there a solution to this problem? Best regards, Kari From Herbert.Voss at FU-Berlin.DE Thu Apr 18 18:51:14 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 18 Apr 2013 18:51:14 +0200 Subject: [pstricks] problem in equation numbering In-Reply-To: References: Message-ID: <51702482.1060804@FU-Berlin.DE> On 18.04.2013 17:45, Kari Eloranta wrote: > \info{{\blue Resistance}\\% > The resistance of an electrical component is > \begin{equation} > R=\frac{V}{I} > \end{equation}\label{eq:res} > where $V$ is the potential difference across the component, and $I$ the electric current flowing through it.} > > the equation number (label) becomes 1.20 in the output pdf. However, when I try use \ref{eq:res} to reference the equation, the reference tag is 1.10 instead of 1.20. Recompiling does not help. Is there a solution to this problem? try \begin{equation}\label{eq:res} R=\frac{V}{I} \end{equation} the label should be inside the environment. if it doesn't help then provide a _complete_ example Herbert From hh-brasil at bol.com.br Thu Apr 18 19:34:51 2013 From: hh-brasil at bol.com.br (hh-brasil at bol.com.br) Date: Thu, 18 Apr 2013 14:34:51 -0300 Subject: [pstricks] problem in equation numbering In-Reply-To: References: Message-ID: <51702ebb9e34b_2aea56a447416b0@a4-winter18.tmail> Dear kari, I would put the label command within the equation (before the "end{equation}") hh Em 18/04/2013 12:45, Kari Eloranta < kari.eloranta at mac.com > escreveu: This might not be a pstricks related question, but any help is greatly appreciated. I have created a macro \newcommand{\info}[1]{% \vskip10pt \noindent\psframebox*[framesep=10pt,% fillstyle=solid,% fillcolor=yellow!55,% linecolor=black]{\parbox[c][\height][s]{\textwidth-18pt} {\noindent #1}} } which draws a filled yellow box around #1. If I call the macro with \info{{\blue Resistance}\\% The resistance of an electrical component is \begin{equation} R=\frac{V}{I} \end{equation}\label{eq:res} where $V$ is the potential difference across the component, and $I$ the electric current flowing through it.} the equation number (label) becomes 1.20 in the output pdf. However, when I try use \ref{eq:res} to reference the equation, the reference tag is 1.10 instead of 1.20. Recompiling does not help. Is there a solution to this problem? Best regards, Kari _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From kari.eloranta at gmail.com Thu Apr 18 19:35:07 2013 From: kari.eloranta at gmail.com (Kari Eloranta) Date: Thu, 18 Apr 2013 20:35:07 +0300 Subject: [pstricks] problem in equation numbering In-Reply-To: <51702482.1060804@FU-Berlin.DE> References: <51702482.1060804@FU-Berlin.DE> Message-ID: I tried to change the position of label as you instructed. The result was ?? instead of an equation reference. Then I tried to produce a minimum working example on a separate file, but there it worked just fine. I try to reproduce the problem tomorrow, and if I can, I post a complete example. Thank you for your help. Best regards, Kari 2013/4/18 Herbert Voss > On 18.04.2013 17:45, Kari Eloranta wrote: > > \info{{\blue Resistance}\\% >> The resistance of an electrical component is >> \begin{equation} >> R=\frac{V}{I} >> \end{equation}\label{eq:res} >> where $V$ is the potential difference across the component, and $I$ the >> electric current flowing through it.} >> >> the equation number (label) becomes 1.20 in the output pdf. However, when >> I try use \ref{eq:res} to reference the equation, the reference tag is 1.10 >> instead of 1.20. Recompiling does not help. Is there a solution to this >> problem? >> > > try > > \begin{equation}\label{eq:res} > > R=\frac{V}{I} > \end{equation} > > the label should be inside the environment. > if it doesn't help then provide a _complete_ example > > Herbert > > > > ______________________________**_________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/**listinfo/pstricks > archive: http://www.tug.org/pipermail/**pstricks/ > -- ************************************************************** Kari Eloranta Ketunpolku 1 40400 JYV?SKYL? FINLAND Tel: +358 40 586 7654 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Thu Apr 18 19:39:03 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 18 Apr 2013 19:39:03 +0200 Subject: [pstricks] problem in equation numbering In-Reply-To: References: <51702482.1060804@FU-Berlin.DE> Message-ID: <51702FB7.1000205@FU-Berlin.DE> On 18.04.2013 19:35, Kari Eloranta wrote: > I tried to change the position of label as you instructed. The result > was ?? instead of an equation reference. did you run latex twice? Herbert > Then I tried to produce a minimum working example on a separate file, > but there it worked just fine. I try to reproduce the problem tomorrow, > and if I can, I post a complete example. From kari.eloranta at gmail.com Thu Apr 18 19:49:49 2013 From: kari.eloranta at gmail.com (Kari Eloranta) Date: Thu, 18 Apr 2013 20:49:49 +0300 Subject: [pstricks] problem in equation numbering In-Reply-To: <51702ebb9e34b_2aea56a447416b0@a4-winter18.tmail> References: <51702ebb9e34b_2aea56a447416b0@a4-winter18.tmail> Message-ID: Problem solved. Your tips made me find the cause for the problem, because I did not get any reference at all after changing the position of the label. It was caused by some kind of package conflict from \usepackage{cleveref}. When I commented the package off, everything started working again. It is a real relief, since the bug has bothered me almost a year. All references are back to normal again. With many thanks, Kari 2013/4/18 > Dear kari, > > I would put the label command within the equation (before the > "end{equation}") > > hh > > > > Em 18/04/2013 12:45, Kari Eloranta < kari.eloranta at mac.com > escreveu: > This might not be a pstricks related question, but any help is greatly > appreciated. I have created a macro > > \newcommand{\info}[1]{% > \vskip10pt > \noindent\psframebox*[framesep=10pt,% > fillstyle=solid,% > fillcolor=yellow!55,% > linecolor=black]{\parbox[c][\height][s]{\textwidth-18pt} > {\noindent #1}} > } > > which draws a filled yellow box around #1. If I call the macro with > > \info{{\blue Resistance}\\% > The resistance of an electrical component is > \begin{equation} > R=\frac{V}{I} > \end{equation}\label{eq:res} > where $V$ is the potential difference across the component, and $I$ the > electric current flowing through it.} > > the equation number (label) becomes 1.20 in the output pdf. However, when > I try use \ref{eq:res} to reference the equation, the reference tag is 1.10 > instead of 1.20. Recompiling does not help. Is there a solution to this > problem? > > Best regards, > Kari > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -- ************************************************************** Kari Eloranta Ketunpolku 1 40400 JYV?SKYL? FINLAND Tel: +358 40 586 7654 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hh-brasil at bol.com.br Thu Apr 18 19:55:59 2013 From: hh-brasil at bol.com.br (hh-brasil at bol.com.br) Date: Thu, 18 Apr 2013 14:55:59 -0300 Subject: [pstricks] problem in equation numbering In-Reply-To: References: <51702ebb9e34b_2aea56a447416b0@a4-winter18.tmail> Message-ID: <517033af6ffed_50c2f70c7c45b@a4-winter12.tmail> Herbert (Voss) proposed the same solution! imho: There must be a grave error in cleveref! We are wiser now! hh Em 18/04/2013 14:49, Kari Eloranta < kari.eloranta at gmail.com > escreveu: Problem solved. Your tips made me find the cause for the problem, because I did not get any reference at all after changing the position of the label.?It was caused by some kind of package conflict from \usepackage{cleveref}. When I commented the package off, everything started working again. It is a real relief, since the bug has bothered me almost a year. All references are back to normal again. With many thanks,? Kari 2013/4/18 Dear kari, I would put the label command within the equation (before the "end{equation}") hh Em 18/04/2013 12:45, Kari Eloranta < kari.eloranta at mac.com > escreveu: This might not be a pstricks related question, but any help is greatly appreciated. I have created a macro \newcommand{\info}[1]{% \vskip10pt \noindent\psframebox*[framesep=10pt,% ?fillstyle=solid,% ?fillcolor=yellow!55,% ?linecolor=black]{\parbox[c][\height][s]{\textwidth-18pt} {\noindent ?#1}} } which draws a filled yellow box around #1. If I call the macro with \info{{\blue Resistance}\\% The resistance of an electrical component is \begin{equation} R=\frac{V}{I} \end{equation}\label{eq:res} where $V$ is the potential difference across the component, and $I$ the electric current flowing through it.} the equation number (label) becomes 1.20 in the output pdf. However, when I try use \ref{eq:res} to reference the equation, the reference tag is 1.10 instead of 1.20. Recompiling does not help. Is there a solution to this problem? Best regards, ? Kari _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -- ************************************************************** Kari Eloranta Ketunpolku 1 40400 JYV?SKYL? FINLAND Tel: +358 40 586 7654 From kari.eloranta at gmail.com Thu Apr 18 20:29:41 2013 From: kari.eloranta at gmail.com (Kari Eloranta) Date: Thu, 18 Apr 2013 21:29:41 +0300 Subject: [pstricks] problem in equation numbering In-Reply-To: <517033af6ffed_50c2f70c7c45b@a4-winter12.tmail> References: <51702ebb9e34b_2aea56a447416b0@a4-winter18.tmail> <517033af6ffed_50c2f70c7c45b@a4-winter12.tmail> Message-ID: Indeed. A lesson learned :-) Kari 2013/4/18 > Herbert (Voss) proposed the same solution! imho: There must be a grave > error in cleveref! > > We are wiser now! > > hh > > > > Em 18/04/2013 14:49, Kari Eloranta < kari.eloranta at gmail.com > escreveu: > Problem solved. Your tips made me find the cause for the problem, because > I did not get any reference at all after changing the position of the > label. It was caused by some kind of package conflict from > \usepackage{cleveref}. When I commented the package off, everything started > working again. It is a real relief, since the bug has bothered me almost a > year. All references are back to normal again. > > With many thanks, Kari > > 2013/4/18 > > Dear kari, > > > > I would put the label command within the equation (before the > "end{equation}") > > > > hh > > > > > > > > Em 18/04/2013 12:45, Kari Eloranta < kari.eloranta at mac.com > escreveu: > > This might not be a pstricks related question, but any help is greatly > appreciated. I have created a macro > > > > \newcommand{\info}[1]{% > > \vskip10pt > > \noindent\psframebox*[framesep=10pt,% > > fillstyle=solid,% > > fillcolor=yellow!55,% > > linecolor=black]{\parbox[c][\height][s]{\textwidth-18pt} > > {\noindent #1}} > > } > > > > which draws a filled yellow box around #1. If I call the macro with > > > > \info{{\blue Resistance}\\% > > The resistance of an electrical component is > > \begin{equation} > > R=\frac{V}{I} > > \end{equation}\label{eq:res} > > where $V$ is the potential difference across the component, and $I$ the > electric current flowing through it.} > > > > the equation number (label) becomes 1.20 in the output pdf. However, when > I try use \ref{eq:res} to reference the equation, the reference tag is 1.10 > instead of 1.20. Recompiling does not help. Is there a solution to this > problem? > > > > > Best regards, > > Kari > > _______________________________________________ > > PSTricks mailing list > > PSTricks at tug.org > > http://tug.org/mailman/listinfo/pstricks > > archive: http://www.tug.org/pipermail/pstricks/ > > > > _______________________________________________ > > PSTricks mailing list > > PSTricks at tug.org > > http://tug.org/mailman/listinfo/pstricks > > archive: http://www.tug.org/pipermail/pstricks/ > > > > > -- > ************************************************************** > Kari Eloranta > Ketunpolku 1 > 40400 JYV?SKYL? FINLAND > Tel: +358 40 586 7654 > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -- ************************************************************** Kari Eloranta Ketunpolku 1 40400 JYV?SKYL? FINLAND Tel: +358 40 586 7654 -------------- next part -------------- An HTML attachment was scrubbed... URL: From germain.boyer at ac-toulouse.fr Sun Apr 28 16:50:29 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Sun, 28 Apr 2013 16:50:29 +0200 Subject: [pstricks] a small pb with pst-eucl and Mark=pstslashh Message-ID: Bonjour, Look at this picture. With pst-eucl version 1.40 the command Mark=pstslashh of the last line : \pstMarkAngle[MarkAngleRadius=0.2,LabelSep=0.425,Mark=pstslashh]{M}{O}{J}{\footnotesize 60$^{\circ}$} gives the correct picture but with the versions post 1.40 (actually 1.47) the symbol is not correct. I use miktex portable. Is there a new or an other command equivalent to Mark=pstslashh ? or is there a problem with pst-eucl ? Thanks for yours answers. \usepackage{pstricks} \usepackage{pstricks-add} \usepackage{pst-eucl} \begin{document} \psset{unit=1.5cm} \begin{pspicture}(-1.5,-1.5)(10,1.5) % \psset{linewidth=0.25mm , arrowinset=0 , arrowscale=1.5} \psset{PointSymbol=none} % \SpecialCoor % \pstGeonode[PosAngle=225](0,0){O} \pstGeonode[PosAngle=45](1,0){I} \pstGeonode[PosAngle=135](0,1){J} % \pstGeonode[PointName=none](1;30){M} \uput{0mm}[0](! 3 sqrt 2 div 0.1 add \space 0.6){$M\left(\dfrac{\pi}{6}\right)$} % \psaxes[labels=none,ticks=none](0,0)(-1.5,-1.5)(1.5,1.5) % \pscircle(O){1} \uput{0mm}[135](1.15;135){$\mathcal{C}$} % \psline(O)(M)(J) \pstMarkAngle[MarkAngleRadius=0.3,LabelSep=0.5]{I}{O}{M}{\footnotesize 30$^{\circ}$} \pstMarkAngle[MarkAngleRadius=0.2,LabelSep=0.425,Mark=pstslashh]{M}{O}{J}{\footnotesize 60$^{\circ}$} % \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Apr 28 19:36:48 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 28 Apr 2013 19:36:48 +0200 Subject: [pstricks] a small pb with pst-eucl and Mark=pstslashh In-Reply-To: References: Message-ID: <517D5E30.2010009@FU-Berlin.DE> On 28.04.2013 16:50, Germain BOYER wrote: > With pst-eucl version 1.40 the command Mark=pstslashh of the last line : > \pstMarkAngle[MarkAngleRadius=0.2,LabelSep=0.425,Mark=pstslashh]{M}{O}{J}{\footnotesize > 60$^{\circ}$} > gives the correct picture but with the versions post 1.40 (actually > 1.47) the symbol is not correct. I use miktex portable. can you please send me the 1.40 version. Herbert From manfred.braun at uni-due.de Sat May 4 20:53:31 2013 From: manfred.braun at uni-due.de (Manfred Braun) Date: Sat, 4 May 2013 21:53:31 +0300 Subject: [pstricks] pst-slpe Message-ID: Hi list, When rotating an object that is shaded by fillstyle=slpe, the widths of the shading zones change with the rotation angle, see the minimal example below. Equidistant spacing appears only at angles 0 and 90 degrees. Is this intended? Is it possible to rotate an object keeping exactly the original shading pattern? Manfred \documentclass{minimal} \usepackage{pstricks} \usepackage{pst-slpe} \begin{document} \begin{pspicture}(16,3) \psset{fillstyle=slope, slopebegin=gray, slopeend=white, slopesteps=5} \rput{0}(0,0){\psframe(2,1)} \rput{15}(2.5,0){\psframe(2,1)} \rput{30}(5,0){\psframe(2,1)} \rput{45}(7.5,0){\psframe(2,1)} \rput{60}(10,0){\psframe(2,1)} \rput{75}(12.5,0){\psframe(2,1)} \rput{90}(15,0){\psframe(2,1)} \psline(15,0) \end{pspicture} \end{document} From Herbert.Voss at FU-Berlin.DE Sat May 4 21:15:36 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 4 May 2013 21:15:36 +0200 Subject: [pstricks] pst-slpe In-Reply-To: References: Message-ID: <51855E58.2070008@FU-Berlin.DE> On 04.05.2013 20:53, Manfred Braun wrote: > When rotating an object that is shaded by fillstyle=slpe, the widths of the shading zones change with the rotation angle, see the minimal example below. Equidistant spacing appears only at angles 0 and 90 degrees. Is this intended? Is it possible to rotate an object keeping exactly the original shading pattern? > Manfred > > \documentclass{minimal} > \usepackage{pstricks} > \usepackage{pst-slpe} > \begin{document} > \begin{pspicture}(16,3) > \psset{fillstyle=slope, slopebegin=gray, slopeend=white, slopesteps=5} the width and height of the _surrounding_ box is devided by the steps. When rotating an object the surrounding box will increase and also the shaded steps. The first and last are cut by the rotated rectangle. You have to modify the pro file, because it knows nothing about the rotating angle. Not really easy. Herbert From manfred.braun at uni-due.de Sat May 4 21:57:19 2013 From: manfred.braun at uni-due.de (Manfred Braun) Date: Sat, 4 May 2013 22:57:19 +0300 Subject: [pstricks] pst-slpe In-Reply-To: <51855E58.2070008@FU-Berlin.DE> References: <51855E58.2070008@FU-Berlin.DE> Message-ID: Thanks a lot, Herbert! Your explanation makes the behavior understandable. But to modify the pro file is too hard a task for a simple-minded user. Manfred On 04.05.2013, at 22:15, Herbert Voss wrote: > On 04.05.2013 20:53, Manfred Braun wrote: > >> When rotating an object that is shaded by fillstyle=slpe, the widths of the shading zones change with the rotation angle, see the minimal example below. Equidistant spacing appears only at angles 0 and 90 degrees. Is this intended? Is it possible to rotate an object keeping exactly the original shading pattern? >> Manfred >> >> \documentclass{minimal} >> \usepackage{pstricks} >> \usepackage{pst-slpe} >> \begin{document} >> \begin{pspicture}(16,3) >> \psset{fillstyle=slope, slopebegin=gray, slopeend=white, slopesteps=5} > > the width and height of the _surrounding_ box is devided by the > steps. When rotating an object the surrounding box will increase > and also the shaded steps. The first and last are cut by the > rotated rectangle. You have to modify the pro file, > because it knows nothing about the rotating angle. Not > really easy. > > Herbert > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From XC-lemens at web.de Tue May 7 21:15:59 2013 From: XC-lemens at web.de (=?ISO-8859-15?Q?Clemens_Sch=E4fermeier?=) Date: Tue, 7 May 2013 21:15:59 +0200 Subject: [pstricks] Example: Gaussian beam Message-ID: <518952EF.5080202@web.de> Hi everyone, I thought that maybe an example of a Gaussian beam profile is missing in the example section of http://tug.org/PSTricks/main.cgi/ If you like, use the appended one. Best regards Clemens -------------- next part -------------- A non-text attachment was scrubbed... Name: beam_new.png Type: image/png Size: 60058 bytes Desc: not available URL: -------------- next part -------------- %author: clemens sch\"afermeier %clemens at fh-muenster.de %7. may 2012 \documentclass[a4paper,dvips]{article} \usepackage{pstricks,pstricks-add} \begin{document} \def\lwidth{.8pt} \psset{unit=1cm,linewidth=\lwidth} \begin{pspicture}*[showgrid=false](-6,-6)(7.5,4) % some constants \def\wO{.0008 \space} % beam waist in meters \def\pi{\pstPI1 \space} \def\tpi{\pstPI2 \space} \def\lamb{.000000809\space} % wavelength in meters \def\zr{\wO dup mul \pi mul \lamb div \space} \def\zrr{\zr dup mul \space} \def\thet{\wO 1000 mul \zr atan \space} % function of beam radius \def\wz{1 x dup mul \zrr div add sqrt \wO mul \space} % %------------ wavefronts \multido{\ra=1.+1.,\rb=.1+.1}{6}{% \def\xr{\ra\space}% \def\xrc{\rb\space}% just used for clipping \def\Rzx{\xr \zrr \xr div add\space}% % upper half \psclip{ \pscustom[linestyle=none]{ \newpath\moveto(0,0) \moveto(-6.5,0) \psplot[plotstyle=curve]{-6.5}{6.5}{\wz 1000 mul} \lineto(6.5,-6.5)} \pscustom[linewidth=\lwidth,linecolor=red]{ \psplot{\xr \xrc sub}{\xr}{\Rzx dup mul x \zrr \xr div add dup mul sub sqrt}}} \endpsclip \psclip{ \pscustom[linestyle=none]{ \newpath\moveto(0,0) \moveto(-6.5,0) \psplot[plotstyle=curve]{-6.5}{6.5}{\wz 1000 mul} \lineto(6.5,-6.5)} \pscustom[linewidth=\lwidth,linecolor=red]{ \psplot{\xr neg}{\xr \xrc sub neg}{\Rzx dup mul x \zrr \xr div sub dup mul sub sqrt}}} \endpsclip % lower half \psclip{ \pscustom[linestyle=none]{ \newpath\moveto(0,0) \moveto(6.5,0) \psplot[plotstyle=curve]{6.5}{-6.5}{\wz 1000 neg mul} \lineto(-6.5,6.5)} \pscustom[linewidth=\lwidth,linecolor=red]{ \psplot{\xr \xrc sub}{\xr}{\Rzx dup mul x \zrr \xr div add dup mul sub sqrt neg}}} \endpsclip \psclip{ \pscustom[linestyle=none]{ \newpath\moveto(0,0) \moveto(6.5,0) \psplot[plotstyle=curve]{6.5}{-6.5}{\wz 1000 neg mul} \lineto(-6.5,6.5)} \pscustom[linewidth=\lwidth,linecolor=red]{ \psplot{\xr neg}{\xr \xrc sub neg}{\Rzx dup mul x \zrr \xr div sub dup mul sub sqrt neg}}} \endpsclip } % % gouy phase % upper half \def\xr{3\space}% \def\xrc{.2\space}% \def\Rzx{\xr \zrr \xr div add\space}% \psclip{ \pscustom[linestyle=none]{ \newpath\moveto(0,0) \moveto(-6.5,0) \psplot[plotstyle=curve]{-6.5}{6.5}{\wz 1000 mul} \lineto(6.5,-6.5)} \pscustom[linewidth=.4pt,linecolor=red,linestyle=dashed]{ \psplot{\xr \xrc sub}{\xr .2 add}{\Rzx dup mul x \zrr \xr div .2 sub add dup mul sub sqrt}}} \endpsclip % lower half \psclip{ \pscustom[linestyle=none]{ \newpath\moveto(0,0) \moveto(6.5,0) \psplot[plotstyle=curve]{6.5}{-6.5}{\wz 1000 neg mul} \lineto(-6.5,6.5)} \pscustom[linewidth=.4pt,linecolor=red,linestyle=dashed]{ \psplot{\xr \xrc sub}{\xr .2 add}{\Rzx dup mul x \zrr \xr div .2 sub add dup mul sub sqrt neg}}} \endpsclip % % spherical wavefront % \psclip{ \pscustom[linestyle=none]{ \newpath\moveto(0,0) \moveto(-6.5,0) \psplot[plotstyle=curve]{-6.5}{6.5}{\wz 1000 mul} \lineto(6.5,-6.5)} \pscustom[linewidth=.4pt,linestyle=dashed]{ \psplot[polarplot=true]{0}{180}{1} \lineto(0,0)}} \endpsclip \psclip{ \pscustom[linestyle=none]{ \newpath\moveto(0,0) \moveto(6.5,0) \psplot[plotstyle=curve]{6.5}{-6.5}{\wz 1000 neg mul} \lineto(-6.5,6.5)} \pscustom[linewidth=.4pt,linestyle=dashed]{ \psplot[polarplot=true]{180}{360}{1} \lineto(5,0)}} \endpsclip % % % % beam width \psplot[plotstyle=curve]{-7}{7}{\wz 1000 mul} \psplot[plotstyle=curve]{-7}{7}{\wz 1000 neg mul} \SpecialCoor % % description \pcline[linestyle=dashed]{-}(0,0)(7.5;!\thet) \psarc{<-}{5.5}{!\thet}{!\thet 8 add} \psarc{-}{5.5}{0}{!\thet} \psarc{->}{5.5}{-8}{0} \uput{5.6}[-4]{-90}(0,0){$\theta$} \pcline[]{->}(0,0)(5;8) \ncput*[nrot=:U]{$R(z)$} % some stuff to make the arrows on which eta(z) is put really orthogonal to the wavefronts \def\degg{10\space} \rput(!\zrr \xr div neg 0){ \pcline[]{-}% (!\Rzx 0 add \degg cos mul \Rzx 0 add \degg neg sin mul)% (!\Rzx .2 add \degg cos mul \Rzx .2 add \degg neg sin mul) \pcline[]{<-}% (!\Rzx .2 add \degg cos mul \Rzx .2 add \degg neg sin mul)% (!\Rzx .6 add \degg cos mul \Rzx .6 add \degg neg sin mul) \pcline[]{->}% (!\Rzx .8 neg add \degg cos mul \Rzx .8 neg add \degg neg sin mul)% (!\Rzx 0 add \degg cos mul \Rzx 0 add \degg neg sin mul) \naput[nrot=:U]{$\eta(z)$} } % the same for lambda \def\degg{10\space} \def\xra{4\space} \def\xrb{5\space} \def\Rzxa{\xra \zrr \xrb div add\space}% \def\Rzxb{\xrb \zrr \xrb div add\space}% \rput(!\zrr \xrb div neg 0){ \pcline[]{<->}% (!\Rzxa \degg cos mul \Rzxa \degg neg sin mul)% (!\Rzxb \degg cos mul \Rzxb \degg neg sin mul) \naput[nrot=:U]{$\lambda$} } \pcline[]{->}(0,-2.2)(!0 \wO neg 1000 mul) \pcline[]{-}(!0 \wO neg 1000 mul)(0,0) \pcline[]{<-}(0,0)(0,.7) \naput*[nrot=:U]{$w_0$} \def\radx{4.15 neg\space} \def\wzrx{\wO 1 \radx dup mul \zrr div add sqrt mul\space} \pcline[]{->}(!\radx -2.4)(!\radx \wzrx neg 1000 mul) \pcline[]{-}(!\radx \wzrx neg 1000 mul)(!\radx 0) \pcline[]{<-}(!\radx 0)(!\radx 1.1) \naput*[nrot=:U]{$w(z)$} \def\radx{\zr\space} \def\wzrx{\wO 1 \radx dup mul \zrr div add sqrt mul\space} \def\radx{\zr neg\space} \pcline[]{->}(!\radx -2.2)(!\radx \wzrx neg 1000 mul) \pcline[]{-}(!\radx \wzrx neg 1000 mul)(!\radx 0) \pcline[]{<-}(!\radx 0)(!\radx 1.1) \naput[nrot=:U]{$\sqrt{2} \; w_0$} \pcline[]{<->}(!\radx -2.)(0,-2.) \naput[nrot=:U]{$z_R$} \rput*[c](1.6,2.8){\rnode{a}{\psframebox*{Spherical wavefront}}} \pnode(-.8,.5){b} \ncarc[nodesepA=0pt]{->}{a}{b} \rput*[c](-2.7,2.8){\rnode{a}{\psframebox*{Wavefront}}} \pnode(-4.95,.7){b} \ncarc[nodesepA=0pt]{->}{a}{b} \pcline{->}(-6,0)(6,0) \rput[ref=c](6.4,0){$z$} \rput[lB]{0}(3,-4){ \psshadowbox[framearc=.8,framesep=.15,linestyle=none]{Gaussian beam model}} \end{pspicture} \end{document} From christianhaeger at me.com Fri May 10 17:24:21 2013 From: christianhaeger at me.com (=?iso-8859-1?Q?Christian_H=E4ger?=) Date: Fri, 10 May 2013 17:24:21 +0200 Subject: [pstricks] Package Recommendation based on Sketch Message-ID: <85574301-320E-4871-8542-D5ED3294301A@me.com> Hello Everyone, This is a "soft" question. I want to convert the following sketch to a nice pstricks figure: https://dl.dropboxusercontent.com/u/42816591/sketch.JPG Basically, I was wondering if you could give me some advice on which packages I should look into to efficiently draw this. Do I need to look into 3D packages or is this overkill? For example I am unsure about how to realize the node connection in 3D. Any help would be greatly appreciated! Thanks! Christian From NiklasNawrath at gmx.de Fri May 10 18:24:19 2013 From: NiklasNawrath at gmx.de (Niklas Nawrath) Date: Fri, 10 May 2013 18:24:19 +0200 Subject: [pstricks] Package Recommendation based on Sketch In-Reply-To: <85574301-320E-4871-8542-D5ED3294301A@me.com> References: <85574301-320E-4871-8542-D5ED3294301A@me.com> Message-ID: <518D1F33.8000001@gmx.de> Hi Christian, I would recommend to use multido. With this package and \rput you can define each element once and then put is as often as needed. But you have to care about variables and increments. They have to have the same amount of decimal units. so 1.00 + 0.25 is possible, but not 1+0.25. I would not use any 3D stuff. Only do it in 2D. The connecting lines are made by hand easily i think. Niklas Here is a example I made in 5 minutes: \documentclass{scrartcl} \usepackage{auto-pst-pdf} \usepackage{multido} \begin{document} \begin{pspicture} \multido{\nC=0.0+5.0}{3}{ \rput(\nC,0){ \psframe(-1,-1.5)(0,-0.5)\psline(0,-1.5)(2.5,3.5) } \multido{ \nA=0.25+1.00,\nB=\nC+0.5}{4}{\pscircle(\nB,\nA){0.25} } } \end{pspicture} \end{document} Am 10.05.2013 17:24, schrieb Christian H?ger: > Hello Everyone, > > This is a "soft" question. I want to convert the following sketch to a nice pstricks figure: https://dl.dropboxusercontent.com/u/42816591/sketch.JPG > > Basically, I was wondering if you could give me some advice on which packages I should look into to efficiently draw this. Do I need to look into 3D packages or is this overkill? For example I am unsure about how to realize the node connection in 3D. Any help would be greatly appreciated! Thanks! > > Christian > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From j_deutsch at web.de Tue May 14 12:10:33 2013 From: j_deutsch at web.de (Johannes Deutsch) Date: Tue, 14 May 2013 12:10:33 +0200 Subject: [pstricks] pstricks-add: psCircleTangents: can't access node at postscript level Message-ID: <20130514121033.4fca4ee2@web.de> Hi all, the following code as is, compiles fine with pdflatex. If i uncomment line 16 the picture isn't drawn anylonger. Unfortunately i can't find any errors in the log, too. Maybe someone around here can help me to find the error or maybe i can help chasing a bug!? With best regards %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{article} \usepackage{auto-pst-pdf} \usepackage{pstricks-add,pstricks,pst-node} \begin{document} \psset{saveNodeCoors} \begin{pspicture}[showgrid](-4,-4)(4,4) \pscircle(-2,-2){0.5} \psdot(2,2) \psCircleTangents(2,2)(-2,-2){0.5} \psdots(CircleT1)(CircleT2) \psline(2,2)(! N-CircleT1.x N-CircleT1.y) %\psline(2,2)(! N-CircleT2.x N-CircleT2.y) % line 16 \end{pspicture} \end{document} From af.epple at t-online.de Tue May 14 12:31:38 2013 From: af.epple at t-online.de (Alfred Epple) Date: Tue, 14 May 2013 12:31:38 +0200 Subject: [pstricks] pstricks-add: psCircleTangents: can't access node at postscript level In-Reply-To: <20130514121033.4fca4ee2@web.de> References: <20130514121033.4fca4ee2@web.de> Message-ID: <5A1B77EC-4D01-4F3D-B557-58C5B32FAC79@t-online.de> The drawing is on the next page while the first page remains empty. I guess the graph takes too much space so it does not fit onto the first page. (see screenshot below) Cheers Fred Am 14.05.2013 um 12:10 schrieb Johannes Deutsch : > Hi all, > > the following code as is, compiles fine with pdflatex. > > If i uncomment line 16 the picture isn't drawn anylonger. > > Unfortunately i can't find any errors in the log, too. > > Maybe someone around here can help me to find the error or maybe i can > help chasing a bug!? > > With best regards > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > \documentclass{article} > \usepackage{auto-pst-pdf} > \usepackage{pstricks-add,pstricks,pst-node} > \begin{document} > > \psset{saveNodeCoors} > \begin{pspicture}[showgrid](-4,-4)(4,4) > > \pscircle(-2,-2){0.5} > \psdot(2,2) > \psCircleTangents(2,2)(-2,-2){0.5} > > \psdots(CircleT1)(CircleT2) > > \psline(2,2)(! N-CircleT1.x N-CircleT1.y) > %\psline(2,2)(! N-CircleT2.x N-CircleT2.y) % line 16 > \end{pspicture} > > \end{document} > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto 2013-05-14 um 12.30.10.png Type: image/png Size: 49924 bytes Desc: not available URL: From j_deutsch at web.de Tue May 14 13:45:05 2013 From: j_deutsch at web.de (Johannes Deutsch) Date: Tue, 14 May 2013 13:45:05 +0200 Subject: [pstricks] pstricks-add: psCircleTangents: can't access node at postscript level In-Reply-To: <5A1B77EC-4D01-4F3D-B557-58C5B32FAC79@t-online.de> References: <20130514121033.4fca4ee2@web.de> <5A1B77EC-4D01-4F3D-B557-58C5B32FAC79@t-online.de> Message-ID: <20130514134505.22481768@web.de> On Tue, 14 May 2013 12:31:38 +0200 Alfred Epple wrote: > The drawing is on the next page while the first page remains empty. I > guess the graph takes too much space so it does not fit onto the > first page. (see screenshot below) I didn't see that. Thanks for the hint. Nevertheless the shown picture is still faulty. The command in line 16 should connect point (2,2) with the point where the second tangent line meets the circle around point (-2,-2). Just like it's described and shown in the pstricks-add documentation. Strangely if i replace line 16 by \psline(2,2)(CircleT2) everything is drawn correctly. Unfortunately i need to calculate with the coordinate center of CircleT2 at postscript level. But that is precisely what doesn't work. Best regards and thanks for contributing > > Cheers Fred > > Am 14.05.2013 um 12:10 schrieb Johannes Deutsch : > > > Hi all, > > > > the following code as is, compiles fine with pdflatex. > > > > If i uncomment line 16 the picture isn't drawn anylonger. > > > > Unfortunately i can't find any errors in the log, too. > > > > Maybe someone around here can help me to find the error or maybe i > > can help chasing a bug!? > > > > With best regards > > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > > > \documentclass{article} > > \usepackage{auto-pst-pdf} > > \usepackage{pstricks-add,pstricks,pst-node} > > \begin{document} > > > > \psset{saveNodeCoors} > > \begin{pspicture}[showgrid](-4,-4)(4,4) > > > > \pscircle(-2,-2){0.5} > > \psdot(2,2) > > \psCircleTangents(2,2)(-2,-2){0.5} > > > > \psdots(CircleT1)(CircleT2) > > > > \psline(2,2)(! N-CircleT1.x N-CircleT1.y) > > %\psline(2,2)(! N-CircleT2.x N-CircleT2.y) % line 16 > > \end{pspicture} > > > > \end{document} > > _______________________________________________ > > PSTricks mailing list > > PSTricks at tug.org > > http://tug.org/mailman/listinfo/pstricks > > archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Tue May 14 14:22:37 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 14 May 2013 14:22:37 +0200 Subject: [pstricks] pstricks-add: psCircleTangents: can't access node at postscript level In-Reply-To: <20130514121033.4fca4ee2@web.de> References: <20130514121033.4fca4ee2@web.de> Message-ID: <51922C8D.4050102@FU-Berlin.DE> On 14.05.2013 12:10, Johannes Deutsch wrote: > the following code as is, compiles fine with pdflatex. > > If i uncomment line 16 the picture isn't drawn anylonger. > > Unfortunately i can't find any errors in the log, too. > > Maybe someone around here can help me to find the error or maybe i can > help chasing a bug!? It is a problem with the node saving. Nodes are always saved in an own dictionary and I don't know why only the values of the first node is correct. I must investigate. However this will work: \psline(2,2)(! \psGetNodeCenter{CircleT2} CircleT2.x CircleT2.y) % Herbert From j_deutsch at web.de Tue May 14 15:11:23 2013 From: j_deutsch at web.de (Johannes Deutsch) Date: Tue, 14 May 2013 15:11:23 +0200 Subject: [pstricks] pstricks-add: psCircleTangents: can't access node at postscript level In-Reply-To: <51922C8D.4050102@FU-Berlin.DE> References: <20130514121033.4fca4ee2@web.de> <51922C8D.4050102@FU-Berlin.DE> Message-ID: <20130514151123.59e9cf32@web.de> On Tue, 14 May 2013 14:22:37 +0200 Herbert Voss wrote: > On 14.05.2013 12:10, Johannes Deutsch wrote: > > > the following code as is, compiles fine with pdflatex. > > > > If i uncomment line 16 the picture isn't drawn anylonger. > > > > Unfortunately i can't find any errors in the log, too. > > > > Maybe someone around here can help me to find the error or maybe i > > can help chasing a bug!? > > It is a problem with the node saving. Nodes are always saved in an > own dictionary and I don't know why only the values of the first > node is correct. > I must investigate. However this will work: > > \psline(2,2)(! \psGetNodeCenter{CircleT2} CircleT2.x CircleT2.y) > % > > > Herbert Thanks a lot for this workaround! Best regards > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Tue May 14 15:30:05 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 14 May 2013 15:30:05 +0200 Subject: [pstricks] pstricks-add: psCircleTangents: can't access node at postscript level In-Reply-To: <20130514151123.59e9cf32@web.de> References: <20130514121033.4fca4ee2@web.de> <51922C8D.4050102@FU-Berlin.DE> <20130514151123.59e9cf32@web.de> Message-ID: <51923C5D.9070604@FU-Berlin.DE> On 14.05.2013 15:11, Johannes Deutsch wrote: > On Tue, 14 May 2013 14:22:37 +0200 > Herbert Voss wrote: > >> On 14.05.2013 12:10, Johannes Deutsch wrote: >> >>> the following code as is, compiles fine with pdflatex. >>> >>> If i uncomment line 16 the picture isn't drawn anylonger. >>> >>> Unfortunately i can't find any errors in the log, too. >>> >>> Maybe someone around here can help me to find the error or maybe i >>> can help chasing a bug!? >> >> It is a problem with the node saving. Nodes are always saved in an >> own dictionary and I don't know why only the values of the first >> node is correct. >> I must investigate. However this will work: >> >> \psline(2,2)(! \psGetNodeCenter{CircleT2} CircleT2.x CircleT2.y) >> % >> >> >> Herbert > > Thanks a lot for this workaround! only to be sure: you know that \psline(2,2)(CircleT2) is possible? Herbert From j_deutsch at web.de Tue May 14 15:58:28 2013 From: j_deutsch at web.de (Johannes Deutsch) Date: Tue, 14 May 2013 15:58:28 +0200 Subject: [pstricks] pstricks-add: psCircleTangents: can't access node at postscript level In-Reply-To: <51923C5D.9070604@FU-Berlin.DE> References: <20130514121033.4fca4ee2@web.de> <51922C8D.4050102@FU-Berlin.DE> <20130514151123.59e9cf32@web.de> <51923C5D.9070604@FU-Berlin.DE> Message-ID: <20130514155828.22d6a15d@web.de> On Tue, 14 May 2013 15:30:05 +0200 Herbert Voss wrote: > On 14.05.2013 15:11, Johannes Deutsch wrote: > > On Tue, 14 May 2013 14:22:37 +0200 > > Herbert Voss wrote: > > > >> On 14.05.2013 12:10, Johannes Deutsch wrote: > >> > >>> the following code as is, compiles fine with pdflatex. > >>> > >>> If i uncomment line 16 the picture isn't drawn anylonger. > >>> > >>> Unfortunately i can't find any errors in the log, too. > >>> > >>> Maybe someone around here can help me to find the error or maybe i > >>> can help chasing a bug!? > >> > >> It is a problem with the node saving. Nodes are always saved in an > >> own dictionary and I don't know why only the values of the first > >> node is correct. > >> I must investigate. However this will work: > >> > >> \psline(2,2)(! \psGetNodeCenter{CircleT2} CircleT2.x > >> CircleT2.y) % > >> > >> > >> Herbert > > > > Thanks a lot for this workaround! > > only to be sure: you know that \psline(2,2)(CircleT2) > is possible? Yes, i'm aware of this. I mentioned this in my answer to Alfred already. The code was just a minimal working example for illustration. However, thanks a lot for your efforts! > Herbert > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ From xd7688 at hotmail.com Sat May 18 04:38:21 2013 From: xd7688 at hotmail.com (Yonggang Hu) Date: Sat, 18 May 2013 10:38:21 +0800 Subject: [pstricks] Errors: Dimension Too Large. Message-ID: hello, two problems: 1) I always encounter an error message with "Dimension too large" if the input data is relative large , even for the given example on the web http://tug.org/PSTricks/pst-plot/listplot1.tex. My system is Miktex, and I have updated for the latest one. Where can I find a document descripting this problem in detail? 2) I want to plot the data with following forms into a cureve: 2013/05/01 10:21:15 45 2013/05/01 11:24:41 13 ... ... An example data file can be found in the attachments: data.xls. How? Thank you very much! Yonggang Hu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: data.xls Type: application/vnd.ms-excel Size: 27648 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Sat May 18 08:31:31 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 18 May 2013 08:31:31 +0200 Subject: [pstricks] Errors: Dimension Too Large. In-Reply-To: References: Message-ID: <51972043.8050604@FU-Berlin.DE> Am 18.05.2013 04:38, schrieb Yonggang Hu: > hello, two problems: > 1) I always encounter an error message with "Dimension too large" if the > input data is relative large , even for the given example on the web > http://tug.org/PSTricks/pst-plot/listplot1.tex. My system is Miktex, and > I have updated for the latest one. Where can I find a document > descripting this problem in detail? use it this way: \begin{filecontents*}{tu.total} 1 55808 2 31989 3 24884 4 22572 5 19718 6 17792 7 19529 8 17482 9 15658 10 18048 11 19132 12 19578 13 16152 14 16303 15 20265 16 24822 17 15240 18 19434 19 18585 20 19865 21 22418 22 23840 23 21704 24 39401 \end{filecontents*} % \documentclass[a4paper,12pt]{report} \usepackage{pstricks,pstricks-add} \begin{document} \readdata{\mydata}{tu.total} \psset{llx=-1cm,lly=-0.75cm} \pstScalePoints(1,1){}{1e4 div} \psgraph[ylabelFactor=\cdot10^4,dx=5\psxunit,Dx=5]% {->}(0,0)(25,6){0.375\textwidth}{0.375\textwidth} \listplot[showpoints=true, linecolor=red, linewidth=1pt]{\mydata} \endpsgraph \end{document} > 2) I want to plot the data with following forms into a cureve: > > 2013/05/01 10:21:15 45 > 2013/05/01 11:24:41 13 > ... ... > > An example data file can be found in the attachments: data.xls. How? \documentclass{article} \usepackage{pst-plot} \makeatletter \newcounter{xVal}\setcounter{xVal}{0} \def\psSpecialPlot{\pst at object{psSpecialPlot}} \def\psSpecialPlot at i#1{\begin at SpecialObj\expandafter\psSpecialPlot at ii#1} \def\psSpecialPlot at ii #1{\psSpecialPlot at iii#1} \def\psSpecialPlot at iii#1 #2 #3 #4 #5 #6 {% \stepcounter{xVal} \psdot(\arabic{xVal},#6)% \@ifnextchar D{\psSpecialPlot at iii}{\end at SpecialObj}% } \makeatother \begin{document} \readdata{\data}{listplot3.data} \data%% shows how the data is _internally_ represented. \bigskip \psset{llx=-1cm,lly=-1cm,mathLabel=false} \begin{psgraph}[Dx=5,Dy=5]{->}(0,0)(20,20){10cm}{8cm} \psSpecialPlot[dotsize=5pt]{\data} \end{psgraph} \end{document} You can write the values for the x axis as #2 (the date) or #4 (time) Herbert From Herbert.Voss at FU-Berlin.DE Sat May 18 08:41:30 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 18 May 2013 08:41:30 +0200 Subject: [pstricks] Errors: Dimension Too Large. In-Reply-To: <51972043.8050604@FU-Berlin.DE> References: <51972043.8050604@FU-Berlin.DE> Message-ID: <5197229A.10809@FU-Berlin.DE> Am 18.05.2013 08:31, schrieb Herbert Voss: attached my output oy the example with your values: > You can write the values for the x axis as #2 (the date) or #4 (time) for example with \rput Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: xxx.png Type: image/png Size: 29644 bytes Desc: not available URL: From texnicer at web.de Sat May 18 09:11:32 2013 From: texnicer at web.de (C. Vogel) Date: Sat, 18 May 2013 09:11:32 +0200 Subject: [pstricks] Errors: Dimension Too Large. In-Reply-To: References: Message-ID: <519729A4.3030609@web.de> Am 18.05.2013 04:38, schrieb Yonggang Hu: > hello, two problems: > 1) I always encounter an error message with "Dimension too large" if > the input data is relative large , even for the given example on the > web http://tug.org/PSTricks/pst-plot/listplot1.tex. My system is > Miktex, and I have updated for the latest one. Where can I find a > document descripting this problem in detail? I am using TeXLive2012/W32 on Windows 7/64Bit and it worked flawless, so this might be a client side configuration or hardware problem. Kind regards, Carsten vogel From xd7688 at hotmail.com Sat May 18 09:48:53 2013 From: xd7688 at hotmail.com (Yonggang Hu) Date: Sat, 18 May 2013 15:48:53 +0800 Subject: [pstricks] Errors: Dimension Too Large. In-Reply-To: References: Message-ID: Thanks, Herbert! Yes, it works. But there is another case. Suppose the average value of variable is large, but its variance is small, something like the data as follows: 735355.385740741 18.1 735355.417511574 18.1 735355.472222222 18.1 735355.507916667 18.1 735355.550127315 18.1 735355.592465278 18.1 735355.663148148 18.1 735355.687500000 18.5 735355.726087963 19 735355.768576389 18.2 735355.802581019 17.6 735355.849108796 16.4 735355.888182870 16.1 735355.925266204 15.6 735355.959224537 15.3 735356.013287037 15 735356.057337963 16.2 735356.096666667 16.9 735356.155127315 17.2 735356.205567130 17.8 735356.248599537 17.2 735356.273680556 16.5 735356.303576389 16.2 735356.353807870 15.4 Then, we can not use the "ylabelFactor" method to scale the data. My code is as followings: \begin{filecontents*}{tu.total} 735355.385740741 18.1 735355.417511574 18.1 735355.472222222 18.1 735355.507916667 18.1 735355.550127315 18.1 735355.592465278 18.1 735355.663148148 18.1 735355.687500000 18.5 735355.726087963 19 735355.768576389 18.2 735355.802581019 17.6 735355.849108796 16.4 735355.888182870 16.1 735355.925266204 15.6 735355.959224537 15.3 735356.013287037 15 735356.057337963 16.2 735356.096666667 16.9 735356.155127315 17.2 735356.205567130 17.8 735356.248599537 17.2 735356.273680556 16.5 735356.303576389 16.2 735356.353807870 15.4 \end{filecontents*} % \documentclass[a4paper,12pt]{report} \usepackage{pst-all} \begin{document} \readdata{\mydata}{tu.total} %\psset{xunit=2cm, yunit=2cm} \pstScalePoints(1,1){735355 sub}{15 sub} \psgraph[Ox=735355,Dx=1,Oy=15,Dy=1,labels=y]% {->}(0,0)(3,4){8cm}{8cm} \listplot[showpoints=true, linecolor=red, linewidth=1pt]{\mydata} \endpsgraph \end{document} This time, I get nothing, no data are actually plotted. What's wrong? Thank you! > From: pstricks-request at tug.org > Subject: PSTricks Digest, Vol 124, Issue 7 > To: pstricks at tug.org > Date: Sat, 18 May 2013 08:41:38 +0200 > > 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. Re: Errors: Dimension Too Large. (Herbert Voss) > 2. Re: Errors: Dimension Too Large. (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 18 May 2013 08:31:31 +0200 > From: Herbert Voss > To: > Subject: Re: [pstricks] Errors: Dimension Too Large. > Message-ID: <51972043.8050604 at FU-Berlin.DE> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > Am 18.05.2013 04:38, schrieb Yonggang Hu: > > hello, two problems: > > 1) I always encounter an error message with "Dimension too large" if the > > input data is relative large , even for the given example on the web > > http://tug.org/PSTricks/pst-plot/listplot1.tex. My system is Miktex, and > > I have updated for the latest one. Where can I find a document > > descripting this problem in detail? > > use it this way: > > \begin{filecontents*}{tu.total} > 1 55808 > 2 31989 > 3 24884 > 4 22572 > 5 19718 > 6 17792 > 7 19529 > 8 17482 > 9 15658 > 10 18048 > 11 19132 > 12 19578 > 13 16152 > 14 16303 > 15 20265 > 16 24822 > 17 15240 > 18 19434 > 19 18585 > 20 19865 > 21 22418 > 22 23840 > 23 21704 > 24 39401 > \end{filecontents*} > % > \documentclass[a4paper,12pt]{report} > \usepackage{pstricks,pstricks-add} > > \begin{document} > \readdata{\mydata}{tu.total} > \psset{llx=-1cm,lly=-0.75cm} > \pstScalePoints(1,1){}{1e4 div} > \psgraph[ylabelFactor=\cdot10^4,dx=5\psxunit,Dx=5]% > {->}(0,0)(25,6){0.375\textwidth}{0.375\textwidth} > \listplot[showpoints=true, linecolor=red, linewidth=1pt]{\mydata} > \endpsgraph > > \end{document} > > > > 2) I want to plot the data with following forms into a cureve: > > > > 2013/05/01 10:21:15 45 > > 2013/05/01 11:24:41 13 > > ... ... > > > > An example data file can be found in the attachments: data.xls. How? > > \documentclass{article} > \usepackage{pst-plot} > \makeatletter > \newcounter{xVal}\setcounter{xVal}{0} > \def\psSpecialPlot{\pst at object{psSpecialPlot}} > \def\psSpecialPlot at i#1{\begin at SpecialObj\expandafter\psSpecialPlot at ii#1} > \def\psSpecialPlot at ii #1{\psSpecialPlot at iii#1} > \def\psSpecialPlot at iii#1 #2 #3 #4 #5 #6 {% > \stepcounter{xVal} > \psdot(\arabic{xVal},#6)% > \@ifnextchar D{\psSpecialPlot at iii}{\end at SpecialObj}% > } > \makeatother > > \begin{document} > > \readdata{\data}{listplot3.data} > \data%% shows how the data is _internally_ represented. > > \bigskip > \psset{llx=-1cm,lly=-1cm,mathLabel=false} > \begin{psgraph}[Dx=5,Dy=5]{->}(0,0)(20,20){10cm}{8cm} > \psSpecialPlot[dotsize=5pt]{\data} > \end{psgraph} > > \end{document} > > You can write the values for the x axis as #2 (the date) or #4 (time) > > Herbert > > > ------------------------------ > > Message: 2 > Date: Sat, 18 May 2013 08:41:30 +0200 > From: Herbert Voss > To: > Subject: Re: [pstricks] Errors: Dimension Too Large. > Message-ID: <5197229A.10809 at FU-Berlin.DE> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > Am 18.05.2013 08:31, schrieb Herbert Voss: > > attached my output oy the example with your values: > > > > You can write the values for the x axis as #2 (the date) or #4 (time) > > for example with \rput > > > > Herbert > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: xxx.png > Type: image/png > Size: 29644 bytes > Desc: not available > URL: > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 124, Issue 7 > **************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sat May 18 09:58:45 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 18 May 2013 09:58:45 +0200 Subject: [pstricks] Errors: Dimension Too Large. In-Reply-To: References: Message-ID: <519734B5.405@FU-Berlin.DE> Am 18.05.2013 09:48, schrieb Yonggang Hu: > > Suppose the average value of variable is large, but its variance is > small, something like the data as follows: I suppose that you used the old data. You must load the _package_ filecontents, otherwise the files can't be overwritten: \RequirePackage{filecontents} \begin{filecontents*}{tu.total} 735355.385740741 18.1 735355.417511574 18.1 735355.472222222 18.1 735355.507916667 18.1 735355.550127315 18.1 735355.592465278 18.1 735355.663148148 18.1 735355.687500000 18.5 735355.726087963 19 735355.768576389 18.2 735355.802581019 17.6 735355.849108796 16.4 735355.888182870 16.1 735355.925266204 15.6 735355.959224537 15.3 735356.013287037 15 735356.057337963 16.2 735356.096666667 16.9 735356.155127315 17.2 735356.205567130 17.8 735356.248599537 17.2 735356.273680556 16.5 735356.303576389 16.2 735356.353807870 15.4 \end{filecontents*} % \documentclass[a4paper,12pt]{report} \usepackage{pst-all} \begin{document} \readdata{\mydata}{tu.total} %\psset{xunit=2cm, yunit=2cm} \pstScalePoints(1,1){ 735355 sub }{ 15 sub } \psgraph[Ox=735355,Dx=0.25,Oy=15,Dy=1,labels=y]{->}(0,0)(2,4){8cm}{8cm} \listplot[showpoints=true,linecolor=red,linewidth=1pt]{\mydata} \endpsgraph \end{document} Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2013-05-18 09:58:24.png Type: image/png Size: 7508 bytes Desc: not available URL: From jdehaes at ulb.ac.be Sat May 18 21:17:57 2013 From: jdehaes at ulb.ac.be (Jean-Claude Dehaes) Date: Sat, 18 May 2013 21:17:57 +0200 Subject: [pstricks] bug in pst-eucl? Message-ID: <88885197d3e528abe@wm-srv.ulb.ac.be> Hello, There is something wrong with the package pst-eucl (or with me). The following tex file put C on the wrong place, it should be at B'. The name B' is not necessary. Thanks for the help Jean-Claude documentclass{scrartcl} usepackage{pst-eucl} begin{document} begin{pspicture}(-3,-2)(3,2) psset{CodeFig=true} pstGeonode[PointName=none](0,0){A} pstGeonode(-1.2,1.2){B} pstSymO{A}{B}{C} psline{->}(B)(C) psline{->}(C)(B') end{pspicture} end{document} scrartcl.cls 2012/07/29 v3.11b KOMA-Script document class (article) scrkbase.sty 2012/07/29 v3.11b KOMA-Script package (KOMA-Script-dependent ba sics and keyval usage) scrbase.sty 2012/07/29 v3.11b KOMA-Script package (KOMA-Script-independent basics and keyval usage) keyval.sty 1999/03/16 v1.13 key=value parser (DPC) scrlfile.sty 2012/06/15 v3.12 KOMA-Script package (loading files) tocbasic.sty 2012/04/04 v3.10b KOMA-Script package (handling toc-files) scrsize11pt.clo 2012/07/29 v3.11b KOMA-Script font size class option (11pt) typearea.sty 2012/07/29 v3.11b KOMA-Script package (type area) pst-eucl.sty 2011/08/04 package wrapper for PSTricks pst-eucl.tex pstricks.sty 2013/04/05 v0.54 LaTeX wrapper for `PSTricks' (RN,HV) pstricks.tex 2013/04/05 v2.40 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2012/10/14 v2.6b package option processing (HA) xkeyval.tex 2012/10/14 v2.6b key=value parser (HA) pst-fp.tex 2013/04/05 v2.40 `PST-fp' (hv) xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) pst-node.sty 2010/04/22 package wrapper for pst-node.tex pst-node.tex 2012/09/21 1.25 `pst-node' (tvz,hv) pst-eucl.tex 2013/03/12 v1.47 `PST-eucl' (dr) From dominique.rodriguez at waika9.com Sat May 18 22:11:17 2013 From: dominique.rodriguez at waika9.com (Dominique RODRIGUEZ) Date: Sat, 18 May 2013 22:11:17 +0200 Subject: [pstricks] bug in pst-eucl? Message-ID: <88885197d3e528abe@wm-srv.ulb.ac.be> Dear Jean-Claude, Try : \PstSymO{A}{B}[C] The name of the symetric point is optional, and by default a prime is added to the name of the point. Thus, in your example the symetric point is b', C is simply considered as normal text. Dominique Jean-Claude Dehaes a ?crit?: > >Hello, > >There is something wrong with the package pst-eucl (or with me). > >The following tex file put C on the wrong place, it should be at B'. >The name B' is not necessary. > >Thanks for the help > >Jean-Claude > >documentclass{scrartcl} > >usepackage{pst-eucl} > >begin{document} > >begin{pspicture}(-3,-2)(3,2) >psset{CodeFig=true} >pstGeonode[PointName=none](0,0){A} >pstGeonode(-1.2,1.2){B} >pstSymO{A}{B}{C} >psline{->}(B)(C) >psline{->}(C)(B') >end{pspicture} > >end{document} > >scrartcl.cls 2012/07/29 v3.11b KOMA-Script document class (article) >scrkbase.sty 2012/07/29 v3.11b KOMA-Script package (KOMA-Script-dependent ba >sics and keyval usage) > scrbase.sty 2012/07/29 v3.11b KOMA-Script package (KOMA-Script-independent >basics and keyval usage) > keyval.sty 1999/03/16 v1.13 key=value parser (DPC) >scrlfile.sty 2012/06/15 v3.12 KOMA-Script package (loading files) >tocbasic.sty 2012/04/04 v3.10b KOMA-Script package (handling toc-files) >scrsize11pt.clo 2012/07/29 v3.11b KOMA-Script font size class option (11pt) >typearea.sty 2012/07/29 v3.11b KOMA-Script package (type area) >pst-eucl.sty 2011/08/04 package wrapper for PSTricks pst-eucl.tex >pstricks.sty 2013/04/05 v0.54 LaTeX wrapper for `PSTricks' (RN,HV) >pstricks.tex 2013/04/05 v2.40 `PSTricks' (tvz,hv) >pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) > xkeyval.sty 2012/10/14 v2.6b package option processing (HA) > xkeyval.tex 2012/10/14 v2.6b key=value parser (HA) > pst-fp.tex 2013/04/05 v2.40 `PST-fp' (hv) > xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) > color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive > dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) >pst-node.sty 2010/04/22 package wrapper for pst-node.tex >pst-node.tex 2012/09/21 1.25 `pst-node' (tvz,hv) >pst-eucl.tex 2013/03/12 v1.47 `PST-eucl' (dr) >_______________________________________________ >PSTricks mailing list >PSTricks at tug.org >http://tug.org/mailman/listinfo/pstricks >archive: http://www.tug.org/pipermail/pstricks/ From jdehaes at ulb.ac.be Sun May 19 08:21:01 2013 From: jdehaes at ulb.ac.be (Jean-Claude Dehaes) Date: Sun, 19 May 2013 08:21:01 +0200 Subject: [pstricks] bug in pst-eucl? Message-ID: <2650751986f4d728aa@wm-srv.ulb.ac.be> Thanks I put curly brackets instead of square brackets. Next time I will read the manual more carefully. I guess this feature has been change recently. Jean-Claude >Dear Jean-Claude, > >Try : > >PstSymO{A}{B}[C] > >The name of the symetric point is optional, and by default a prime is added to the name of the point. >Thus, in your example the symetric point is b', C is simply considered as normal text. > >Dominique > > >Jean-Claude Dehaes a ?crit?: > >> >>Hello, >> >>There is something wrong with the package pst-eucl (or with me). >> >>The following tex file put C on the wrong place, it should be at B'. >>The name B' is not necessary. >> >>Thanks for the help >> >>Jean-Claude >> >>documentclass{scrartcl} >> >>usepackage{pst-eucl} >> >>begin{document} >> >>begin{pspicture}(-3,-2)(3,2) >>psset{CodeFig=true} >>pstGeonode[PointName=none](0,0){A} >>pstGeonode(-1.2,1.2){B} >>pstSymO{A}{B}{C} >>psline{->}(B)(C) >>psline{->}(C)(B') >>end{pspicture} >> >>end{document} >> >>scrartcl.cls 2012/07/29 v3.11b KOMA-Script document class (article) >>scrkbase.sty 2012/07/29 v3.11b KOMA-Script package (KOMA-Script-dependent ba >>sics and keyval usage) >> scrbase.sty 2012/07/29 v3.11b KOMA-Script package (KOMA-Script-independent >>basics and keyval usage) >> keyval.sty 1999/03/16 v1.13 key=value parser (DPC) >>scrlfile.sty 2012/06/15 v3.12 KOMA-Script package (loading files) >>tocbasic.sty 2012/04/04 v3.10b KOMA-Script package (handling toc-files) >>scrsize11pt.clo 2012/07/29 v3.11b KOMA-Script font size class option (11pt) >>typearea.sty 2012/07/29 v3.11b KOMA-Script package (type area) >>pst-eucl.sty 2011/08/04 package wrapper for PSTricks pst-eucl.tex >>pstricks.sty 2013/04/05 v0.54 LaTeX wrapper for `PSTricks' (RN,HV) >>pstricks.tex 2013/04/05 v2.40 `PSTricks' (tvz,hv) >>pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) >> xkeyval.sty 2012/10/14 v2.6b package option processing (HA) >> xkeyval.tex 2012/10/14 v2.6b key=value parser (HA) >> pst-fp.tex 2013/04/05 v2.40 `PST-fp' (hv) >> xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) >> color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive >> dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) >>pst-node.sty 2010/04/22 package wrapper for pst-node.tex >>pst-node.tex 2012/09/21 1.25 `pst-node' (tvz,hv) >>pst-eucl.tex 2013/03/12 v1.47 `PST-eucl' (dr) >>_______________________________________________ >>PSTricks mailing list >>PSTricks at tug.org >>http://tug.org/mailman/listinfo/pstricks >>archive: http://www.tug.org/pipermail/pstricks/ > > From jpdobarro at gmail.com Mon May 27 11:36:06 2013 From: jpdobarro at gmail.com (J_P_Dobarro) Date: Mon, 27 May 2013 11:36:06 +0200 Subject: [pstricks] \psline command Message-ID: There all, I would like to know how it works the vertical operator " | " in the following sentence code ? % \psline(0,0)(P|5,8) % where P is the node coordinate (x,y) already defined in the code. Thank you very much in advance -- Un saludo, J Pablo Dobarro. -------------- next part -------------- An HTML attachment was scrubbed... URL: From XC-lemens at web.de Mon May 27 16:45:09 2013 From: XC-lemens at web.de (=?ISO-8859-1?Q?Clemens_Sch=E4fermeier?=) Date: Mon, 27 May 2013 16:45:09 +0200 Subject: [pstricks] \psline command In-Reply-To: References: Message-ID: <51A37175.6060307@web.de> Hi If \SpecialCoor is called before, something like (coor1|coor2) produces a point with the x value of coor1 and the y value of coor2. coor1 = (5,1) coor2 = (2,3) would thus result in 5,3. See also http://tex.loria.fr/graph-pack/pstricks/pst-usr4.pdf Am 27.05.2013 11:36, schrieb J_P_Dobarro: > There all, > > I would like to know how it works the vertical operator " | " in the > following sentence code ? > > % > > \psline(0,0)(P|5,8) > > % > > where P is the node coordinate (x,y) already defined in the code. > > Thank you very much in advance > > > > > -- > Un saludo, > > J Pablo Dobarro. > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From Herbert.Voss at FU-Berlin.DE Tue May 28 17:34:56 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 28 May 2013 17:34:56 +0200 Subject: [pstricks] \psline command In-Reply-To: <51A37175.6060307@web.de> References: <51A37175.6060307@web.de> Message-ID: <51A4CEA0.5040409@FU-Berlin.DE> Am 27.05.2013 16:45, schrieb Clemens Sch?fermeier: > If \SpecialCoor is called before, something like > > (coor1|coor2) > > produces a point with the x value of coor1 and the y value of coor2. > > coor1 = (5,1) > coor2 = (2,3) > > would thus result in 5,3. See also > http://tex.loria.fr/graph-pack/pstricks/pst-usr4.pdf do not use that website for documentation, it is really outdated. Use _always_ CTAN, eg http://mirror.ctan.org/graphics/pstricks/base/doc/pst-user.pdf p.104ff Herbert From Zbigniew.Nitecki at tufts.edu Wed May 29 22:49:11 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Wed, 29 May 2013 20:49:11 +0000 Subject: [pstricks] computing coordinates Message-ID: I know I have had this answered before, but can't remember how it works. I want to draw a family of horizontal lines (with arrowheads) filling out a parallelogram, bounded by the lines y=-x and y=-(x+2) from y=0 to y=-2. I am trying to do it via \multido, so for t=0 to t=2 in increments of d, I want to repeat \psline{->}(t,-t)(t+2,-t). I know that \multido{\rx=0.0+0.2}{11}{\psline(\rx,-\rx)(2+\rx,-\rx)} doesn't work, because postscript gets confused by "2+\rx". So my question is, how do I specify coordinates of a point to be computed from a parameter? I seem to recall there are two systems, one involving an exclamation point and the other a postscript reverse Polish format, but haven't on a quick search found the appropriate information in LGC2 or Herbert's book. Can someone (again) explain how this is done? Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From gilg at acrotex.net Wed May 29 22:58:02 2013 From: gilg at acrotex.net (Juergen Gilg) Date: Wed, 29 May 2013 22:58:02 +0200 Subject: [pstricks] computing coordinates In-Reply-To: References: Message-ID: <51A66BDA.6080200@acrotex.net> Dear Ziggy, I know that \multido{\rx=0.0+0.2}{11}{\psline(\rx,-\rx)(2+\rx,-\rx)} doesn't work, because postscript gets confused by "2+\rx". try: \multido{\rx=0.0+0.2}{11}{\psline(!\rx\space \rx\space neg)(!\rx\space 2 add \rx\space neg)} This should do the wanted. With the "!" you tell PSTricks to use the PS notation. PS notation doesn't have a "+" -- you use "add" instead in Reverse Polish Notation. Hope this helps! Regards, J?rgen From Zbigniew.Nitecki at tufts.edu Wed May 29 23:17:15 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Wed, 29 May 2013 21:17:15 +0000 Subject: [pstricks] computing coordinates In-Reply-To: <51A66BDA.6080200@acrotex.net> References: <51A66BDA.6080200@acrotex.net> Message-ID: Perfect! Thanks?just what I needed. (I also had a response from Leon Free--thanks, but I think this is really the right way to go (if you can remember the syntax). On May 29, 2013, at 16:58, Juergen Gilg wrote: Dear Ziggy, I know that \multido{\rx=0.0+0.2}{11}{\psline(\rx,-\rx)(2+\rx,-\rx)} doesn't work, because postscript gets confused by "2+\rx". try: \multido{\rx=0.0+0.2}{11}{\psline(!\rx\space \rx\space neg)(!\rx\space 2 add \rx\space neg)} This should do the wanted. With the "!" you tell PSTricks to use the PS notation. PS notation doesn't have a "+" -- you use "add" instead in Reverse Polish Notation. Hope this helps! Regards, J?rgen _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From leon.free at free.fr Wed May 29 23:11:58 2013 From: leon.free at free.fr (Leon Free) Date: Wed, 29 May 2013 23:11:58 +0200 Subject: [pstricks] computing coordinates In-Reply-To: References: Message-ID: <51A66F1E.3040407@free.fr> Hi I had to do something similar. I used the fp package to compute and store the value of 2+\rx. It may not be the most elegant solution, but it seems to produce the desired result \documentclass{article} \usepackage{pstricks,multido,fp} \begin{document} \multido{\rx=0.0+0.2}{11}{\FPeval{\rrxx}{2+\rx}\psline(\rx, -\rx)(\rrxx, -\rx)} \end{document} L > I know I have had this answered before, but can't remember how it works. > > I want to draw a family of horizontal lines (with arrowheads) filling out a parallelogram, bounded by > the lines y=-x and y=-(x+2) from y=0 to y=-2. I am trying to do it via \multido, so for t=0 to t=2 in increments of d, > I want to repeat \psline{->}(t,-t)(t+2,-t). I know that > \multido{\rx=0.0+0.2}{11}{\psline(\rx,-\rx)(2+\rx,-\rx)} > doesn't work, because postscript gets confused by "2+\rx". > So my question is, how do I specify coordinates of a point to be computed from a parameter? > I seem to recall there are two systems, one involving an exclamation point and the other a postscript reverse Polish format, but haven't on a quick search found the appropriate information in LGC2 or Herbert's book. > > Can someone (again) explain how this is done? > > Zbigniew Nitecki > Department of Mathematics > Tufts University > Medford, MA 02155 > > telephones: > Office (617)627-3843 > Dept. (617)627-3234 > Dept. fax (617)627-3966 > http://www.tufts.edu/~znitecki/ > > > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From lboos at providence.edu Sun Jun 2 03:22:42 2013 From: lboos at providence.edu (Boos, Lynette) Date: Sun, 2 Jun 2013 01:22:42 +0000 Subject: [pstricks] pstricks with PlainTeX Message-ID: <9BBB6FF6F8CEA6498813717455063B13FF66EE9B@DAG01.providence.col> Hi Everyone, I got a new Mac with OS X 10.8.3 and installed MacTeX-2012, but pstricks doesn't seem to work now. I primarily use (Plain) TeX, but when I looked for help in FAQs and mailing lists, the answers I found were specific to LaTeX. So I downloaded a pstricks example file from TUG that uses LaTeX, and that doesn't work either. Even after I put % !TEX TS-program = latex at the top of the file and ran it with LaTeX or XeLaTeX, it wouldn't work. With the LaTeX engine, for example, I get this error message: ### This is /usr/texbin/simpdftex, Version 20070809 ### /usr/texbin/latex hilbert.tex This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) restricted \write18 enabled. entering extended mode (./hilbert.tex LaTeX2e <2011/06/27> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbianc, s lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded. (/usr/local/texlive/2012/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2012/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2012/texmf-dist/tex/latex/pstricks/pstricks.sty (./pstricks.tex (/usr/local/texlive/2012/texmf-dist/tex/generic/xkeyval/pst-xkey.tex (/usr/local/texlive/2012/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/local/texlive/2012/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/local/texlive/2012/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/local/texlive/2012/texmf-dist/tex/generic/pstricks/pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv)) `PSTricks' v0.05 <2010/01/17> (tvz) (/usr/local/texlive/2012/texmf-dist/tex/generic/pstricks/pstricks.con)) (/usr/local/texlive/2012/texmf-dist/tex/generic/pstricks/pst-fp.tex) (/usr/local/texlive/2012/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/dvips.def))) (./hilbert.aux) Overfull \hbox (15.0pt too wide) in paragraph at lines 37--44 [][] [1] (./hilbert.aux) ) (see the transcript file for additional information) Output written on hilbert.dvi (1 page, 507508 bytes). SyncTeX written on hilbert.synctex.gz. Transcript written on hilbert.log. ### /usr/texbin/dvips -R -Poutline -o /tmp/altpdflatex.55576-1370136084/hilbert.ps hilbert.dvi This is dvips(k) 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com) ' TeX output 2013.06.01:2121' -> /tmp/altpdflatex.55576-1370136084/hilbert.ps . [1] ### ps2pdf13 /tmp/altpdflatex.55576-1370136084/hilbert.ps /tmp/altpdflatex.55576-1370136084/hilbert.pdf /usr/texbin/simpdftex: line 495: ps2pdf13: command not found ### FAILED to generate /tmp/altpdflatex.55576-1370136084/hilbert.pdf () Any help would be immensely appreciated. Thank you, Lynette -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Jun 2 07:03:20 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 2 Jun 2013 07:03:20 +0200 Subject: [pstricks] pstricks with PlainTeX In-Reply-To: <9BBB6FF6F8CEA6498813717455063B13FF66EE9B@DAG01.providence.col> References: <9BBB6FF6F8CEA6498813717455063B13FF66EE9B@DAG01.providence.col> Message-ID: <51AAD218.6040109@FU-Berlin.DE> Am 02.06.2013 03:22, schrieb Boos, Lynette: > % !TEX TS-program = latex > > at the top of the file and ran it with LaTeX or XeLaTeX, it wouldn't > work. With the LaTeX engine, for example, I get this error message: > > ### This is /usr/texbin/simpdftex, Version 20070809 > ### /usr/texbin/latex hilbert.tex > ### /usr/texbin/dvips -R -Poutline -o > ### ps2pdf13 /tmp/altpdflatex.55576-1370136084/hilbert.ps > /tmp/altpdflatex.55576-1370136084/hilbert.pdf > > /usr/texbin/simpdftex: line 495: ps2pdf13: command not found > > ### FAILED to generate /tmp/altpdflatex.55576-1370136084/hilbert.pdf () everything works well except the last ps2pdf13 run. Try to run it inside a terminal: Open a terminal (write terminal into the finder) go into the documents directory cd .. run: latex hilbert dvips hilbert.dvi ps2pdf hilbert.ps what happens? However, here is the setting for TeXShop: http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput#TS Herbert From Zbigniew.Nitecki at tufts.edu Sun Jun 2 22:44:23 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Sun, 2 Jun 2013 20:44:23 +0000 Subject: [pstricks] rotated vector in pstricks Message-ID: If I want to draw a vector of length, say, 0.25 making an angle of, say 45 degrees with the horizontal, and put it so its tail is at, say, (0,0.5), what is wrong with writing \rput{45}(0.05){\psline(0,0)(0.25,0)} ? I am getting the error message ./Parallel.tex:477: Missing number, treated as zero. \relax l.477 \rput{45}(0.05){\psline(0,0)(0.25,0)} If I hit "r" (ignore) the vector prints properly, but I would like to know what the missing number is. Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From gilg at acrotex.net Sun Jun 2 22:51:27 2013 From: gilg at acrotex.net (Juergen Gilg) Date: Sun, 2 Jun 2013 22:51:27 +0200 Subject: [pstricks] rotated vector in pstricks In-Reply-To: References: Message-ID: <51ABB04F.4040009@acrotex.net> Dear Ziggy, what about: \rput{45}(0,0.5){\psline(0,0)(0.25,0)} In the "(...)" PSTricks wants the coordinates -- seperated by a COMMA... Hope this helps. Regards, J?rgen Am 02.06.2013 22:44, schrieb Nitecki, Zbigniew H.: > If I want to draw a vector of length, say, 0.25 making an angle of, say 45 degrees with the horizontal, and put it so its tail is at, say, (0,0.5), what is wrong with writing > \rput{45}(0.05){\psline(0,0)(0.25,0)} > ? > I am getting the error message > ./Parallel.tex:477: Missing number, treated as zero. > > \relax > l.477 \rput{45}(0.05){\psline(0,0)(0.25,0)} > > If I hit "r" (ignore) the vector prints properly, but I would like to know what the missing number is. > > Zbigniew Nitecki > Department of Mathematics > Tufts University > Medford, MA 02155 > > telephones: > Office (617)627-3843 > Dept. (617)627-3234 > Dept. fax (617)627-3966 > http://www.tufts.edu/~znitecki/ > > > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -- J?rgen Gilg Austr. 59 70376 Stuttgart tel 0711 59 27 88 email gilg at acrotex.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From Zbigniew.Nitecki at tufts.edu Sun Jun 2 22:57:50 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Sun, 2 Jun 2013 20:57:50 +0000 Subject: [pstricks] rotated vector in pstricks In-Reply-To: <51ABB04F.4040009@acrotex.net> References: <51ABB04F.4040009@acrotex.net> Message-ID: Juergen: I can't believe I made as stupid a mistake as that and didn't catch it. Thanks, this seems to work fine. Ziggy On Jun 2, 2013, at 16:51, Juergen Gilg wrote: Dear Ziggy, what about: \rput{45}(0,0.5){\psline(0,0)(0.25,0)} In the "(...)" PSTricks wants the coordinates -- seperated by a COMMA... Hope this helps. Regards, J?rgen Am 02.06.2013 22:44, schrieb Nitecki, Zbigniew H.: If I want to draw a vector of length, say, 0.25 making an angle of, say 45 degrees with the horizontal, and put it so its tail is at, say, (0,0.5), what is wrong with writing \rput{45}(0.05){\psline(0,0)(0.25,0)} ? I am getting the error message ./Parallel.tex:477: Missing number, treated as zero. \relax l.477 \rput{45}(0.05){\psline(0,0)(0.25,0)} If I hit "r" (ignore) the vector prints properly, but I would like to know what the missing number is. Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -- J?rgen Gilg Austr. 59 70376 Stuttgart tel 0711 59 27 88 email gilg at acrotex.net _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From gilg at acrotex.net Sun Jun 2 23:11:53 2013 From: gilg at acrotex.net (Juergen Gilg) Date: Sun, 2 Jun 2013 23:11:53 +0200 Subject: [pstricks] rotated vector in pstricks In-Reply-To: References: <51ABB04F.4040009@acrotex.net> Message-ID: <51ABB519.70201@acrotex.net> Dear Ziggy, there is another nice way to do the same -- try \rput(0,0.5){\psline(0,0)(0.25;45)} Now if you separate coordinates with a ";" instead of a "," -- this tells PSTricks to use POLAR COORDINATES (Radius;Angle with positive x-axis) instead of (x,y) Very helpful for lines with a given length and angle with the horizontal starting in the origin. Just as a little addition. Regards, J?rgen Am 02.06.2013 22:57, schrieb Nitecki, Zbigniew H.: > Juergen: > I can't believe I made as stupid a mistake as that and didn't catch it. Thanks, this seems to work fine. > Ziggy > > On Jun 2, 2013, at 16:51, Juergen Gilg wrote: > > Dear Ziggy, > > what about: > > \rput{45}(0,0.5){\psline(0,0)(0.25,0)} > > In the "(...)" PSTricks wants the coordinates -- seperated by a COMMA... > > Hope this helps. > > Regards, > > J?rgen > > Am 02.06.2013 22:44, schrieb Nitecki, Zbigniew H.: > > If I want to draw a vector of length, say, 0.25 making an angle of, say 45 degrees with the horizontal, and put it so its tail is at, say, (0,0.5), what is wrong with writing > \rput{45}(0.05){\psline(0,0)(0.25,0)} > ? > I am getting the error message > ./Parallel.tex:477: Missing number, treated as zero. > > \relax > l.477 \rput{45}(0.05){\psline(0,0)(0.25,0)} > > If I hit "r" (ignore) the vector prints properly, but I would like to know what the missing number is. > > Zbigniew Nitecki > Department of Mathematics > Tufts University > Medford, MA 02155 > > telephones: > Office (617)627-3843 > Dept. (617)627-3234 > Dept. fax (617)627-3966 > http://www.tufts.edu/~znitecki/ > > > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > > > > > -- > J?rgen Gilg > Austr. 59 > 70376 Stuttgart > > tel 0711 59 27 88 > email gilg at acrotex.net > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > > > Zbigniew Nitecki > Department of Mathematics > Tufts University > Medford, MA 02155 > > telephones: > Office (617)627-3843 > Dept. (617)627-3234 > Dept. fax (617)627-3966 > http://www.tufts.edu/~znitecki/ > > > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -- J?rgen Gilg Austr. 59 70376 Stuttgart tel 0711 59 27 88 email gilg at acrotex.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From Zbigniew.Nitecki at tufts.edu Sun Jun 2 23:15:45 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Sun, 2 Jun 2013 21:15:45 +0000 Subject: [pstricks] rotated vector in pstricks In-Reply-To: <51ABB519.70201@acrotex.net> References: <51ABB04F.4040009@acrotex.net> <51ABB519.70201@acrotex.net> Message-ID: Juergen: I like it. Thanks! Z On Jun 2, 2013, at 17:11, Juergen Gilg wrote: Dear Ziggy, there is another nice way to do the same -- try \rput(0,0.5){\psline(0,0)(0.25;45)} Now if you separate coordinates with a ";" instead of a "," -- this tells PSTricks to use POLAR COORDINATES (Radius;Angle with positive x-axis) instead of (x,y) Very helpful for lines with a given length and angle with the horizontal starting in the origin. Just as a little addition. Regards, J?rgen Am 02.06.2013 22:57, schrieb Nitecki, Zbigniew H.: Juergen: I can't believe I made as stupid a mistake as that and didn't catch it. Thanks, this seems to work fine. Ziggy On Jun 2, 2013, at 16:51, Juergen Gilg wrote: Dear Ziggy, what about: \rput{45}(0,0.5){\psline(0,0)(0.25,0)} In the "(...)" PSTricks wants the coordinates -- seperated by a COMMA... Hope this helps. Regards, J?rgen Am 02.06.2013 22:44, schrieb Nitecki, Zbigniew H.: If I want to draw a vector of length, say, 0.25 making an angle of, say 45 degrees with the horizontal, and put it so its tail is at, say, (0,0.5), what is wrong with writing \rput{45}(0.05){\psline(0,0)(0.25,0)} ? I am getting the error message ./Parallel.tex:477: Missing number, treated as zero. \relax l.477 \rput{45}(0.05){\psline(0,0)(0.25,0)} If I hit "r" (ignore) the vector prints properly, but I would like to know what the missing number is. Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -- J?rgen Gilg Austr. 59 70376 Stuttgart tel 0711 59 27 88 email gilg at acrotex.net _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -- J?rgen Gilg Austr. 59 70376 Stuttgart tel 0711 59 27 88 email gilg at acrotex.net _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From Zbigniew.Nitecki at tufts.edu Sun Jun 2 23:36:05 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Sun, 2 Jun 2013 21:36:05 +0000 Subject: [pstricks] Higher Order Bezier Curves Message-ID: Following the examples on p. 105 of Herbert's book (English edition--sorry!) I tried the following %!TEX TS-program = latex \documentclass[11pt]{article} \usepackage{pstricks} \usepackage{pst-plot, pst-math} \usepackage{pstricks-add} \usepackage{pst-func} \begin{document} \begin{pspicture}(0,0)(10,4) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \psline[linestyle=dashed](2,1)(2,4) \psline[linestyle=dashed](4,1)(4,4) \psline[linewidth=1.5pt, arrows=->](5,4)(5,1) \psBezier5{->}(1.01,4.0)(2.0,1.0)(3.0,1.0)(4.0,1.0)(4.99,4.0) \end{pspicture} \end{document} and my console reads ### This is /usr/texbin/simpdftex, Version 20070809 ### /usr/texbin/latex Brief_picture_test.tex This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) restricted \write18 enabled. entering extended mode (./Brief_picture_test.tex LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded . (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2011/texmf-dist/tex/latex/base/size11.clo)) (/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks/pstricks.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/pst-xkey.tex (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv)) `PSTricks' v2.20 <2011/04/23> (tvz) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.con)) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex) (/usr/local/texlive/2011/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvips.def))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-plot/pst-plot.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/pst-xkey.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/multido/multido.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/multido/multido.tex v1.42, 2010/05/14 )) (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-plot/pst-plot.tex v1.29, 2011/04/13 (tvz,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-math/pst-math.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-math/pst-math.tex `pst-math' v0.62 , (CJ,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-solides3d/pst-solides3d.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-node/pst-node.tex v1.16, 2011/05/05) `PSTSOLIDESIIID' v4.23, 2010/09/22)) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-3d/pst-3d.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-3d/pst-3d.tex `PST-3d' v1.11, 2010/02/14 (tvz))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-node/pst-node.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-node/pst-node.tex)) (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-node/pst-node.tex) (/usr/local/texlive/2011/texmf-dist/tex/generic/multido/multido.tex v1.42, 2010/05/14 ) `PST-3dplot' v1.94, 2011/03/01 (HV,DL))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-func/pst-func.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-func/pst-func.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex `pstricks-add' v3.51, 2011/02/02 (dr,hv)) `PST-func' v0.72, 2011/04/23 (hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-grad/pst-grad.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-grad/pst-grad.tex `pst-grad' v1.06, 2006/11/27 (tvz,dg,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex)) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-text/pst-text.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-text/pst-text.tex v1.00, 2006/11/05(tvz,hv))) (/Users/zbigniewnitecki/Library/texmf/tex/latex/Macros symlink/calculusmacros.s ty (/Users/zbigniewnitecki/Library/texmf/tex/latex/Macros symlink/basicmacros.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg)))) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/local/texlive/2011/texmf-dist/tex/latex/bezos/accents.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/base/exscale.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/relsize/relsize.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/yfonts/yfonts.sty)) (/Users/zbigniewnitecki/Library/texmf/tex/latex/Macros symlink/colormacros.sty) (/Users/zbigniewnitecki/Library/texmf/tex/latex/Macros symlink/graphicsmacros.s ty) (/usr/local/texlive/2011/texmf-dist/tex/latex/subfig/subfig.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption3.sty))) (./Brief_picture_test.aux) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsb.fd) [1] (./Brief_picture_test.aux) ) Output written on Brief_picture_test.dvi (1 page, 8440 bytes). SyncTeX written on Brief_picture_test.synctex.gz. Transcript written on Brief_picture_test.log. ### /usr/texbin/dvips -R -Poutline -o /tmp/altpdflatex.17485-1370208491/Brief_picture_test.ps Brief_picture_test.dvi This is dvips(k) 5.991 Copyright 2011 Radical Eye Software (www.radicaleye.com) ' TeX output 2013.06.02:1728' -> /tmp/altpdflatex.17485-1370208491/Brief_picture_test.ps . [1] ### ps2pdf13 /tmp/altpdflatex.17485-1370208491/Brief_picture_test.ps /tmp/altpdflatex.17485-1370208491/Brief_picture_test.pdf Error: /rangecheck in --get-- Operand stack: 0 0 --nostringval-- 11 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1894 1 3 %oparray_pop 1893 1 3 %oparray_pop 1877 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 4 -1 0 --nostringval-- %for_neg_int_continue --nostringval-- Dictionary stack: --dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:130/200(L)-- --dict:743/1012(L)-- --dict:182/300(L)-- --dict:38/200(L)-- --dict:112/200(L)-- --dict:52/100(L)-- --dict:7/10(L)-- Current allocation mode is local Last OS error: 2 Current file position is 482551 GPL Ghostscript 9.02: Unrecoverable error, exit code 1 ### FAILED to generate /tmp/altpdflatex.17485-1370208491/Brief_picture_test.pdf () Where have I screwed up? Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From Zbigniew.Nitecki at tufts.edu Sun Jun 2 23:41:32 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Sun, 2 Jun 2013 21:41:32 +0000 Subject: [pstricks] Higher Order Bezier Curves-ignore In-Reply-To: References: Message-ID: Double sorry--p. 524 of Herbert's book. And I miscounted the number of points needed. On Jun 2, 2013, at 17:36, Nitecki, Zbigniew H. wrote: Following the examples on p. 105 of Herbert's book (English edition--sorry!) I tried the following %!TEX TS-program = latex \documentclass[11pt]{article} \usepackage{pstricks} \usepackage{pst-plot, pst-math} \usepackage{pstricks-add} \usepackage{pst-func} \begin{document} \begin{pspicture}(0,0)(10,4) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \psline[linestyle=dashed](2,1)(2,4) \psline[linestyle=dashed](4,1)(4,4) \psline[linewidth=1.5pt, arrows=->](5,4)(5,1) \psBezier5{->}(1.01,4.0)(2.0,1.0)(3.0,1.0)(4.0,1.0)(4.99,4.0) \end{pspicture} \end{document} and my console reads ### This is /usr/texbin/simpdftex, Version 20070809 ### /usr/texbin/latex Brief_picture_test.tex This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) restricted \write18 enabled. entering extended mode (./Brief_picture_test.tex LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded . (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2011/texmf-dist/tex/latex/base/size11.clo)) (/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks/pstricks.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/pst-xkey.tex (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv)) `PSTricks' v2.20 <2011/04/23> (tvz) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.con)) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex) (/usr/local/texlive/2011/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvips.def))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-plot/pst-plot.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/pst-xkey.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/multido/multido.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/multido/multido.tex v1.42, 2010/05/14 )) (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-plot/pst-plot.tex v1.29, 2011/04/13 (tvz,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-math/pst-math.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-math/pst-math.tex `pst-math' v0.62 , (CJ,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-solides3d/pst-solides3d.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-solides3d/pst-solides3d.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-node/pst-node.tex v1.16, 2011/05/05) `PSTSOLIDESIIID' v4.23, 2010/09/22)) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-3d/pst-3d.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-3d/pst-3d.tex `PST-3d' v1.11, 2010/02/14 (tvz))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-node/pst-node.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-node/pst-node.tex)) (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-node/pst-node.tex) (/usr/local/texlive/2011/texmf-dist/tex/generic/multido/multido.tex v1.42, 2010/05/14 ) `PST-3dplot' v1.94, 2011/03/01 (HV,DL))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-func/pst-func.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-func/pst-func.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex `pstricks-add' v3.51, 2011/02/02 (dr,hv)) `PST-func' v0.72, 2011/04/23 (hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-grad/pst-grad.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-grad/pst-grad.tex `pst-grad' v1.06, 2006/11/27 (tvz,dg,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex)) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-text/pst-text.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-text/pst-text.tex v1.00, 2006/11/05(tvz,hv))) (/Users/zbigniewnitecki/Library/texmf/tex/latex/Macros symlink/calculusmacros.s ty (/Users/zbigniewnitecki/Library/texmf/tex/latex/Macros symlink/basicmacros.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg)))) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/local/texlive/2011/texmf-dist/tex/latex/bezos/accents.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/base/exscale.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/relsize/relsize.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/yfonts/yfonts.sty)) (/Users/zbigniewnitecki/Library/texmf/tex/latex/Macros symlink/colormacros.sty) (/Users/zbigniewnitecki/Library/texmf/tex/latex/Macros symlink/graphicsmacros.s ty) (/usr/local/texlive/2011/texmf-dist/tex/latex/subfig/subfig.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption3.sty))) (./Brief_picture_test.aux) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsb.fd) [1] (./Brief_picture_test.aux) ) Output written on Brief_picture_test.dvi (1 page, 8440 bytes). SyncTeX written on Brief_picture_test.synctex.gz. Transcript written on Brief_picture_test.log. ### /usr/texbin/dvips -R -Poutline -o /tmp/altpdflatex.17485-1370208491/Brief_picture_test.ps Brief_picture_test.dvi This is dvips(k) 5.991 Copyright 2011 Radical Eye Software (www.radicaleye.com) ' TeX output 2013.06.02:1728' -> /tmp/altpdflatex.17485-1370208491/Brief_picture_test.ps . [1] ### ps2pdf13 /tmp/altpdflatex.17485-1370208491/Brief_picture_test.ps /tmp/altpdflatex.17485-1370208491/Brief_picture_test.pdf Error: /rangecheck in --get-- Operand stack: 0 0 --nostringval-- 11 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1894 1 3 %oparray_pop 1893 1 3 %oparray_pop 1877 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 4 -1 0 --nostringval-- %for_neg_int_continue --nostringval-- Dictionary stack: --dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:130/200(L)-- --dict:743/1012(L)-- --dict:182/300(L)-- --dict:38/200(L)-- --dict:112/200(L)-- --dict:52/100(L)-- --dict:7/10(L)-- Current allocation mode is local Last OS error: 2 Current file position is 482551 GPL Ghostscript 9.02: Unrecoverable error, exit code 1 ### FAILED to generate /tmp/altpdflatex.17485-1370208491/Brief_picture_test.pdf () Where have I screwed up? Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From Zbigniew.Nitecki at tufts.edu Mon Jun 3 00:24:04 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Sun, 2 Jun 2013 22:24:04 +0000 Subject: [pstricks] Arrows with Bezier Curves Message-ID: (My apologies for the earlier, premature post). I want to draw curves with specified asymptotes (for which I am using Bezier#), with directions shown by arrowheads. The following source code \begin{pspicture}(0,0)(10,4.5) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \psline[linestyle=dashed](2,1)(2,4) \psline[linestyle=dashed](4,1)(4,4) \psline[linewidth=1.5pt, arrows=->](5,4)(5,1) \psBezier5[linewidth=1.5pt, arrows=<-](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1) \psline[linewidth=1.5pt](2,1)(4,1) \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4) \end{pspicture} yields the output shown in the attachment. Everything is fine, except that the arrow, which should be at the top left of the curved line, is instead pointing the other way, at the juncture of the first Bezier curve with the horizontal segment. If I put the option arrows =->, I get no arrow at either end (even if I make sure the box for the picture is higher than the top of the curves). The first behavior seems to me wrong (doesn't the curve begin at the first point listed, and doesn't the arrow designation <- mean you put the arrow at the start of the curve, pointing back? The second is no better (though I expected it to also reverse start and end of the curve). An annoyance, but if someone has a suggestion, I am all ears. Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Beziertest.pdf Type: application/pdf Size: 4813 bytes Desc: Beziertest.pdf URL: From Herbert.Voss at FU-Berlin.DE Mon Jun 3 09:32:43 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 3 Jun 2013 09:32:43 +0200 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: References: Message-ID: <51AC469B.8020507@FU-Berlin.DE> Am 03.06.2013 00:24, schrieb Nitecki, Zbigniew H.: > (My apologies for the earlier, premature post). > I want to draw curves with specified asymptotes (for which I am using Bezier#), with directions shown by arrowheads. > > The following source code while (true) { provide _always_ complete example documents! } \documentclass{article} \usepackage{pst-func} \begin{document} \begin{pspicture}(0,0)(10,4.5) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \psline[linestyle=dashed](2,1)(2,4) \psline[linestyle=dashed](4,1)(4,4) \psline[linewidth=1.5pt,arrows=->](5,4)(5,1) \psBezier5[linewidth=1.5pt,arrows=->](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1) \psline[linewidth=1.5pt](2,1)(4,1) \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4) \end{pspicture} \end{document} works with the pst-func.pro from http://texnik.dante.de/dvips/pst-func/ there was a bug with the end arrow. Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2013-06-03 09:29:36.png Type: image/png Size: 3866 bytes Desc: not available URL: From lfsequeira at gmail.com Mon Jun 3 11:08:30 2013 From: lfsequeira at gmail.com (Luis Sequeira) Date: Mon, 3 Jun 2013 10:08:30 +0100 Subject: [pstricks] pstricks with PlainTeX Message-ID: <3D0061D8-D11A-4ADB-AEBC-7B19337975A6@gmail.com> > Hi Everyone, > > I got a new Mac with OS X 10.8.3 and installed MacTeX-2012, but pstricks doesn't seem to work now. I primarily use (Plain) TeX, but when I looked for help in FAQs and mailing lists, the answers I found were specific to LaTeX. So I downloaded a pstricks example file from TUG that uses LaTeX, and that doesn't work either. Even after I put > > % !TEX TS-program = latex > > at the top of the file and ran it with LaTeX or XeLaTeX, it wouldn't work. With the LaTeX engine, for example, I get this error message: > > > ### This is /usr/texbin/simpdftex, Version 20070809 > > ### /usr/texbin/latex hilbert.tex > > This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) > > restricted \write18 enabled. > > entering extended mode > [....] > ### ps2pdf13 /tmp/altpdflatex.55576-1370136084/hilbert.ps /tmp/altpdflatex.55576-1370136084/hilbert.pdf > > /usr/texbin/simpdftex: line 495: ps2pdf13: command not found > > ### FAILED to generate /tmp/altpdflatex.55576-1370136084/hilbert.pdf () > The relevant error message is "/usr/texbin/simpdftex: line 495: ps2pdf13: command not found" It tells you that it can't find the ps2pdf13 command. This should live in /usr/local/bin. Open a Terminal window, type "which ps2pdf13" (without the quotes) and hit return. Which of the three possibilitues below do you get? (A) /usr/local/bin/ps2pdf13; (B) some other path; or (C) ps2pdf13: command not found If you get (C), it is likely that ghostscript is not installed. LS From Zbigniew.Nitecki at tufts.edu Mon Jun 3 16:38:15 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Mon, 3 Jun 2013 14:38:15 +0000 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: <51AC469B.8020507@FU-Berlin.DE> References: <51AC469B.8020507@FU-Berlin.DE> Message-ID: Herbert: Thanks for the suggestion. I know this is a stupid question, but clicking on the link you gave gets me to "Index of/dvips/pst-func" which indeed shows the file "pst-func.pro"--how do I download it, and where do I put it? (and as a p.s., when will texlive2013 be available? maybe not Herbert's call, but someone might tell me) On Jun 3, 2013, at 3:32, Herbert Voss wrote: Am 03.06.2013 00:24, schrieb Nitecki, Zbigniew H.: (My apologies for the earlier, premature post). I want to draw curves with specified asymptotes (for which I am using Bezier#), with directions shown by arrowheads. The following source code while (true) { provide _always_ complete example documents! } \documentclass{article} \usepackage{pst-func} \begin{document} \begin{pspicture}(0,0)(10,4.5) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \psline[linestyle=dashed](2,1)(2,4) \psline[linestyle=dashed](4,1)(4,4) \psline[linewidth=1.5pt,arrows=->](5,4)(5,1) \psBezier5[linewidth=1.5pt,arrows=->](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1) \psline[linewidth=1.5pt](2,1)(4,1) \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4) \end{pspicture} \end{document} works with the pst-func.pro from http://texnik.dante.de/dvips/pst-func/ there was a bug with the end arrow. Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From Herbert.Voss at FU-Berlin.DE Mon Jun 3 16:56:49 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 3 Jun 2013 16:56:49 +0200 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: References: <51AC469B.8020507@FU-Berlin.DE> Message-ID: <51ACAEB1.1000003@FU-Berlin.DE> Am 03.06.2013 16:38, schrieb Nitecki, Zbigniew H.: > clicking on the link you gave > gets me to "Index of/dvips/pst-func" which indeed shows the file "pst-func.pro"--how do I download it, and where do I put it? I have no idea where TeX saves the files on Windows. However, you can run "cmd" which opens a command window. Input "kpwewhich pst-func.pro" and it should list the current directory where it is saved. You can also run an example and read the log file it also shows all directories. Herbert From Zbigniew.Nitecki at tufts.edu Mon Jun 3 17:12:46 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Mon, 3 Jun 2013 15:12:46 +0000 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: <51ACAEB1.1000003@FU-Berlin.DE> References: <51AC469B.8020507@FU-Berlin.DE> <51ACAEB1.1000003@FU-Berlin.DE> Message-ID: Herbert: I am running a Mac (OSX 10.7.5) not Windows, but either way my problem (due to my own ineptitude with the details of file placement under the hood) is first that I don't know how to get the file from the dante website to my computer and second once I get it there, where I am to put it when I do. Answering the first question is a prerequisite for the second. Z On Jun 3, 2013, at 10:56, Herbert Voss wrote: Am 03.06.2013 16:38, schrieb Nitecki, Zbigniew H.: clicking on the link you gave gets me to "Index of/dvips/pst-func" which indeed shows the file "pst-func.pro"--how do I download it, and where do I put it? I have no idea where TeX saves the files on Windows. However, you can run "cmd" which opens a command window. Input "kpwewhich pst-func.pro" and it should list the current directory where it is saved. You can also run an example and read the log file it also shows all directories. Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From Herbert.Voss at FU-Berlin.DE Mon Jun 3 18:00:03 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 3 Jun 2013 18:00:03 +0200 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: References: <51AC469B.8020507@FU-Berlin.DE> <51ACAEB1.1000003@FU-Berlin.DE> Message-ID: <51ACBD83.9000207@FU-Berlin.DE> Am 03.06.2013 17:12, schrieb Nitecki, Zbigniew H.: > I am running a Mac (OSX 10.7.5) not Windows, but either way my problem (due to my own ineptitude with the details of file placement under the hood) is first that I don't know how to get the file from the dante website to my computer and second once I get it there, where I am to put it when I do. Answering the first question is a prerequisite for the second. it is the same way on MAC: open a terminal and run kpwewhich pst-func.pro and you'll see the directory. With your webbrowser click on the pst-func.pro and save the file into that directory. Herbert From Zbigniew.Nitecki at tufts.edu Mon Jun 3 18:19:34 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Mon, 3 Jun 2013 16:19:34 +0000 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: <51ACBD83.9000207@FU-Berlin.DE> References: <51AC469B.8020507@FU-Berlin.DE> <51ACAEB1.1000003@FU-Berlin.DE> <51ACBD83.9000207@FU-Berlin.DE> Message-ID: I don't often use the terminal, but here is the response to my doing what you suggest; Last login: Mon Jun 3 12:15:52 on ttys000 Macintosh:~ zbigniewnitecki$ kpwewhich pst-func.pro -bash: kpwewhich: command not found Macintosh:~ zbigniewnitecki$ I am not sufficiently familiar with command level commands to figure out what is wrong here. On Jun 3, 2013, at 12:00, Herbert Voss wrote: kpwewhich pst-func.pro Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ From msharpe at ucsd.edu Mon Jun 3 18:20:58 2013 From: msharpe at ucsd.edu (Michael Sharpe) Date: Mon, 3 Jun 2013 09:20:58 -0700 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: References: <51AC469B.8020507@FU-Berlin.DE> <51ACAEB1.1000003@FU-Berlin.DE> Message-ID: <8E2DD8BC-7FF5-4DA8-9D56-8FC7DFD2C177@ucsd.edu> On Jun 3, 2013, at 8:12 AM, "Nitecki, Zbigniew H." wrote: > Herbert: > I am running a Mac (OSX 10.7.5) not Windows, but either way my problem (due to my own ineptitude with the details of file placement under the hood) is first that I don't know how to get the file from the dante website to my computer and second once I get it there, where I am to put it when I do. Answering the first question is a prerequisite for the second. As TeXLive 2013 is now frozen but will not be made available for several weeks yet, a good way to handle this is to create a new folder ~/Library/texmf/dvips/pst-func To download from Dante, hold the option key down while you click on pst-func.pro. Drag the downloaded pst-func.pro into the newly created folder. Make a note in your calendar for, say, the end of July, to install MacTeX 2013, run TeX Live Utility to update it, and then delete the folder you just created. Michael From josef.kleber at gmx.de Mon Jun 3 18:55:00 2013 From: josef.kleber at gmx.de (Josef Kleber) Date: Mon, 3 Jun 2013 18:55:00 +0200 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: References: <51AC469B.8020507@FU-Berlin.DE> <51ACAEB1.1000003@FU-Berlin.DE> <51ACBD83.9000207@FU-Berlin.DE> Message-ID: <51ACCA64.2000206@gmx.de> Am 03.06.2013 18:19, schrieb Nitecki, Zbigniew H.: > I don't often use the terminal, but here is the response to my doing what you suggest; > Last login: Mon Jun 3 12:15:52 on ttys000 > Macintosh:~ zbigniewnitecki$ kpwewhich pst-func.pro > -bash: kpwewhich: command not found > Macintosh:~ zbigniewnitecki$ Using kpsewhich instad of kpwewhich might help! ;-) Josef From josco.jon at gmail.com Tue Jun 4 17:53:50 2013 From: josco.jon at gmail.com (Jon Joseph) Date: Tue, 4 Jun 2013 10:53:50 -0500 Subject: [pstricks] Re... Message-ID: http://nvmu.edumil.ru/psjj/djkzeknmmidroborebdvcbxi.sdahgkjk From John at wexfordpress.com Wed Jun 5 15:49:15 2013 From: John at wexfordpress.com (john Culleton) Date: Wed, 5 Jun 2013 09:49:15 -0400 Subject: [pstricks] Trying to compile pie chart example Message-ID: <20130605094915.089e8663@localb.wexfordpress.net> I extracted the example of a pie chart from page 43 of the draft of the users guide. It blows up on the statement \small. Here is my pdftex file: \input pstricks \psset{unit=1.2cm} \pspicture(-2.2,-2.2)(2.2,2.2) \pswedge[fillstyle=solid,fillcolor=gray]{2}{0}{70} \pswedge[fillstyle=solid,fillcolor=lightgray]{2}{70}{200} \pswedge[fillstyle=solid,fillcolor=darkgray]{2}{200}{360} \SpecialCoor \psset{framesep=1.5pt} \rput(1.2;35){\psframebox*{\small\$9.0M}} \uput{2.2}[45](0,0){Oreos} \rput(1.2;135){\psframebox*{\small\$16.7M}} \uput{2.2}[135](0,0){Heath} \rput(1.2;280){\psframebox*{\small\$23.1M}} \uput{2.2}[280](0,0){M\&M} \endpspicture \bye What else do I need to add to compile this file? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" available at http://www.booklocker.com/books/4055.html From Herbert.Voss at FU-Berlin.DE Wed Jun 5 18:32:48 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 5 Jun 2013 18:32:48 +0200 Subject: [pstricks] Trying to compile pie chart example In-Reply-To: <20130605094915.089e8663@localb.wexfordpress.net> References: <20130605094915.089e8663@localb.wexfordpress.net> Message-ID: <51AF6830.9030803@FU-Berlin.DE> Am 05.06.2013 15:49, schrieb john Culleton: > I extracted the example of a pie chart from page 43 of the draft of the > users guide. It blows up on the statement \small. define the command: \input pstricks \font\small=cmr10 at 10pt Herbert > > Here is my pdftex file: > \input pstricks > \psset{unit=1.2cm} > \pspicture(-2.2,-2.2)(2.2,2.2) > \pswedge[fillstyle=solid,fillcolor=gray]{2}{0}{70} > \pswedge[fillstyle=solid,fillcolor=lightgray]{2}{70}{200} > \pswedge[fillstyle=solid,fillcolor=darkgray]{2}{200}{360} > \SpecialCoor > \psset{framesep=1.5pt} > \rput(1.2;35){\psframebox*{\small\$9.0M}} > \uput{2.2}[45](0,0){Oreos} > \rput(1.2;135){\psframebox*{\small\$16.7M}} > \uput{2.2}[135](0,0){Heath} > \rput(1.2;280){\psframebox*{\small\$23.1M}} > \uput{2.2}[280](0,0){M\&M} > \endpspicture > \bye > What else do I need to add to compile this file? > From pi1m at 163.com Fri Jun 7 10:59:26 2013 From: pi1m at 163.com (YAO) Date: Fri, 7 Jun 2013 16:59:26 +0800 Subject: [pstricks] A newbie question Message-ID: <28702760.c3c3.13f1ddca2fe.Coremail.pi1m@163.com> Hi, All, I am having problem with nput/uput command, for example, in a piechat, the chart is OK, but the labels are all misplaced, what is the problem? Am I missing a package? Fred -------------- next part -------------- An HTML attachment was scrubbed... URL: From latex at zedat.fu-berlin.de Fri Jun 7 15:17:16 2013 From: latex at zedat.fu-berlin.de (=?ISO-8859-15?Q?Herbert_Vo=DF?=) Date: Fri, 7 Jun 2013 15:17:16 +0200 Subject: [pstricks] A newbie question In-Reply-To: <28702760.c3c3.13f1ddca2fe.Coremail.pi1m@163.com> References: <28702760.c3c3.13f1ddca2fe.Coremail.pi1m@163.com> Message-ID: On Fri, 7 Jun 2013, YAO wrote: > I am having problem with nput/uput command, for example, in a piechat, the > chart is OK, but the labels are all misplaced, what is the problem? Am I > missing a package? I suppose that you viewed the dvi output instaed of the ps or pdf one. Herbert From pi1m at 163.com Sat Jun 8 04:51:41 2013 From: pi1m at 163.com (YAO) Date: Sat, 8 Jun 2013 10:51:41 +0800 Subject: [pstricks] My problem solved. Thanks Message-ID: <2290c573.10e66.13f21b24f53.Coremail.pi1m@163.com> Thanks for the timely respond, Herbert. I viewed the result as DVI. When I switched to EPS, evertyhing is right! Thanks again. Fred -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at siyavula.com Sun Jun 9 13:27:02 2013 From: mark at siyavula.com (Mark Horner) Date: Sun, 9 Jun 2013 13:27:02 +0200 Subject: [pstricks] Customising yLabels gives TeX capacity exceeded Message-ID: Hi All I have a simple parabola and I'm trying to label the y-axis so that the height at which it turns is called $h_m$. I can draw it no problem - see attached test.tex. However, I thought I could just add a yLabels={0,$h_m$} to the psset and then set yDiv=8. That didn't work but just trying to set yLabels to anything gets me a TeX capacity exceeded error? I'm not sure what I'm doing wrong, please could someone just point me in the right direction? Thanks Mark -- CEO / Director Siyavula Education (Pty) Ltd. www.siyavula.com +27 21 469 4771 Open Innovation Studio 27 Buitenkant Street Cape town -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tex Type: application/x-tex Size: 1281 bytes Desc: not available URL: From Zbigniew.Nitecki at tufts.edu Sun Jun 9 19:05:50 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Sun, 9 Jun 2013 17:05:50 +0000 Subject: [pstricks] Arrows with Bezier Curves In-Reply-To: <51AC469B.8020507@FU-Berlin.DE> References: <51AC469B.8020507@FU-Berlin.DE> Message-ID: I finally worked out how to use the pst-func.pro file, and can generate the arrows on Bezier. However, there still appears to be some kind of bug: the arrow style -> seems to put the arrow pointing back, at the beginning of the curve, while the arrow style <- puts it pointing forward, at the end (so they seem to have the opposite effect of what one would expect). The attached source code has taken account of this, putting the "reverse" arrow style on the relevant Bezier curves. For your information, here is my console readout (I put in "list files") ### This is /usr/texbin/simpdftex, Version 20070809 ### /usr/texbin/latex Beziertest.tex This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) restricted \write18 enabled. entering extended mode (./Beziertest.tex LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded . (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2011/texmf-dist/tex/latex/base/size11.clo)) (/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks/pstricks.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/pst-xkey.tex (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv)) `PSTricks' v2.20 <2011/04/23> (tvz) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.con)) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex) (/usr/local/texlive/2011/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvips.def))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-plot/pst-plot.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/pst-xkey.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/multido/multido.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/multido/multido.tex v1.42, 2010/05/14 )) (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-plot/pst-plot.tex v1.29, 2011/04/13 (tvz,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-math/pst-math.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-math/pst-math.tex `pst-math' v0.62 , (CJ,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-node/pst-node.tex v1.16, 2011/05/05) (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-3d/pst-3d.tex `PST-3d' v1.11, 2010/02/14 (tvz)) `pstricks-add' v3.51, 2011/02/02 (dr,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-func/pst-func.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-func/pst-func.tex `PST-func' v0.72, 2011/04/23 (hv))) (./Beziertest.aux) [1] (./Beziertest.aux) *File List* article.cls 2007/10/19 v1.4h Standard LaTeX document class size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option) pstricks.sty 2011/04/23 v0.50 LaTeX wrapper for `PSTricks' (RN,HV) ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO) ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO) pstricks.tex 2011/04/23 v2.20 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2008/08/13 v2.6a package option processing (HA) xkeyval.tex 2008/08/13 v2.6a key=value parser (HA) pst-fp.tex 2011/04/23 v2.20 `PST-fp' (hv) xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) pst-plot.sty 2011/04/13 package wrapper for pst-plot.tex (hv) pst-xkey.sty 2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA) multido.sty 2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN) multido.tex 2010/05/14 v1.42 `multido' (tvz,hv) pst-plot.tex 2011/04/13 1.29 `pst-plot' (tvz,hv) pst-math.sty 2009/01/20 package wrapper for PSTricks pst-math.tex pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv ) pstricks-add.tex 2011/02/02 v3.51 `PSTricks-add' (hv) pst-func.sty 2010/06/21 package wrapper for pst-func.tex (hv) pst-func.tex 2011/04/23 v0.72 `PST-func' (hv) pst-func.pro 2009/06/21 v. 0.13, PostScript prologue file (hv) *********** ) Output written on Beziertest.dvi (1 page, 73740 bytes). SyncTeX written on Beziertest.synctex.gz. Transcript written on Beziertest.log. ### /usr/texbin/dvips -R -Poutline -o /tmp/altpdflatex.38544-1370797221/Beziertest.ps Beziertest.dvi This is dvips(k) 5.991 Copyright 2011 Radical Eye Software (www.radicaleye.com) ' TeX output 2013.06.09:1300' -> /tmp/altpdflatex.38544-1370797221/Beziertest.ps <./pst-func.pro> . [1] ### ps2pdf13 /tmp/altpdflatex.38544-1370797221/Beziertest.ps /tmp/altpdflatex.38544-1370797221/Beziertest.pdf ### Copying/moving pdf file /tmp/altpdflatex.38544-1370797221/Beziertest.pdf to Beziertest.pdf ### Succesfully generated Beziertest.dvi and Beziertest.pdf On Jun 3, 2013, at 3:32, Herbert Voss wrote: Am 03.06.2013 00:24, schrieb Nitecki, Zbigniew H.: (My apologies for the earlier, premature post). I want to draw curves with specified asymptotes (for which I am using Bezier#), with directions shown by arrowheads. The following source code while (true) { provide _always_ complete example documents! } \documentclass{article} \usepackage{pst-func} \begin{document} \begin{pspicture}(0,0)(10,4.5) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \psline[linestyle=dashed](2,1)(2,4) \psline[linestyle=dashed](4,1)(4,4) \psline[linewidth=1.5pt,arrows=->](5,4)(5,1) \psBezier5[linewidth=1.5pt,arrows=->](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1) \psline[linewidth=1.5pt](2,1)(4,1) \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4) \end{pspicture} \end{document} works with the pst-func.pro from http://texnik.dante.de/dvips/pst-func/ there was a bug with the end arrow. Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Beziertest.tex Type: application/octet-stream Size: 1533 bytes Desc: Beziertest.tex URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Beziertest.pdf Type: application/pdf Size: 11887 bytes Desc: Beziertest.pdf URL: From Zbigniew.Nitecki at tufts.edu Sun Jun 9 19:14:07 2013 From: Zbigniew.Nitecki at tufts.edu (Nitecki, Zbigniew H.) Date: Sun, 9 Jun 2013 17:14:07 +0000 Subject: [pstricks] Arrows with Bezier Curves (correction) In-Reply-To: References: <51AC469B.8020507@FU-Berlin.DE> Message-ID: Sorry: here is a more minimal example: \begin{pspicture}(0,0)(10,4) \psline[linewidth=1.5pt, arrows=->](5,4)(5,1) \psBezier5[linewidth=1.5pt, arrows=->](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1) \psline[linewidth=1.5pt](2,1)(4,1) \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \end{pspicture} produces with console ### This is /usr/texbin/simpdftex, Version 20070809 ### /usr/texbin/latex Beziertest.tex This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) restricted \write18 enabled. entering extended mode (./Beziertest.tex LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded . (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2011/texmf-dist/tex/latex/base/size11.clo)) (/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks/pstricks.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/pst-xkey.tex (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv)) `PSTricks' v2.20 <2011/04/23> (tvz) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.con)) (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex) (/usr/local/texlive/2011/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvips.def))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-plot/pst-plot.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/pst-xkey.sty) (/usr/local/texlive/2011/texmf-dist/tex/latex/multido/multido.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/multido/multido.tex v1.42, 2010/05/14 )) (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-plot/pst-plot.tex v1.29, 2011/04/13 (tvz,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-math/pst-math.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-math/pst-math.tex `pst-math' v0.62 , (CJ,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-node/pst-node.tex v1.16, 2011/05/05) (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-3d/pst-3d.tex `PST-3d' v1.11, 2010/02/14 (tvz)) `pstricks-add' v3.51, 2011/02/02 (dr,hv))) (/usr/local/texlive/2011/texmf-dist/tex/latex/pst-func/pst-func.sty (/usr/local/texlive/2011/texmf-dist/tex/generic/pst-func/pst-func.tex `PST-func' v0.72, 2011/04/23 (hv))) (./Beziertest.aux) [1] (./Beziertest.aux) *File List* article.cls 2007/10/19 v1.4h Standard LaTeX document class size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option) pstricks.sty 2011/04/23 v0.50 LaTeX wrapper for `PSTricks' (RN,HV) ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO) ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO) pstricks.tex 2011/04/23 v2.20 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2008/08/13 v2.6a package option processing (HA) xkeyval.tex 2008/08/13 v2.6a key=value parser (HA) pst-fp.tex 2011/04/23 v2.20 `PST-fp' (hv) xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) pst-plot.sty 2011/04/13 package wrapper for pst-plot.tex (hv) pst-xkey.sty 2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA) multido.sty 2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN) multido.tex 2010/05/14 v1.42 `multido' (tvz,hv) pst-plot.tex 2011/04/13 1.29 `pst-plot' (tvz,hv) pst-math.sty 2009/01/20 package wrapper for PSTricks pst-math.tex pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv ) pstricks-add.tex 2011/02/02 v3.51 `PSTricks-add' (hv) pst-func.sty 2010/06/21 package wrapper for pst-func.tex (hv) pst-func.tex 2011/04/23 v0.72 `PST-func' (hv) pst-func.pro 2009/06/21 v. 0.13, PostScript prologue file (hv) *********** ) Output written on Beziertest.dvi (1 page, 6996 bytes). SyncTeX written on Beziertest.synctex.gz. Transcript written on Beziertest.log. ### /usr/texbin/dvips -R -Poutline -o /tmp/altpdflatex.38710-1370797819/Beziertest.ps Beziertest.dvi This is dvips(k) 5.991 Copyright 2011 Radical Eye Software (www.radicaleye.com) ' TeX output 2013.06.09:1310' -> /tmp/altpdflatex.38710-1370797819/Beziertest.ps <./pst-func.pro> . [1] ### ps2pdf13 /tmp/altpdflatex.38710-1370797819/Beziertest.ps /tmp/altpdflatex.38710-1370797819/Beziertest.pdf ### Copying/moving pdf file /tmp/altpdflatex.38710-1370797819/Beziertest.pdf to Beziertest.pdf ### Succesfully generated Beziertest.dvi and Beziertest.pdf On Jun 9, 2013, at 13:05, Nitecki, Zbigniew H. wrote: I finally worked out how to use the pst-func.pro file, and can generate the arrows on Bezier. However, there still appears to be some kind of bug: the arrow style -> seems to put the arrow pointing back, at the beginning of the curve, while the arrow style <- puts it pointing forward, at the end (so they seem to have the opposite effect of what one would expect). The attached source code has taken account of this, putting the "reverse" arrow style on the relevant Bezier curves. On Jun 3, 2013, at 3:32, Herbert Voss wrote: Am 03.06.2013 00:24, schrieb Nitecki, Zbigniew H.: (My apologies for the earlier, premature post). I want to draw curves with specified asymptotes (for which I am using Bezier#), with directions shown by arrowheads. The following source code while (true) { provide _always_ complete example documents! } \documentclass{article} \usepackage{pst-func} \begin{document} \begin{pspicture}(0,0)(10,4.5) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \psline[linestyle=dashed](2,1)(2,4) \psline[linestyle=dashed](4,1)(4,4) \psline[linewidth=1.5pt,arrows=->](5,4)(5,1) \psBezier5[linewidth=1.5pt,arrows=->](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1) \psline[linewidth=1.5pt](2,1)(4,1) \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4) \end{pspicture} \end{document} works with the pst-func.pro from http://texnik.dante.de/dvips/pst-func/ there was a bug with the end arrow. Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Beziertest.pdf Type: application/pdf Size: 4731 bytes Desc: Beziertest.pdf URL: From mark at siyavula.com Sun Jun 9 22:19:53 2013 From: mark at siyavula.com (Mark Horner) Date: Sun, 9 Jun 2013 22:19:53 +0200 Subject: [pstricks] Customising yLabels gives TeX capacity exceeded In-Reply-To: References: Message-ID: I think that some clarity is starting to emerge for me, if the following statement is correct: xAxisLabel and yAxisLabel will be ignored by psaxes but show for psgraph AND yLabels and xLabels will be ignored by psgraph but work for psaxes? So I have to choose which of the two I'd rather do by hand? On Sun, Jun 9, 2013 at 1:27 PM, Mark Horner wrote: > Hi All > > I have a simple parabola and I'm trying to label the y-axis so that the > height at which it turns is called $h_m$. I can draw it no problem - see > attached test.tex. > > However, I thought I could just add a yLabels={0,$h_m$} to the psset and > then set yDiv=8. That didn't work but just trying to set yLabels to > anything gets me a TeX capacity exceeded error? > > I'm not sure what I'm doing wrong, please could someone just point me in > the right direction? > > Thanks > > Mark > > -- > CEO / Director > Siyavula Education (Pty) Ltd. > www.siyavula.com > > +27 21 469 4771 > Open Innovation Studio > 27 Buitenkant Street > Cape town > -- CEO / Director Siyavula Education (Pty) Ltd. www.siyavula.com +27 21 469 4771 Open Innovation Studio 27 Buitenkant Street Cape town -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Jun 10 08:08:44 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 10 Jun 2013 08:08:44 +0200 Subject: [pstricks] Customising yLabels gives TeX capacity exceeded In-Reply-To: References: Message-ID: <51B56D6C.4060009@FU-Berlin.DE> Am 09.06.2013 22:19, schrieb Mark Horner: > I think that some clarity is starting to emerge for me, if the following > statement is correct: it is a problem with numerical labels. If you have something like yLabels={a0,a2,a3,a4,a5,a56} then it will work. I have to investigate. Herbert From Herbert.Voss at FU-Berlin.DE Mon Jun 10 08:41:01 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 10 Jun 2013 08:41:01 +0200 Subject: [pstricks] Customising yLabels gives TeX capacity exceeded In-Reply-To: <51B56D6C.4060009@FU-Berlin.DE> References: <51B56D6C.4060009@FU-Berlin.DE> Message-ID: <51B574FD.5090007@FU-Berlin.DE> Am 10.06.2013 08:08, schrieb Herbert Voss: > Am 09.06.2013 22:19, schrieb Mark Horner: >> I think that some clarity is starting to emerge for me, if the following >> statement is correct: > > it is a problem with numerical labels. If you have something like > > yLabels={a0,a2,a3,a4,a5,a56} > > then it will work. I have to investigate. try this example: \documentclass{article} \usepackage{pst-plot} \usepackage{amsmath} \begin{document} \psset{ axesstyle=frame, mathLabel=false,%%% important for text labels! yLabels={0,2,3,4,5,56,6,8,5,9,10}, llx=-1cm,lly=-1.5cm, xAxisLabel={$t~\text{(s)}$}, yAxisLabel={Heigth (m)}, xAxisLabelPos={c,-1cm}, yAxisLabelPos={-1cm,c} } \begin{psgraph}[labelFontSize=\footnotesize, subgriddiv=1,griddots=10,linecolor=gray,tickcolor=gray, ticklinestyle=dotted,xticksize=5cm,yticksize=10cm, Dx=.4](0,0)(2,10){10cm}{5cm} \psplot[plotstyle=curve,algebraic]{0}{2}{x^2*(-8)+16*x} \psline[linestyle=dashed](1,0)(1,8) \uput[d](1.0,0){$t_m$} \uput*[d](2.0,0){$t_f$} \uput*[l](0,8){$h_m$} \end{psgraph} \end{document} with the pst-plot.tex (version 1.46) from http://texnik.dante.de/tex/generic/pst-plot/ and it should work now. Herbert From Herbert.Voss at FU-Berlin.DE Mon Jun 10 15:59:57 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 10 Jun 2013 15:59:57 +0200 Subject: [pstricks] Arrows with Bezier Curves (correction) In-Reply-To: References: <51AC469B.8020507@FU-Berlin.DE> Message-ID: <51B5DBDD.8000901@FU-Berlin.DE> Am 09.06.2013 19:14, schrieb Nitecki, Zbigniew H.: > Sorry: here is a more minimal example: > > \begin{pspicture}(0,0)(10,4) > \psline[linewidth=1.5pt, arrows=->](5,4)(5,1) > \psBezier5[linewidth=1.5pt, arrows=->](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1) > \psline[linewidth=1.5pt](2,1)(4,1) > \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4) > \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) > \end{pspicture} I had forgotten that the points are saved internally in the wrong order. I edited the code. You can wait for the next TeXLive2013 or replace the two files http://texnik.dante.de/dvips/pst-tools/pst-tools.pro http://texnik.dante.de/dvips/pst-func/pst-func.pro then this should work: \documentclass{article} \usepackage{pst-func} \begin{document} \begin{pspicture}(0,0)(10,4) \psline[linewidth=1.5pt, arrows=->](5,4)(5,1) \psBezier5[linewidth=1.5pt,arrows=<-,plotpoints=100](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1) \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4) \psline[linewidth=1.5pt, arrows=->](1,1)(1,4) \psline[linewidth=1.5pt](2,1)(4,1) \end{pspicture} \end{document} Herbert From Herbert.Voss at FU-Berlin.DE Thu Jun 13 10:11:01 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 13 Jun 2013 10:11:01 +0200 Subject: [pstricks] examples Message-ID: <51B97E95.8050208@FU-Berlin.DE> Hi all, very nice examples from Thomas S?ll: http://tug.org/PSTricks/main.cgi?file=Examples/Physics/physics#AtomicPowerPlant Herbert From rshepard at appl-ecosys.com Thu Jun 13 18:05:59 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Thu, 13 Jun 2013 09:05:59 -0700 Subject: [pstricks] \normalsize not defined Message-ID: I'm modifying an older PSTricks .tex file since the new figures I need are of similar type. The begining of the source file is: \begin{document} \documentclass[letterpaper]{article} \begin{preamble} \date{} \usepackage{pst-dbicons,lscape} \end{preamble} When I run the file through latex I get this error: ! LaTeX Error: The font size command \normalsize is not defined: there is probably something wrong with the class file. Per the LaTeX suggestion I look in TLC2 for an explantion but do not find it. The first three page references for \normalsize are 29, 30, and 144 on which they are used but I don't see an explanation for my error. I'm running TeXLive 2011 and upgraded PSTricks a few months ago. Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | Voice: 503-667-4517 Fax: 503-667-8863 From Herbert.Voss at FU-Berlin.DE Thu Jun 13 18:15:17 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 13 Jun 2013 18:15:17 +0200 Subject: [pstricks] \normalsize not defined In-Reply-To: References: Message-ID: <51B9F015.9080906@FU-Berlin.DE> Am 13.06.2013 18:05, schrieb Rich Shepard: > I'm modifying an older PSTricks .tex file since the new figures I > need are > of similar type. The begining of the source file is: > > \begin{document} > \documentclass[letterpaper]{article} > \begin{preamble} > \date{} > \usepackage{pst-dbicons,lscape} > \end{preamble} that code snippet makes no sense! \begin{document} cannot be used as first statement before the documentclass which itself defines all font macros, eg \normalsize Herbert > > When I run the file through latex I get this error: > > ! LaTeX Error: The font size command \normalsize is not defined: > there is probably something wrong with the class file. > > Per the LaTeX suggestion I look in TLC2 for an explantion but do not > find > it. The first three page references for \normalsize are 29, 30, and 144 on > which they are used but I don't see an explanation for my error. I'm > running > TeXLive 2011 and upgraded PSTricks a few months ago. > > Rich > From rshepard at appl-ecosys.com Thu Jun 13 18:41:25 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Thu, 13 Jun 2013 09:41:25 -0700 Subject: [pstricks] \normalsize not defined In-Reply-To: <51B9F015.9080906@FU-Berlin.DE> References: <51B9F015.9080906@FU-Berlin.DE> Message-ID: On Thu, 13 Jun 2013, Herbert Voss wrote: > that code snippet makes no sense! \begin{document} cannot be used as first > statement before the documentclass which itself defines all font macros, > eg \normalsize Herbert, I wondered about this, but that's the way it was in the original file from 2010. So I moved that line, removed the preamble being and end statements, and now I'm getting the error that, (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/size10.clo)) (./path-model-1.aux) ! LaTeX Error: Can be used only in preamble. Probably best that I start from scratch and not from this file. Many thanks, Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | Voice: 503-667-4517 Fax: 503-667-8863 From rshepard at appl-ecosys.com Thu Jun 13 18:46:18 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Thu, 13 Jun 2013 09:46:18 -0700 Subject: [pstricks] \normalsize not defined [RESOLVED] In-Reply-To: References: <51B9F015.9080906@FU-Berlin.DE> Message-ID: On Thu, 13 Jun 2013, Rich Shepard wrote: > Probably best that I start from scratch and not from this file. Herbert, Fixed the problem. I had not moved the \begin{document} line where I thought I did. Now that it's in the proper sequence it complies. Mea culpa! And thank you, Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | Voice: 503-667-4517 Fax: 503-667-8863 From Herbert.Voss at FU-Berlin.DE Sat Jun 15 07:47:38 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 15 Jun 2013 07:47:38 +0200 Subject: [pstricks] pst-circ In-Reply-To: <20130614160214.9bab91e1be6ac2564cdd278d@wp.pl> References: <20130614160214.9bab91e1be6ac2564cdd278d@wp.pl> Message-ID: <51BBFFFA.5030007@FU-Berlin.DE> Am 14.06.2013 16:02, schrieb Przemys?aw Bia?kowski: > > I fancy the shapes of elements that you have created in pst-circ package. > Although I have very little knowledge about PSTricks I try to do my best with circuits. > However the following things make me sleepless: > > Code example: > > \documentclass{article} > \usepackage{pst-circ} > \psset{mathlabel,labelstyle=\tt} > \psset{linewidth=1pt}\documentclass{article} \usepackage{pst-circ} \psset{mathlabel,labelstyle=\tt} \psset{linewidth=1pt} \def\pcTran(#1)(#2){\psline(#1)(#2|#1)(#2)} \psset{circedge=\pcTran,connectingdot=false} Herbert > \begin{document} > \begin{pspicture}[showgrid=false](10,10) > \pnode(1,1){G1}\pnode(6,1){G2}\pnode(7.5,1){G3} > \newground[arrows=o](G1) > \newground(G2) > \newground(G3) > \pnode(1,3){D1u}\pnode(7,3){T1B} > \pnode(0,3){IB}\pnode(4,4){T2B} > \newdiode(G1)(D1u){D1}\qdisk(D1u){2pt} > \transistor[TRot=270,arrows=-o](T2B)(IB)(T1B) > \pnode(8,7){O1}%junction to out > \transistor(T1B)(G3)(O1) > \pnode(1,6){D2u} > \pnode(1,4){G4} > \newground(G4) > \newdiode(G4)(D2u){D2}\qdisk(D2u){2pt} > \pnode(2.5,7){T4B} > \pnode(0,6){IA} > \pnode(5.5,5){T3B} > \pnode(6,7){R3d} > \transistor[TRot=270,arrows=-o](T4B)(IA)(T3B) > \uput[90](IA){$\mathtt{A}$} > \transistor(T3B)(G2)(R3d) > \uput[90](IB){$\mathtt{B}$} > \pnode(2.5,10){VCC1} > \pnode(4,10){VCC2} > \pnode(6,10){VCC3} > \resistor[arrows=o-](VCC1)(T4B){4{,}7k\Omega} > \resistor[arrows=o-](VCC2)(T2B){4{,}7k\Omega} > \resistor[arrows=o-](VCC3)(R3d){100\Omega} > \wire[arrows=*-o](R3d)(O1) > \uput[90](O1){$\mathtt{OUT}$} > \qdisk(7.5,7){2pt} > \end{pspicture} > \end{document} > > 1) The extra lines attached to collectors of rotated (270 deg) transistors. > I read in manual that we have to be careful with tripole macros, > will it be resolved in the future or is it a language limitation? > 2) The ground has a dot which is not always necessary. Is there any way to remove it? > I tried [arrows=-] :-( > > Best regards, > From pally_blaga at yahoo.com Tue Jun 18 14:26:54 2013 From: pally_blaga at yahoo.com (Paul Blaga) Date: Tue, 18 Jun 2013 05:26:54 -0700 Subject: [pstricks] FW: Paul Blaga Message-ID: <1371558414.49138.YahooMailNeo@web126003.mail.ne1.yahoo.com> hello! http://turkishdelighthalifax.ca/mcx/xzbz/ekw/wsm.html Paul Blaga -------------- next part -------------- An HTML attachment was scrubbed... URL: From leon.free at free.fr Fri Jun 28 11:14:09 2013 From: leon.free at free.fr (leon.free at free.fr) Date: Fri, 28 Jun 2013 11:14:09 +0200 Subject: [pstricks] text on sphere Message-ID: <1276838092.264913588.1372410849246.JavaMail.root@spooler3-g27.priv.proxad.net> Hi, is it possible to display (project) a text on the surface of a 3D ball in a such a way that the text deformation gives the impression of the curvature of the ball ? Thanks LF From gilg at acrotex.net Fri Jun 28 13:01:03 2013 From: gilg at acrotex.net (Juergen Gilg) Date: Fri, 28 Jun 2013 13:01:03 +0200 Subject: [pstricks] text on sphere In-Reply-To: <1276838092.264913588.1372410849246.JavaMail.root@spooler3-g27.priv.proxad.net> References: <1276838092.264913588.1372410849246.JavaMail.root@spooler3-g27.priv.proxad.net> Message-ID: <51CD6CEF.2030506@acrotex.net> Dear Leon, see page 26 on http://www.tex.ac.uk/ctan/graphics/pstricks/contrib/pst-mirror/pst-mirror-doc.pdf Hope this is what you meant. Regards, J?rgen Am 28.06.2013 11:14, schrieb leon.free at free.fr: > Hi, > is it possible to display (project) a text on the surface of a 3D ball in a such a way that the text deformation gives the impression of the curvature of the ball ? Thanks > LF > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -- J?rgen Gilg Austr. 59 70376 Stuttgart tel 0711 59 27 88 email gilg at acrotex.net From the.counterterrorist at yahoo.com Sat Jul 6 06:01:51 2013 From: the.counterterrorist at yahoo.com (Counter Terrorist) Date: Fri, 5 Jul 2013 21:01:51 -0700 Subject: [pstricks] Requesting a new feature for nodesep and offset Message-ID: <1373083311.41528.YahooMailNeo@web162606.mail.bf1.yahoo.com> Dear PSTricks' maintainers, For the current implementation, I noticed that angle is the only key that can be expressed in RPN expression. May I request a new feature such that both nodesep and offset can be expressed in RPN?? I believe it is possible recall that Herbert Voss has successfully made the first argument (label separation) of \uput can be in RPN (see pst-news13 for the details). \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}[showgrid](4,4) \pstGeonode (1,1){O} ([nodesep=1,angle=30]O){P} ([nodesep=2,angle={!30 90 add}]P){A} ([nodesep=1.7205,offset=1]P){B}% I prefer ([nodesep={! 3 sqrt },offset={! 1}]P){B} \pstCircleOA{O}{P} \psline(A)(P)(B) \end{pspicture} \end{document} Thank you in advance. Best regards, http://tex.stackexchange.com/users/19356 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lfsequeira at gmail.com Sat Jul 6 14:16:51 2013 From: lfsequeira at gmail.com (Luis Sequeira) Date: Sat, 6 Jul 2013 13:16:51 +0100 Subject: [pstricks] Requesting a new feature for nodesep and offset Message-ID: <49F36BB0-F5E4-47FD-8985-515041D59AE5@gmail.com> > Dear PSTricks' maintainers, > > For the current implementation, I noticed that angle is the only key that can be expressed in RPN expression. > May I request a new feature such that both nodesep and offset can be expressed in RPN?? > I believe it is possible recall that Herbert Voss has successfully made the first argument (label separation) of \uput can be in RPN (see pst-news13 for the details). > > \documentclass[pstricks,border=12pt]{standalone} > \usepackage{pst-eucl} > \begin{document} > \begin{pspicture}[showgrid](4,4) > \pstGeonode > (1,1){O} > ([nodesep=1,angle=30]O){P} > ([nodesep=2,angle={!30 90 add}]P){A} > ([nodesep=1.7205,offset=1]P){B}% I prefer ([nodesep={! 3 sqrt },offset={! 1}]P){B} > \pstCircleOA{O}{P} > \psline(A)(P)(B) > \end{pspicture} > \end{document} > > Thank you in advance. > > > Best regards, > It works fine here with the version you prefer. I am using texlive 2013, installed from the MacTex. I tried with texlive 2012, and it also worked. Maybe you are using an older version of TeX or of some of the packages. Luis Sequeira From Herbert.Voss at FU-Berlin.DE Sat Jul 6 23:23:22 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 6 Jul 2013 23:23:22 +0200 Subject: [pstricks] new images Message-ID: <51D88ACA.2090201@FU-Berlin.DE> hello all, for your interest: http://tug.org/PSTricks/main.cgi?file=Examples/Physics/atoms Herbert From msharpe at ucsd.edu Sun Jul 7 07:28:45 2013 From: msharpe at ucsd.edu (Michael Sharpe) Date: Sat, 6 Jul 2013 22:28:45 -0700 Subject: [pstricks] Requesting a new feature for nodesep and offset In-Reply-To: <1373083311.41528.YahooMailNeo@web162606.mail.bf1.yahoo.com> References: <1373083311.41528.YahooMailNeo@web162606.mail.bf1.yahoo.com> Message-ID: On Jul 5, 2013, at 9:01 PM, Counter Terrorist wrote: > May I request a new feature such that both nodesep and offset can be expressed in RPN? > I believe it is possible recall that Herbert Voss has successfully made the first argument (label separation) of \uput can be in RPN (see pst-news13 for the details). > > \documentclass[pstricks,border=12pt]{standalone} > \usepackage{pst-eucl} > \begin{document} > \begin{pspicture}[showgrid](4,4) > \pstGeonode > (1,1){O} > ([nodesep=1,angle=30]O){P} > ([nodesep=2,angle={!30 90 add}]P){A} > ([nodesep=1.7205,offset=1]P){B}% I prefer ([nodesep={! 3 sqrt },offset={! 1}]P){B} > \pstCircleOA{O}{P} > \psline(A)(P)(B) > \end{pspicture} > \end{document} > You may work around this using pstricks abilities to parse the coordinates of points with great flexibility. For example, you may replace the line > ([nodesep=1.7205,offset=1]P){B}% I prefer ([nodesep={! 3 sqrt },offset={! 1}]P){B} with \nodexn{(! 3 sqrt 1)+(P)}{B} to much the same effect, except that \pstGeonode doesn't create a label. Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From Patrice.MEGRET at umons.ac.be Mon Jul 8 08:53:50 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Mon, 8 Jul 2013 06:53:50 +0000 Subject: [pstricks] new images In-Reply-To: <51D88ACA.2090201@FU-Berlin.DE> References: <51D88ACA.2090201@FU-Berlin.DE> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB04C0465C@EXCHANGEDB4.umons.ac.be> Dear pstricks contributors, Wonderful ! Is the code available? Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: samedi 6 juillet 2013 23:23 ??: Graphics with PSTricks Objet?: [pstricks] new images hello all, for your interest: http://tug.org/PSTricks/main.cgi?file=Examples/Physics/atoms Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Mon Jul 8 09:06:32 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 8 Jul 2013 09:06:32 +0200 Subject: [pstricks] new images In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB04C0465C@EXCHANGEDB4.umons.ac.be> References: <51D88ACA.2090201@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB04C0465C@EXCHANGEDB4.umons.ac.be> Message-ID: <51DA64F8.8000301@FU-Berlin.DE> Am 08.07.2013 08:53, schrieb Patrice M?GRET: > Dear pstricks contributors, > > Wonderful ! > > Is the code available? yes, but I have to update the machine on pstricks.tug.org for the subversion repository for the latest svn program. This will take some time. Herbert > hello all, > > for your interest: > > http://tug.org/PSTricks/main.cgi?file=Examples/Physics/atoms > > Herbert From za2430l at lehrer.uka.de Mon Jul 8 11:16:48 2013 From: za2430l at lehrer.uka.de (=?iso-8859-1?Q?Thomas_S=F6ll?=) Date: Mon, 8 Jul 2013 11:16:48 +0200 Subject: [pstricks] Patrice.Megret@umons.ac.be In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB04C0465C@EXCHANGEDB4.umons.ac.be> References: <51D88ACA.2090201@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB04C0465C@EXCHANGEDB4.umons.ac.be> Message-ID: <57DB48B6B4304059A1B6F52DA59E4CC0@ThomasPC> Dear Patrice, here are the code of the examples. Best regards, Thomas -----Urspr?ngliche Nachricht----- From: Patrice M?GRET Sent: Monday, July 8, 2013 8:53 AM To: Graphics with PSTricks Subject: Re: [pstricks] new images Dear pstricks contributors, Wonderful ! Is the code available? Patrice -----Message d'origine----- De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy? : samedi 6 juillet 2013 23:23 ? : Graphics with PSTricks Objet : [pstricks] new images hello all, for your interest: http://tug.org/PSTricks/main.cgi?file=Examples/Physics/atoms Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Atome-Photon-ps2pdf.pdf Type: application/pdf Size: 9833456 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Atome-Photon-ps2pdf.tex Type: application/octet-stream Size: 158915 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zerfallsreihe.pdf Type: application/pdf Size: 903569 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zerfallsreihe.tex Type: application/octet-stream Size: 20413 bytes Desc: not available URL: From Patrice.MEGRET at umons.ac.be Mon Jul 8 15:24:47 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Mon, 8 Jul 2013 13:24:47 +0000 Subject: [pstricks] Patrice.Megret@umons.ac.be In-Reply-To: <57DB48B6B4304059A1B6F52DA59E4CC0@ThomasPC> References: <51D88ACA.2090201@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB04C0465C@EXCHANGEDB4.umons.ac.be> <57DB48B6B4304059A1B6F52DA59E4CC0@ThomasPC> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB04C0487E@EXCHANGEDB4.umons.ac.be> Dear Thomas, Really impressive, very good job. Thanks a lot. Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Thomas S?ll Envoy??: lundi 8 juillet 2013 11:17 ??: Graphics with PSTricks Objet?: [pstricks] Patrice.Megret at umons.ac.be Dear Patrice, here are the code of the examples. Best regards, Thomas -----Urspr?ngliche Nachricht----- From: Patrice M?GRET Sent: Monday, July 8, 2013 8:53 AM To: Graphics with PSTricks Subject: Re: [pstricks] new images Dear pstricks contributors, Wonderful ! Is the code available? Patrice -----Message d'origine----- De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy? : samedi 6 juillet 2013 23:23 ? : Graphics with PSTricks Objet : [pstricks] new images hello all, for your interest: http://tug.org/PSTricks/main.cgi?file=Examples/Physics/atoms Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From germain.boyer at ac-toulouse.fr Tue Jul 9 00:57:08 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Tue, 9 Jul 2013 00:57:08 +0200 Subject: [pstricks] PSTricks Digest, Vol 126, Issue 1 References: Message-ID: Bonjour, You can simply do this \rput(P){\pstGeonode(! 3 sqrt \space 1){B}} Germain ----- Message re?u ----- De : pstricks-request ? : pstricks Date : 2013-07-06, 12:00:02 Sujet : PSTricks Digest, Vol 126, Issue 1 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. Requesting a new feature for nodesep and offset (Counter Terrorist) ---------------------------------------------------------------------- Message: 1 Date: Fri, 5 Jul 2013 21:01:51 -0700 From: Counter Terrorist To: PSTricks Subject: [pstricks] Requesting a new feature for nodesep and offset Message-ID: <1373083311.41528.YahooMailNeo at web162606.mail.bf1.yahoo.com> Content-Type: text/plain; charset="iso-8859-1" Dear PSTricks' maintainers, For the current implementation, I noticed that angle is the only key that can be expressed in RPN expression. May I request a new feature such that both nodesep and offset can be expressed in RPN?? I believe it is possible recall that Herbert Voss has successfully made the first argument (label separation) of \uput can be in RPN (see pst-news13 for the details). \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}[showgrid](4,4) \pstGeonode (1,1){O} ([nodesep=1,angle=30]O){P} ([nodesep=2,angle={!30 90 add}]P){A} ([nodesep=1.7205,offset=1]P){B}% I prefer ([nodesep={! 3 sqrt },offset={! 1}]P){B} \pstCircleOA{O}{P} \psline(A)(P)(B) \end{pspicture} \end{document} Thank you in advance. Best regards, http://tex.stackexchange.com/users/19356 -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Subject: Digest Footer _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks ------------------------------ End of PSTricks Digest, Vol 126, Issue 1 **************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Patrice.MEGRET at umons.ac.be Wed Jul 10 17:50:09 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Wed, 10 Jul 2013 15:50:09 +0000 Subject: [pstricks] pst-pdf Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB04C05D29@EXCHANGEDB4.umons.ac.be> Dear Herbert, Dear all, I have to extract eps figures for an article and I use pst-pdf. It worked fine on the example but I always get an error in my file (see attached sample code) at the latex compilation. I cannot figure the trouble here. Can you help me? Best regards, Patrice -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Document-TeX 1.tex Type: application/x-tex Size: 3285 bytes Desc: Document-TeX 1.tex URL: From Herbert.Voss at FU-Berlin.DE Wed Jul 10 20:18:15 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 10 Jul 2013 20:18:15 +0200 Subject: [pstricks] pst-pdf In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB04C05D29@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB04C05D29@EXCHANGEDB4.umons.ac.be> Message-ID: <51DDA567.50605@FU-Berlin.DE> Am 10.07.2013 17:50, schrieb Patrice M?GRET: > I have to extract eps figures for an article and I use pst-pdf. > > It worked fine on the example but I always get an error in my file (see > attached sample code) at the latex compilation. > > I cannot figure the trouble here. Can you help me? Patrice, you should use auto-pst-pdf, it has some advantages. But you must have filenames without spaces in the name. Only the pspicture environment ist scanned by the package if you use the psgraph environment then put it into \begin{postscript} \psset{...} \begin{psgraph}... ... \ned{psgraph} \end{postscript} Attached my version which runs fine with pdflatex --shell-escape Document-TeX1.tex best Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Document-TeX1.tex Type: text/x-tex Size: 3271 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Document-TeX1.pdf Type: application/pdf Size: 89125 bytes Desc: not available URL: From Patrice.MEGRET at umons.ac.be Thu Jul 11 11:58:03 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Thu, 11 Jul 2013 09:58:03 +0000 Subject: [pstricks] pst-pdf In-Reply-To: <51DDA567.50605@FU-Berlin.DE> References: <8EAD3A11C751924B9AB951FA32FD86EB04C05D29@EXCHANGEDB4.umons.ac.be> <51DDA567.50605@FU-Berlin.DE> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB04C0D2C3@EXCHANGEDB4.umons.ac.be> Dear Herbert, Thanks for this info. It is clear that auto-pst-pdf in better but in fact my goal was not to make a complete pdf file but only to extract each pstricks picture in one eps file and I use \savePics in the pst-pdf config file. As psgraph is a very interesting environment, it would be interesting to add this in pst-pdf to work automatically (without postscript environment) as with pspicture. Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: mercredi 10 juillet 2013 20:18 ??: pstricks at tug.org Objet?: Re: [pstricks] pst-pdf Am 10.07.2013 17:50, schrieb Patrice M?GRET: > I have to extract eps figures for an article and I use pst-pdf. > > It worked fine on the example but I always get an error in my file > (see attached sample code) at the latex compilation. > > I cannot figure the trouble here. Can you help me? Patrice, you should use auto-pst-pdf, it has some advantages. But you must have filenames without spaces in the name. Only the pspicture environment ist scanned by the package if you use the psgraph environment then put it into \begin{postscript} \psset{...} \begin{psgraph}... ... \ned{psgraph} \end{postscript} Attached my version which runs fine with pdflatex --shell-escape Document-TeX1.tex best Herbert From rshepard at appl-ecosys.com Thu Jul 11 20:58:10 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Thu, 11 Jul 2013 11:58:10 -0700 Subject: [pstricks] Curved Line Connecting Two Points Message-ID: A figure has two ellipses that I want to connect with a curved line with an arrow on the destination end and that passes around another ellipse between the two connected ones. I thought that \psarc was the appropriate function but it cannot be specified by the start and end point coordinates. The attached figure needs the 'physical' and 'biological' ellipses connected. What is the apprpriate tool for this? Thanks, Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | Voice: 503-667-4517 Fax: 503-667-8863 -------------- next part -------------- A non-text attachment was scrubbed... Name: inner-model.pdf Type: application/pdf Size: 6157 bytes Desc: URL: From wgrundlingh at gmail.com Thu Jul 11 21:09:02 2013 From: wgrundlingh at gmail.com (Werner Grundlingh) Date: Thu, 11 Jul 2013 12:09:02 -0700 Subject: [pstricks] Curved Line Connecting Two Points In-Reply-To: References: Message-ID: \psarc, \pcarc and/or \ncarc should work. Provide the example code to start with and I'm sure someone will provide a response. On Thu, Jul 11, 2013 at 11:58 AM, Rich Shepard wrote: > A figure has two ellipses that I want to connect with a curved line with > an arrow on the destination end and that passes around another ellipse > between the two connected ones. I thought that \psarc was the appropriate > function but it cannot be specified by the start and end point coordinates. > The attached figure needs the 'physical' and 'biological' ellipses > connected. > > What is the apprpriate tool for this? > > Thanks, > > Rich > > -- > Richard B. Shepard, Ph.D. | Have knowledge, will travel. > Applied Ecosystem Services, Inc. | > Voice: 503-667-4517 Fax: > 503-667-8863 > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From usenet at bersch.net Thu Jul 11 21:14:32 2013 From: usenet at bersch.net (Christoph Bersch) Date: Thu, 11 Jul 2013 21:14:32 +0200 Subject: [pstricks] Curved Line Connecting Two Points In-Reply-To: References: Message-ID: <51DF0418.40604@bersch.net> Hi, Am 11.07.2013 20:58, schrieb Rich Shepard: > I thought that \psarc was the appropriate > function but it cannot be specified by the start and end point coordinates. > The attached figure needs the 'physical' and 'biological' ellipses > connected. > > What is the apprpriate tool for this? in you case you can use e.g. \pccurve[angleA=-135, angleB=135, arrows=->](4,11)(4,3) see `texdoc pst-node` for more parameters (ncurv, nodesep etc.) If you have more graphs like this, you may want to use \ovalnode or \circlenode (also in pst-node). Christoph From rshepard at appl-ecosys.com Thu Jul 11 21:31:55 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Thu, 11 Jul 2013 12:31:55 -0700 Subject: [pstricks] Curved Line Connecting Two Points In-Reply-To: <51DF0418.40604@bersch.net> References: <51DF0418.40604@bersch.net> Message-ID: On Thu, 11 Jul 2013, Christoph Bersch wrote: > \pccurve[angleA=-135, angleB=135, arrows=->](4,11)(4,3) Christoph, And \pscurve should also do the job. Will check to be sure. Thanks, Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | Voice: 503-667-4517 Fax: 503-667-8863 From rshepard at appl-ecosys.com Thu Jul 11 22:09:22 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Thu, 11 Jul 2013 13:09:22 -0700 Subject: [pstricks] Curved Line Connecting Two Points In-Reply-To: References: <51DF0418.40604@bersch.net> Message-ID: On Thu, 11 Jul 2013, Rich Shepard wrote: > And \pscurve should also do the job. Will check to be sure. Yes, \pscurve works just fine. Thanks again, Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | Voice: 503-667-4517 Fax: 503-667-8863 From steffen.wittek at gmx.net Fri Jul 12 10:03:29 2013 From: steffen.wittek at gmx.net (Steffen Wittek) Date: Fri, 12 Jul 2013 10:03:29 +0200 Subject: [pstricks] transmission grating in pst-optexp Message-ID: <51DFB851.7000502@gmx.net> Dear community, it seems that transmission gratings have not beem implemented yet in the pst-optexp. Does anyone know whether there exists a workaround? That would be terrific. Best, Steffen -------------- next part -------------- An HTML attachment was scrubbed... URL: From usenet at bersch.net Fri Jul 12 10:34:30 2013 From: usenet at bersch.net (Christoph Bersch) Date: Fri, 12 Jul 2013 10:34:30 +0200 Subject: [pstricks] transmission grating in pst-optexp In-Reply-To: <51DFB851.7000502@gmx.net> References: <51DFB851.7000502@gmx.net> Message-ID: <51DFBF96.1030805@bersch.net> Hi, Am 12.07.2013 10:03, schrieb Steffen Wittek: > > it seems that transmission gratings have not beem implemented yet in the > pst-optexp. do you have an examplary picture on how this should look like, or how it should behave? Should it be like a semitransparent mirror, that you can use both transmitted and reflected beams? Or do you only need the transmitted beams? The following example shows the simplest variant, but without raytracing (grating has only one interface): \documentclass{article} \usepackage{pst-optexp} \newOptexpDipole{transmissiongrating} \makeatletter \def\transmissiongrating at comp{% \psrotate(0,0){-90}{\optgrating at comp}}% \makeatother \begin{document} \begin{pspicture}[showgrid](5,5) \transmissiongrating(0,1)(5,1) \psdot[dotstyle=x](\oenodeCenter{}) \drawbeam(0,1){}(5,1) % \transmissiongrating[angle=20, gratingalign=c](0,3)(5,3) \psdot[dotstyle=x](\oenodeCenter{}) \drawbeam(0,3){}(5,3) \end{pspicture} \end{document} Christoph From steffen.wittek at gmx.net Fri Jul 12 12:26:31 2013 From: steffen.wittek at gmx.net (Steffen Wittek) Date: Fri, 12 Jul 2013 12:26:31 +0200 Subject: [pstricks] transmission grating in pst-optexp (Christoph Bersch) In-Reply-To: References: Message-ID: <51DFD9D7.60707@gmx.net> Hi Christoph, thanks for your help. I only need the transmitted beams. Ideally there are no reflections. The transmission gratings work like the normal gratings only that they are transmissive. The operation is shown here: http://www.light-all.com/Writable/Resource/_random_/2009-03-14/reflection_vs_transmission_gratings.jpg Do you think that the variant can be extended. Or is there a new object needed alltogether? Steffen El 7/12/13 12:00 PM, pstricks-request at tug.org escribi?: > do you have an examplary picture on how this should look like, or how it > should behave? > > Should it be like a semitransparent mirror, that you can use both > transmitted and reflected beams? Or do you only need the transmitted beams? > > The following example shows the simplest variant, but without raytracing > (grating has only one interface): > > \documentclass{article} > \usepackage{pst-optexp} > \newOptexpDipole{transmissiongrating} > \makeatletter > \def\transmissiongrating at comp{% > \psrotate(0,0){-90}{\optgrating at comp}}% > \makeatother > \begin{document} > \begin{pspicture}[showgrid](5,5) > \transmissiongrating(0,1)(5,1) > \psdot[dotstyle=x](\oenodeCenter{}) > \drawbeam(0,1){}(5,1) > % > \transmissiongrating[angle=20, gratingalign=c](0,3)(5,3) > \psdot[dotstyle=x](\oenodeCenter{}) > \drawbeam(0,3){}(5,3) > \end{pspicture} > \end{document} From usenet at bersch.net Fri Jul 12 15:19:34 2013 From: usenet at bersch.net (Christoph Bersch) Date: Fri, 12 Jul 2013 15:19:34 +0200 Subject: [pstricks] transmission grating in pst-optexp (Christoph Bersch) In-Reply-To: <51DFD9D7.60707@gmx.net> References: <51DFD9D7.60707@gmx.net> Message-ID: <51E00266.8050509@bersch.net> Hi, Am 12.07.2013 12:26, schrieb Steffen Wittek: > > The transmission gratings work like the normal > gratings only that they are transmissive. The operation is shown here: > http://www.light-all.com/Writable/Resource/_random_/2009-03-14/reflection_vs_transmission_gratings.jpg > > Do you think that the variant can be extended. Or is there a new object > needed alltogether? here is a partial implementation, could you try this out? There are some issues, which require a change of pst-optexp.sty. If this concept is fine for you, I would release the version with the fully functional component. It is defined as a new component, because the name 'gratingtype' is already used to distinguish between blazed and binary gratings. However, all grating parameters can be used and have the same meaning. Christoph \documentclass{article} \usepackage{fp} \usepackage{pst-optexp} \makeatletter \newOptexpTripole{transmissiongrating} \def\transmissiongrating at ref{% \POE at calcAngle \FPadd\POE at key@angle{\POE at key@angle0}{90} \FPround\POE at key@angle{\POE at key@angle}{5} \POE at setref{/@@y \POE at key@gratingwidth\space 0.5 mul def}% }% \def\transmissiongrating at nodes{% \newOptexpComp{% {0 0} \POE at key@gratingwidth\space 0.5 mul dup neg exch OEangle 180 sub abs 1e-5 lt { trans {1 0} } { refl {0 1} } ifelse 4 1 roll {PlainIfc} 1}% }% \let\transmissiongrating at comp\optgrating at comp \makeatother \begin{document} \begin{pspicture}[showgrid](2.6,2.4) \pnode(0,1.3){A}\pnode(2,1.3){B}\pnode(1,0.3){C} \optgrating[reverse, gratingcount=9](A)(B)(C) \optplane[angle=45](C) \addtopsstyle{Beam}{ArrowInside=->, ArrowInsidePos=0.8, arrowinset=0, arrowscale=1.5} \drawbeam[linecolor=black](A){1} \addtopsstyle{Beam}{loadbeam, savebeam=false} \drawbeam[linecolor=green]{1-2} \drawbeam[linecolor=red, beamangle=15]{1-2} \drawbeam[linecolor=blue, beamangle=-15]{1-2} \rput[lB](0,2){reflection grating} \end{pspicture} % \hspace*{1cm} \begin{pspicture}[showgrid](5,2.4) \pnode(0,1.3){A}\pnode(2,1.3){B}\pnode(4,0.5){C} \transmissiongrating[reverse, gratingcount=9](A)(B)(C) \optplane[angle=-30](C) \addtopsstyle{Beam}{ArrowInside=->, ArrowInsidePos=0.8, arrowinset=0, arrowscale=1.5} \drawbeam[linecolor=black](A){1} \addtopsstyle{Beam}{loadbeam, savebeam=false} \drawbeam[linecolor=green]{1-2} \drawbeam[linecolor=red, beamangle=5]{1-2} \drawbeam[linecolor=blue, beamangle=-5]{1-2} \rput[lB](0,2){transmission grating} \end{pspicture} \end{document} From steffen.wittek at gmx.net Sat Jul 13 12:55:29 2013 From: steffen.wittek at gmx.net (Steffen Wittek) Date: Sat, 13 Jul 2013 12:55:29 +0200 Subject: [pstricks] PSTricks Digest, Vol 126, Issue 9 In-Reply-To: References: Message-ID: <51E13221.4080505@gmx.net> Hi Christian, that works really well. Thank you very much for your time. Great implementation. Have a nice weekend, Steffen El 7/13/13 12:00 PM, pstricks-request at tug.org escribi?: > \documentclass{article} > \usepackage{fp} > \usepackage{pst-optexp} > \makeatletter > \newOptexpTripole{transmissiongrating} > \def\transmissiongrating at ref{% > \POE at calcAngle > \FPadd\POE at key@angle{\POE at key@angle0}{90} > \FPround\POE at key@angle{\POE at key@angle}{5} > \POE at setref{/@@y \POE at key@gratingwidth\space 0.5 mul def}% > }% > \def\transmissiongrating at nodes{% > \newOptexpComp{% > {0 0} \POE at key@gratingwidth\space 0.5 mul dup neg exch > OEangle 180 sub abs 1e-5 lt { > trans {1 0} > } { > refl {0 1} > } ifelse > 4 1 roll {PlainIfc} 1}% > }% > \let\transmissiongrating at comp\optgrating at comp > \makeatother > \begin{document} > \begin{pspicture}[showgrid](2.6,2.4) > \pnode(0,1.3){A}\pnode(2,1.3){B}\pnode(1,0.3){C} > \optgrating[reverse, gratingcount=9](A)(B)(C) > \optplane[angle=45](C) > \addtopsstyle{Beam}{ArrowInside=->, ArrowInsidePos=0.8, arrowinset=0, > arrowscale=1.5} > \drawbeam[linecolor=black](A){1} > \addtopsstyle{Beam}{loadbeam, savebeam=false} > \drawbeam[linecolor=green]{1-2} > \drawbeam[linecolor=red, beamangle=15]{1-2} > \drawbeam[linecolor=blue, beamangle=-15]{1-2} > \rput[lB](0,2){reflection grating} > \end{pspicture} > % > \hspace*{1cm} > \begin{pspicture}[showgrid](5,2.4) > \pnode(0,1.3){A}\pnode(2,1.3){B}\pnode(4,0.5){C} > \transmissiongrating[reverse, gratingcount=9](A)(B)(C) > \optplane[angle=-30](C) > \addtopsstyle{Beam}{ArrowInside=->, ArrowInsidePos=0.8, arrowinset=0, > arrowscale=1.5} > \drawbeam[linecolor=black](A){1} > \addtopsstyle{Beam}{loadbeam, savebeam=false} > \drawbeam[linecolor=green]{1-2} > \drawbeam[linecolor=red, beamangle=5]{1-2} > \drawbeam[linecolor=blue, beamangle=-5]{1-2} > \rput[lB](0,2){transmission grating} > \end{pspicture} > \end{document} From angelo.raymond.rossi at gmail.com Sat Jul 13 22:54:17 2013 From: angelo.raymond.rossi at gmail.com (Angelo Rossi) Date: Sat, 13 Jul 2013 16:54:17 -0400 Subject: [pstricks] PSTricks Digest, Vol 126, Issue 5 In-Reply-To: References: Message-ID: Dear Herbert: Could you please help me out? I downloaded your attachment to see if it would run on my debian linux system. But it does not work. It gives me the document but with the figure not correct. I am attaching the log file and a console log file because pdflatex gives an error to the console that does not appear in the log file. >From the top of the log file, you can see I am using TexLive 2013 (debian). I want this to work because I use pstricks a lot. Kind regards, angelo On Wed, Jul 10, 2013 at 2:25 PM, wrote: > 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. pst-pdf (Patrice M?GRET) > 2. Re: pst-pdf (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 10 Jul 2013 15:50:09 +0000 > From: Patrice M?GRET > To: "pstricks at tug.org" > Subject: [pstricks] pst-pdf > Message-ID: > <8EAD3A11C751924B9AB951FA32FD86EB04C05D29 at EXCHANGEDB4.umons.ac.be> > Content-Type: text/plain; charset="iso-8859-1" > > Dear Herbert, > Dear all, > > I have to extract eps figures for an article and I use pst-pdf. > > It worked fine on the example but I always get an error in my file (see > attached sample code) at the latex compilation. > I cannot figure the trouble here. Can you help me? > > Best regards, > > Patrice > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://tug.org/pipermail/pstricks/attachments/20130710/509799d2/attachment-0001.html > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Document-TeX 1.tex > Type: application/x-tex > Size: 3285 bytes > Desc: Document-TeX 1.tex > URL: < > http://tug.org/pipermail/pstricks/attachments/20130710/509799d2/attachment-0001.tex > > > > ------------------------------ > > Message: 2 > Date: Wed, 10 Jul 2013 20:18:15 +0200 > From: Herbert Voss > To: > Subject: Re: [pstricks] pst-pdf > Message-ID: <51DDA567.50605 at FU-Berlin.DE> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > Am 10.07.2013 17:50, schrieb Patrice M?GRET: > > > I have to extract eps figures for an article and I use pst-pdf. > > > > It worked fine on the example but I always get an error in my file (see > > attached sample code) at the latex compilation. > > > > I cannot figure the trouble here. Can you help me? > > Patrice, > you should use auto-pst-pdf, it has some advantages. > But you must have filenames without spaces in the name. > Only the pspicture environment ist scanned by the > package if you use the psgraph environment then put > it into > > \begin{postscript} > \psset{...} > \begin{psgraph}... > ... > \ned{psgraph} > \end{postscript} > > Attached my version which runs fine with > pdflatex --shell-escape Document-TeX1.tex > > best > Herbert > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Document-TeX1.tex > Type: text/x-tex > Size: 3271 bytes > Desc: not available > URL: < > http://tug.org/pipermail/pstricks/attachments/20130710/2e4ccdc9/attachment.bin > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Document-TeX1.pdf > Type: application/pdf > Size: 89125 bytes > Desc: not available > URL: < > http://tug.org/pipermail/pstricks/attachments/20130710/2e4ccdc9/attachment.pdf > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 126, Issue 5 > **************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: attachment-0001_herbert-pics.pdf Type: application/pdf Size: 1758 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: attachment-0001_herbert.log Type: application/octet-stream Size: 39326 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: attachment-0001_herbert.pdf Type: application/pdf Size: 61389 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: attachment-0001_herbert_console.log Type: application/octet-stream Size: 85353 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Sun Jul 14 10:06:29 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 14 Jul 2013 10:06:29 +0200 Subject: [pstricks] PSTricks Digest, Vol 126, Issue 5 In-Reply-To: References: Message-ID: <51E25C05.8080505@FU-Berlin.DE> Am 13.07.2013 22:54, schrieb Angelo Rossi: > I downloaded your attachment to see if it would run on my debian linux > system. > > But it does not work. > > It gives me the document but with the figure not correct. Angelo, please update your TeX distribution, you have not the latest versions. Herbert From Herbert.Voss at FU-Berlin.DE Sun Jul 14 10:09:19 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 14 Jul 2013 10:09:19 +0200 Subject: [pstricks] pst-pdf In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB04C0D2C3@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB04C05D29@EXCHANGEDB4.umons.ac.be> <51DDA567.50605@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB04C0D2C3@EXCHANGEDB4.umons.ac.be> Message-ID: <51E25CAF.1010900@FU-Berlin.DE> Am 11.07.2013 11:58, schrieb Patrice M?GRET: > It is clear that auto-pst-pdf in better but in fact my goal was not to make a complete pdf file but only to extract each pstricks picture in one eps file and I use \savePics in the pst-pdf config file. > > As psgraph is a very interesting environment, it would be interesting to add this in pst-pdf to work automatically (without postscript environment) as with pspicture. Patrice, then use \PreviewEnvironment{psgraph} after loading pst-pdf It it doesn't help, then you have to put it all into an environment postscript. Herbert From usenet at bersch.net Sun Jul 14 22:01:45 2013 From: usenet at bersch.net (Christoph Bersch) Date: Sun, 14 Jul 2013 22:01:45 +0200 Subject: [pstricks] transmission grating in pst-optexp (Christoph Bersch) In-Reply-To: <51E00266.8050509@bersch.net> References: <51DFD9D7.60707@gmx.net> <51E00266.8050509@bersch.net> Message-ID: <51E303A9.8050607@bersch.net> Hi, Am 12.07.2013 15:19, schrieb Christoph Bersch: > > here is a partial implementation, could you try this out? There are some > issues, which require a change of pst-optexp.sty. If this concept is > fine for you, I would release the version with the fully functional > component. I just uploaded version 4.4 which contains the \transmissiongrating. The update should be available in a few days. Christoph From steffen.wittek at gmx.net Mon Jul 15 11:17:32 2013 From: steffen.wittek at gmx.net (Steffen Wittek) Date: Mon, 15 Jul 2013 11:17:32 +0200 Subject: [pstricks] Transmission grating again In-Reply-To: References: Message-ID: <51E3BE2C.6070807@gmx.net> Hi Christian, checked your solution again. It seems that now the coordinates of components defined after the grating are not absolute anymore, but are shifted instead. Example: \documentclass{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{pst-optexp} \usepackage{fp} \makeatletter \newOptexpTripole{transmissiongrating} \makeatletter \def\transmissiongrating at ref{% \POE at calcAngle \FPadd\POE at key@angle{\POE at key@angle0}{90} \FPround\POE at key@angle{\POE at key@angle}{5} \POE at setref{/@@y\POE at key@gratingwidth\space 0.5 mul def}% }% \def\transmissiongrating at nodes{% \newOptexpComp{% {0 0}\POE at key@gratingwidth\space 0.5 mul dup neg exch OEangle 180 sub abs 1e-5 lt { trans {1 0} } { refl {0 1} } ifelse 4 1 roll {PlainIfc} 1}% }% \let\transmissiongrating at comp\optgrating at comp \makeatother \definecolor[ps]{bl}{rgb}{tx at addDict begin Red Green Blue end}% \begin{document} \begin{pspicture}[showgrid](4,3) \pnode(1,2){S1} \pnode(1,1){G1}\pnode(2,1){G11} \transmissiongrating[gratingwidth=1, gratingheight=0.1,angle=15](S1)(G1)(G11) \optprism[prismangle=60,compname=P1,labelalign=t](1,1)(2,2)(3,1) \end{pspicture} \end{document} The prism is a little bit too much to the right. I really cannot figure out where the problem is. If you could help me out one more time I would be grateful. Thanks, Steffen El 7/13/13 10:58 PM, pstricks-request at tug.org escribi?: > 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. Re: PSTricks Digest, Vol 126, Issue 9 (Steffen Wittek) > 2. Re: PSTricks Digest, Vol 126, Issue 5 (Angelo Rossi) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 13 Jul 2013 12:55:29 +0200 > From: Steffen Wittek > To: > Subject: Re: [pstricks] PSTricks Digest, Vol 126, Issue 9 > Message-ID: <51E13221.4080505 at gmx.net> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > Hi Christian, > > that works really well. Thank you very much for your time. Great > implementation. > > Have a nice weekend, > Steffen > > El 7/13/13 12:00 PM, pstricks-request at tug.org escribi?: >> \documentclass{article} >> \usepackage{fp} >> \usepackage{pst-optexp} >> \makeatletter >> \newOptexpTripole{transmissiongrating} >> \def\transmissiongrating at ref{% >> \POE at calcAngle >> \FPadd\POE at key@angle{\POE at key@angle0}{90} >> \FPround\POE at key@angle{\POE at key@angle}{5} >> \POE at setref{/@@y \POE at key@gratingwidth\space 0.5 mul def}% >> }% >> \def\transmissiongrating at nodes{% >> \newOptexpComp{% >> {0 0} \POE at key@gratingwidth\space 0.5 mul dup neg exch >> OEangle 180 sub abs 1e-5 lt { >> trans {1 0} >> } { >> refl {0 1} >> } ifelse >> 4 1 roll {PlainIfc} 1}% >> }% >> \let\transmissiongrating at comp\optgrating at comp >> \makeatother >> \begin{document} >> \begin{pspicture}[showgrid](2.6,2.4) >> \pnode(0,1.3){A}\pnode(2,1.3){B}\pnode(1,0.3){C} >> \optgrating[reverse, gratingcount=9](A)(B)(C) >> \optplane[angle=45](C) >> \addtopsstyle{Beam}{ArrowInside=->, ArrowInsidePos=0.8, arrowinset=0, >> arrowscale=1.5} >> \drawbeam[linecolor=black](A){1} >> \addtopsstyle{Beam}{loadbeam, savebeam=false} >> \drawbeam[linecolor=green]{1-2} >> \drawbeam[linecolor=red, beamangle=15]{1-2} >> \drawbeam[linecolor=blue, beamangle=-15]{1-2} >> \rput[lB](0,2){reflection grating} >> \end{pspicture} >> % >> \hspace*{1cm} >> \begin{pspicture}[showgrid](5,2.4) >> \pnode(0,1.3){A}\pnode(2,1.3){B}\pnode(4,0.5){C} >> \transmissiongrating[reverse, gratingcount=9](A)(B)(C) >> \optplane[angle=-30](C) >> \addtopsstyle{Beam}{ArrowInside=->, ArrowInsidePos=0.8, arrowinset=0, >> arrowscale=1.5} >> \drawbeam[linecolor=black](A){1} >> \addtopsstyle{Beam}{loadbeam, savebeam=false} >> \drawbeam[linecolor=green]{1-2} >> \drawbeam[linecolor=red, beamangle=5]{1-2} >> \drawbeam[linecolor=blue, beamangle=-5]{1-2} >> \rput[lB](0,2){transmission grating} >> \end{pspicture} >> \end{document} > > > ------------------------------ > > Message: 2 > Date: Sat, 13 Jul 2013 16:54:17 -0400 > From: Angelo Rossi > To: > Subject: Re: [pstricks] PSTricks Digest, Vol 126, Issue 5 > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Dear Herbert: > > Could you please help me out? > > I downloaded your attachment to see if it would run on my debian linux > system. > > But it does not work. > > It gives me the document but with the figure not correct. > > I am attaching the log file and a console log file because pdflatex gives > an error to the console that does not appear in the log file. > > >From the top of the log file, you can see I am using TexLive 2013 (debian). > > I want this to work because I use pstricks a lot. > > Kind regards, > > angelo > > > > On Wed, Jul 10, 2013 at 2:25 PM, wrote: > >> 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. pst-pdf (Patrice M?GRET) >> 2. Re: pst-pdf (Herbert Voss) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Wed, 10 Jul 2013 15:50:09 +0000 >> From: Patrice M?GRET >> To: "pstricks at tug.org" >> Subject: [pstricks] pst-pdf >> Message-ID: >> <8EAD3A11C751924B9AB951FA32FD86EB04C05D29 at EXCHANGEDB4.umons.ac.be> >> Content-Type: text/plain; charset="iso-8859-1" >> >> Dear Herbert, >> Dear all, >> >> I have to extract eps figures for an article and I use pst-pdf. >> >> It worked fine on the example but I always get an error in my file (see >> attached sample code) at the latex compilation. >> I cannot figure the trouble here. Can you help me? >> >> Best regards, >> >> Patrice >> >> >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://tug.org/pipermail/pstricks/attachments/20130710/509799d2/attachment-0001.html >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Document-TeX 1.tex >> Type: application/x-tex >> Size: 3285 bytes >> Desc: Document-TeX 1.tex >> URL: < >> http://tug.org/pipermail/pstricks/attachments/20130710/509799d2/attachment-0001.tex >> ------------------------------ >> >> Message: 2 >> Date: Wed, 10 Jul 2013 20:18:15 +0200 >> From: Herbert Voss >> To: >> Subject: Re: [pstricks] pst-pdf >> Message-ID: <51DDA567.50605 at FU-Berlin.DE> >> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" >> >> Am 10.07.2013 17:50, schrieb Patrice M?GRET: >> >>> I have to extract eps figures for an article and I use pst-pdf. >>> >>> It worked fine on the example but I always get an error in my file (see >>> attached sample code) at the latex compilation. >>> >>> I cannot figure the trouble here. Can you help me? >> Patrice, >> you should use auto-pst-pdf, it has some advantages. >> But you must have filenames without spaces in the name. >> Only the pspicture environment ist scanned by the >> package if you use the psgraph environment then put >> it into >> >> \begin{postscript} >> \psset{...} >> \begin{psgraph}... >> ... >> \ned{psgraph} >> \end{postscript} >> >> Attached my version which runs fine with >> pdflatex --shell-escape Document-TeX1.tex >> >> best >> Herbert >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Document-TeX1.tex >> Type: text/x-tex >> Size: 3271 bytes >> Desc: not available >> URL: < >> http://tug.org/pipermail/pstricks/attachments/20130710/2e4ccdc9/attachment.bin >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Document-TeX1.pdf >> Type: application/pdf >> Size: 89125 bytes >> Desc: not available >> URL: < >> http://tug.org/pipermail/pstricks/attachments/20130710/2e4ccdc9/attachment.pdf >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> PSTricks mailing list >> PSTricks at tug.org >> http://tug.org/mailman/listinfo/pstricks >> >> >> ------------------------------ >> >> End of PSTricks Digest, Vol 126, Issue 5 >> **************************************** >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: attachment-0001_herbert-pics.pdf > Type: application/pdf > Size: 1758 bytes > Desc: not available > URL: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: attachment-0001_herbert.log > Type: application/octet-stream > Size: 39326 bytes > Desc: not available > URL: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: attachment-0001_herbert.pdf > Type: application/pdf > Size: 61389 bytes > Desc: not available > URL: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: attachment-0001_herbert_console.log > Type: application/octet-stream > Size: 85353 bytes > Desc: not available > URL: > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 126, Issue 10 > ***************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From usenet at bersch.net Mon Jul 15 11:42:26 2013 From: usenet at bersch.net (Christoph Bersch) Date: Mon, 15 Jul 2013 11:42:26 +0200 Subject: [pstricks] Transmission grating again In-Reply-To: <51E3BE2C.6070807@gmx.net> References: <51E3BE2C.6070807@gmx.net> Message-ID: <51E3C402.3070102@bersch.net> Hi, a classical 'trailing space' error. Add a comment character at the end of the two lines \FPadd\POE at key@angle{\POE at key@angle0}{90}% \FPround\POE at key@angle{\POE at key@angle}{5}% ^^^ and the shift disappears. Christoph From steffen.wittek at gmx.net Mon Jul 15 13:08:57 2013 From: steffen.wittek at gmx.net (Steffen Wittek) Date: Mon, 15 Jul 2013 13:08:57 +0200 Subject: [pstricks] trailing space In-Reply-To: References: Message-ID: <51E3D849.6040705@gmx.net> Hi, nice that sometimes the solution can be simple. Thanks. Steffen El 7/15/13 12:00 PM, pstricks-request at tug.org escribi?: > 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. Re: Transmission grating again (Christoph Bersch) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 15 Jul 2013 11:42:26 +0200 > From: Christoph Bersch > To: > Subject: Re: [pstricks] Transmission grating again > Message-ID: <51E3C402.3070102 at bersch.net> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > Hi, > > a classical 'trailing space' error. Add a comment character at the end > of the two lines > > \FPadd\POE at key@angle{\POE at key@angle0}{90}% > \FPround\POE at key@angle{\POE at key@angle}{5}% > ^^^ > > and the shift disappears. > > Christoph > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 126, Issue 13 > ***************************************** From steffen.wittek at gmx.net Mon Jul 15 15:18:47 2013 From: steffen.wittek at gmx.net (Steffen Wittek) Date: Mon, 15 Jul 2013 15:18:47 +0200 Subject: [pstricks] Transmission grating - troubleshooting In-Reply-To: References: Message-ID: <51E3F6B7.4060807@gmx.net> Hi, another encountered problem. Beampos doesn't work anymore. The ray doesn't see the orientation of the grating. Example: \documentclass{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{pst-optexp} \usepackage{fp} \makeatletter \newOptexpTripole{transmissiongrating} \makeatletter \def\transmissiongrating at ref{% \POE at calcAngle \FPadd\POE at key@angle{\POE at key@angle0}{90}% \FPround\POE at key@angle{\POE at key@angle}{5}% \POE at setref{/@@y\POE at key@gratingwidth\space 0.5 mul def}% }% \def\transmissiongrating at nodes{% \newOptexpComp{% {0 0}\POE at key@gratingwidth\space 0.5 mul dup neg exch OEangle 180 sub abs 1e-5 lt { trans {1 0} } { refl {0 1} } ifelse 4 1 roll {PlainIfc} 1}% }% \let\transmissiongrating at comp\optgrating at comp \makeatother \begin{document} \begin{pspicture}[showgrid](4,3) \pnode(1,2){S1} \pnode(1,1){G1}\pnode(2,1){G11} \transmissiongrating[gratingwidth=1, gratingheight=0.1](S1)(G1)(G11) \optprism[prismangle=60,compname=P1,labelalign=t](1,1)(2,2)(3,1) \drawbeam[beampos=-0.2](0,1){1} \end{pspicture} \end{document} Any comments on that one? Best, Steffen El 7/15/13 12:00 PM, pstricks-request at tug.org escribi?: > 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. Re: Transmission grating again (Christoph Bersch) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 15 Jul 2013 11:42:26 +0200 > From: Christoph Bersch > To: > Subject: Re: [pstricks] Transmission grating again > Message-ID: <51E3C402.3070102 at bersch.net> > Content-Type: text/plain; charset="ISO-8859-1"; format=flowed > > Hi, > > a classical 'trailing space' error. Add a comment character at the end > of the two lines > > \FPadd\POE at key@angle{\POE at key@angle0}{90}% > \FPround\POE at key@angle{\POE at key@angle}{5}% > ^^^ > > and the shift disappears. > > Christoph > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 126, Issue 13 > ***************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From usenet at bersch.net Mon Jul 15 16:28:06 2013 From: usenet at bersch.net (Christoph Bersch) Date: Mon, 15 Jul 2013 16:28:06 +0200 Subject: [pstricks] Transmission grating - troubleshooting In-Reply-To: <51E3F6B7.4060807@gmx.net> References: <51E3F6B7.4060807@gmx.net> Message-ID: <51E406F6.5090102@bersch.net> Am 15.07.2013 15:18, schrieb Steffen Wittek: > > another encountered problem. Beampos doesn't work anymore. The ray > doesn't see the orientation of the grating. [...] > Any comments on that one? Yes, the example I posted was only a preliminary version of the grating, showing the working principle. The new pst-optexp version 4.4 has a proper implementation of the \transmissiongrating and you example works with it. On you already find the new version. Other mirrors may require a few days to catch up. Best regards, Christoph From crlsmcd at yahoo.com Tue Jul 16 17:23:29 2013 From: crlsmcd at yahoo.com (Carlos Macedo) Date: Tue, 16 Jul 2013 08:23:29 -0700 Subject: [pstricks] How to improve the look of this numerical sequence Message-ID: <1373988209.90186.YahooMailNeo@web121101.mail.ne1.yahoo.com> Dear pstricks I use to type many numerical sequences like this? below. How can I control the arrows? Any suggestion to control others variables to improve the look? Many thanks, Carlos Macedo \documentclass{article} \usepackage{pstricks-add} \begin{document} \begin{pspicture}(0,-0.7)(3.5,0.5) %\psgrid \rnode{A}{1} \quad% \rnode{B}{3} \quad \rnode{C}{5} \quad% \rnode{D}{7}, \dots, $(2n-1)$ \ncarc[arcangle=-40]{->}{A}{B}\tbput{\scriptsize{$+2$}}% \ncarc[arcangle=-40]{->}{B}{C}\tbput{\scriptsize{$+2$}}% \ncarc[arcangle=-40]{->}{C}{D}\tbput{\scriptsize{$+2$}}% \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Jul 17 20:49:13 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 17 Jul 2013 20:49:13 +0200 Subject: [pstricks] How to improve the look of this numerical sequence In-Reply-To: <1373988209.90186.YahooMailNeo@web121101.mail.ne1.yahoo.com> References: <1373988209.90186.YahooMailNeo@web121101.mail.ne1.yahoo.com> Message-ID: <51E6E729.5030708@FU-Berlin.DE> Am 16.07.2013 17:23, schrieb Carlos Macedo: > Dear pstricks > > I use to type many numerical sequences like this below. How can I > control the arrows? > Any suggestion to control others variables to improve the look? have a look into the documentation of pst-node for \ArrowNotch{ Herbert > > Many thanks, > > Carlos Macedo > > \documentclass{article} > \usepackage{pstricks-add} > > \begin{document} > > \begin{pspicture}(0,-0.7)(3.5,0.5) > %\psgrid > \rnode{A}{1} \quad% > \rnode{B}{3} \quad > \rnode{C}{5} \quad% > \rnode{D}{7}, \dots, $(2n-1)$ > \ncarc[arcangle=-40]{->}{A}{B}\tbput{\scriptsize{$+2$}}% > \ncarc[arcangle=-40]{->}{B}{C}\tbput{\scriptsize{$+2$}}% > \ncarc[arcangle=-40]{->}{C}{D}\tbput{\scriptsize{$+2$}}% > \end{pspicture} > > \end{document} > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From crlsmcd at yahoo.com Fri Jul 19 22:54:01 2013 From: crlsmcd at yahoo.com (Carlos Macedo) Date: Fri, 19 Jul 2013 13:54:01 -0700 Subject: [pstricks] PSTricks Digest, Vol 126, Issue 16 In-Reply-To: References: Message-ID: <1374267241.24494.YahooMailNeo@web121106.mail.ne1.yahoo.com> Thanks for the suggestion. The pst-node-doc is great. Thanks again, Carlos Macedo ________________________________ From: "pstricks-request at tug.org" To: pstricks at tug.org Sent: Thursday, July 18, 2013 11:00 AM Subject: PSTricks Digest, Vol 126, Issue 16 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. Re: How to improve the look of this numerical sequence ? ? ? (Herbert Voss) ---------------------------------------------------------------------- Message: 1 Date: Wed, 17 Jul 2013 20:49:13 +0200 From: Herbert Voss To: Subject: Re: [pstricks] How to improve the look of this numerical ??? sequence Message-ID: <51E6E729.5030708 at FU-Berlin.DE> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Am 16.07.2013 17:23, schrieb Carlos Macedo: > Dear pstricks > > I use to type many numerical sequences like this? below. How can I > control the arrows? > Any suggestion to control others variables to improve the look? have a look into the documentation of pst-node for \ArrowNotch{ Herbert > > Many thanks, > > Carlos Macedo > > \documentclass{article} > \usepackage{pstricks-add} > > \begin{document} > > \begin{pspicture}(0,-0.7)(3.5,0.5) > %\psgrid > \rnode{A}{1} \quad% > \rnode{B}{3} \quad > \rnode{C}{5} \quad% > \rnode{D}{7}, \dots, $(2n-1)$ > \ncarc[arcangle=-40]{->}{A}{B}\tbput{\scriptsize{$+2$}}% > \ncarc[arcangle=-40]{->}{B}{C}\tbput{\scriptsize{$+2$}}% > \ncarc[arcangle=-40]{->}{C}{D}\tbput{\scriptsize{$+2$}}% > \end{pspicture} > > \end{document} > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > ------------------------------ Subject: Digest Footer _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks ------------------------------ End of PSTricks Digest, Vol 126, Issue 16 ***************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From hensh at math.msu.edu Sun Aug 4 14:00:06 2013 From: hensh at math.msu.edu (Hensh, Richard) Date: Sun, 4 Aug 2013 12:00:06 +0000 Subject: [pstricks] Including Private Header Files Stopped Working Message-ID: <08E67332912CDF4283414CE8CC41EEB1079C8F0D@EXCHANGE1.mathwin.msu.edu> Dear All, Has the method for including private postscript header files been changed? For years I have included a private header file (mypstrix.pro) in my postscript documents. An abbreviated version is included at the end of this message. This was subsequently loaded by adding the following two lines to the file pstricks.con. Actually, to a copy of pstricks.con located in my private root. \pstcustomize \pstheader{mypstrix.pro} Now the command chain: latex -- dvips would generate a postscript file with an embedded copy of mypstrix.pro. This has worked seamlessly for at least 9 years. Yesterday it stopped working. I am using the latest version of MiKTeX 2.9 if it matters. Is there another way to load private header files that I could try? thanks rick %% Begin mypstrix.pro %% %! % My own PostScript prologue for pstricks.tex. (Set flag in pstricks.con to use.) % Version 2004 % userdict begin % /natBase {ENeperian} def % /avg@ {add 2 div} def % (a+b)/2 /dist@ {sub abs} def % |a-b| %%Hyperbolics /sinh at t {dup natBase exch exp exch neg natBase exch exp sub 2 div} def % end % %% End mypstrix.pro %% -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablgonz at yahoo.com Mon Aug 5 04:29:12 2013 From: pablgonz at yahoo.com (=?iso-8859-1?Q?Pablo_Gonz=E1lez?=) Date: Sun, 4 Aug 2013 19:29:12 -0700 Subject: [pstricks] xelatex and pstricks not compile after updating texlive 2013 In-Reply-To: References: Message-ID: <1375669752.76855.YahooMailNeo@web142704.mail.bf1.yahoo.com> I have the following file \documentclass{article}% \usepackage{pstricks} \listfiles \begin{document} \begin{pspicture*}(0,0)(4,1) \psset{unit=0.75cm,labelsep=3pt,linewidth=0.6pt} \psline(0.5,0.5)(3.5,0.5) \begin{scriptsize} \uput[dl](0.5,0.5){$A$} \uput[dr](3.5,0.5){$B$} \end{scriptsize} \end{pspicture*} % second enviroment \begin{pspicture*}(0,0)(4,1) \psset{unit=0.75cm,labelsep=3pt,linewidth=0.6pt} \psline(0.5,0.5)(3.5,0.5) \begin{scriptsize} \uput[dl](0.5,0.5){$A$} \uput[dr](3.5,0.5){$B$} \end{scriptsize} \end{pspicture*} \end{document} and ?*File List* ?article.cls ? ?2007/10/19 v1.4h Standard LaTeX document class ? size10.clo ? ?2007/10/19 v1.4h Standard LaTeX file (size option) pstricks.sty ? ?2013/05/21 v0.56 LaTeX wrapper for `PSTricks' (RN,HV) pstricks.tex ? ?2013/05/12 v2.43 `PSTricks' (tvz,hv) pst-xkey.tex ? ?2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) ?xkeyval.sty ? ?2012/10/14 v2.6b package option processing (HA) ?xkeyval.tex ? ?2012/10/14 v2.6b key=value parser (HA) ? pst-fp.tex ? ?2013/05/12 v2.43 `PST-fp' (hv) ? xcolor.sty ? ?2007/01/21 v2.11 LaTeX color extensions (UK) ? ?color.cfg ? ?2007/01/18 v1.5 color configuration of teTeX/TeXLive ? ?xetex.def ? ?2013/04/29 v0.96 LaTeX color/graphics driver for XeTeX (RRM/JK) and compiles without problems, I updated all packages texlive2013, except for pstricks( I kept my backup r30616).?But if I update "pstricks" (r31201) compiled only if a single environment,?if you have more than one throws the following error ?*File List* ?article.cls ? ?2007/10/19 v1.4h Standard LaTeX document class ? size10.clo ? ?2007/10/19 v1.4h Standard LaTeX file (size option) pstricks.sty ? ?2013/05/22 v0.57 LaTeX wrapper for `PSTricks' (RN,HV) pstricks.tex ? ?2013/07/09 v2.45 `PSTricks' (tvz,hv) pst-xkey.tex ? ?2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) ?xkeyval.sty ? ?2012/10/14 v2.6b package option processing (HA) ?xkeyval.tex ? ?2012/10/14 v2.6b key=value parser (HA) ? pst-fp.tex ? ?2013/07/09 v2.45 `PST-fp' (hv) ? xcolor.sty ? ?2007/01/21 v2.11 LaTeX color extensions (UK) ? ?color.cfg ? ?2007/01/18 v1.5 color configuration of teTeX/TeXLive ? ?xetex.def ? ?2013/04/29 v0.96 LaTeX color/graphics driver for XeTeX (RRM/JK) ?*********** Error: /undefined in tx at TextPathDict Operand stack: Execution stack: ? ?%interp_exit ? .runexec2 ? --nostringval-- ? --nostringval-- ? --nostringval-- ? 2 ? %stopped_push ? --nostringval-- ? --nostringval-- ? --nostringval-- ? false ? 1 ? %stopped_push ? 1884 ? 1 ? 3 ? %oparray_pop ? 1883 ? 1 ? 3 ? %oparray_pop ? 1867 ? 1 ? 3 ? %oparray_pop ? 1755 ? 1 ? 3 ? %oparray_pop ? --nostringval-- ? %errorexec_pop ? .runexec2 ? --nostringval-- ? --nostringval-- ? --nostringval-- ? 2 ? %stopped_push ? --nostringval-- Dictionary stack: ? ?--dict:1171/1684(ro)(G)-- ? --dict:0/20(G)-- ? --dict:115/200(L)-- Current allocation mode is local Current file position is 466 GPL Ghostscript 9.07: Unrecoverable error, exit code 1 ** WARNING ** Filtering file via command -->rungs -q -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile='/tmp/dvipdfmx.XX4tDO6k' '/tmp/dvipdfmx.XXBQxWXk' -c quit<-- failed. ** WARNING ** Image format conversion for PSTricks failed. ** WARNING ** Interpreting special command PST: (ps:) failed. ** WARNING ** >> at page="1" position="(265.419, 638.852)" (in PDF) ** WARNING ** >> xxx "PST: tx at Dict begin ?CM STV CP T newpath /a 0.0 def /w 113.81097" ?) Any idea how to solve this: regards Pablo PD: TexLive 2013/ Fedora 19 x86 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Aug 5 09:03:54 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 5 Aug 2013 09:03:54 +0200 Subject: [pstricks] xelatex and pstricks not compile after updating texlive 2013 In-Reply-To: <1375669752.76855.YahooMailNeo@web142704.mail.bf1.yahoo.com> References: <1375669752.76855.YahooMailNeo@web142704.mail.bf1.yahoo.com> Message-ID: <51FF4E5A.1070901@FU-Berlin.DE> Am 05.08.2013 04:29, schrieb Pablo Gonz?lez: > I have the following file > \documentclass{article}% > \usepackage{pstricks} > \listfiles > \begin{document} > \begin{pspicture*}(0,0)(4,1) > \psset{unit=0.75cm,labelsep=3pt,linewidth=0.6pt} > \psline(0.5,0.5)(3.5,0.5) > \begin{scriptsize} > \uput[dl](0.5,0.5){$A$} > \uput[dr](3.5,0.5){$B$} > \end{scriptsize} > \end{pspicture*} > % second enviroment > \begin{pspicture*}(0,0)(4,1) > \psset{unit=0.75cm,labelsep=3pt,linewidth=0.6pt} > \psline(0.5,0.5)(3.5,0.5) > \begin{scriptsize} > \uput[dl](0.5,0.5){$A$} > \uput[dr](3.5,0.5){$B$} > \end{scriptsize} > \end{pspicture*} > \end{document} XeTeX has problems with the clipping of objects. Use the star version of pspicture only if you really need it. This works: \documentclass{article} \usepackage{pstricks} \listfiles \begin{document} \begin{pspicture}(0,0)(4,1) \psset{unit=0.75cm,labelsep=3pt,linewidth=0.6pt} \psline(0.5,0.5)(3.5,0.5) \scriptsize \uput[dl](0.5,0.5){$A$} \uput[dr](3.5,0.5){$B$} \end{pspicture} % second enviroment \begin{pspicture*}(0,0)(4,1) \psset{unit=0.75cm,labelsep=3pt,linewidth=0.6pt} \psline(0.5,0.5)(3.5,0.5) \scriptsize \uput[dl](0.5,0.5){$A$} \uput[dr](3.5,0.5){$B$} \end{pspicture*} \end{document} Herbert From grivet at cnrs-orleans.fr Mon Aug 5 13:45:01 2013 From: grivet at cnrs-orleans.fr (grivet) Date: Mon, 5 Aug 2013 13:45:01 +0200 Subject: [pstricks] new requirement of pst-tools Message-ID: <51FF903D.2050603@cnrs-orleans.fr> Hello Pstricks, During the last six or seven years, I have written many Latex/Pstricks programs with no special problems. Two weeks ago, I tried to modify one such program; it compiled successfully. But then, I found that Yap could not open the resulting .dvi (it froze) and, when I tried to generate a Postscript file, Miktek informed me that pst-tools.pro, a part of the package pst-tools, was needed. This piece of software was never installed on my computer and I a curious to know why it has suddenly become necessary. Thank you for your help JP Grivet PS: a minimal example \documentclass[A4,12pt]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage[french]{babel} \usepackage{pstricks} \setlength{\oddsidemargin}{-5.4mm} \setlength{\textwidth}{15cm} \setlength{\topmargin}{4.6mm} \setlength{\textheight}{22cm} \pagestyle{empty} \begin{document} \begin{pspicture}(12,7) \psline{->}(1,3)(9,3)\psline{->}(3,1)(3,6.5) \psline[linecolor=blue,linewidth=2pt]{->}(3,3)(8.2,3) \end{pspicture} \end{document} From Herbert.Voss at FU-Berlin.DE Mon Aug 5 13:52:23 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 5 Aug 2013 13:52:23 +0200 Subject: [pstricks] new requirement of pst-tools In-Reply-To: <51FF903D.2050603@cnrs-orleans.fr> References: <51FF903D.2050603@cnrs-orleans.fr> Message-ID: <51FF91F7.6050803@FU-Berlin.DE> Am 05.08.2013 13:45, schrieb grivet: > During the last six or seven years, I have written many Latex/Pstricks > programs with no special problems. > Two weeks ago, I tried to modify one such program; it compiled > successfully. But then, I found that Yap > could not open the resulting .dvi (it froze) and, when I tried to > generate a Postscript file, Miktek informed me that > pst-tools.pro, a part of the package pst-tools, was needed. > This piece of software was never installed on my computer and I a > curious to know why it has suddenly > become necessary. file a bug report to MiKTeX that it should install _all_ files from http://mirror.ctan.org/graphics/pstricks/contrib/pst-tools or install the pro file by yourself. Herbert From pablgonz at yahoo.com Mon Aug 5 14:18:32 2013 From: pablgonz at yahoo.com (=?iso-8859-1?Q?Pablo_Gonz=E1lez?=) Date: Mon, 5 Aug 2013 05:18:32 -0700 Subject: [pstricks] PSTricks Digest, Vol 127, Issue 1 In-Reply-To: References: Message-ID: <1375705112.43341.YahooMailNeo@web142706.mail.bf1.yahoo.com> "XeTeX has problems with the clipping of objects. Use the star version of pspicture only if you really need it. This works:" Herbert Thanks for all.... -------------- next part -------------- An HTML attachment was scrubbed... URL: From rshepard at appl-ecosys.com Mon Aug 5 19:46:58 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Mon, 5 Aug 2013 10:46:58 -0700 Subject: [pstricks] Understanding Circle Bar Chart Message-ID: I have a 7x7 table (7 data categories in each of 7 streams) that I want to display on a single page for easy comparison and understanding by non-technical decision-makers. The old business graphic is a multidimensional bar chart, but that hides small bars behind taller bars and does not communicate efficiently. Looking at PSTricks examples it seems to me that the circular bar chart (one for each stream) would be an excellent presentation that would let views see differences in the proportions of each category at a glance. My PostScript and LaTeX language skills are not sufficiently well developed for me to understand just what the script is doing so I can modify it to display 7 categories rather than 5. Putting all 7 plots on the same page is easier for me to work out. Pointers to what I should read to understand the script will be much appreciated. Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | Voice: 503-667-4517 Fax: 503-667-8863 From rshepard at appl-ecosys.com Mon Aug 5 20:00:57 2013 From: rshepard at appl-ecosys.com (Rich Shepard) Date: Mon, 5 Aug 2013 11:00:57 -0700 Subject: [pstricks] Understanding Circle Bar Chart In-Reply-To: References: Message-ID: On Mon, 5 Aug 2013, Rich Shepard wrote: > Looking at PSTricks examples it seems to me that the circular bar chart > (one for each stream) would be an excellent presentation that would let > views see differences in the proportions of each category at a glance. Here's an example of data for one stream: 19 39 4 1 1 4 32 (percentages rounded to integers). Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | Voice: 503-667-4517 Fax: 503-667-8863 From Herbert.Voss at FU-Berlin.DE Mon Aug 5 20:15:11 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 5 Aug 2013 20:15:11 +0200 Subject: [pstricks] Including Private Header Files Stopped Working In-Reply-To: <08E67332912CDF4283414CE8CC41EEB1079C8F0D@EXCHANGE1.mathwin.msu.edu> References: <08E67332912CDF4283414CE8CC41EEB1079C8F0D@EXCHANGE1.mathwin.msu.edu> Message-ID: <51FFEBAF.6030601@FU-Berlin.DE> Am 04.08.2013 14:00, schrieb Hensh, Richard: > Has the method for including private postscript header files been changed? > > For years I have included a private header file (mypstrix.pro) in my > postscript documents. An abbreviated version is included at the end of > this message. This was subsequently loaded by adding the following two > lines to the file pstricks.con. Actually, to a copy of pstricks.con > located in my private root. Rich, I suppose it is a MiKTeX issue. I cannot test it because I am a Linux user. Maybe others can help. Herbert > \pstcustomize > \pstheader{mypstrix.pro} > > Now the command chain: latex -- dvips > would generate a postscript file with an embedded copy of mypstrix.pro. > This has worked seamlessly for at least 9 years. Yesterday it stopped > working. > > I am using the latest version of MiKTeX 2.9 if it matters. > > Is there another way to load private header files that I could try? > > thanks > rick > > > %% Begin mypstrix.pro %% > %! > % My own PostScript prologue for pstricks.tex. (Set flag in pstricks.con > to use.) > % Version 2004 > % > userdict begin % > /natBase {ENeperian} def % > /avg@ {add 2 div} def % (a+b)/2 > /dist@ {sub abs} def % |a-b| > %%Hyperbolics > /sinh at t {dup natBase exch exp exch neg natBase exch exp sub 2 div} def % > end > % > %% End mypstrix.pro %% > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From pablgonz at yahoo.com Tue Aug 6 05:04:37 2013 From: pablgonz at yahoo.com (=?iso-8859-1?Q?Pablo_Gonz=E1lez?=) Date: Mon, 5 Aug 2013 20:04:37 -0700 Subject: [pstricks] Another question about XeTeX and pstricks In-Reply-To: References: Message-ID: <1375758277.44991.YahooMailNeo@web142703.mail.bf1.yahoo.com> Hi all, I write this new thread because it is a different matter that post above. I describe my question by means of the following examples: 1.?XeTeX 3.1415926-2.5-0.9999.3-2013052300 (TeX Live 2013) +pstricks.sty ? ?2013/05/21 v0.56 LaTeX wrapper for `PSTricks' (RN,HV) +?pstricks.tex ? ?2013/05/12 v2.43 `PSTricks' (tvz,hv) work OK (default texlive2013 dvd) 2.?XeTeX 3.1415926-2.5-0.9999.3-2013061720 (TeX Live 2013)?+pstricks.sty ? ?2013/05/21 v0.56 LaTeX wrapper for `PSTricks' (RN,HV) +?pstricks.tex ? ?2013/05/12 v2.43 `PSTricks' (tvz,hv) work OK (upgrade only xetex) Compile?star (and not) version of pspicture, but: 3. XeTeX 3.1415926-2.5-0.9999.3-2013052300 (TeX Live 2013) +?pstricks.sty ? ?2013/05/22 v0.57 LaTeX wrapper for `PSTricks' (RN,HV) +?pstricks.tex ? ?2013/07/09 v2.45 `PSTricks' (tvz,hv)?(upgrade pstricks) 4.?XeTeX 3.1415926-2.5-0.9999.3-2013061720 (TeX Live 2013) +?+?pstricks.sty ? ?2013/05/22 v0.57 LaTeX wrapper for `PSTricks' (RN,HV) +?pstricks.tex ? ?2013/07/09 v2.45 `PSTricks' (tvz,hv)?(upgrade all) fails to compile starred versions?of pspicture. In the previous post Herbert wrote that the problem was caused by XeTeX to clipling objects, and here is my question, is it really a problem produced by XeTeX? or a bug in updating pstricks. Best Regards Pablo -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Tue Aug 6 09:51:54 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 6 Aug 2013 09:51:54 +0200 Subject: [pstricks] Another question about XeTeX and pstricks In-Reply-To: <1375758277.44991.YahooMailNeo@web142703.mail.bf1.yahoo.com> References: <1375758277.44991.YahooMailNeo@web142703.mail.bf1.yahoo.com> Message-ID: <5200AB1A.8020706@FU-Berlin.DE> Am 06.08.2013 05:04, schrieb Pablo Gonz?lez: > Hi all, I write this new thread because it is a different matter that > post above. I describe my question by means of the following examples: > 1. XeTeX 3.1415926-2.5-0.9999.3-2013052300 (TeX Live 2013) +pstricks.sty > 2013/05/21 v0.56 LaTeX wrapper for `PSTricks' (RN,HV) + pstricks.tex > 2013/05/12 v2.43 `PSTricks' (tvz,hv) work OK (default texlive2013 dvd) > 2. XeTeX 3.1415926-2.5-0.9999.3-2013061720 (TeX Live 2013) +pstricks.sty > 2013/05/21 v0.56 LaTeX wrapper for `PSTricks' (RN,HV) + pstricks.tex > 2013/05/12 v2.43 `PSTricks' (tvz,hv) work OK (upgrade only xetex) > Compile star (and not) version of pspicture, but: > 3. XeTeX 3.1415926-2.5-0.9999.3-2013052300 (TeX Live 2013) + > pstricks.sty 2013/05/22 v0.57 LaTeX wrapper for `PSTricks' (RN,HV) + > pstricks.tex 2013/07/09 v2.45 `PSTricks' (tvz,hv) (upgrade pstricks) > 4. XeTeX 3.1415926-2.5-0.9999.3-2013061720 (TeX Live 2013) + + > pstricks.sty 2013/05/22 v0.57 LaTeX wrapper for `PSTricks' (RN,HV) + > pstricks.tex 2013/07/09 v2.45 `PSTricks' (tvz,hv) (upgrade all) > fails to compile starred versions of pspicture. In the previous post > Herbert wrote that the problem was caused by XeTeX to clipling objects, > and here is my question, is it really a problem produced by XeTeX? or a > bug in updating pstricks. "A problem by XeTeX" means a problem with the driver xetex.def (XeTeX) or xdvipdfmx.cfg (pstricks.con). Both belong to XeTeX Herbert From Herbert.Voss at FU-Berlin.DE Tue Aug 6 11:29:10 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 6 Aug 2013 11:29:10 +0200 Subject: [pstricks] Understanding Circle Bar Chart In-Reply-To: References: Message-ID: <5200C1E6.10806@FU-Berlin.DE> Am 05.08.2013 20:00, schrieb Rich Shepard: > On Mon, 5 Aug 2013, Rich Shepard wrote: > >> Looking at PSTricks examples it seems to me that the circular bar chart >> (one for each stream) would be an excellent presentation that would let >> views see differences in the proportions of each category at a glance. > > Here's an example of data for one stream: > > 19 > 39 > 4 > 1 > 1 > 4 > 32 > > (percentages rounded to integers). Rich, see pages 18 and 19 of the pstricks-add documentation Herbert From uhl at cosy.sbg.ac.at Tue Aug 6 12:16:22 2013 From: uhl at cosy.sbg.ac.at (uhl at cosy.sbg.ac.at) Date: Tue, 6 Aug 2013 12:16:22 +0200 Subject: [pstricks] question on Gantt-charts (pst-gannt) Message-ID: <73b93a8e992da01922ce3c184b374c90.squirrel@webmail.cosy.sbg.ac.at> Hi, I just wanted to use pst-gannt for constructing a chart with more than just one box per line, i.e. a task which is interrupted and restarted later, possibly for a few times. I tried something like \PstGanttTask[TaskStyle=AgeingAnalysis, TaskInsideLabel={WP1-DATA ACQUISITION}]{0}{1}{6}{1} (should result in two boxes each width 1, but it does not) is there any way this can be done ? thanks, AU From skarakoleva at uni-ruse.bg Tue Aug 6 18:51:12 2013 From: skarakoleva at uni-ruse.bg (Stefka Karakoleva) Date: Tue, 6 Aug 2013 19:51:12 +0300 Subject: [pstricks] jpg, pst and picture environment - problems with pdflatex In-Reply-To: References: Message-ID: <52f8dbb1fa665688ff6c1cbdfa101af4@uni-ruse.bg> Hello All PST-experts, I have problems with document (book style) by converting with pdflatex. The book contains a lot of old figures in picture environment and a lot of pstricks-pictures, too. Now I have to include jpg-images and all compile with pdflatex. For example I send you a minimal file, which I compile with pdflatex. In resulting pdf isn't pst-graphic. I hope somebody help me. -- Stefka Karakoleva University of Ruse, Bulgaria -------------- next part -------------- A non-text attachment was scrubbed... Name: BookInBulgarian.rar Type: application/x-rar-compressed Size: 225531 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Tue Aug 6 19:46:10 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 6 Aug 2013 19:46:10 +0200 Subject: [pstricks] jpg, pst and picture environment - problems with pdflatex In-Reply-To: <52f8dbb1fa665688ff6c1cbdfa101af4@uni-ruse.bg> References: <52f8dbb1fa665688ff6c1cbdfa101af4@uni-ruse.bg> Message-ID: <52013662.5000203@FU-Berlin.DE> Am 06.08.2013 18:51, schrieb Stefka Karakoleva: > I have problems with document (book style) by converting with pdflatex. > > The book contains a lot of old figures in picture environment and a lot > of pstricks-pictures, too. Now I have to include jpg-images and all > compile with pdflatex. > > For example I send you a minimal file, which I compile with pdflatex. In > resulting pdf isn't pst-graphic. - use the package auto-pst-pdf instead of pst-pdf. - do _not_ use the option [pdftex] for package graphicx - run the document with pdflatex --shell-escape then it should work. You should subscripe to the mailing list to get all answers. Herbert From Poul.Riis at skolekom.dk Tue Aug 6 23:00:52 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Tue, 6 Aug 2013 23:00:52 +0200 Subject: [pstricks] pst-plot3d Message-ID: Three questions on the project below: 1) How can I use postscript values for the length, width and height of the psBox? 2) How can I control the color of a psBox? 3) Can I make a psBox transparent? Poul Riis \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[ansinew]{inputenc} \usepackage[danish]{babel} \usepackage[x11names]{xcolor} \usepackage{pst-3dplot} \usepackage{amsmath} \usepackage[left=1cm,right=1cm,top=2cm,bottom=2cm]{geometry} \parindent0pt \pagestyle{empty} \begin{document} \pstVerb{/lbund 8 def /bbund 4 def /tyk 0.1 def /bgavl bbund tyk 2 mul sub def /Hgavl 4 def /hgavl Hgavl tyk 2 mul sub def} \psset{Beta=10,xyzLight=-7 -3 4,showInside=false} \begin{pspicture}(-5,-2)(3,4) \psset{Alpha=200} %\pstThreeDCoor[zMax=5] \psBox(lbund 2 div neg,bbund 2 div neg,Hgavl 2 div neg){8}{0.1}{4}%bund \psBox(lbund 2 div neg,bbund 2 div tyk sub,hgavl 2 div neg){8}{3.8}{0.1}%bagside \psBox(lbund 2 div tyk sub,bgavl 2 div neg,hgavl 2 div neg){0.1}{3.8}{3.8}%fjerneste gavl \psBox(tyk 2 div neg,bgavl 2 div neg,hgavl 2 div neg){0.1}{3.8}{3.8}%mellemv?g \psBox(lbund 2 div neg,bgavl 2 div neg,hgavl 2 div neg){0.1}{3.8}{3.8}%n?rmeste gavl %\psBox(lbund 2 div neg,bbund 2 div neg,hgavl 2 div neg){8}{3.8}{0.1}%forside \psBox(lbund 2 div neg,bbund 2 div neg,Hgavl 2 div tyk sub){8}{0.1}{4}%top \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Aug 7 08:09:36 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 7 Aug 2013 08:09:36 +0200 Subject: [pstricks] pst-plot3d In-Reply-To: References: Message-ID: <5201E4A0.8090407@FU-Berlin.DE> Am 06.08.2013 23:00, schrieb Poul Riis: > Three questions on the project below: > > 1) How can I use postscript values for the length, width and height of > the psBox? > 2) How can I control the color of a psBox? > 3) Can I make a psBox transparent? All three are not possible. Herbert From texnicer at web.de Wed Aug 7 11:44:34 2013 From: texnicer at web.de (C. Vogel) Date: Wed, 7 Aug 2013 11:44:34 +0200 Subject: [pstricks] jpg, pst and picture environment - problems with pdflatex In-Reply-To: <52f8dbb1fa665688ff6c1cbdfa101af4@uni-ruse.bg> References: <52f8dbb1fa665688ff6c1cbdfa101af4@uni-ruse.bg> Message-ID: <52021702.305@web.de> Am 06.08.2013 18:51, schrieb Stefka Karakoleva: > Hello All PST-experts, > > I have problems with document (book style) by converting with pdflatex. > > The book contains a lot of old figures in picture environment and a > lot of pstricks-pictures, too. Now I have to include jpg-images and > all compile with pdflatex. > > For example I send you a minimal file, which I compile with pdflatex. > In resulting pdf isn't pst-graphic. > > I hope somebody help me. > -- > Stefka Karakoleva > University of Ruse, Bulgaria > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ google: "CTAN: autopstpdf" http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput#autopstpdf From texnicer at web.de Wed Aug 7 13:01:52 2013 From: texnicer at web.de (C. Vogel) Date: Wed, 7 Aug 2013 13:01:52 +0200 Subject: [pstricks] jpg, pst and picture environment - problems with pdflatex In-Reply-To: <52021702.305@web.de> References: <52f8dbb1fa665688ff6c1cbdfa101af4@uni-ruse.bg> <52021702.305@web.de> Message-ID: <52022920.2030901@web.de> Am 07.08.2013 11:44, schrieb C. Vogel: > Am 06.08.2013 18:51, schrieb Stefka Karakoleva: >> Hello All PST-experts, >> >> I have problems with document (book style) by converting with pdflatex. >> >> The book contains a lot of old figures in picture environment and a >> lot of pstricks-pictures, too. Now I have to include jpg-images and >> all compile with pdflatex. > google: "CTAN: autopstpdf" > http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput#autopstpdf In that doc I red: "pstools" but I never used it... so it might be: google: "CTAN: pstools" From skarakoleva at uni-ruse.bg Thu Aug 8 10:25:36 2013 From: skarakoleva at uni-ruse.bg (Stefka Karakoleva) Date: Thu, 8 Aug 2013 11:25:36 +0300 Subject: [pstricks] jpg, pst and picture environment - problems with pdflatex In-Reply-To: References: Message-ID: <280699360684c5782c3ca1d515c8f88e@uni-ruse.bg> Thank you for complete instructions: > - use the package auto-pst-pdf instead of pst-pdf. > - do _not_ use the option [pdftex] for package graphicx > - run the document with pdflatex --shell-escape > Herbert I made all according instructions but in the pictures.pdf I have ONLY "jpg" and "picture", not "pstricks" figures. The 3th pisture is in a separate file pictures-autopp.pdf As attached file I send an arhive, wich contains all files after my compilation. My best regards, Stefka -------------- next part -------------- A non-text attachment was scrubbed... Name: pictures.rar Type: application/x-rar-compressed Size: 187734 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Thu Aug 8 10:54:32 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 8 Aug 2013 10:54:32 +0200 Subject: [pstricks] jpg, pst and picture environment - problems with pdflatex In-Reply-To: <280699360684c5782c3ca1d515c8f88e@uni-ruse.bg> References: <280699360684c5782c3ca1d515c8f88e@uni-ruse.bg> Message-ID: <52035CC8.1020804@FU-Berlin.DE> Am 08.08.2013 10:25, schrieb Stefka Karakoleva: > Thank you for complete instructions: > >> - use the package auto-pst-pdf instead of pst-pdf. >> - do _not_ use the option [pdftex] for package graphicx >> - run the document with pdflatex --shell-escape > > I made all according instructions but in the pictures.pdf I have ONLY > "jpg" and "picture", not "pstricks" figures. The 3th pisture is in a > separate file pictures-autopp.pdf > > As attached file I send an arhive, wich contains all files after my > compilation. Looks like that you have no Perl installed for cropping the image. Use \usepackage[crop=off]{auto-pst-pdf} or install Perl from http://www.activestate.com/activeperl/downloads which is a good choice. Herbert From qed_texte at hotmail.com Mon Aug 19 17:36:03 2013 From: qed_texte at hotmail.com (=?iso-8859-1?B?THXtcyBMb3Blcw==?=) Date: Mon, 19 Aug 2013 15:36:03 +0000 Subject: [pstricks] cutting a part of a figure Message-ID: Dear members, In plotting a geometric locus I got a piece of a perpendicular bisector that is an extreme case that does not belong to the locus and as such shouldn't show up in the plot. How can I get rid of it? Only the "elipse" should appear. Thank you. Luis \begin{figure} \begin{center} \setlength{\fboxrule}{1pt}\setlength{\fboxsep}{2.73mm} \fbox{% \psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25} \begin{pspicture*}(-5.8,-4.6)(5.6,4.6) \pspolygon[linestyle=none,fillstyle=solid,fillcolor=yellow!20,opacity=0.1](-2.375,3.4977671449)(-2.5,0)(2.5,0) \psplotImp[algebraic,linecolor=red,linewidth=0.8pt](-5.8,-4.6)(5.6,4.6){% sqrt(5^4-8*5^2*x^2+16*x^4+8*5^2*y^2+32*x^2*y^2+16*y^4)*(-5^2+sqrt(5^4-8*5^2*x^2+16*x^4+8*5^2*y^2+% 32*x^2*y^2+16*y^4)+4*x^2-4*y^2)-32*3.8965145303^2*x^2} \parametricplot[linecolor=magenta]{-0.16953679806865107}{3.3101351699722725}{1*4.2278836313*cos(t)+0*4.2278836313*sin(t)+0|0*4.2278836313*cos(t)+1*4.2278836313*sin(t)+0} \psline[linewidth=1.2pt](-2.5,0)(2.5,0) \psline[linewidth=1.2pt](-2.375,3.4977671449)(2.5,0) \psline[linewidth=1.2pt](-2.375,3.4977671449)(-2.5,0) \psplot{-6.6411207657}{-2.5}{(-0-0*x)/-3.3049159284} \psplot{2.5}{6.7033147624}{(-0-0*x)/3.1057959135} \psline[linecolor=blue](-2.375,3.4977671449)(-0.6578947368,0) \rput[tl](-0.20,-0.12){$\magenta{M_{_a}}$} \rput[tl](-0.86,-0.12){$\blue{D_{_{\!a}}}$} \rput[tl](-1.23,1.58){$\blue{\mathfrak{d}_{_{\!a}}}$} \rput[tl](5.20,-1.95){$\red{\mathfrak{C}}$} \rput[tl](1.65,4.35){$\magenta{\phi_{_1}}$} \rput[tl](-3.58,-0.12){$\mathfrak{a}$} \psdots[dotstyle=*,linecolor=blue](-2.375,3.4977671449) \rput[bl](-2.52,3.70){$A$} \psdots[dotstyle=*,linecolor=blue](-2.5,0) \rput[bl](-2.63,-0.37){$B$} \psdots[dotstyle=*,linecolor=blue](2.5,0) \rput[bl](2.36,-0.37){$C$} \psdots[dotsize=2pt 0,linecolor=blue](-0.6578947368,0) \psdots[dotsize=2pt 0,linecolor=magenta](0,0) \rput[tc](-0.1,-4.4){Triangle dados \texttt<$\,a,m_{_a},d_{_a}$\texttt>} \end{pspicture*}} \caption{Exercicio 169 --- Quarto procedimento.} \label{figuraexer169c} \end{center} \end{figure} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Aug 19 21:34:34 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 19 Aug 2013 21:34:34 +0200 Subject: [pstricks] cutting a part of a figure In-Reply-To: References: Message-ID: <5212734A.7070601@FU-Berlin.DE> Am 19.08.2013 17:36, schrieb Lu?s Lopes: > How can I get rid of it? Only the "elipse" should appear. > \begin{figure} > \begin{center} > \setlength{\fboxrule}{1pt}\setlength{\fboxsep}{2.73mm} > \fbox{% > \psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt > 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25} > \begin{pspicture*}(-5.8,-4.6)(5.6,4.6) > \pspolygon[linestyle=none,fillstyle=solid,fillcolor=yellow!20,opacity=0.1](-2.375,3.4977671449)(-2.5,0)(2.5,0) > \psplotImp[algebraic,linecolor=red,linewidth=0.8pt](-5.8,-4.6)(5.6,4.6){% > sqrt(5^4-8*5^2*x^2+16*x^4+8*5^2*y^2+32*x^2*y^2+16*y^4)*(-5^2+sqrt(5^4-8*5^2*x^2+16*x^4+8*5^2*y^2+% > 32*x^2*y^2+16*y^4)+4*x^2-4*y^2)-32*3.8965145303^2*x^2} use \psplotImp[algebraic,linecolor=red,linewidth=0.8pt](-6,-5)(6,5){% the area of \psplotImp must be greater than the one for the clipping area of pspicture* Herbert > \parametricplot[linecolor=magenta]{-0.16953679806865107}{3.3101351699722725}{1*4.2278836313*cos(t)+0*4.2278836313*sin(t)+0|0*4.2278836313*cos(t)+1*4.2278836313*sin(t)+0} > \psline[linewidth=1.2pt](-2.5,0)(2.5,0) > \psline[linewidth=1.2pt](-2.375,3.4977671449)(2.5,0) > \psline[linewidth=1.2pt](-2.375,3.4977671449)(-2.5,0) > \psplot{-6.6411207657}{-2.5}{(-0-0*x)/-3.3049159284} > \psplot{2.5}{6.7033147624}{(-0-0*x)/3.1057959135} > \psline[linecolor=blue](-2.375,3.4977671449)(-0.6578947368,0) > \rput[tl](-0.20,-0.12){$\magenta{M_{_a}}$} > \rput[tl](-0.86,-0.12){$\blue{D_{_{\!a}}}$} > \rput[tl](-1.23,1.58){$\blue{\mathfrak{d}_{_{\!a}}}$} > \rput[tl](5.20,-1.95){$\red{\mathfrak{C}}$} > \rput[tl](1.65,4.35){$\magenta{\phi_{_1}}$} > \rput[tl](-3.58,-0.12){$\mathfrak{a}$} > \psdots[dotstyle=*,linecolor=blue](-2.375,3.4977671449) > \rput[bl](-2.52,3.70){$A$} > \psdots[dotstyle=*,linecolor=blue](-2.5,0) > \rput[bl](-2.63,-0.37){$B$} > \psdots[dotstyle=*,linecolor=blue](2.5,0) > \rput[bl](2.36,-0.37){$C$} > \psdots[dotsize=2pt 0,linecolor=blue](-0.6578947368,0) > \psdots[dotsize=2pt 0,linecolor=magenta](0,0) > \rput[tc](-0.1,-4.4){Triangle dados \texttt<$\,a,m_{_a},d_{_a}$\texttt>} > \end{pspicture*}} > \caption{Exercicio 169 --- Quarto procedimento.} > \label{figuraexer169c} > \end{center} > \end{figure} > > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From hensh at math.msu.edu Tue Aug 20 12:29:15 2013 From: hensh at math.msu.edu (Hensh, Richard) Date: Tue, 20 Aug 2013 10:29:15 +0000 Subject: [pstricks] Including Private Header Files Stopped Working In-Reply-To: <51FFEBAF.6030601@FU-Berlin.DE> References: <08E67332912CDF4283414CE8CC41EEB1079C8F0D@EXCHANGE1.mathwin.msu.edu>, <51FFEBAF.6030601@FU-Berlin.DE> Message-ID: <08E67332912CDF4283414CE8CC41EEB107A06257@EXCHANGE1.mathwin.msu.edu> Dear Herbert, I believe that I have confirmed that pstricks.tex (ver 2.45 - 2013/07/09) is somehow causing the problem. The versions posted on the pstricks web site and the version distributed with MikTeX match exactly. Here are a few more details. 1. If I comment out the pst macro \pstcustomize in pstricks.con, then everything works as it did before using pstricks.tex (v2.45). pstricks.con: %\pstcustomize \pstheader{mypstrix.pro} So perhaps \pstcustomize has somehow been modified in a recent version of pstrick.tex. To confirm this I tried the following. 2. If I replace pstricks.tex (ver 2.45 - 2013/07/09) with version 2.43 (2013/05/12) then the following works as it did before. pstricks.con: \pstcustomize \pstheader{mypstrix.pro} Any ideas? thanks rick ________________________________________ From: PSTricks [pstricks-bounces at tug.org] on behalf of Herbert Voss [Herbert.Voss at FU-Berlin.DE] Sent: Monday, August 05, 2013 2:15 PM To: pstricks at tug.org Subject: Re: [pstricks] Including Private Header Files Stopped Working Am 04.08.2013 14:00, schrieb Hensh, Richard: > Has the method for including private postscript header files been changed? > > For years I have included a private header file (mypstrix.pro) in my > postscript documents. An abbreviated version is included at the end of > this message. This was subsequently loaded by adding the following two > lines to the file pstricks.con. Actually, to a copy of pstricks.con > located in my private root. Rich, I suppose it is a MiKTeX issue. I cannot test it because I am a Linux user. Maybe others can help. Herbert > \pstcustomize > \pstheader{mypstrix.pro} > > Now the command chain: latex -- dvips > would generate a postscript file with an embedded copy of mypstrix.pro. > This has worked seamlessly for at least 9 years. Yesterday it stopped > working. > > I am using the latest version of MiKTeX 2.9 if it matters. > > Is there another way to load private header files that I could try? > > thanks > rick > > > %% Begin mypstrix.pro %% > %! > % My own PostScript prologue for pstricks.tex. (Set flag in pstricks.con > to use.) > % Version 2004 > % > userdict begin % > /natBase {ENeperian} def % > /avg@ {add 2 div} def % (a+b)/2 > /dist@ {sub abs} def % |a-b| > %%Hyperbolics > /sinh at t {dup natBase exch exp exch neg natBase exch exp sub 2 div} def % > end > % > %% End mypstrix.pro %% > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Tue Aug 20 13:40:30 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 20 Aug 2013 13:40:30 +0200 Subject: [pstricks] Including Private Header Files Stopped Working In-Reply-To: <08E67332912CDF4283414CE8CC41EEB107A06257@EXCHANGE1.mathwin.msu.edu> References: <08E67332912CDF4283414CE8CC41EEB1079C8F0D@EXCHANGE1.mathwin.msu.edu>, <51FFEBAF.6030601@FU-Berlin.DE> <08E67332912CDF4283414CE8CC41EEB107A06257@EXCHANGE1.mathwin.msu.edu> Message-ID: <521355AE.5070001@FU-Berlin.DE> Am 20.08.2013 12:29, schrieb Hensh, Richard: > I believe that I have confirmed that pstricks.tex (ver 2.45 - 2013/07/09) is somehow causing the problem. The versions posted on the pstricks web site and the version distributed with MikTeX match exactly. Here are a few more details. > > 1. If I comment out the pst macro \pstcustomize in pstricks.con, then everything works as it did before using pstricks.tex (v2.45). > > pstricks.con: > %\pstcustomize > \pstheader{mypstrix.pro} Rich, \pstcustomize is set to \endinput if it is not defined by the user _before_ loading pstricks. If you uncomment it then \pstheader will not be read. > So perhaps \pstcustomize has somehow been modified in a recent version of pstrick.tex. To confirm this I tried > the following. > > 2. If I replace pstricks.tex (ver 2.45 - 2013/07/09) with version 2.43 (2013/05/12) then the following works as it did before. > > pstricks.con: > \pstcustomize > \pstheader{mypstrix.pro} this will work if you have something like \def\pstcustomize{} \usepackage{pstricks} ... Herbert From germain.boyer at ac-toulouse.fr Tue Aug 20 15:41:45 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Tue, 20 Aug 2013 15:41:45 +0200 Subject: [pstricks] pst-node psmatrix Message-ID: Bonjour, In the second psmatrix is it possible to replace the line ~ & 1 & & 3 \\ by something like [mnode=something] ~ & 1 & & 3 \\ to don't have the circle before the arrow ? In the of pst-node i read mnode=type parameter. Who are the type possible for mnode ? \qquad \begin{psmatrix} & & [mnode=circle] 5 \\ & & [mnode=circle,doubleline=true] 4 \\ ~ & [mnode=circle] 1 & & [mnode=circle] 3 \\ & & [mnode=circle] 2 \end{psmatrix} \psset{arrows=->,shortput=nab,arrowsize=0.15} \nccircle[angleA=0]{3,2}{0.5cm}\nbput{$b$} \ncline{2,3}{3,2}_{$b$} \ncarc[arcangle=15]{3,2}{4,3}^{$a$} \ncarc[arcangle=15]{4,3}{3,2}^{$b$} \ncline{3,4}{3,2}\nbput{$b$} \ncline{2,3}{1,3}^{$a$} \ncline{3,4}{2,3}_{$a$} \ncline{4,3}{3,4}_{$a$} \nccircle[angleA=90]{1,3}{0.5cm}\nbput{$b$} \nccircle[angleA=-90]{1,3}{0.5cm}\nbput{$a$} { \psset{doubleline=true} \ncline{3,1}{3,2}^{d?part~} } \vspace*{2cm} \qquad \begin{psmatrix}[mnode=circle] & & 5 \\ & & [doubleline=true] 4 \\ ~ & 1 & & 3 \\ & & 2 \end{psmatrix} \psset{arrows=->,shortput=nab,arrowsize=0.15} \nccircle[angleA=0]{3,2}{0.5cm}\nbput{$b$} \ncline{2,3}{3,2}_{$b$} \ncarc[arcangle=15]{3,2}{4,3}^{$a$} \ncarc[arcangle=15]{4,3}{3,2}^{$b$} \ncline{3,4}{3,2}\nbput{$b$} \ncline{2,3}{1,3}^{$a$} \ncline{3,4}{2,3}_{$a$} \ncline{4,3}{3,4}_{$a$} \nccircle[angleA=90]{1,3}{0.5cm}\nbput{$b$} \nccircle[angleA=-90]{1,3}{0.5cm}\nbput{$a$} \psset{doubleline=true} \ncline{3,1}{3,2}^{d?part~} Thanks for yours answers. Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From hensh at math.msu.edu Tue Aug 20 18:43:10 2013 From: hensh at math.msu.edu (Hensh, Richard) Date: Tue, 20 Aug 2013 16:43:10 +0000 Subject: [pstricks] Including Private Header Files Stopped Working In-Reply-To: <521355AE.5070001@FU-Berlin.DE> References: <08E67332912CDF4283414CE8CC41EEB1079C8F0D@EXCHANGE1.mathwin.msu.edu>, <51FFEBAF.6030601@FU-Berlin.DE> <08E67332912CDF4283414CE8CC41EEB107A06257@EXCHANGE1.mathwin.msu.edu>, <521355AE.5070001@FU-Berlin.DE> Message-ID: <08E67332912CDF4283414CE8CC41EEB107A06305@EXCHANGE1.mathwin.msu.edu> Dear Herbert, Thanks. Your last suggestion works, but I want to be clear. For the past 9 years the following lines added (or uncommented) from my local copy of pstricks.con allowed automatic inclusion of private header files. (I believe the included comments are by tvz or dg, but that's just a guess.) \pstricks.con: ... %%%%%%%%%%%%%%%%%%% !! CUSTOMIZATION STUFF GOES HERE: !! %%%%%%%%%%%%%%%%%% %% If you want to include your own customizations to pstricks.tex, then %% uncomment the \pstcustomize command, and include your modifications %% after \pstcustomize. These will be read in after pstricks.tex. \pstcustomize \pstheader{mypstrix.pro} \endinput ... The above code worked with versions of pstricks.tex < 2.44. I am not saying that it should have worked, but it did. Since version 2.45 the above code no longer works. So, per your suggestions, I've made the following changes. \pstricks.con: ... %%%%%%%%%%%%%%%%%%% !! CUSTOMIZATION STUFF GOES HERE: !! %%%%%%%%%%%%%%%%%% %% If you want to include your own customizations to pstricks.tex, then %% uncomment the \pstcustomize command, and include your modifications %% after \pstcustomize. These will be read in after pstricks.tex. \def\pstcustomize{} \pstheader{mypstrix.pro} \endinput ... Now my private header files are imported in the final postscript document, as desired. Perhaps the comments in the file dvips.cfg (dvips.con) that ships with most TeX distributions should be modified to reflect this change. thanks again, rick ________________________________________ From: PSTricks [pstricks-bounces at tug.org] on behalf of Herbert Voss [Herbert.Voss at FU-Berlin.DE] Sent: Tuesday, August 20, 2013 7:40 AM To: pstricks at tug.org Subject: Re: [pstricks] Including Private Header Files Stopped Working Am 20.08.2013 12:29, schrieb Hensh, Richard: > I believe that I have confirmed that pstricks.tex (ver 2.45 - 2013/07/09) is somehow causing the problem. The versions posted on the pstricks web site and the version distributed with MikTeX match exactly. Here are a few more details. > > 1. If I comment out the pst macro \pstcustomize in pstricks.con, then everything works as it did before using pstricks.tex (v2.45). > > pstricks.con: > %\pstcustomize > \pstheader{mypstrix.pro} Rich, \pstcustomize is set to \endinput if it is not defined by the user _before_ loading pstricks. If you uncomment it then \pstheader will not be read. > So perhaps \pstcustomize has somehow been modified in a recent version of pstrick.tex. To confirm this I tried > the following. > > 2. If I replace pstricks.tex (ver 2.45 - 2013/07/09) with version 2.43 (2013/05/12) then the following works as it did before. > > pstricks.con: > \pstcustomize > \pstheader{mypstrix.pro} this will work if you have something like \def\pstcustomize{} \usepackage{pstricks} ... Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Tue Aug 20 18:48:26 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 20 Aug 2013 18:48:26 +0200 Subject: [pstricks] pst-node psmatrix In-Reply-To: References: Message-ID: <52139DDA.6080100@FU-Berlin.DE> Am 20.08.2013 15:41, schrieb Germain BOYER: > In the second psmatrix is it possible to replace the line ~ & 1 & & 3 > \\ by something like [mnode=something] ~ & 1 & & 3 \\ to don't have the > circle before the arrow ? > In the of pst-node i read mnode=type parameter. Who are the type > possible for mnode ? use [mnode=p] ~& 1 & & 3 \\ or [mnode=r] ~& 1 & & 3 \\ or whatever you like: C Circle circle dia dot f oval p R r tri none Herbert From Herbert.Voss at FU-Berlin.DE Tue Aug 20 19:31:50 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 20 Aug 2013 19:31:50 +0200 Subject: [pstricks] Including Private Header Files Stopped Working In-Reply-To: <08E67332912CDF4283414CE8CC41EEB107A06305@EXCHANGE1.mathwin.msu.edu> References: <08E67332912CDF4283414CE8CC41EEB1079C8F0D@EXCHANGE1.mathwin.msu.edu>, <51FFEBAF.6030601@FU-Berlin.DE> <08E67332912CDF4283414CE8CC41EEB107A06257@EXCHANGE1.mathwin.msu.edu>, <521355AE.5070001@FU-Berlin.DE> <08E67332912CDF4283414CE8CC41EEB107A06305@EXCHANGE1.mathwin.msu.edu> Message-ID: <5213A806.6070000@FU-Berlin.DE> Am 20.08.2013 18:43, schrieb Hensh, Richard: > For the past 9 years the following lines added (or uncommented) from my local copy of pstricks.con allowed automatic inclusion of private header files. (I believe the included comments are by tvz or dg, but that's just a guess.) > > \pstricks.con: Rich, I suppose that I deleted by mistake a line in pstricks.tex: \ifx\pstcustomize\relax \input pstricks.con \fi which should be in pstricks.tex at the very end before resetting the catcode. Don't know why and when I did that. I'll upload an updated version. Please try it with the above line and let me know if it solves the problem. Sorry for the confusion. Herbert From hensh at math.msu.edu Tue Aug 20 20:18:54 2013 From: hensh at math.msu.edu (Hensh, Richard) Date: Tue, 20 Aug 2013 18:18:54 +0000 Subject: [pstricks] Including Private Header Files Stopped Working In-Reply-To: <5213A806.6070000@FU-Berlin.DE> References: <08E67332912CDF4283414CE8CC41EEB1079C8F0D@EXCHANGE1.mathwin.msu.edu>, <51FFEBAF.6030601@FU-Berlin.DE> <08E67332912CDF4283414CE8CC41EEB107A06257@EXCHANGE1.mathwin.msu.edu>, <521355AE.5070001@FU-Berlin.DE> <08E67332912CDF4283414CE8CC41EEB107A06305@EXCHANGE1.mathwin.msu.edu>, <5213A806.6070000@FU-Berlin.DE> Message-ID: <08E67332912CDF4283414CE8CC41EEB107A063A9@EXCHANGE1.mathwin.msu.edu> Dear Herbert, Adding the following line near end of the file pstricks.tex does indeed solve the problem. \ifx\pstcustomize\relax \input pstricks.con \fi Now everything works as it did before. thanks ricky ________________________________________ From: PSTricks [pstricks-bounces at tug.org] on behalf of Herbert Voss [Herbert.Voss at FU-Berlin.DE] Sent: Tuesday, August 20, 2013 1:31 PM To: pstricks at tug.org Subject: Re: [pstricks] Including Private Header Files Stopped Working Am 20.08.2013 18:43, schrieb Hensh, Richard: > For the past 9 years the following lines added (or uncommented) from my local copy of pstricks.con allowed automatic inclusion of private header files. (I believe the included comments are by tvz or dg, but that's just a guess.) > > \pstricks.con: Rich, I suppose that I deleted by mistake a line in pstricks.tex: \ifx\pstcustomize\relax \input pstricks.con \fi which should be in pstricks.tex at the very end before resetting the catcode. Don't know why and when I did that. I'll upload an updated version. Please try it with the above line and let me know if it solves the problem. Sorry for the confusion. Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From petrovandrej78 at gmail.com Fri Aug 23 21:13:33 2013 From: petrovandrej78 at gmail.com (Andrei Petrov) Date: Fri, 23 Aug 2013 22:13:33 +0300 Subject: [pstricks] Problem with pstextpath Message-ID: I have MikTeX 2.8 installed and tried to compile some star charts with PP3, that uses PSTricks. When I try to set text along some paths, I get all labels put not along their paths, but all in the lower left corner of the resulting EPS and PDF files. Any ideas on how this can be fixed? -------------- next part -------------- An HTML attachment was scrubbed... URL: From S.Fleming at sussex.ac.uk Sat Aug 24 18:28:04 2013 From: S.Fleming at sussex.ac.uk (Simon Fleming) Date: Sat, 24 Aug 2013 16:28:04 +0000 Subject: [pstricks] Problem with pstextpath In-Reply-To: References: Message-ID: <3E5495C4-4A1A-4406-BE00-CC732D145ABF@sussex.ac.uk> Please send your source files and dataset and we will advise - - - - - - - - si fleming On 24 Aug 2013, at 16:51, "Andrei Petrov" wrote: > I have MikTeX 2.8 installed and tried to compile some star charts with PP3, that uses PSTricks. When I try to set text along some paths, I get all labels put not along their paths, but all in the lower left corner of the resulting EPS and PDF files. Any ideas on how this can be fixed? > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ From germain.boyer at ac-toulouse.fr Mon Aug 26 14:44:15 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Mon, 26 Aug 2013 14:44:15 +0200 Subject: [pstricks] pst-eucl and PointName Message-ID: Bonjour, Look at this code : \begin{pspicture}(0,0)(5,2) \psset{labelsep=2mm , PointNameSep=4mm} \dotnode(0,1){M} \uput[ul](0,1){$\text{M}(28_{\text{C}})$} % \psset{PtNameMath=true} \pstGeonode[PosAngle=135 , PointName=\text{M}(28_{\text{C}})](2,1){N} % \psset{PtNameMath=false} \pstGeonode[PosAngle=135 , PointName=$\text{M}(28_{\text{C}})$](4,1){P} \end{pspicture} For the node N and the node P, the letter C is not in scriptstyle. Is there an explication or it is a little bug ? Thanks for yours answers. Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From petrovandrej78 at gmail.com Tue Aug 27 17:02:53 2013 From: petrovandrej78 at gmail.com (Andrei Petrov) Date: Tue, 27 Aug 2013 18:02:53 +0300 Subject: [pstricks] Problem with pstextpath Message-ID: Here are .tex and .ps file, where the problem can be seen: all text is gathered in the lower left corner of .ps file.How can this be fixed? http://wikisend.com/download/239610/cygnus.tex http://wikisend.com/download/475510/cygnus.ps Best regards, Andrei Petrov -------------- next part -------------- An HTML attachment was scrubbed... URL: From usenet at bersch.net Tue Aug 27 17:13:49 2013 From: usenet at bersch.net (Christoph Bersch) Date: Tue, 27 Aug 2013 17:13:49 +0200 Subject: [pstricks] Problem with pstextpath In-Reply-To: References: Message-ID: <521CC22D.6040801@bersch.net> Am 27.08.2013 17:02, schrieb Andrei Petrov: > Here are .tex and .ps file, where the problem can be seen: all text is > gathered in the lower left corner of .ps file.How can this be fixed? All the curves for the \pstextpath have three equal points. I guess, this is the problem, like e.g. in line 14435: \Label{\pstextpath[c](0,-0.800em){\pscurve[linestyle=none]% (3.665cm,6.025cm)(3.665cm,6.025cm)(3.665cm,6.025cm)}{\dummycolor\FlexLabel{Cygnus}}}% From petrovandrej78 at gmail.com Tue Aug 27 17:54:35 2013 From: petrovandrej78 at gmail.com (Andrei Petrov) Date: Tue, 27 Aug 2013 18:54:35 +0300 Subject: [pstricks] Problem with pstextpath Message-ID: Dear Christoph, I tried to change second and third coordinates but the result remains the same. Also, coordinates aren't that of the lower left corner, and they are different for different labels, so I don't think this is the problem. In fact, this .tex file is automatically generated by a script, and I'm almost sure that someone can compile this .tex file without any problems. I think the problem is in my MiKTeX dvips program converting dvi file to ps, but I don't know how to fix that. Best regards, Andrei Petrov -------------- next part -------------- An HTML attachment was scrubbed... URL: From usenet at bersch.net Tue Aug 27 18:09:46 2013 From: usenet at bersch.net (Christoph Bersch) Date: Tue, 27 Aug 2013 18:09:46 +0200 Subject: [pstricks] Problem with pstextpath In-Reply-To: References: Message-ID: <521CCF4A.7060705@bersch.net> Am 27.08.2013 17:54, schrieb Andrei Petrov: > > I tried to change second and third coordinates but the result remains > the same. Also, coordinates aren't that of the lower left corner, and > they are different for different labels, so I don't think this is the > problem. Well, I for my part am now sure, that this is exactly the problem. Consider the following example: \documentclass{article} \usepackage{pst-text} \begin{document} \begin{pspicture}[showgrid](5,5) \pstextpath{\pscurve(1,1)(2,1)(3,0)}{pstextpath} \pstextpath{\pscurve(1,2)(2,2)(2,2)}{pstextpath} \pstextpath{\pscurve(1,1)(1,1)(1,1)}{pstextpath} \end{pspicture} \end{document} The first text is displayed correctly, the second text is cropped because the path is too short for the text. The last one is set left-aligned at the origin, because the path length is 0. Christoph From petrovandrej78 at gmail.com Tue Aug 27 18:19:18 2013 From: petrovandrej78 at gmail.com (Andrei Petrov) Date: Tue, 27 Aug 2013 19:19:18 +0300 Subject: [pstricks] Problem with pstextpath Message-ID: Dear Christoph, Your example compiles OK for me. So, perhaps you are right,it's not dvips problem. Thanks for your advice Best regards, Andrei Petrov -------------- next part -------------- An HTML attachment was scrubbed... URL: From petrovandrej78 at gmail.com Tue Aug 27 18:45:07 2013 From: petrovandrej78 at gmail.com (Andrei Petrov) Date: Tue, 27 Aug 2013 19:45:07 +0300 Subject: [pstricks] Problem with pstextpath Message-ID: Changing coordinates to make path longer in cygnus.tex produces good output. So, Christoph solved my long-standing problem, and I'm very grateful to him! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Sep 1 11:19:24 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 1 Sep 2013 11:19:24 +0200 Subject: [pstricks] Fwd: pst-eucl and PointName In-Reply-To: <5221F7AA.10900@FU-Berlin.DE> References: <5221F7AA.10900@FU-Berlin.DE> Message-ID: <5223069C.7060409@FU-Berlin.DE> > Betreff: [pstricks] pst-eucl and PointName > Datum: Mon, 26 Aug 2013 14:44:15 +0200 > Von: Germain BOYER > Antwort an: Graphics with PSTricks > An: pstricks > Look at this code : > \begin{pspicture}(0,0)(5,2) > \psset{labelsep=2mm , PointNameSep=4mm} > \dotnode(0,1){M} \uput[ul](0,1){$\text{M}(28_{\text{C}})$} > % > \psset{PtNameMath=true} > \pstGeonode[PosAngle=135 , PointName=\text{M}(28_{\text{C}})](2,1){N} > % > \psset{PtNameMath=false} > \pstGeonode[PosAngle=135 , PointName=$\text{M}(28_{\text{C}})$](4,1){P} > \end{pspicture} > > For the node N and the node P, the letter C is not in scriptstyle. Is > there an explication or it is a little bug ? Looks like a bug, but not easy to solve. Herbert From florian.schubert at arlemu.de Sun Sep 8 18:26:13 2013 From: florian.schubert at arlemu.de (Florian Schubert) Date: Sun, 8 Sep 2013 18:26:13 +0200 Subject: [pstricks] Problems with Offset in pst-3dplot Message-ID: Dear PSTricks users, i have in pst-3dplot problems with IIIDOffset. The label of y-axis should show data from ymin=300 up to ymax=600. All attempts were in vain. Can someone explain me what I have to do? Thanks Florian Example: \documentclass[12pt]{article} \usepackage{pst-plot} \usepackage{pst-3dplot} \usepackage{multido} \begin{document} %\psset{xunit=1cm,yunit=1cm,runit=1cm} \begin{pspicture}(-6,0)(6,10) \pstThreeDCoor[linecolor=black,IIIDticks,IIIDlabels,xMin=0,yMin=0,xMax=8,yMax=8,zMax=11,Dx=100,Dy=100,Dz=25,zMin=0,IIIDxticksep=-.9] %\fileplotThreeD[plotstyle=line]{test-data.txt} \psset{dotstyle=*,dotscale=2,linecolor=red,drawCoor=true} \pstThreeDDot(4,5.5,5) \end{pspicture} \end{document} From Herbert.Voss at FU-Berlin.DE Mon Sep 9 08:46:28 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 9 Sep 2013 08:46:28 +0200 Subject: [pstricks] Problems with Offset in pst-3dplot In-Reply-To: References: Message-ID: <522D6EC4.3060403@FU-Berlin.DE> Am 08.09.2013 18:26, schrieb Florian Schubert: > i have in pst-3dplot problems with IIIDOffset. > The label of y-axis should show data from ymin=300 up to ymax=600. > All attempts were in vain. That part is not finished in the package :-( > Can someone explain me what I have to do? You can draw the axis without the labels and set it with \multido{\iA=1+1,\iB=300+100}{4}{\pstPlanePut[plane=yz](-0.2,\iA,0){\iB}} Herbert From florian.schubert at arlemu.de Wed Sep 11 21:18:25 2013 From: florian.schubert at arlemu.de (Florian Schubert) Date: Wed, 11 Sep 2013 21:18:25 +0200 Subject: [pstricks] Problems with Offset in pst-3dplot Message-ID: Hi Herbert, thanks for your answer and a working "solution". I think, the offset parameter is in the wrong chapter. The following page in the documentation show the experimental features... Florian From the.counterterrorist at yahoo.com Fri Sep 27 09:57:31 2013 From: the.counterterrorist at yahoo.com (Counter Terrorist) Date: Fri, 27 Sep 2013 00:57:31 -0700 Subject: [pstricks] Why is A1 specially treated? Message-ID: <1380268651.82282.YahooMailNeo@web162603.mail.bf1.yahoo.com> Dear folks, I am really confused with the following macro. \pstOIJGeonode[](x1, y1){A1}{O}{I}{J}(x2,y2){A2}. . . (xn, yn){An} Why is the first point specially treated? I means that it must come before O, I, J while other points come after O, I, J? I really dislike this syntax because it does consume our memory to remember such unnecessary things. If it is possible, I am so sorry, please avoid making syntax with no logical clues. Adding such abnormal syntax will burden the users.? Thank you in advance. best regards, http://tex.stackexchange.com/users/19356 -------------- next part -------------- An HTML attachment was scrubbed... URL: From the.counterterrorist at yahoo.com Sat Sep 28 12:51:08 2013 From: the.counterterrorist at yahoo.com (Counter Terrorist) Date: Sat, 28 Sep 2013 03:51:08 -0700 Subject: [pstricks] Requesting a new feature to create relative points based on two existing points Message-ID: <1380365468.20053.YahooMailNeo@web162604.mail.bf1.yahoo.com> Dear folks, TikZ has an elegant way to define a new point that is relative to the 2 existing points. For example, $(1,2)!.75!(3,4)$, to define a new point that is three quarter on the way from (1,2) to (3,4). We have already ([]{B}A) syntax to define a new point on the line joining A and B. The current implementation only supports absolute Xnodesep, Ynodese, nodesep, offset, and angle. So far so good. If it is possible, I want to request a new key, namely, Relnodesep to define a new point ([Relnodesep=]{B}A) such that its vector position is equal to ? times vektor AB.? Of course?([Relnodesep=,angle=<...>>]{B}A) must work as well. Thank you in advance. best regards, PGFTricks? -------------- next part -------------- An HTML attachment was scrubbed... URL: From buddyledger at gmail.com Sun Sep 29 15:28:26 2013 From: buddyledger at gmail.com (Buddy Ledger) Date: Sun, 29 Sep 2013 09:28:26 -0400 Subject: [pstricks] PSTricks Digest, Vol 128, Issue 5 In-Reply-To: References: Message-ID: <52482AFA.1000502@gmail.com> Try pst-fit. The documentation shows an example of calculating 3rd data point via 1st and 2nd column values using listplot. -Buddy On 29/09/2013 6:00 AM, pstricks-request at tug.org wrote: > 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. Requesting a new feature to create relative points based on > two existing points (Counter Terrorist) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 28 Sep 2013 03:51:08 -0700 > From: Counter Terrorist > To: PSTricks > Subject: [pstricks] Requesting a new feature to create relative points > based on two existing points > Message-ID: > <1380365468.20053.YahooMailNeo at web162604.mail.bf1.yahoo.com> > Content-Type: text/plain; charset="iso-8859-1" > > Dear folks, > > TikZ has an elegant way to define a new point that is relative to the 2 existing points. > For example, $(1,2)!.75!(3,4)$, to define a new point that is three quarter on the way from (1,2) to (3,4). > > We have already ([]{B}A) syntax to define a new point on the line joining A and B. The current implementation > only supports absolute Xnodesep, Ynodese, nodesep, offset, and angle. So far so good. > > If it is possible, I want to request a new key, namely, Relnodesep to define a new point ([Relnodesep=]{B}A) such that its vector position is equal to ? times vektor AB.? > Of course?([Relnodesep=,angle=<...>>]{B}A) must work as well. > > Thank you in advance. > > > best regards, > > PGFTricks? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 128, Issue 5 > **************************************** From Patrice.MEGRET at umons.ac.be Wed Oct 2 21:08:27 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Wed, 2 Oct 2013 19:08:27 +0000 Subject: [pstricks] pdfstartpage in powerdot Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB16960466@EXCHANGEDB4.umons.ac.be> Dear all, I have a small trouble with powerdot version 1.4i : when I use pauseslide to make a black slide, it works fine with all the hyperlinks on title but the pdf file does not open at the second page as it should. It seems that the command \ifpd at pauseslide\def\@pdfstartpage{2}\fi at line 436 of powerdot.cls is not executed. I have no idea how to solve that small problem, any help is welcome. Thanks a lot. Patrice MEGRET -------------- next part -------------- An HTML attachment was scrubbed... URL: From Patrice.MEGRET at umons.ac.be Thu Oct 3 12:52:47 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Thu, 3 Oct 2013 10:52:47 +0000 Subject: [pstricks] pdfstartpage in powerdot Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB16960993@EXCHANGEDB4.umons.ac.be> Dear all, I have a small trouble with powerdot version 1.4i : when I use pauseslide to make a black slide, it works fine with all the hyperlinks on title but the pdf file does not open at the second page as it should. It seems that the command \ifpd at pauseslide\def\@pdfstartpage{2}\fi at line 436 of powerdot.cls is not executed. I have no idea how to solve that small problem, any help is welcome. Thanks a lot. Patrice MEGRET -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Thu Oct 3 21:51:14 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 3 Oct 2013 21:51:14 +0200 Subject: [pstricks] pdfstartpage in powerdot In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB16960993@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB16960993@EXCHANGEDB4.umons.ac.be> Message-ID: <524DCAB2.9070509@FU-Berlin.DE> Am 03.10.2013 12:52, schrieb Patrice M?GRET: > I have a small trouble with powerdot version 1.4i : when I use > pauseslide to make a black slide, it works fine with all the hyperlinks > on title but the pdf file does not open at the second page as it should. > > It seems that the command \ifpd at pauseslide\def\@pdfstartpage{2}\fi at > line 436 of powerdot.cls is not executed. > > I have no idea how to solve that small problem, any help is welcome. Patrice, please provide a small example Herbert From Patrice.MEGRET at umons.ac.be Fri Oct 4 08:29:40 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Fri, 4 Oct 2013 06:29:40 +0000 Subject: [pstricks] [powerdot] Re: pdfstartpage in powerdot In-Reply-To: References: <8EAD3A11C751924B9AB951FA32FD86EB16960466@EXCHANGEDB4.umons.ac.be> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB16960BDD@EXCHANGEDB4.umons.ac.be> Dear Hendri, Thanks . I have continued to investigate and I use Latex ==> dvips ==> ghostview 5 1. If I configure ghostview to use ghostscript 8.71 the pdfstartpage is used with pauseslide 2. If I configure ghostview to use ghostscript 9.07 the pdfstartpage is used with pauseslide 3. If I configure ghostview to use ghostscript 9.10 the pdfstartpage is not used with pauseslide So, it seems to be related to the last update of ghostscript. Could confirm me that you have the same behaviour and how we should rfeport this bug. Best regards, Patrice -----Message d'origine----- De?: powerdot-bounce at freelists.org [mailto:powerdot-bounce at freelists.org] De la part de Hendri Adriaens Envoy??: vendredi 4 octobre 2013 06:16 ??: powerdot Objet?: [powerdot] Re: pdfstartpage in powerdot Hi, I will try to have a look at this over the weekend, if time permits. Best, -Hendri. On Wed, Oct 2, 2013 at 9:08 PM, Patrice M?GRET wrote: > Dear all, > > > > I have a small trouble with powerdot version 1.4i : when I use > pauseslide to make a black slide, it works fine with all the > hyperlinks on title but the pdf file does not open at the second page as it should. > > > > It seems that the command \ifpd at pauseslide\def\@pdfstartpage{2}\fi at > line > 436 of powerdot.cls is not executed. > > > > I have no idea how to solve that small problem, any help is welcome. > > > > Thanks a lot. > > > > Patrice MEGRET From Patrice.MEGRET at umons.ac.be Fri Oct 4 09:39:32 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Fri, 4 Oct 2013 07:39:32 +0000 Subject: [pstricks] pdfstartpage in powerdot In-Reply-To: <524DCAB2.9070509@FU-Berlin.DE> References: <8EAD3A11C751924B9AB951FA32FD86EB16960993@EXCHANGEDB4.umons.ac.be> <524DCAB2.9070509@FU-Berlin.DE> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB16960CEE@EXCHANGEDB4.umons.ac.be> Dera Herbert, Here is a small example: \documentclass[ size=11pt, style=default, paper=a4paper, %% Try me! %% orient=portrait, %% mode=handout, display=slidesnotes, pauseslide=green, nohandoutpagebreaks, fleqn, hlentries, hlsections, ]{powerdot} \listfiles \usepackage{t1enc} \usepackage[latin1]{inputenc} \title{\Large TEST} \author{Patrice \textsc{M?gret}} \begin{document} \maketitle \section{Introduction} \begin{slide}{Title slide 1} text slide 1 \end{slide} \begin{slide}{Title slide 2} text slide 2 \end{slide} \begin{slide}{Title slide 3} text slide 3 \end{slide} \end{document} When I use ghostview with GS9.10, the genetated pdf file opens on the green page (page 1) instead of the page 2. When I use ghostview with GS9.07, the genetated pdf file opens on page 2 as it should. If I try to use ps2pdf directly, I got the same trouble: the genetated pdf file opens on the green page instead of the page 2 Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: jeudi 3 octobre 2013 21:51 ??: pstricks at tug.org Objet?: Re: [pstricks] pdfstartpage in powerdot Am 03.10.2013 12:52, schrieb Patrice M?GRET: > I have a small trouble with powerdot version 1.4i : when I use > pauseslide to make a black slide, it works fine with all the > hyperlinks on title but the pdf file does not open at the second page as it should. > > It seems that the command \ifpd at pauseslide\def\@pdfstartpage{2}\fi at > line 436 of powerdot.cls is not executed. > > I have no idea how to solve that small problem, any help is welcome. Patrice, please provide a small example Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Fri Oct 4 10:21:46 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 4 Oct 2013 10:21:46 +0200 Subject: [pstricks] pdfstartpage in powerdot In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB16960CEE@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB16960993@EXCHANGEDB4.umons.ac.be> <524DCAB2.9070509@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB16960CEE@EXCHANGEDB4.umons.ac.be> Message-ID: <524E7A9A.7000707@FU-Berlin.DE> Am 04.10.2013 09:39, schrieb Patrice M?GRET: > Dera Herbert, > > Here is a small example: > > \documentclass[ > size=11pt, > style=default, > paper=a4paper, > %% Try me! > %% orient=portrait, > %% mode=handout, > display=slidesnotes, > pauseslide=green, > nohandoutpagebreaks, > fleqn, > hlentries, > hlsections, > ]{powerdot} > > \listfiles > > \usepackage{t1enc} > \usepackage[latin1]{inputenc} > > \title{\Large TEST} > \author{Patrice \textsc{M?gret}} > > \begin{document} > \maketitle > \section{Introduction} > \begin{slide}{Title slide 1} > text slide 1 > \end{slide} > > \begin{slide}{Title slide 2} > text slide 2 > \end{slide} > > \begin{slide}{Title slide 3} > text slide 3 > \end{slide} > \end{document} > > > When I use ghostview with GS9.10, the genetated pdf file opens on the green page (page 1) instead of the page 2. Patrice, I do not have 9.10 but with voss at shania:~/Test> gs -v GPL Ghostscript 9.06 (2012-08-08) it is also ok and with 9.10 (just installed) it failed > When I use ghostview with GS9.07, the genetated pdf file opens on page 2 as it should. > > If I try to use ps2pdf directly, I got the same trouble: the genetated pdf file opens on the green page instead of the page 2 ps2pdf uses ghostscript, so it makes no difference Herbert From Patrice.MEGRET at umons.ac.be Fri Oct 4 16:53:07 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Fri, 4 Oct 2013 14:53:07 +0000 Subject: [pstricks] pdfstartpage in powerdot In-Reply-To: <524E7A9A.7000707@FU-Berlin.DE> References: <8EAD3A11C751924B9AB951FA32FD86EB16960993@EXCHANGEDB4.umons.ac.be> <524DCAB2.9070509@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB16960CEE@EXCHANGEDB4.umons.ac.be> <524E7A9A.7000707@FU-Berlin.DE> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB16961059@EXCHANGEDB4.umons.ac.be> Dear Herbert, Thanks a lot. It works fine for me with GS9.07. As I have installed Texlive2013, ps2psf uses GS9.09 and that version fails too. Where should I send a bug report? Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: vendredi 4 octobre 2013 10:22 ??: pstricks at tug.org Objet?: Re: [pstricks] pdfstartpage in powerdot Am 04.10.2013 09:39, schrieb Patrice M?GRET: > Dera Herbert, > > Here is a small example: > > \documentclass[ > size=11pt, > style=default, > paper=a4paper, > %% Try me! > %% orient=portrait, > %% mode=handout, > display=slidesnotes, > pauseslide=green, > nohandoutpagebreaks, > fleqn, > hlentries, > hlsections, > ]{powerdot} > > \listfiles > > \usepackage{t1enc} > \usepackage[latin1]{inputenc} > > \title{\Large TEST} > \author{Patrice \textsc{M?gret}} > > \begin{document} > \maketitle > \section{Introduction} > \begin{slide}{Title slide 1} > text slide 1 > \end{slide} > > \begin{slide}{Title slide 2} > text slide 2 > \end{slide} > > \begin{slide}{Title slide 3} > text slide 3 > \end{slide} > \end{document} > > > When I use ghostview with GS9.10, the genetated pdf file opens on the green page (page 1) instead of the page 2. Patrice, I do not have 9.10 but with voss at shania:~/Test> gs -v GPL Ghostscript 9.06 (2012-08-08) it is also ok and with 9.10 (just installed) it failed > When I use ghostview with GS9.07, the genetated pdf file opens on page 2 as it should. > > If I try to use ps2pdf directly, I got the same trouble: the genetated pdf file opens on the green page instead of the page 2 ps2pdf uses ghostscript, so it makes no difference Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From Herbert.Voss at FU-Berlin.DE Fri Oct 4 17:17:10 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 4 Oct 2013 17:17:10 +0200 Subject: [pstricks] pdfstartpage in powerdot In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB16961059@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB16960993@EXCHANGEDB4.umons.ac.be> <524DCAB2.9070509@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB16960CEE@EXCHANGEDB4.umons.ac.be> <524E7A9A.7000707@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB16961059@EXCHANGEDB4.umons.ac.be> Message-ID: <524EDBF6.5020801@FU-Berlin.DE> Am 04.10.2013 16:53, schrieb Patrice M?GRET: > It works fine for me with GS9.07. > > As I have installed Texlive2013, ps2psf uses GS9.09 and that version fails too. > > Where should I send a bug report? PAtrice, Iam not sure if it is a real problem of ghostscript. It maybe possible that the code changes. However bugs should be reported to http://bugs.ghostscript.com/ Herbert From rose at rz.uni-potsdam.de Tue Oct 22 17:50:46 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Tue, 22 Oct 2013 17:50:46 +0200 Subject: [pstricks] 'xelatex pstricks_test.tex' fails. Message-ID: <1382457046.23653.33.camel@leopard.ibmt.intern> I have two files pstricks_test.tex and xelatex_test.tex. Both are identically. 'xelatex xelatex_test.tex' works like a charm, 'xelatex pstricks_test.tex' fails. rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(228)$ cat pstricks_test.tex \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsfonts,amssymb} \usepackage{pstricks,pst-grad} \begin{document} hello world \begin{figure}[ht!] \begin{centering} \begin{pspicture}[](3,3) \pscircle*[linecolor=green](1.5,1.5){0.25} \end{pspicture} \caption{Circles} \label{fig:circles_0} \end{centering} \end{figure} \end{document} rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(229)$ diff xelatex_test.tex pstricks_test.tex rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(230)$ xelatex xelatex_test.tex >/dev/null; echo $? 0 rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(231)$ xelatex pstricks_test.tex This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013) restricted \write18 enabled. entering extended mode (./pstricks_test.tex LaTeX2e <2011/06/27> Babel <3.9f> and hyphenation patterns for 16 languages loaded. (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class ... `pst-grad' v1.06, 2006/11/27 (tvz,dg,hv))) (./pstricks_test.aux ! Package babel Error: You haven't loaded the language english yet. See the babel package documentation for explanation. Type H for immediate help. ... l.3 \select at language{english} ? ! Emergency stop. ... l.3 \select at language{english} No pages of output. Transcript written on pstricks_test.log. I found at http://tug.org/PSTricks/main.cgi/ , that it is not good to use pstricks.tex as a filename. But nothing is written about pstricks_test.tex. From Herbert.Voss at FU-Berlin.DE Tue Oct 22 19:33:29 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 22 Oct 2013 19:33:29 +0200 Subject: [pstricks] 'xelatex pstricks_test.tex' fails. In-Reply-To: <1382457046.23653.33.camel@leopard.ibmt.intern> References: <1382457046.23653.33.camel@leopard.ibmt.intern> Message-ID: <5266B6E9.3080404@FU-Berlin.DE> Am 22.10.2013 17:50, schrieb Juergen Rose: > I have two files pstricks_test.tex and xelatex_test.tex. Both are > identically. 'xelatex xelatex_test.tex' works like a charm, 'xelatex > pstricks_test.tex' fails. > > rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(228)$ cat pstricks_test.tex > \documentclass[10pt,a4paper]{article} > > \usepackage[utf8]{inputenc} > > \usepackage{amsmath,amsfonts,amssymb} > > \usepackage{pstricks,pst-grad} > > \begin{document} > hello world > > \begin{figure}[ht!] > \begin{centering} > \begin{pspicture}[](3,3) > \pscircle*[linecolor=green](1.5,1.5){0.25} > \end{pspicture} > \caption{Circles} > \label{fig:circles_0} > \end{centering} > \end{figure} > > \end{document} > rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(229)$ diff xelatex_test.tex pstricks_test.tex > rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(230)$ xelatex xelatex_test.tex >/dev/null; echo $? > 0 > > rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(231)$ xelatex pstricks_test.tex > This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013) > restricted \write18 enabled. > entering extended mode > (./pstricks_test.tex > LaTeX2e <2011/06/27> > Babel <3.9f> and hyphenation patterns for 16 languages loaded. > (/usr/share/texmf-dist/tex/latex/base/article.cls > Document Class: article 2007/10/19 v1.4h Standard LaTeX document class > ... > `pst-grad' v1.06, 2006/11/27 (tvz,dg,hv))) (./pstricks_test.aux > > ! Package babel Error: You haven't loaded the language english yet. that is _not_ possbile with your example file. You loaded the language english. Delete the .aux-file and try again. And, of course, use _always_ \lisfiles to report the file versions. Herbert From Patrice.MEGRET at umons.ac.be Wed Oct 23 09:42:37 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Wed, 23 Oct 2013 07:42:37 +0000 Subject: [pstricks] pst-node suggestion Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> Dear Herbert, Dear all, Pstricks packages are wonderful tools for designing illustrations for lectures, ... In particular, I use extensively pst-circ and pst-optexp which use pst-node to place the components. Is it possible to add an option 'draft' to pst-node that would allow to plot, during the design phase of a diagram, a dot and the name of the node at the reference point of the node. That would greatly simplify the creation of electrical and optical schemes. I saw in the pst-optexp.dtx that Christopher uses explicitly the three commands \pnode(x,y){Nodename} \psdot(Nodename) \uput[90](Nodename){Nodename} in his examples but has to hide the last two commands in the showexpl environment . If these last two commands could be included in the pst-node code directly under 'draft' option for all types of nodes (\pnode, \dotnode, ...), a simple compilation with 'draft' would show the information and a compilation without this option would result in the clean final result. Best regards, Patrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From usenet at bersch.net Wed Oct 23 10:00:05 2013 From: usenet at bersch.net (Christoph Bersch) Date: Wed, 23 Oct 2013 10:00:05 +0200 Subject: [pstricks] pst-node suggestion In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> Message-ID: <52678205.5030008@bersch.net> Hi, Am 23.10.2013 09:42, schrieb Patrice M?GRET: > > In particular, I use extensively pst-circ and pst-optexp which use > pst-node to place the components. > > Is it possible to add an option ?draft? to pst-node that would allow to > plot, during the design phase of a diagram, a dot and the name of the > node at the reference point of the node. That would greatly simplify the > creation of electrical and optical schemes. I wouldn't use a package option for this. You would be surprised how many nodes are defined internally by pst-circ and pst-optexp (and other packages). I guess you wouldn't see anything between all those long and strange node names. Maybe it would help you to use the following construct, although you would need to use another macro name: \documentclass{article} \usepackage{pst-optexp} \def\pnodedraft(#1)#2{% \pnode(#1){#2}% \psdot(#2) \uput[90](#2){#2} } \let\mypnode\pnode %\let\mypnode\pnodedraft \begin{document} \begin{pspicture}[showgrid] \mypnode(0,2){A} \mypnode(5,2){B} \lens(A)(B) \end{pspicture} \end{document} Maybe someone else has a better suggestion. Christoph From rose at rz.uni-potsdam.de Wed Oct 23 11:10:34 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Wed, 23 Oct 2013 11:10:34 +0200 Subject: [pstricks] 'xelatex pstricks_test.tex' fails. In-Reply-To: <5266B6E9.3080404@FU-Berlin.DE> References: <1382457046.23653.33.camel@leopard.ibmt.intern> <5266B6E9.3080404@FU-Berlin.DE> Message-ID: <1382519434.23653.37.camel@leopard.ibmt.intern> Am Dienstag, den 22.10.2013, 19:33 +0200 schrieb Herbert Voss: > Am 22.10.2013 17:50, schrieb Juergen Rose: > > I have two files pstricks_test.tex and xelatex_test.tex. Both are > > identically. 'xelatex xelatex_test.tex' works like a charm, 'xelatex > > pstricks_test.tex' fails. > > > > rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(228)$ cat pstricks_test.tex > > \documentclass[10pt,a4paper]{article} > > > > \usepackage[utf8]{inputenc} > > > > \usepackage{amsmath,amsfonts,amssymb} > > > > \usepackage{pstricks,pst-grad} > > > > \begin{document} > > hello world > > > > \begin{figure}[ht!] > > \begin{centering} > > \begin{pspicture}[](3,3) > > \pscircle*[linecolor=green](1.5,1.5){0.25} > > \end{pspicture} > > \caption{Circles} > > \label{fig:circles_0} > > \end{centering} > > \end{figure} > > > > \end{document} > > rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(229)$ diff xelatex_test.tex pstricks_test.tex > > rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(230)$ xelatex xelatex_test.tex >/dev/null; echo $? > > 0 > > > > rose at leopard:/home_leopard/rose/Txt/projects/ClosePackingOfSpheres/Report(231)$ xelatex pstricks_test.tex > > This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013) > > restricted \write18 enabled. > > entering extended mode > > (./pstricks_test.tex > > LaTeX2e <2011/06/27> > > Babel <3.9f> and hyphenation patterns for 16 languages loaded. > > (/usr/share/texmf-dist/tex/latex/base/article.cls > > Document Class: article 2007/10/19 v1.4h Standard LaTeX document class > > ... > > `pst-grad' v1.06, 2006/11/27 (tvz,dg,hv))) (./pstricks_test.aux > > > > ! Package babel Error: You haven't loaded the language english yet. > > that is _not_ possbile with your example file. You loaded the > language english. Delete the .aux-file and try again. And, > of course, use _always_ \lisfiles to report the file versions. > > Herbert Herbert, you are right. I can not repeat the issue today. Maybe yesterday an old pstricks_test.aux was lying around. Regards Juergen From Herbert.Voss at FU-Berlin.DE Wed Oct 23 11:33:02 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 23 Oct 2013 11:33:02 +0200 Subject: [pstricks] pst-node suggestion In-Reply-To: <52678205.5030008@bersch.net> References: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> <52678205.5030008@bersch.net> Message-ID: <526797CE.3030707@FU-Berlin.DE> Am 23.10.2013 10:00, schrieb Christoph Bersch: > Am 23.10.2013 09:42, schrieb Patrice M?GRET: >> >> In particular, I use extensively pst-circ and pst-optexp which use >> pst-node to place the components. >> >> Is it possible to add an option ?draft? to pst-node that would allow to >> plot, during the design phase of a diagram, a dot and the name of the >> node at the reference point of the node. That would greatly simplify the >> creation of electrical and optical schemes. > > I wouldn't use a package option for this. You would be surprised how > many nodes are defined internally by pst-circ and pst-optexp (and other > packages). I guess you wouldn't see anything between all those long and > strange node names. That is true. However it is not a big deal to have an optional argument. But it can only be used with \psset because \pnode uses the [x,y] for the offset. With the pst-node.tex from http://texnik.dante.de/tex/generic/pst-node/ you can do something like this: \documentclass{article} \usepackage{pst-node} \begin{document} \begin{pspicture}[showgrid](5,5) \psset{showNode} \pnodes(0,0){ll}(0,5){ll}(5,5){ur}(5,0){lr}(2.5,2.5){c} \dotnode(2.5,1){c0}\dotnode(2.5,4){c1} \end{pspicture} \end{document} Herbert From usenet at bersch.net Wed Oct 23 12:01:13 2013 From: usenet at bersch.net (Christoph Bersch) Date: Wed, 23 Oct 2013 12:01:13 +0200 Subject: [pstricks] pst-node suggestion In-Reply-To: <526797CE.3030707@FU-Berlin.DE> References: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> <52678205.5030008@bersch.net> <526797CE.3030707@FU-Berlin.DE> Message-ID: <52679E69.4090007@bersch.net> Am 23.10.2013 11:33, schrieb Herbert Voss: > Am 23.10.2013 10:00, schrieb Christoph Bersch: > >> I wouldn't use a package option for this. You would be surprised how >> many nodes are defined internally by pst-circ and pst-optexp (and other >> packages). I guess you wouldn't see anything between all those long and >> strange node names. > > That is true. However it is not a big deal to have an optional > argument. But it can only be used with \psset because \pnode > uses the [x,y] for the offset. With the pst-node.tex from > http://texnik.dante.de/tex/generic/pst-node/ > you can do something like this: If you'll include that in the next release, you could use a customizable macro for displaying the nodes: \def\pst at shownode#1{% \ifPst at showNode \psdot(#3)\uput[\ifx\psk at rot\@empty0\else\psk at rot\fi]{0}(#3){#3} \fi }% With this option, one can use the following to suppress showing all internal pst-optexp nodes: \makeatletter \g at addto@macro{\begin at OptexpObj}{\psset{showNode=false}} \makeatother But for pst-circ there is no easy possibility to suppress showing the internal nodes. Christoph From Herbert.Voss at FU-Berlin.DE Wed Oct 23 12:20:23 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 23 Oct 2013 12:20:23 +0200 Subject: [pstricks] pst-node suggestion In-Reply-To: <52679E69.4090007@bersch.net> References: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> <52678205.5030008@bersch.net> <526797CE.3030707@FU-Berlin.DE> <52679E69.4090007@bersch.net> Message-ID: <5267A2E7.1040103@FU-Berlin.DE> Am 23.10.2013 12:01, schrieb Christoph Bersch: > Am 23.10.2013 11:33, schrieb Herbert Voss: >> Am 23.10.2013 10:00, schrieb Christoph Bersch: >> >>> I wouldn't use a package option for this. You would be surprised how >>> many nodes are defined internally by pst-circ and pst-optexp (and other >>> packages). I guess you wouldn't see anything between all those long and >>> strange node names. >> >> That is true. However it is not a big deal to have an optional >> argument. But it can only be used with \psset because \pnode >> uses the [x,y] for the offset. With the pst-node.tex from >> http://texnik.dante.de/tex/generic/pst-node/ >> you can do something like this: > > If you'll include that in the next release, you could use a customizable > macro for displaying the nodes: > > \def\pst at shownode#1{% > \ifPst at showNode > \psdot(#3)\uput[\ifx\psk at rot\@empty0\else\psk at rot\fi]{0}(#3){#3} > \fi > }% > > With this option, one can use the following to suppress showing all > internal pst-optexp nodes: > > \makeatletter > \g at addto@macro{\begin at OptexpObj}{\psset{showNode=false}} > \makeatother > > But for pst-circ there is no easy possibility to suppress showing the > internal nodes. Users should use this option always temporarily! So it doesn't hurt, if a lot of node names are displayed. Herbert From usenet at bersch.net Wed Oct 23 13:03:07 2013 From: usenet at bersch.net (Christoph Bersch) Date: Wed, 23 Oct 2013 13:03:07 +0200 Subject: [pstricks] pst-node suggestion In-Reply-To: <5267A2E7.1040103@FU-Berlin.DE> References: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> <52678205.5030008@bersch.net> <526797CE.3030707@FU-Berlin.DE> <52679E69.4090007@bersch.net> <5267A2E7.1040103@FU-Berlin.DE> Message-ID: <5267ACEB.5010406@bersch.net> Am 23.10.2013 12:20, schrieb Herbert Voss: > > Users should use this option always temporarily! I know, but > So it doesn't hurt, if a lot of node names are displayed. already in the following, very simple example, you'll see nothing valuable with the option showNode set: \documentclass{article} \usepackage{pst-optexp} \begin{document} \begin{pspicture}(5,2) \psset{showNode} \pnode(0,1){A} \pnode(5,1){B} \lens(A)(B) \end{pspicture} \end{document} Christoph From Herbert.Voss at FU-Berlin.DE Wed Oct 23 13:25:09 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 23 Oct 2013 13:25:09 +0200 Subject: [pstricks] pst-node suggestion In-Reply-To: <5267ACEB.5010406@bersch.net> References: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> <52678205.5030008@bersch.net> <526797CE.3030707@FU-Berlin.DE> <52679E69.4090007@bersch.net> <5267A2E7.1040103@FU-Berlin.DE> <5267ACEB.5010406@bersch.net> Message-ID: <5267B215.4010709@FU-Berlin.DE> Am 23.10.2013 13:03, schrieb Christoph Bersch: > Am 23.10.2013 12:20, schrieb Herbert Voss: >> >> Users should use this option always temporarily! > > I know, but > >> So it doesn't hurt, if a lot of node names are displayed. > > already in the following, very simple example, you'll see nothing > valuable with the option showNode set: > > \documentclass{article} > \usepackage{pst-optexp} > \begin{document} > \begin{pspicture}(5,2) > \psset{showNode} > \pnode(0,1){A} > \pnode(5,1){B} > \lens(A)(B) > \end{pspicture} The reason why one has to hold it local: {\psset{showNode} \pnode(0,1){A} \pnode(5,1){B}} \lens(A)(B) \end{pspicture} > \end{document} Herbert From Herbert.Voss at FU-Berlin.DE Wed Oct 23 13:29:41 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 23 Oct 2013 13:29:41 +0200 Subject: [pstricks] pst-node suggestion In-Reply-To: <5267B215.4010709@FU-Berlin.DE> References: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> <52678205.5030008@bersch.net> <526797CE.3030707@FU-Berlin.DE> <52679E69.4090007@bersch.net> <5267A2E7.1040103@FU-Berlin.DE> <5267ACEB.5010406@bersch.net> <5267B215.4010709@FU-Berlin.DE> Message-ID: <5267B325.6030101@FU-Berlin.DE> Am 23.10.2013 13:25, schrieb Herbert Voss: > Am 23.10.2013 13:03, schrieb Christoph Bersch: >> Am 23.10.2013 12:20, schrieb Herbert Voss: >>> >>> Users should use this option always temporarily! >> >> I know, but >> >>> So it doesn't hurt, if a lot of node names are displayed. >> >> already in the following, very simple example, you'll see nothing >> valuable with the option showNode set: >> >> \documentclass{article} >> \usepackage{pst-optexp} >> \begin{document} >> \begin{pspicture}(5,2) >> \psset{showNode} >> \pnode(0,1){A} >> \pnode(5,1){B} >> \lens(A)(B) >> \end{pspicture} > > The reason why one has to hold it local: > > {\psset{showNode} > \pnode(0,1){A} > \pnode(5,1){B}} > \lens(A)(B) > \end{pspicture} or \begin{pspicture}(5,2) \psset{showNode} \pnode(0,1){A} \pnode(5,1){B} \lens[showNode=false](A)(B) \end{pspicture} > >> \end{document} > > Herbert > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From Patrice.MEGRET at umons.ac.be Fri Oct 25 17:41:27 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Fri, 25 Oct 2013 15:41:27 +0000 Subject: [pstricks] pst-node suggestion In-Reply-To: <5267B325.6030101@FU-Berlin.DE> References: <8EAD3A11C751924B9AB951FA32FD86EB16977E18@EXCHANGEDB4.umons.ac.be> <52678205.5030008@bersch.net> <526797CE.3030707@FU-Berlin.DE> <52679E69.4090007@bersch.net> <5267A2E7.1040103@FU-Berlin.DE> <5267ACEB.5010406@bersch.net> <5267B215.4010709@FU-Berlin.DE> <5267B325.6030101@FU-Berlin.DE> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB1697AD8C@EXCHANGEDB4.umons.ac.be> Dear Herbert, Dear Christoph, Thanks for this interesting discussion and the proposed solutions. I like Herbert's solution even if care should be taken to avoid too much information about the internal nodes. Maybe it could be of interest to be able to display the location and name information also for \cnode, \Cnode, \cnodeput, \fnode. For the nodes without (x,y) definition, only the name could perhaps be displayed. Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: mercredi 23 octobre 2013 13:30 ??: pstricks at tug.org Objet?: Re: [pstricks] pst-node suggestion Am 23.10.2013 13:25, schrieb Herbert Voss: > Am 23.10.2013 13:03, schrieb Christoph Bersch: >> Am 23.10.2013 12:20, schrieb Herbert Voss: >>> >>> Users should use this option always temporarily! >> >> I know, but >> >>> So it doesn't hurt, if a lot of node names are displayed. >> >> already in the following, very simple example, you'll see nothing >> valuable with the option showNode set: >> >> \documentclass{article} >> \usepackage{pst-optexp} >> \begin{document} >> \begin{pspicture}(5,2) >> \psset{showNode} >> \pnode(0,1){A} >> \pnode(5,1){B} >> \lens(A)(B) >> \end{pspicture} > > The reason why one has to hold it local: > > {\psset{showNode} > \pnode(0,1){A} > \pnode(5,1){B}} > \lens(A)(B) > \end{pspicture} or \begin{pspicture}(5,2) \psset{showNode} \pnode(0,1){A} \pnode(5,1){B} \lens[showNode=false](A)(B) \end{pspicture} > >> \end{document} > > Herbert > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From rose at rz.uni-potsdam.de Sun Oct 27 16:46:16 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Sun, 27 Oct 2013 16:46:16 +0100 Subject: [pstricks] Empty space in figure due to \FP statements Message-ID: <1382888776.16000.8.camel@impala.homenet> I use in the file circles_1.tex the following code: \begin{figure}[ht!] \begin{centering} \fbox{ \input{circles_3_1.tex} } \caption{An array of circles} \label{fig:circles_3} \end{centering} \end{figure} At the begin of circles_3_1.tex there are several \FP statements in front of a pspicture: \FPset\radiusZd{0.9} \FPmul\diameter\radiusZd{2} \FPset\xCee{\radiusZd} ... \FPmul\radiusZdq\radiusZd{0.25} \begin{pspicture}[](\xpsmin,\ypsmin)(\xpsmax,\ypsmax) \psaxes[]{->}(0,0)(\xmin,-\radiusZdh)(\xmax,\ymax) ... \rput(\xgzl,\ygzl){$g_2$} \end{pspicture} In the resulting circles_1.pdf there is a lot of empty space at the left side of the figure. If I split circles_3_1.tex in circles_3_data.tex and circles_3_2.tex, where circles_3_data.tex contains the \FP statements and circles_3_2.tex contains the pspicture and include both files in circles_2.tex: \input{circles_3_data.tex} \begin{figure}[ht!] \begin{centering} \fbox{ \input{circles_3_2.tex} } \caption{An array of circles} \label{fig:circles_3} \end{centering} \end{figure} the figure looks as expected. It looks if the FP statements in circles_3_1.tex are responsible for the right shift of pspicture to right side in circles_1.pdf. I would like to have only one input file for one figure but also to avoid this right shift. Is there any way? -------------- next part -------------- A non-text attachment was scrubbed... Name: circles_1.tex Type: text/x-tex Size: 1414 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: circles_3_1.tex Type: text/x-tex Size: 4943 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: circles_1.pdf Type: application/pdf Size: 30671 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: circles_2.tex Type: text/x-tex Size: 1441 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: circles_3_data.tex Type: text/x-tex Size: 1959 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: circles_3_2.tex Type: text/x-tex Size: 2985 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: circles_2.pdf Type: application/pdf Size: 29648 bytes Desc: not available URL: From hensh at math.msu.edu Sun Oct 27 17:25:54 2013 From: hensh at math.msu.edu (Hensh, Richard) Date: Sun, 27 Oct 2013 16:25:54 +0000 Subject: [pstricks] Empty space in figure due to \FP statements In-Reply-To: <1382888776.16000.8.camel@impala.homenet> References: <1382888776.16000.8.camel@impala.homenet> Message-ID: <08E67332912CDF4283414CE8CC41EEB107A87DEC@EXCHANGE1.mathwin.msu.edu> Juergen, In the file circles_3_1.tex append a `%' at the end of each line that contains an \FP command. For example, \FPset\radiusZd{0.9}% \FPmul\diameter\radiusZd{2}% \FPset\xCee{\radiusZd}% ... See attached. regards rick ________________________________________ From: PSTricks [pstricks-bounces at tug.org] on behalf of Juergen Rose [rose at rz.uni-potsdam.de] Sent: Sunday, October 27, 2013 11:46 AM To: Graphics with PSTricks Subject: [pstricks] Empty space in figure due to \FP statements I use in the file circles_1.tex the following code: \begin{figure}[ht!] \begin{centering} \fbox{ \input{circles_3_1.tex} } \caption{An array of circles} \label{fig:circles_3} \end{centering} \end{figure} At the begin of circles_3_1.tex there are several \FP statements in front of a pspicture: \FPset\radiusZd{0.9} \FPmul\diameter\radiusZd{2} \FPset\xCee{\radiusZd} ... \FPmul\radiusZdq\radiusZd{0.25} \begin{pspicture}[](\xpsmin,\ypsmin)(\xpsmax,\ypsmax) \psaxes[]{->}(0,0)(\xmin,-\radiusZdh)(\xmax,\ymax) ... \rput(\xgzl,\ygzl){$g_2$} \end{pspicture} In the resulting circles_1.pdf there is a lot of empty space at the left side of the figure. If I split circles_3_1.tex in circles_3_data.tex and circles_3_2.tex, where circles_3_data.tex contains the \FP statements and circles_3_2.tex contains the pspicture and include both files in circles_2.tex: \input{circles_3_data.tex} \begin{figure}[ht!] \begin{centering} \fbox{ \input{circles_3_2.tex} } \caption{An array of circles} \label{fig:circles_3} \end{centering} \end{figure} the figure looks as expected. It looks if the FP statements in circles_3_1.tex are responsible for the right shift of pspicture to right side in circles_1.pdf. I would like to have only one input file for one figure but also to avoid this right shift. Is there any way? -------------- next part -------------- A non-text attachment was scrubbed... Name: circles_3_1.tex Type: application/x-tex Size: 5116 bytes Desc: circles_3_1.tex URL: From rose at rz.uni-potsdam.de Sun Oct 27 19:07:34 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Sun, 27 Oct 2013 19:07:34 +0100 Subject: [pstricks] Empty space in figure due to \FP statements In-Reply-To: <08E67332912CDF4283414CE8CC41EEB107A87DEC@EXCHANGE1.mathwin.msu.edu> References: <1382888776.16000.8.camel@impala.homenet> <08E67332912CDF4283414CE8CC41EEB107A87DEC@EXCHANGE1.mathwin.msu.edu> Message-ID: <1382897254.17870.0.camel@impala.homenet> On Sun, 2013-10-27 at 16:25 +0000, Hensh, Richard wrote: > Juergen, > > In the file circles_3_1.tex append a `%' at the end of each line that contains an \FP command. For example, > > \FPset\radiusZd{0.9}% > \FPmul\diameter\radiusZd{2}% > \FPset\xCee{\radiusZd}% > ... > > See attached. > > regards > rick Thanks, Rick, worked like a charm. From wgrundlingh at gmail.com Sun Oct 27 19:30:21 2013 From: wgrundlingh at gmail.com (Werner Grundlingh) Date: Sun, 27 Oct 2013 11:30:21 -0700 Subject: [pstricks] Empty space in figure due to \FP statements In-Reply-To: <1382897254.17870.0.camel@impala.homenet> References: <1382888776.16000.8.camel@impala.homenet> <08E67332912CDF4283414CE8CC41EEB107A87DEC@EXCHANGE1.mathwin.msu.edu> <1382897254.17870.0.camel@impala.homenet> Message-ID: Perhaps, as reference, see What is the use of percent signs (%) at the end of lines? On Sun, Oct 27, 2013 at 11:07 AM, Juergen Rose wrote: > On Sun, 2013-10-27 at 16:25 +0000, Hensh, Richard wrote: > > Juergen, > > > > In the file circles_3_1.tex append a `%' at the end of each line that > contains an \FP command. For example, > > > > \FPset\radiusZd{0.9}% > > \FPmul\diameter\radiusZd{2}% > > \FPset\xCee{\radiusZd}% > > ... > > > > See attached. > > > > regards > > rick > > Thanks, Rick, > > worked like a charm. > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lichinho at icloud.com Sun Oct 27 20:12:03 2013 From: lichinho at icloud.com (Luis Sequeira) Date: Sun, 27 Oct 2013 19:12:03 +0000 Subject: [pstricks] Empty space in figure due to \FP statements In-Reply-To: References: Message-ID: On Oct 27, 2013, at 3:46 PM, pstricks-request at tug.org wrote: > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 27 Oct 2013 16:46:16 +0100 > From: Juergen Rose > To: Graphics with PSTricks > Subject: [pstricks] Empty space in figure due to \FP statements > Message-ID: <1382888776.16000.8.camel at impala.homenet> > Content-Type: text/plain; charset="utf-8" > > > I use in the file circles_1.tex the following code: > > \begin{figure}[ht!] > \begin{centering} > \fbox{ > \input{circles_3_1.tex} > } > \caption{An array of circles} > \label{fig:circles_3} > \end{centering} > \end{figure} > > At the begin of circles_3_1.tex there are several \FP statements in > front of a pspicture: > > \FPset\radiusZd{0.9} > \FPmul\diameter\radiusZd{2} > \FPset\xCee{\radiusZd} > ... > \FPmul\radiusZdq\radiusZd{0.25} > \begin{pspicture}[](\xpsmin,\ypsmin)(\xpsmax,\ypsmax) > \psaxes[]{->}(0,0)(\xmin,-\radiusZdh)(\xmax,\ymax) > ... > \rput(\xgzl,\ygzl){$g_2$} > \end{pspicture} > > > In the resulting circles_1.pdf there is a lot of empty space at the left > side of the figure. If I split circles_3_1.tex in circles_3_data.tex and > circles_3_2.tex, where circles_3_data.tex contains the \FP statements > and circles_3_2.tex contains the pspicture and include both files in > circles_2.tex: > > \input{circles_3_data.tex} > \begin{figure}[ht!] > \begin{centering} > \fbox{ > \input{circles_3_2.tex} > } > \caption{An array of circles} > \label{fig:circles_3} > \end{centering} > \end{figure} > > the figure looks as expected. It looks if the FP statements in circles_3_1.tex are > responsible for the right shift of pspicture to right side in circles_1.pdf. > I would like to have only one input file for one figure but also to avoid this right shift. > > Is there any way? > Not having a complete minimal example I can't say for sure, but it looks like one of those cases where an extra space at the end of a line is causing trouble. Either post a complete minimal example, or start by trying placing a few comment signs ('%') at the end of lines. Luis Sequeira From rose at rz.uni-potsdam.de Sun Oct 27 21:11:11 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Sun, 27 Oct 2013 21:11:11 +0100 Subject: [pstricks] Empty space in figure due to \FP statements In-Reply-To: References: <1382888776.16000.8.camel@impala.homenet> <08E67332912CDF4283414CE8CC41EEB107A87DEC@EXCHANGE1.mathwin.msu.edu> <1382897254.17870.0.camel@impala.homenet> Message-ID: <1382904671.17870.1.camel@impala.homenet> On Sun, 2013-10-27 at 11:30 -0700, Werner Grundlingh wrote: > Perhaps, as reference, see What is the use of percent signs (%) at the > end of lines? Thanks for the hint. > On Sun, Oct 27, 2013 at 11:07 AM, Juergen Rose > wrote: > On Sun, 2013-10-27 at 16:25 +0000, Hensh, Richard wrote: > > Juergen, > > > > In the file circles_3_1.tex append a `%' at the end of each > line that contains an \FP command. For example, > > > > \FPset\radiusZd{0.9}% > > \FPmul\diameter\radiusZd{2}% > > \FPset\xCee{\radiusZd}% > > ... > > > > See attached. > > > > regards > > rick > > > Thanks, Rick, > > worked like a charm. > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ From rose at rz.uni-potsdam.de Sun Oct 27 21:12:06 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Sun, 27 Oct 2013 21:12:06 +0100 Subject: [pstricks] Empty space in figure due to \FP statements In-Reply-To: References: Message-ID: <1382904726.17870.2.camel@impala.homenet> On Sun, 2013-10-27 at 19:12 +0000, Luis Sequeira wrote: > On Oct 27, 2013, at 3:46 PM, pstricks-request at tug.org wrote: > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 27 Oct 2013 16:46:16 +0100 > > From: Juergen Rose > > To: Graphics with PSTricks > > Subject: [pstricks] Empty space in figure due to \FP statements > > Message-ID: <1382888776.16000.8.camel at impala.homenet> > > Content-Type: text/plain; charset="utf-8" > > > > > > I use in the file circles_1.tex the following code: > > > > \begin{figure}[ht!] > > \begin{centering} > > \fbox{ > > \input{circles_3_1.tex} > > } > > \caption{An array of circles} > > \label{fig:circles_3} > > \end{centering} > > \end{figure} > > > > At the begin of circles_3_1.tex there are several \FP statements in > > front of a pspicture: > > > > \FPset\radiusZd{0.9} > > \FPmul\diameter\radiusZd{2} > > \FPset\xCee{\radiusZd} > > ... > > \FPmul\radiusZdq\radiusZd{0.25} > > \begin{pspicture}[](\xpsmin,\ypsmin)(\xpsmax,\ypsmax) > > \psaxes[]{->}(0,0)(\xmin,-\radiusZdh)(\xmax,\ymax) > > ... > > \rput(\xgzl,\ygzl){$g_2$} > > \end{pspicture} > > > > > > In the resulting circles_1.pdf there is a lot of empty space at the left > > side of the figure. If I split circles_3_1.tex in circles_3_data.tex and > > circles_3_2.tex, where circles_3_data.tex contains the \FP statements > > and circles_3_2.tex contains the pspicture and include both files in > > circles_2.tex: > > > > \input{circles_3_data.tex} > > \begin{figure}[ht!] > > \begin{centering} > > \fbox{ > > \input{circles_3_2.tex} > > } > > \caption{An array of circles} > > \label{fig:circles_3} > > \end{centering} > > \end{figure} > > > > the figure looks as expected. It looks if the FP statements in circles_3_1.tex are > > responsible for the right shift of pspicture to right side in circles_1.pdf. > > I would like to have only one input file for one figure but also to avoid this right shift. > > > > Is there any way? > > > > Not having a complete minimal example I can't say for sure, but it looks like one of those cases where an extra space at the end of a line is causing trouble. > Either post a complete minimal example, or start by trying placing a few comment signs ('%') at the end of lines. > > Luis Sequeira The complete files were attached to my first mail. From Herbert.Voss at FU-Berlin.DE Sun Oct 27 21:36:37 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 27 Oct 2013 21:36:37 +0100 Subject: [pstricks] Empty space in figure due to \FP statements In-Reply-To: References: <1382888776.16000.8.camel@impala.homenet> <08E67332912CDF4283414CE8CC41EEB107A87DEC@EXCHANGE1.mathwin.msu.edu> <1382897254.17870.0.camel@impala.homenet> Message-ID: <526D7955.3070802@FU-Berlin.DE> Am 27.10.2013 19:30, schrieb Werner Grundlingh: > Perhaps, as reference, see What is the use of percent signs (%) at the > end of lines? that is not really helpful for PSTricks users. Inside of the pspicture environment the spaces are stripped automatically by nearly all PSTricks commands. Herbert From wgrundlingh at gmail.com Sun Oct 27 21:50:13 2013 From: wgrundlingh at gmail.com (Werner Grundlingh) Date: Sun, 27 Oct 2013 13:50:13 -0700 Subject: [pstricks] Empty space in figure due to \FP statements In-Reply-To: <526D7955.3070802@FU-Berlin.DE> References: <1382888776.16000.8.camel@impala.homenet> <08E67332912CDF4283414CE8CC41EEB107A87DEC@EXCHANGE1.mathwin.msu.edu> <1382897254.17870.0.camel@impala.homenet> <526D7955.3070802@FU-Berlin.DE> Message-ID: True, yet the original question had fp commands * outside* a pspicture environment. As such, spurious spaces resulted, pushing the pspicture to the right. On Sun, Oct 27, 2013 at 1:36 PM, Herbert Voss wrote: > Am 27.10.2013 19:30, schrieb Werner Grundlingh: > >> Perhaps, as reference, see What is the use of percent signs (%) at the >> end of lines? >> > >> > > that is not really helpful for PSTricks users. Inside > of the pspicture environment the spaces are stripped > automatically by nearly all PSTricks commands. > > Herbert > > > ______________________________**_________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/**listinfo/pstricks > archive: http://www.tug.org/pipermail/**pstricks/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hubert at lamfamily.info Mon Oct 28 06:05:42 2013 From: hubert at lamfamily.info (Hubert Lam) Date: Mon, 28 Oct 2013 05:05:42 +0000 Subject: [pstricks] pst-gantt hack to turn it into a "timeline"? Message-ID: <142c5fc59e6f45e1b04c0a9f571b70a9@HKXPR03MB038.apcprd03.prod.outlook.com> Dear all Just wanted to say a word of thanks to Herbert Voss for all his work on PSTricks and its associated packages -- I can't imagine life without it at the moment! A quick question: has anyone been able to place different \PstGanttTask sequentially after one another, i.e. not on the next line? (see attached PDF) I realise doing this would not make it a Gantt Chart at all but rather a stacked horizontal column chart. However, the fact that pst-gantt properly calculates distances for dates etc is so handy for it to be turned into a time line. Many thanks :) Hubert -------------- next part -------------- A non-text attachment was scrubbed... Name: Presentation1.pdf Type: application/pdf Size: 204898 bytes Desc: Presentation1.pdf URL: From Herbert.Voss at FU-Berlin.DE Mon Oct 28 14:16:48 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 28 Oct 2013 14:16:48 +0100 Subject: [pstricks] pst-gantt hack to turn it into a "timeline"? In-Reply-To: <142c5fc59e6f45e1b04c0a9f571b70a9@HKXPR03MB038.apcprd03.prod.outlook.com> References: <142c5fc59e6f45e1b04c0a9f571b70a9@HKXPR03MB038.apcprd03.prod.outlook.com> Message-ID: <526E63C0.2010107@FU-Berlin.DE> Am 28.10.2013 06:05, schrieb Hubert Lam: > A quick question: has anyone been able to place different \PstGanttTask sequentially after one another, i.e. not on the next line? (see attached PDF) > > I realise doing this would not make it a Gantt Chart at all but rather a stacked horizontal column chart. However, the fact that pst-gantt properly calculates distances for dates etc is so handy for it to be turned into a time line. \documentclass{report} \usepackage{pst-gantt} \makeatletter \def\Reset{% \advance\pst at GanttTaskCnt by \@ne} \makeatother \begin{document} \begin{PstGanttChart}[yunit=1.5, ChartUnitIntervalName=KW,ChartUnitBasicIntervalName=KW, ChartModulo,ChartModuloValue=52, TaskUnitIntervalValue=14,TaskUnitType=KW,ChartStartInterval=49, ChartShowIntervals]{3}{8} \PstGanttTask[TaskInsideLabel={Task 1}]{0}{1}\Reset \PstGanttTask[TaskInsideLabel={Task 2}]{3}{4} \PstGanttTask[TaskInsideLabel={Task 3}]{2}{2} \PstGanttTask[TaskInsideLabel={Task 4}]{3}{5} \end{PstGanttChart} \end{document} Herbert From rose at rz.uni-potsdam.de Mon Oct 28 16:19:38 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Mon, 28 Oct 2013 16:19:38 +0100 Subject: [pstricks] Incompatibility between pst-3dplot and pst-solides3d (?) Message-ID: <1382973578.7642.1.camel@leopard.ibmt.intern> Hi, I have to packages wich differ only in the list of the used packages: rose at leopard:/home/rose/Txt/src/Test/TeX/PSTricks_test/Tetraeder(878)$ diff main_1.tex main_2.tex 23c23 < \usepackage{pstricks,pst-plot,pst-grad,pst-eucl,pst-3d,pst-3dplot} --- > \usepackage{pstricks,pst-plot,pst-grad,pst-eucl,pst-3d,pst-3dplot,pst-solides3d} I.e., in main_2.tex I have the additional usage of pst-solides3d. It looks, if this pst-solides3d destroyes my resulting main_2.pdf. Is there a way to use pst-3d,pst-3dplot and pst-solides3d together in one latex document? All the relevant files are attached. Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: main_1.tex Type: text/x-tex Size: 1213 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main_2.tex Type: text/x-tex Size: 1227 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sphere.tex Type: text/x-tex Size: 1794 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main_1.pdf Type: application/pdf Size: 278584 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main_2.pdf Type: application/pdf Size: 278584 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Mon Oct 28 18:33:21 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 28 Oct 2013 18:33:21 +0100 Subject: [pstricks] Incompatibility between pst-3dplot and pst-solides3d (?) In-Reply-To: <1382973578.7642.1.camel@leopard.ibmt.intern> References: <1382973578.7642.1.camel@leopard.ibmt.intern> Message-ID: <526E9FE1.1050305@FU-Berlin.DE> Am 28.10.2013 16:19, schrieb Juergen Rose: > > I have to packages wich differ only in the list of the used packages: > > rose at leopard:/home/rose/Txt/src/Test/TeX/PSTricks_test/Tetraeder(878)$ > diff main_1.tex main_2.tex > 23c23 > < \usepackage{pstricks,pst-plot,pst-grad,pst-eucl,pst-3d,pst-3dplot} > --- >> > \usepackage{pstricks,pst-plot,pst-grad,pst-eucl,pst-3d,pst-3dplot,pst-solides3d} change the order of the packages: \usepackage{pst-grad,pst-eucl,pst-solides3d,pst-3dplot} by the way: set the page margins with package geometry Herbert From hubert at lamfamily.info Mon Oct 28 23:34:18 2013 From: hubert at lamfamily.info (Hubert Lam) Date: Mon, 28 Oct 2013 22:34:18 +0000 Subject: [pstricks] pst-gantt hack to turn it into a "timeline"? Message-ID: <506be17366d7446a9f52a8689aec3085@HKXPR03MB038.apcprd03.prod.outlook.com> Herbert, You are a national treasure! Thank you! [cid:Image925.png at 1420133bd4639e] Sent from Windows Mail From: Herbert Voss Sent: ?Tuesday?, ?29? ?October? ?2013 ?12?:?22? ?AM To: pstricks at tug.org Am 28.10.2013 06:05, schrieb Hubert Lam: > A quick question: has anyone been able to place different \PstGanttTask sequentially after one another, i.e. not on the next line? (see attached PDF) > > I realise doing this would not make it a Gantt Chart at all but rather a stacked horizontal column chart. However, the fact that pst-gantt properly calculates distances for dates etc is so handy for it to be turned into a time line. \documentclass{report} \usepackage{pst-gantt} \makeatletter \def\Reset{% \advance\pst at GanttTaskCnt by \@ne} \makeatother \begin{document} \begin{PstGanttChart}[yunit=1.5, ChartUnitIntervalName=KW,ChartUnitBasicIntervalName=KW, ChartModulo,ChartModuloValue=52, TaskUnitIntervalValue=14,TaskUnitType=KW,ChartStartInterval=49, ChartShowIntervals]{3}{8} \PstGanttTask[TaskInsideLabel={Task 1}]{0}{1}\Reset \PstGanttTask[TaskInsideLabel={Task 2}]{3}{4} \PstGanttTask[TaskInsideLabel={Task 3}]{2}{2} \PstGanttTask[TaskInsideLabel={Task 4}]{3}{5} \end{PstGanttChart} \end{document} Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Image925.png Type: image/png Size: 158708 bytes Desc: Image925.png URL: From rose at rz.uni-potsdam.de Sun Nov 3 17:06:21 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Sun, 3 Nov 2013 17:06:21 +0100 Subject: [pstricks] Incompatibility between pst-3dplot and pst-solides3d (?) In-Reply-To: <526E9FE1.1050305@FU-Berlin.DE> References: <1382973578.7642.1.camel@leopard.ibmt.intern> <526E9FE1.1050305@FU-Berlin.DE> Message-ID: <1383494781.15578.1.camel@impala.homenet> On Mon, 2013-10-28 at 18:33 +0100, Herbert Voss wrote: > Am 28.10.2013 16:19, schrieb Juergen Rose: > > > > I have to packages wich differ only in the list of the used packages: > > > > rose at leopard:/home/rose/Txt/src/Test/TeX/PSTricks_test/Tetraeder(878)$ > > diff main_1.tex main_2.tex > > 23c23 > > < \usepackage{pstricks,pst-plot,pst-grad,pst-eucl,pst-3d,pst-3dplot} > > --- > >> > > \usepackage{pstricks,pst-plot,pst-grad,pst-eucl,pst-3d,pst-3dplot,pst-solides3d} > > change the order of the packages: > > \usepackage{pst-grad,pst-eucl,pst-solides3d,pst-3dplot} > > by the way: set the page margins with package geometry > > Herbert Thanks, worked. From rose at rz.uni-potsdam.de Sun Nov 3 17:18:23 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Sun, 3 Nov 2013 17:18:23 +0100 Subject: [pstricks] uput and \SpecialCoor Message-ID: <1383495503.15578.10.camel@impala.homenet> If I use the following code, it works: \begin{pspicture}[showgrid=true](\xpsmin,\ypsmin)(\xpsmax,\ypsmax) \psaxes[]{->}(0,0)(-0.3,-0.3)(\xmax,\ymax) \psdot[linecolor=cyan](! 2 45 cos mul 2 45 sin mul) \pstGeonode(\yCthree,\zCthree){C_3}(\yCfour,\zCfour){C_4} \pstGeonode[PointName={}](\yCfourProj,\zCfourProj){C4P} \pstGeonode[PosAngle=180](\yA,\zA){A} \ncline{C_4}{A} \ncline{A}{C_3} \ncline{C_3}{C_4} \ncline{C_4}{C4P} \rput(! 2 1.4 mul 1.8){$t$} \end{pspicture} If I replace the last rput statement with a uput statement, it fails with: ... ( FP-UPN ( FP-MUL ) ( FP-ADD ) ) ! Use of \uput at ii doesn't match its definition. l.53 \uput(! 2 1.4 mul 1.8t$} ? Is this intentional or do I make something wrong? In the attachment there is a working example main_0_article.tex with rput and a failing example main_1_article.tex. -------------- next part -------------- A non-text attachment was scrubbed... Name: main_0_article.tex Type: text/x-tex Size: 1324 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main_1_article.tex Type: text/x-tex Size: 1320 bytes Desc: not available URL: From wgrundlingh at gmail.com Sun Nov 3 18:12:13 2013 From: wgrundlingh at gmail.com (Werner Grundlingh) Date: Sun, 3 Nov 2013 09:12:13 -0800 Subject: [pstricks] uput and \SpecialCoor In-Reply-To: <1383495503.15578.10.camel@impala.homenet> References: <1383495503.15578.10.camel@impala.homenet> Message-ID: Your \uput is malformed. The syntax is \uput*{}[]{}(,){} Some of the components are optional (even though they are braced). You *might* be after an interface that resembles \uput[d]{0}(! 2 1.4 mul 1.8){$t$} I don't really know what you're after though, so my selection could be completely wrong. As reference, see the pstricks documentation, specifically section *24 Placing and rotating whatever* on page 43. On Sun, Nov 3, 2013 at 8:18 AM, Juergen Rose wrote: > If I use the following code, it works: > > \begin{pspicture}[showgrid=true](\xpsmin,\ypsmin)(\xpsmax,\ypsmax) > \psaxes[]{->}(0,0)(-0.3,-0.3)(\xmax,\ymax) > > \psdot[linecolor=cyan](! 2 45 cos mul 2 45 sin mul) > > \pstGeonode(\yCthree,\zCthree){C_3}(\yCfour,\zCfour){C_4} > \pstGeonode[PointName={}](\yCfourProj,\zCfourProj){C4P} > \pstGeonode[PosAngle=180](\yA,\zA){A} > > \ncline{C_4}{A} > \ncline{A}{C_3} > \ncline{C_3}{C_4} > > \ncline{C_4}{C4P} > > \rput(! 2 1.4 mul 1.8){$t$} > \end{pspicture} > > If I replace the last rput statement with a uput statement, it fails > with: > > ... > ( FP-UPN ( FP-MUL ) ( FP-ADD ) ) > ! Use of \uput at ii doesn't match its definition. > l.53 \uput(! > 2 1.4 mul 1.8t$} > ? > > Is this intentional or do I make something wrong? > > In the attachment there is a working example main_0_article.tex with > rput and a failing example main_1_article.tex. > > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rose at rz.uni-potsdam.de Mon Nov 4 10:11:05 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Mon, 4 Nov 2013 10:11:05 +0100 Subject: [pstricks] uput and \SpecialCoor In-Reply-To: References: <1383495503.15578.10.camel@impala.homenet> Message-ID: <1383556265.2980.1.camel@impala.homenet> On Sun, 2013-11-03 at 09:12 -0800, Werner Grundlingh wrote: > Your \uput is malformed. The syntax is > \uput*{}[]{}(,){} > Some of the components are optional (even though they are braced). You > might be after an interface that resembles > \uput[d]{0}(! 2 1.4 mul 1.8){$t$} > I don't really know what you're after though, so my selection could be > completely wrong. > > > > As reference, see the pstricks documentation, specifically section 24 > Placing and rotating whatever on page 43. ... > On Sun, Nov 3, 2013 at 8:18 AM, Juergen Rose > wrote: > If I use the following code, it works: > > \begin{pspicture}[showgrid=true](\xpsmin,\ypsmin)(\xpsmax, > \ypsmax) > \psaxes[]{->}(0,0)(-0.3,-0.3)(\xmax,\ymax) > > \psdot[linecolor=cyan](! 2 45 cos mul 2 45 sin mul) > > \pstGeonode(\yCthree,\zCthree){C_3}(\yCfour,\zCfour){C_4} > \pstGeonode[PointName={}](\yCfourProj,\zCfourProj){C4P} > \pstGeonode[PosAngle=180](\yA,\zA){A} > > \ncline{C_4}{A} > \ncline{A}{C_3} > \ncline{C_3}{C_4} > > \ncline{C_4}{C4P} > > \rput(! 2 1.4 mul 1.8){$t$} > \end{pspicture} > > If I replace the last rput statement with a uput statement, it > fails > with: > > ... > ( FP-UPN ( FP-MUL ) ( FP-ADD ) ) > ! Use of \uput at ii doesn't match its definition. > l.53 \uput(! > 2 1.4 mul 1.8t$} > ? > > Is this intentional or do I make something wrong? > > In the attachment there is a working example > main_0_article.tex with > rput and a failing example main_1_article.tex. Werner, thanks for your correction. Now it works. From hendrik at hendrikmaryns.name Wed Nov 6 21:41:18 2013 From: hendrik at hendrikmaryns.name (Hendrik Maryns) Date: Wed, 6 Nov 2013 21:41:18 +0100 Subject: [pstricks] Elliptic arc through points Message-ID: <527AA96E.4060508@hendrikmaryns.name> Hi all, I use pst-eucl?s \pstGenericCurve to connect three points, but I would like the arc to be an ellipse (it is a tilted circle). Is there a possibility to do that? \psellipticarc is difficult to use, since it does not go through points and I would have to compute the radii and angles myself. This is what I have: \begin{pspicture}(0,-1)(3,2) \pstGeonode[CurveType=polygon](0,0){A}(0,1){B}(2.5,.9){C1}(2.5,-.1){D1} \pstGeonode(2.7,0){D2}(2.7,1){C2} \pstGeonode(1.8,.3){D3}(1.8,1.3){C3} \pstLineAB{B}{C3} \pstLineAB[linestyle=dotted]{A}{D3} \pstLineAB{D2}{C2} \pstLineAB[linestyle=dotted]{D3}{C3} \pstGenericCurve[linestyle=dotted]{D}{1}{3} % here \pstGenericCurve[linestyle=solid]{D}{1}{2} % and here \pstGenericCurve{C}{1}{3} \uput[-90](1.2,-.05){7~cm} \uput[180](0,.5){3~cm} \pstMarkAngle[MarkAngleRadius=1,LabelSep=1.5]{C1}{B}{C3}{$45^?$} \end{pspicture} I want the ?here? to be elliptic, and the line below to be solid, which \pstGenericCurve does not do (it seems not to work with only 2 points). TIA, H. -- Hendrik Maryns Drielandenhoek 24 NL-2034 LV Haarlem +31237370263 +31634861841 (staat meestal uit, enkel nootgevallen) http://hendrikmaryns.name =========== signature.asc?!? ? http://en.wikipedia.org/wiki/PGP ? http://mindprod.com/project/mailreadernewsreader.html .eml?!? ? http://www.ehow.com/how_5829197_open-_eml-files.html Spelling?!? ? http://hendrikmaryns.name/spelling.php -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: From rose at rz.uni-potsdam.de Fri Nov 8 00:44:10 2013 From: rose at rz.uni-potsdam.de (Juergen Rose) Date: Fri, 8 Nov 2013 00:44:10 +0100 Subject: [pstricks] Problems with Macros in SpecialCoor Message-ID: <1383867850.10920.0.camel@impala.homenet> Hi, if I using formulars with numbers as SpecialCoordinates in uput it works. But if I replace these numbers with macros, the lables are not placed as expected. E.g., I have code like the following \FPset\radius{2.0}% \FPset\yA{\radius}% \FPset\zA{\radius}% \FPupn\hTrig{2 3 root \radius{} mul}% \FPupn\hTetraeder{2 6 root 3 div \radius{} mul 2 mul} % \FPadd\yCthree\radius{\hTrig}% \FPset\zCthree{\radius}% % \FPupn\yCfour{\radius{} \hTrig{} 3 div add}% \FPupn\zCfour{\radius{} \hTetraeder{} add}% % \FPupn\xsLone{\yCfour{} \yCthree{} \yCfour{} sub 2 div add}% \FPset\ysLone{\zA}% % \FPmul\xpsmin\radius{0.7}% \FPmul\xpsmax\radius{3.1}% \FPmul\ypsmin\radius{0.6}% \FPupn\ypsmax{\ypsmin{} \hTrig{} 1.2 mul add}% % \begin{pspicture}[showgrid=true](\xpsmin,\ypsmin)(\xpsmax,\ypsmax) \pstGeonode(\yCfour,\zCfour){C_4} \pstGeonode[PosAngle=180](\yA,\zA){A} \ncline{C_4}{A} \uput[u]{0}(!\yA \yCfour \yA sub 2 div add \zA){$t_1$} \rput(!\yA \yCfour \yA sub 2 div add \zA){$t_2$} \uput{0.1}[u]{0}(!2 3.2 2 sub 2 div add 2){$t_3$} \uput{0.1}[u]{0}(\xsLone,\ysLone){$s_2$} \uput{0.1}[u]{0}(!\xsLone \ysLone){$s_3$} \uput[u]{0}(!\yCfour \yCthree \yCfour sub 2 div add \zA){$s_5$} \end{pspicture} I would expect that t_1, t_2 and t_3 or s_2, s_3 and s_5 are placed approximately at the same position. But only t_3 and s_2 are placed correctly. t_2, t_3, s_3 and s_5 are placed around the origin of the coordinate system. The positions varies depending on the environment in the TeX file. The complete TeX file and the corresponding PDF are attached. Any hint is appreciated. Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: main_1_new_2_article.tex Type: text/x-tex Size: 1973 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main_1_new_2_article.pdf Type: application/pdf Size: 10944 bytes Desc: not available URL: From the.counterterrorist at yahoo.com Fri Nov 8 22:17:25 2013 From: the.counterterrorist at yahoo.com (Counter Terrorist) Date: Fri, 8 Nov 2013 13:17:25 -0800 Subject: [pstricks] Why can't \psarc, \psellipticarc, and \pscurve have ArrowInside? Message-ID: <1383945445.61831.YahooMailNeo@web162602.mail.bf1.yahoo.com> Dear folks, I noticed that \psline and \psbezier are the only open curves that can have a middle arrow via ArrowInside. Thus, the remaining open curves (\psarc, \psellipticarc, and \pscurve) cannot have a middle arrow. Here it is the minimal working example for you. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pstricks-add} \psset{ArrowInside=->,linecolor=blue,linewidth=2pt} \begin{document} \begin{pspicture}[showgrid](6,-8) \psline(1,0)(5,0) \psarc(3,-1){1}{180}{360} \psellipticarc[dimen=money](3,-3)(2,1){180}{360} \pscurve(1,-5)(2,-6)(3,-5)(4,-6)(5,-5) \psbezier(1,-7)(1,-8)(5,-8)(5,-7) \end{pspicture} \end{document} Could you update the package such that all open curves can have a middle arrow? It is not only useful but also to maintain consistency. Thank you in advance. Best regards, http://tex.stackexchange.com/users/19356 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Fri Nov 8 22:45:58 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 8 Nov 2013 22:45:58 +0100 Subject: [pstricks] Problems with Macros in SpecialCoor In-Reply-To: <1383867850.10920.0.camel@impala.homenet> References: <1383867850.10920.0.camel@impala.homenet> Message-ID: <527D5B96.6060509@FU-Berlin.DE> Am 08.11.2013 00:44, schrieb Juergen Rose: > \uput[u]{0}(!\yA \yCfour \yA sub 2 div add \zA){$t_1$} > \rput(!\yA \yCfour \yA sub 2 div add \zA){$t_2$} when this expression is passed to PostScript the spaces after the macros gets lost. TeX "eats" sich spaces when parsing the tokens for the macro name. Use \rput(!\yA\space \yCfour\space \yA\space sub 2 div add \zA){$t_2$} \documentclass[]{article} \usepackage[]{fp} % for arithmetic fixed point operation \usepackage{pstricks,pst-plot,pst-grad,pst-eucl} \begin{document} \FPset\radius{2.0}% \FPupn\hTrig{2 3 root \radius{} mul}% \FPupn\hTetraeder{2 6 root 3 div \radius{} mul 2 mul} % \FPadd\yCthree\radius{\hTrig}% \FPset\zCthree{\radius}% % \FPupn\yCfour{\radius{} \hTrig{} 3 div add}% \FPupn\zCfour{\radius{} \hTetraeder{} add}% % \FPset\yCfourProj{\yCfour}% \FPset\zCfourProj{\radius}% % \FPset\yA{\radius}% \FPset\zA{\radius}% % \FPupn\xsLone{\yCfour{} \yCthree{} \yCfour{} sub 2 div add}% \FPset\ysLone{\zA}% % \FPmul\xmax\radius{2.5}% \FPmul\zmax\radius{2}% \FPmul\ymax\radius{2}% \FPmul\ymin\radius{-0.7}% % \FPmul\xpsmin\radius{0.7}% \FPmul\xpsmax\radius{3.1}% \FPmul\ypsmin\radius{0.6}% \FPupn\ypsmax{\ypsmin{} \hTrig{} 1.2 mul add }% % \begin{pspicture}[showgrid=true](\xpsmin,\ypsmin)(\xpsmax,\ypsmax) \psaxes[]{->}(0,0)(-0.3,-0.3)(\xmax,\ymax) \pstGeonode(\yCthree,\zCthree){C_3}(\yCfour,\zCfour){C_4} \pstGeonode[PointName={}](\yCfourProj,\zCfourProj){C4P} \pstGeonode[PosAngle=180](\yA,\zA){A} \ncline{C_4}{A} \ncline{A}{C_3} \ncline{C_3}{C_4} \ncline{C_4}{C4P} \uput[u]{0}(!\yA\space \yCfour\space \yA\space sub 2 div add \zA){$t_1$} \rput(!\yA\space \yCfour\space \yA\space sub 2 div add \zA){$t_2$} % \rput(!2 3.2 2 sub 2 div add 2){$t_2$} \uput{0.1}[u]{0}(!2 3.2 2 sub 2 div add 2){$t_3$} \uput{0.1}[u]{0}(\xsLone,\ysLone){$s_2$} \uput{0.1}[u]{0}(!\xsLone\space \ysLone){$s_3$} % \rput(!{\yCfour \yCthree \yCfour sub 2 div add} {\zA}){$s_4$} \uput[u]{0}(!\yCfour\space \yCthree\space \yCfour\space sub 2 div add \zA){$s_5$} \FPupn\yhTet{\zA\space \hTrig{} 0.25 mul add} \uput{0.05}[r]{0}(\yCfour,\yhTet){$h_{tetraeder_3}$} \uput{0.05}[r]{0}(!\yCfour\space \yhTet){$h_{tetraeder_2}$} \uput{0.05}[r]{0}(!\yCfour\space \zA\space \hTrig\space 0.25 mul add){$h_{tetraeder_1}$} \end{pspicture} \end{document} Herbert From Herbert.Voss at FU-Berlin.DE Fri Nov 8 22:47:36 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 8 Nov 2013 22:47:36 +0100 Subject: [pstricks] Elliptic arc through points In-Reply-To: <527AA96E.4060508@hendrikmaryns.name> References: <527AA96E.4060508@hendrikmaryns.name> Message-ID: <527D5BF8.3070707@FU-Berlin.DE> Am 06.11.2013 21:41, schrieb Hendrik Maryns: > I use pst-eucl?s \pstGenericCurve to connect three points, but I would > like the arc to be an ellipse (it is a tilted circle). Is there a > possibility to do that? \psellipticarc is difficult to use, since it > does not go through points and I would have to compute the radii and > angles myself. I do not really understand your image. Is it a 3d object like a pie? Herbert From the.counterterrorist at yahoo.com Tue Nov 12 20:48:50 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Tue, 12 Nov 2013 11:48:50 -0800 Subject: [pstricks] Requesting a new value named ccurve for the key CurveType in pst-eucl Message-ID: <1384285730.84065.YahooMailNeo@web162604.mail.bf1.yahoo.com> Dear folks, We have polygon, curve, and polyline but there is ?no ccurve option for CurveType. \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl} \begin{document} \begin{pspicture}(-2,-2)(2,2) \pstGeonode [ CurveType=polyline, %curve, polygon, but there is no closed curve ](-1,1){A}(1,1){B}(1,-1){C}(-1,-1){D} \end{pspicture} \end{document} If you don't mind please kindly implement this new value ccurve to make us easier to create a list of nodes at the same time stroking them with a closed curve.? Thank you in advance. Best regards, http://tex.stackexchange.com/users/19356 -------------- next part -------------- An HTML attachment was scrubbed... URL: From the.counterterrorist at yahoo.com Sat Nov 16 10:23:58 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Sat, 16 Nov 2013 01:23:58 -0800 Subject: [pstricks] Bug Report: PointName does not support Chinese characters directly Message-ID: <1384593838.70864.YahooMailNeo@web162604.mail.bf1.yahoo.com> Dear folks, I noticed several months ago that PointName does not support Chinese characters directly. According to Leo Liu (http://tex.stackexchange.com/a/113358/19356), to solve it, we need to wrap the Chinese characters in a box first. The following example shows how we have to do but it seems to be very verbose as we have to type many keystrokes more. Could you patch pst-eucl to fix this issue?? \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl} \usepackage{CJKutf8} \newsavebox\IBoxO \newsavebox\IBoxA \newsavebox\IBoxB \newsavebox\IBoxC \newsavebox\IBoxD \newsavebox\IBoxE \begin{document} \begin{CJK}{UTF8}{bsmi} \savebox\IBoxO{?} \savebox\IBoxA{?} \savebox\IBoxB{?} \savebox\IBoxC{?} \savebox\IBoxD{???} \savebox\IBoxE{??} \begin{pspicture}[showgrid=false](6,4.25) \pstGeonode[PosAngle={180,150,155,185}, PointName={\usebox\IBoxO,\usebox\IBoxA,\usebox\IBoxB,\usebox\IBoxC}] (2,2){O} ([nodesep=2,angle=110]O){A} ([nodesep=2,angle=-70]O){B} ([nodesep=2,angle=-10]O){C} \nodexn{2(C)-(B)}{D'} \pnode([offset=3,nodesep=2]{C}O){E'} \pstInterLL[PosAngle=90,PointName=\usebox\IBoxE]{C}{E'}{A}{D'}{E} \pstGeonode[PosAngle=50,PointName=\usebox\IBoxD](D'){D} \pstCircleOA{O}{A} \pspolygon(A)(B)(D) \pspolygon(A)(C)(E) \end{pspicture} \end{CJK} \end{document} Best regards, D. E. Knot http://tex.stackexchange.com/users/19356/donut-e-knot -------------- next part -------------- An HTML attachment was scrubbed... URL: From Poul.Riis at skolekom.dk Wed Nov 20 08:25:54 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Wed, 20 Nov 2013 08:25:54 +0100 Subject: [pstricks] pst-tree questions Message-ID: In the pst-tree project below I have a few questions: 1) Can I put the red texts in a more automatic way so that a) they are automatically left aligned b) the texts are still just above and below the branch (or trunc) of the tree even if I change the value of treesep 2) Can I left align the blue (and the black) texts and make the length of the branches equally long? I would be grateful for any hints. Poul Riis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Nov 20 08:57:31 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 20 Nov 2013 08:57:31 +0100 Subject: [pstricks] pst-tree questions In-Reply-To: References: Message-ID: <528C6B6B.7040400@FU-Berlin.DE> Am 20.11.2013 08:25, schrieb Poul Riis: > In the pst-tree project below I have a few questions: There was nothing "below ..." Herbert > > 1) Can I put the red texts in a more automatic way so that > a) they are automatically left aligned > b) the texts are still just above and below the branch (or > trunc) of the tree even if I change the value of treesep > > 2) Can I left align the blue (and the black) texts and make the length > of the branches equally long? > > I would be grateful for any hints. From Poul.Riis at skolekom.dk Wed Nov 20 17:49:38 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Wed, 20 Nov 2013 17:49:38 +0100 Subject: [pstricks] pst-tree Message-ID: My earlier question 1b could be solved if I can refer to the node marked by the green arrow in the project below. Do these nodes have internal names that one can refer to? Poul Riis \documentclass[10pt,a4paper,landscape]{article} \usepackage[x11names]{xcolor} \usepackage{pst-tree} \topmargin=-5cm \textwidth=27cm \textheight=20cm \hoffset=-7cm \begin{document} \begin{pspicture}(0,0)(17,18) \pnode(7,9.5){E2} \def\psedge#1#2{\ncangle{#2}{#1}} \psset{armB=3.0, angleB=0, angleA=180, arrows=-, nodesepA=3pt}% \uput{0pt}[0]{0}(E2){\pstree[treemode=R, treesep=2.0, levelsep=4.0]{\Tp}{\Tr{declarative}\pstree[armB=4.0,treemode=R, treesep=1.2, levelsep=5.5]{\Tr{modality}\taput[labelsep=1.3]{\hspace{-5em}\color{Red1}INDICATIVE}\tbput[labelsep=-0.9]{\hspace{-8.5em}\color{Red1}TYPE}}{\Tr{\color{Blue1}yes/no}\taput[labelsep=-0.5]{\hspace{-2em}\color{Red1}INTERROGATIVE}\tbput[labelsep=0.9]{\hsp ace{-3em}\color{Red1}TYPE}\Tr{\color{Blue1}wh-}}}} \psline[linecolor=Green3,arrows=->](14,6)(15.6,8.7) \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Nov 20 19:23:07 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 20 Nov 2013 19:23:07 +0100 Subject: [pstricks] pst-tree In-Reply-To: References: Message-ID: <528CFE0B.2080604@FU-Berlin.DE> Am 20.11.2013 17:49, schrieb Poul Riis: > My earlier question 1b could be solved if I can refer to the node marked > by the green arrow in the project below. > Do these nodes have internal names that one can refer to? \Tr[name=foo]{...} ... \Tr[name=bar]{...} \ncline{foo}{bar} Herbert From Poul.Riis at skolekom.dk Wed Nov 20 23:18:00 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Wed, 20 Nov 2013 23:18:00 +0100 Subject: [pstricks] pst-tree In-Reply-To: <528CFE0B.2080604@FU-Berlin.DE> References: <,> <528CFE0B.2080604@FU-Berlin.DE> Message-ID: Thank you, but I cannot get exactly the node that I want - the one at the end of the arrow.... Poul Riis \documentclass[10pt,a4paper,landscape]{article} \usepackage[x11names]{xcolor} \usepackage{pst-tree} \topmargin=-5cm \textwidth=27cm \textheight=20cm \hoffset=-7cm \begin{document} \begin{pspicture}(0,0)(17,18) \pnode(7,9.5){E2} \def\psedge#1#2{\ncangle{#2}{#1}} \psset{armB=3.0, angleB=0, angleA=180, arrows=-, nodesepA=3pt}% \uput{0pt}[0]{0}(E2){\pstree[treemode=R, treesep=2.0, levelsep=4.0]{\Tp}{\Tr{declarative}\pstree[armB=4.0,treemode=R, treesep=1.2, levelsep=5.5]{\Tr[name=Tree1]{modality}\taput[labelsep=1.3]{\hspace{-5em}\color{Red1}INDICATIVE}\tbput[labelsep=-0.9]{\hspace{-8.5em}\color{Red1}TYPE}}{\Tr[name=Tree2]{\color{Blue1}yes/no}\taput[labelsep=-0.5]{\hspace{-2em}\color{Red1}INTERROGATIVE}\ tbput[labelsep=0.9]{\hspace{-3em}\color{Red1}TYPE}\Tr{\color{Blue1}wh-}}}} \pscircle*[linecolor=Blue2](Tree1){5pt} \pscircle*[linecolor=Red2](Tree2){5pt} \psline[linecolor=Green3,arrows=->](14,6)(15.6,8.7) \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Thu Nov 21 09:30:42 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 21 Nov 2013 09:30:42 +0100 Subject: [pstricks] pst-tree In-Reply-To: References: <, > <528CFE0B.2080604@FU-Berlin.DE> Message-ID: <528DC4B2.2000805@FU-Berlin.DE> Am 20.11.2013 23:18, schrieb Poul Riis: > Thank you, but I cannot get exactly the node that I want - the one at > the end of the arrow.... that one is unknown and depends to the definition of \ncangle However, you can try to define a armA=1cm then you'll know the distance Herbert From Poul.Riis at skolekom.dk Thu Nov 21 15:19:23 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Thu, 21 Nov 2013 15:19:23 +0100 Subject: [pstricks] pst-tree In-Reply-To: <528DC4B2.2000805@FU-Berlin.DE> References: <,> <528CFE0B.2080604@FU-Berlin.DE> <,> <,> <528DC4B2.2000805@FU-Berlin.DE> Message-ID: With the solution below I can change the value of treesep without having to manually adjust the positions of the texts. Poul Riis \documentclass[10pt,a4paper,landscape]{article} \usepackage[x11names]{xcolor} \usepackage{pst-tree} \topmargin=-5cm \textwidth=27cm \textheight=20cm \hoffset=-7cm \begin{document} \begin{pspicture}(0,0)(17,18) \pnode(7,9.5){E2} \def\psedge#1#2{\ncangle{#2}{#1}} \psset{armB=3.0, angleB=0, angleA=180, arrows=-, nodesepA=3pt}% \uput{0pt}[0]{0}(E2){\pstree[treemode=R, treesep=4.0, levelsep=4.0]{\Tp[name=TA]}{\Tr[name=TB1]{declarative}\pstree[armB=4.0,treemode=R, treesep=3, levelsep=5.5]{\Tr[name=TB2]{modality}}{\Tr[name=TC1]{\color{Blue1}yes/no}\Tr[name=TC2]{\color{Blue1}wh-}}}} \midAB(TC1)(TC2){TC12} \midAB(TB2)(TC12){TBC12} \uput{3pt}[90]{0}(TBC12){INTERROGATIVE} \uput{3pt}[270]{0}(TBC12){TYPE} \midAB(TB1)(TB2){TB12} \midAB(TA)(TB12){TAB12} \uput{3pt}[90]{0}(TAB12){declarative} \uput{3pt}[270]{0}(TAB12){modality} %\pscircle*[linecolor=Red2](TB2){1.5pt} %\pscircle*[linecolor=Red2](TC1){1.5pt} %\pscircle*[linecolor=Red2](TC2){1.5pt} %\pscircle*[linecolor=Blue2](TBC12){1.5pt} \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From the.counterterrorist at yahoo.com Sun Nov 24 22:30:53 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Sun, 24 Nov 2013 13:30:53 -0800 Subject: [pstricks] There is a typo in pstricks.pro history file Message-ID: <1385328653.22878.YahooMailNeo@web162603.mail.bf1.yahoo.com> Dear folks, I found a typo in pstricks.pro history file. The correct is 0 <= Rand <= 0.5 (not 0<=Rand<=1) ?as illustrated in the following code \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-node,pst-plot} \begin{document} \begin{pspicture}[showgrid](4,1) \curvepnodes[plotpoints=200]{0}{4}{t Rand}{A} \psnline[linejoin=1](0,\Anodecount){A} \end{pspicture} \end{document} Thank you. Best regards, Donut E. Knot (http://tex.stackexchange.com/users/19356/donut-e-knot) ----------------------------- pstricks.pro ---------------------- 1.04 ?2008-05-11 ?- added Rand for a real random 0<=Rand<=1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From the.counterterrorist at yahoo.com Tue Nov 26 22:48:50 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Tue, 26 Nov 2013 13:48:50 -0800 Subject: [pstricks] A request for a new key "infix" as an alias for algebraic key Message-ID: <1385502530.98802.YahooMailNeo@web162606.mail.bf1.yahoo.com> Dear folks, If the key `algebraic` was ?created to?distinguish postfix notation which is the default from the infix one, I think, the term `algebraic` is misleading here. The `algebraic` should be used to distinguish `algebraic` form from the `transcendental` one. Some newbies (who have mathematics background) get confused ?with `algebraic` key as they think it is used only for algebraic functions rather than the transcendental ones. Can you imagine that they will set `algebraic=true` for plotting algebraic functions but `algebraic=false` for plotting transcendental ones? It really happened when I taught my students several days ago. It seems funny, doesn't it? If you don't mind, could you give a new key `infix` which is actually an alias for `algebraic`? Implementing `infix` is really useful to prevent newbies from getting confusion with inconsistent syntax and terminologies. Thank you in advance. Best regards, Donut E. Knot (http://tex.stackexchange.com/users/19356/donut-e-knot) -------------- next part -------------- An HTML attachment was scrubbed... URL: From the.counterterrorist at yahoo.com Fri Nov 29 06:06:09 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Thu, 28 Nov 2013 21:06:09 -0800 Subject: [pstricks] !!CP does not work with \translate Message-ID: <1385701569.30987.YahooMailNeo@web162605.mail.bf1.yahoo.com> Dear folks, I have updated my system to pstricks.tex 2.47 released on Nov 26, 2013. But `!!CP` syntax does not work with `\translate`. \listfiles \documentclass[pstricks,border=12pt]{standalone} \usepackage{pstricks-add} \psset{showpoints,dotstyle=o,dotscale=2} \begin{document} % WORKS! \makeatletter \begin{pspicture}[showgrid](-5,-5)(5,5) \pscustom[linecolor=red] { \moveto(0,0) \multido{\r=0.1+0.1}{89}{\translate(!CP \tx at UserCoor)\lineto(!1 \r\space sqrt 700 mul PtoC)} } \end{pspicture} \makeatother % DOES NOT WORK! \begin{pspicture}[showgrid](-5,-5)(5,5) \pscustom[linecolor=red] { \moveto(0,0) \multido{\r=0.1+0.1}{89}{\translate(!!CP)\lineto(!1 \r\space sqrt 700 mul PtoC)} } \end{pspicture} \end{document} What is wrong? Best regards, Donut E. Knot (http://tex.stackexchange.com/users/19356/donut-e-knot) -------------- next part -------------- An HTML attachment was scrubbed... URL: From the.counterterrorist at yahoo.com Tue Dec 3 13:42:50 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Tue, 3 Dec 2013 04:42:50 -0800 Subject: [pstricks] Option -r10000 should not be passed to GhostScript when using pst-tree Message-ID: <1386074570.8884.YahooMailNeo@web162606.mail.bf1.yahoo.com> Dear folks, I think the cause spotted by Herbert Voss in?http://tex.stackexchange.com/a/136209/19356 should be documented in pst-tree manual to avoid other people getting the same issue in the future. In my opinion, this issue is not easy to figure out. Thank you. best regards, Donut E. Knot (http://tex.stackexchange.com/users/19356/donut-e-knot) -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Dec 4 22:28:37 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 4 Dec 2013 22:28:37 +0100 Subject: [pstricks] Fwd: package In-Reply-To: <1386192281.34927.YahooMailNeo@web173104.mail.ir2.yahoo.com> References: <1386192281.34927.YahooMailNeo@web173104.mail.ir2.yahoo.com> Message-ID: <529F9E85.5070509@FU-Berlin.DE> -------- Original-Nachricht -------- Betreff: package Datum: Wed, 4 Dec 2013 21:24:41 +0000 Von: EL FILALI SAID Antwort an: EL FILALI SAID An: hvoss at tug.org Hello. it is possible to really program a package pstricks on in order to draw the diagrams of relative Bode for the gain so the phase Tanks From skostysh at lyx.org Thu Dec 5 05:46:00 2013 From: skostysh at lyx.org (Scott Kostyshak) Date: Wed, 4 Dec 2013 23:46:00 -0500 Subject: [pstricks] ps2pdf fails with PSTricks v2.48 on a file for which it worked with v2.47 Message-ID: Dear all, (I am not subscribed to the list; I would appreciate it if you would CC me if that is acceptable on this list.) A file that used to compile with PSTricks v2.47 does not compile with v2.48. By "compile" I mean that the following chain runs without error: latex myfile.tex && dvips myfile.dvi && ps2pdf myfile.ps The command in the chain that fails is the ps2pdf. It fails with "Error: /undefined in InitOL" (see the logs for more information). I know nothing about PSTricks and have no idea whether this is a poorly written LaTeX file, so I would appreciate any advice on where the correct place to report the problem is. I looked in the changeLogs and did not see any mention of something that was deprecated. I did see "deleted the overlay stuff". Perhaps that is relevant? I am on Ubuntu 13.10 with a manually installed and up-to-date TeX Live 2013 installation. I noted the failure, reverted to the previous PSTricks version with tlmgr, confirmed that it works there, upgraded again (the only change being PSTricks) and reconfirmed the failure there. Using git bisect terminology, the "good" TeX Live package revision is 32254 and the "bad" package revision is 32283. I am unsure what the convention is for acceptable type and size of attachments so I am attaching the ps2pdf output and the .tex file that produced the behavior I described here. In addition, below are links to intermediate and information files from running the command specified above on the "good" and "bad" package revisions: https://www.dropbox.com/s/u3ftefvwgn0c4t6/logs_bad.tar.gz https://www.dropbox.com/s/zwn9f9jy5bz4ksg/logs_good.tar.gz Please let me know if there's any other information that I could give you or if it would be helpful for me to trim down the .tex file that I'm sending to more of an MWE. I would appreciate any advice on locating the source of the problem. Finally, thank you for your work on PSTricks! It is much appreciated. Best, Scott -------------- next part -------------- $ ps2pdf powerdot-example.ps Error: /undefined in InitOL Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop 1899 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1175/1684(ro)(G)-- --dict:0/20(G)-- --dict:119/200(L)-- --dict:196/300(L)-- --dict:112/200(L)-- Current allocation mode is local Current file position is 287921 GPL Ghostscript 9.10: Unrecoverable error, exit code 1 $ -------------- next part -------------- A non-text attachment was scrubbed... Name: powerdot-example.tex Type: application/x-tex Size: 5944 bytes Desc: not available URL: From Poul.Riis at skolekom.dk Sun Dec 8 11:12:50 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Sun, 8 Dec 2013 11:12:50 +0100 Subject: [pstricks] psbrace problem Message-ID: The project below works fine. However, if I uncomment Blindtext, I get an error message from GhostView, which begins with literal can be of the form [a-zA-Z][a-zA-Z0-9]*\(\((Expression)\)|\(\[Expression\]\)\)? Unknown in Prolog section at line 1332: %% STR index -> literal STR index' nextchr Unknown in Prolog section at line 1339: and ends with Displaying page 1 Displaying page 2 Error: /undefined in lb Operand stack: 0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- false 1 %stopped_push 1932 1 3 %oparray_pop 1931 1 3 %oparray_pop 1915 1 3 %oparray_pop 1803 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1182/1684(ro)(G)-- --dict:0/20(G)-- --dict:165/200(L)-- --dict:184/300(L)-- --dict:106/200(L)-- --dict:52/400(L)-- --dict:0/10(L)-- --dict:106/200(L)-- Current allocation mode is local Last OS error: No such file or directory --- Begin offending input --- %%Page: 2 2 TeXDict begin 2 1 bop 0 TeXcolorgray 0 TeXcolorgray 0 TeXcolorgray 0 TeXcolorgray 0 TeXcolorgray 168 3061 a tx at Dict begin tx at NodeDict begin { 0 0 14.22636 mul exch 14.22636 mul exch } false /N at A0 10 {InitPnode } /NodeScale {} def NewNode end end 168 3061 a 168 3061 a tx at Dict begin tx at NodeDict begin { 0 lb 14.22636 mul exch 14.22636 mul exch } false /N at A1 10 {InitPnode } /NodeScale {} def NewNode end end 168 3061 a 168 3061 a tx at Dict begin tx at NodeDict begin { 0 lb xh add 14.22636 mul exch 14.22636 mul exch } false /N at A2 10 {InitPnode } /NodeScale {} def NewNode end end 168 3061 a 168 3061 a tx at Dict begin tx at NodeDict begin { 0 lb xh add hh add 14.22636 mul exch 14.22636 mul exch } false /N at A3 10 {InitPnode } /NodeScale {} def NewNode end end 168 3061 a 168 3061 a tx at Dict begin tx at NodeDict begin { 0 lb xh add hh add ss add 14.22636 mul exch 14.22636 mul exch } false /N at A4 10 {InitPnode } /NodeScale {} def NewNode end end 168 3061 a 168 3061 a tx at Dict begin tx at NodeDict begin --- End offending input --- file offset = 241217 gsapi_run_string_continue returns -101 It seems to have something to do with psbrace.... What can I do? Poul Riis \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[danish]{babel} \usepackage[dvips,svgnames,x11names,hyperref]{xcolor} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amsfonts} \usepackage[left=1.5cm,right=1.0cm,top=1.5cm,bottom=1.5cm]{geometry} \usepackage{pst-node} \usepackage{pstricks-add} \usepackage{blindtext} \begin{document} \section*{...} %\Blindtext[5][1] \pstVerb{/hh 17.8 def /xx 7.5 def /lt 1.1 def /ss xx 2 div 30 cos div def /lb 0.6 def /ls 1.2 def /xh xx 2 div def} \psset{linecolor=Blue2} \psset{xunit=5mm,yunit=5mm} \begin{center} \begin{pspicture}(0,-1)(30,28) \pnode(!0 0){A0} \pnode(!0 lb){A1} \pnode(!0 lb xh add){A2} \pnode(!0 lb xh add hh add){A3} \pnode(!0 lb xh add hh add ss add){A4} \pnode(!0 lb xh add hh add ss add lt add){A5} \pnode(!ls 0){B0} \pnode(!ls lb){B1} \pnode(!ls lb xh add){B2} \pnode(!ls lb xh add hh add){B3} \pnode(!ls lb xh add hh add ss add){B4} \pnode(!ls lb xh add hh add ss add lt add){B5} \pnode(!ls xx 4 mul add 0){C0} \pnode(!ls xx 4 mul add lb){C1} \pnode(!ls xx 4 mul add lb xh add){C2} \pnode(!ls xx 4 mul add lb xh add hh add){C3} \pnode(!ls xx 4 mul add lb xh add hh add ss add){C4} \pnode(!ls xx 4 mul add lb xh add hh add ss add lt add){C5} \psframe*[linecolor=Cornsilk1](B2)(C4) \psline(A0)(C0) \psline[linestyle=dotted](A1)(C1) \psline[linestyle=solid](A2)(C2) \psline[linestyle=solid](A3)(C3) \psline[linestyle=solid](A4)(C4) \psline[linestyle=solid](A5)(C5) \psline[linestyle=solid](A0)(A5) \psline[linestyle=dotted](B0)(B5) \psline[linestyle=solid](C0)(C5) \psset{braceWidthInner=0.1,braceWidth=0.025,braceWidthOuter=0.1,ref=lC,nodesepA=0.2,nodesepB=0.2,linecolor=Red4} \psbrace*(C0)(C1){$l_b$} \psbrace*(C1)(C2){$x/2$} \psbrace*(C2)(C3){$h$} \psbrace*(C3)(C4){$s$} \psbrace*(C4)(C5){$l_t$} \psset{braceWidthInner=0.1,braceWidth=0.025,braceWidthOuter=0.1,ref=lC,nodesepA=-0.2,nodesepB=0.4,linecolor=Red4} \psbrace*(A0)(B0){$l_s$} \psbrace*(B0)(C0){$4x$} \psset{linecolor=black,linestyle=dashed,linewidth=0.25pt} \psline(!ls xx add 0)(!ls xx add lb xh add hh add ss add lt add) \psline(!ls xx 2 mul add 0)(!ls xx 2 mul add lb xh add hh add ss add lt add) \psline(!ls xx 3 mul add 0)(!ls xx 3 mul add lb xh add hh add ss add lt add) \end{pspicture}\\ \end{center} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Dec 8 11:28:09 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 8 Dec 2013 11:28:09 +0100 Subject: [pstricks] psbrace problem In-Reply-To: References: Message-ID: <52A449B9.2070206@FU-Berlin.DE> Am 08.12.2013 11:12, schrieb Poul Riis: > The project below works fine. > However, if I uncomment Blindtext, I get an error message from > GhostView, which begins with > literal can be of the form > [a-zA-Z][a-zA-Z0-9]*\(\((Expression)\)|\(\[Expression\]\)\)? > > It seems to have something to do with psbrace.... > > What can I do? You have a pagebreak between the Blindtext and the following pspicture environment. But \pstVerb writes all definitions on the first page. PostScript is a page coded language. Definitions are only valid for the current page if not defined as global. However, insert a manual pagebreak: [...] > \begin{document} > > \section*{...} > %\Blindtext[5][1] \newpage > \pstVerb{/hh 17.8 def /xx 7.5 def /lt 1.1 def /ss xx 2 div 30 cos div > def /lb 0.6 def /ls 1.2 def /xh xx 2 div def} > \psset{linecolor=Blue2} > \psset{xunit=5mm,yunit=5mm} > \begin{center} > \begin{pspicture}(0,-1)(30,28) [...] Herbert From Poul.Riis at skolekom.dk Sun Dec 8 11:37:23 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Sun, 8 Dec 2013 11:37:23 +0100 Subject: [pstricks] psbrace problem In-Reply-To: <52A449B9.2070206@FU-Berlin.DE> References: <52A449B9.2070206@FU-Berlin.DE> Message-ID: I already tried that but it doesn't seem to help as long as there are \psbrace commands. By the way - is there a trick to make the \pstVerb variables transferred to all pages? Poul Riis -------------- next part -------------- An HTML attachment was scrubbed... URL: From azzam.hassan at voila.fr Sun Dec 8 11:53:44 2013 From: azzam.hassan at voila.fr (azzam.hassan at voila.fr) Date: Sun, 8 Dec 2013 11:53:44 +0100 Subject: [pstricks] ps problem with powerdot In-Reply-To: Message-ID: <1303091030.296951386500024042.JavaMail.www@wwinf7127> Hi all pstrickers I dont know if this mailing list is the right place to this post, but any help is welcome. I use powerdot to produce sildes. Recently i update my miktex2.9 as i usually do every month. But after this i found that my files that use powerdot does not work especially the generation of the ps file: here below a minimal example (that does not work with my miktex2.9 installation on my machine actuallt): \documentclass{powerdot} \usepackage{lmodern} \usepackage[utf8]{inputenc} %\usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[finnish]{babel} \usepackage{amsmath,amssymb} %\usepackage{psfrag} \usepackage{media9} % \begin{document} \begin{slide}{Esimerkki D1} bla bla bla \end{slide} \end{document} Thanks a lot for your help Cordialement Azzam HASSAN ___________________________________________________________ Shopping No?l : Des id?es cadeaux au juste prix ? voir sur Voila.fr http://shopping.voila.fr/vitrine/jouets/p_7/prods_9 From Herbert.Voss at FU-Berlin.DE Sun Dec 8 11:53:57 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 8 Dec 2013 11:53:57 +0100 Subject: [pstricks] psbrace problem In-Reply-To: References: <52A449B9.2070206@FU-Berlin.DE> Message-ID: <52A44FC5.2080301@FU-Berlin.DE> Am 08.12.2013 11:37, schrieb Poul Riis: > I already tried that but it doesn't seem to help as long as there are > \psbrace commands. I had no problem. > By the way - is there a trick to make the \pstVerb variables transferred > to all pages? put \pstVerb into the pspicture environment and everything will be fine. Herbert From Poul.Riis at skolekom.dk Sun Dec 8 22:19:57 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Sun, 8 Dec 2013 22:19:57 +0100 Subject: [pstricks] psbrace problem In-Reply-To: <52A44FC5.2080301@FU-Berlin.DE> References: <52A449B9.2070206@FU-Berlin.DE> <52A44FC5.2080301@FU-Berlin.DE> Message-ID: Graphics with PSTricks writes: >put \pstVerb into the pspicture environment and everything will >be fine. Not on my computer!? Below is a more minimalistic example. It works with blindtext, without psbrace. It works without blindtext, with psbrace. It does not work when both blindtext and psbrace are activated!? Poul Riis \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[dvips,svgnames,x11names,hyperref]{xcolor} \usepackage[left=1.5cm,right=1.0cm,top=1.5cm,bottom=1.5cm]{geometry} \usepackage{pstricks-add} \usepackage{blindtext} \begin{document} ~ \Blindtext[6][1] \begin{pspicture}(6,4) \pstVerb{/xp 6 def /yp 4 def} \pnode(0,0){O} \pnode(!xp yp){P} \psframe*[linecolor=Cornsilk1](O)(P) \psbrace*[linecolor=Green3](O)(P){OP} \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Dec 8 23:09:38 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 8 Dec 2013 23:09:38 +0100 Subject: [pstricks] psbrace problem In-Reply-To: References: <52A449B9.2070206@FU-Berlin.DE> <52A44FC5.2080301@FU-Berlin.DE> Message-ID: <52A4EE22.1060403@FU-Berlin.DE> Am 08.12.2013 22:19, schrieb Poul Riis: > *Graphics with PSTricks > > writes:* > put \pstVerb into the pspicture environment and everything will > be fine. > Not on my computer!? > > Below is a more minimalistic example. > It works with blindtext, without psbrace. > It works without blindtext, with psbrace. > It does not work when both blindtext and psbrace are activated!? no problem here with xurrent TL2013 Herbert *File List* article.cls 2007/10/19 v1.4h Standard LaTeX document class size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option) inputenc.sty 2008/03/30 v1.1d Input encoding file latin1.def 2008/03/30 v1.1d Input encoding file fontenc.sty t1enc.def 2005/09/27 v1.99g Standard LaTeX file xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) svgnam.def 2007/01/21 v2.11 Predefined colors according to SVG 1.1 (UK) x11nam.def 2007/01/21 v2.11 Predefined colors according to Unix/X11 (UK) geometry.sty 2010/09/12 v5.6 Page Geometry keyval.sty 1999/03/16 v1.13 key=value parser (DPC) ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO) ifvtex.sty 2010/03/01 v1.5 Detect VTeX and its facilities (HO) ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv ) pstricks.sty 2013/10/21 v0.59 LaTeX wrapper for `PSTricks' (RN,HV) pstricks.tex 2013/11/29 v2.48 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2012/10/14 v2.6b package option processing (HA) xkeyval.tex 2012/10/14 v2.6b key=value parser (HA) pst-fp.tex 2013/11/29 v2.48 `PST-fp' (hv) pstricks.pro 2012/10/16 v. 1.15, PostScript prologue file (hv) pst-algparser.pro 2011/10/31 v. 0.04, PostScript prologue file (hv) pst-tools.pro 2012/01/01 v. 0.02, PostScript prologue file (hv) pst-dots.pro 2006/12/19 v. 2.00, PostScript prologue file (hv) pst-plot.sty 2011/04/13 package wrapper for pst-plot.tex (hv) pst-xkey.sty 2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA) multido.sty 2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN) multido.tex 2010/05/14 v1.42 `multido' (tvz,hv) pst-plot.tex 2013/12/01 1.57 `pst-plot' (tvz,hv) pst-node.sty 2010/04/22 package wrapper for pst-node.tex pst-node.tex 2013/10/22 1.31 `pst-node' (tvz,hv) pst-node.pro 2011/09/18 v. 1.14, PostScript prologue file (hv) pst-3d.sty 2009/07/28 package wrapper for pst-3d.tex (hv) pst-3d.tex 2010/02/14 v1.11 `PST-3d' (hv) pst-3d.pro 2010/01/01 v. 0.01, PostScript prologue file (hv) pst-math.sty 2009/01/20 package wrapper for PSTricks pst-math.tex pst-math.pro 2010/10/02 v. 0.61, PostScript prologue file (hv) pstricks-add.tex 2013/11/13 v3.62 `PSTricks-add' (hv) pstricks-add.pro 2009/12/17 v. 0.23, PostScript prologue file (hv) pstricks-add.cfg 2005/01/10 v0.1 addtional user stuff (hv) blindtext.sty 2012/01/06 V2.0 blindtext-Package xspace.sty 2009/10/20 v1.13 Space after command names (DPC,MH) *********** From XC-lemens at web.de Mon Dec 9 08:07:22 2013 From: XC-lemens at web.de (=?ISO-8859-1?Q?Clemens_Sch=E4fermeier?=) Date: Mon, 9 Dec 2013 08:07:22 +0100 Subject: [pstricks] psbrace problem In-Reply-To: References: <52A449B9.2070206@FU-Berlin.DE> <52A44FC5.2080301@FU-Berlin.DE> Message-ID: <52A56C2A.7010707@web.de> With an up-to-date Miktex 32bit dist., it's working flawless. Am 08/12/2013 22:19, schrieb Poul Riis: > *Graphics with PSTricks > > writes:* > put \pstVerb into the pspicture environment and everything will > be fine. > Not on my computer!? > > Below is a more minimalistic example. > It works with blindtext, without psbrace. > It works without blindtext, with psbrace. > It does not work when both blindtext and psbrace are activated!? > > Poul Riis > > \documentclass[12pt,a4paper]{article} > \usepackage[latin1]{inputenc} > \usepackage[T1]{fontenc} > \usepackage[dvips,svgnames,x11names,hyperref]{xcolor} > \usepackage[left=1.5cm,right=1.0cm,top=1.5cm,bottom=1.5cm]{geometry} > \usepackage{pstricks-add} > \usepackage{blindtext} > > \begin{document} > ~ > \Blindtext[6][1] > \begin{pspicture}(6,4) > \pstVerb{/xp 6 def /yp 4 def} > \pnode(0,0){O} > \pnode(!xp yp){P} > \psframe*[linecolor=Cornsilk1](O)(P) > \psbrace*[linecolor=Green3](O)(P){OP} > \end{pspicture} > \end{document} > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From Poul.Riis at skolekom.dk Mon Dec 9 19:20:20 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Mon, 9 Dec 2013 19:20:20 +0100 Subject: [pstricks] psbrace problem In-Reply-To: <52A56C2A.7010707@web.de> References: <52A449B9.2070206@FU-Berlin.DE> <52A44FC5.2080301@FU-Berlin.DE> <52A56C2A.7010707@web.de> Message-ID: I still wonder why I can do all sorts of things without problems (\pspolygon, \psline and so on, see below) - except \psbrace. I also tried texlive - it is true that the figure is produced, also with \psbrace, but ghostscript complains.... Poul Riis \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[dvips,svgnames,x11names,hyperref]{xcolor} \usepackage[left=1.5cm,right=1.0cm,top=1.5cm,bottom=1.5cm]{geometry} \usepackage{pstricks-add} \usepackage{blindtext} \begin{document} ~ \Blindtext[6][1] \begin{pspicture}(6,4) \pstVerb{/xp 6 def /yp 4 def} \pnode(0,0){O} \pnode(!xp yp){P} \pnode(!xp 2 div yp 2 div){M} \pnode(!xp 3 div yp 2 mul 3 div){A} \psframe*[linecolor=Cornsilk1](O)(P) \pspolygon*[linecolor=Gold1](O)(A)(M) \psline[linecolor=Blue1](A)(M) \pscircle*(M){2pt} \ncline[linecolor=Green3]{A}{P} %\psbrace*[linecolor=Green3](M)(P){MP} \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Dec 9 19:38:20 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 9 Dec 2013 19:38:20 +0100 Subject: [pstricks] psbrace problem In-Reply-To: References: <52A449B9.2070206@FU-Berlin.DE> <52A44FC5.2080301@FU-Berlin.DE> <52A56C2A.7010707@web.de> Message-ID: <52A60E1C.5050004@FU-Berlin.DE> Am 09.12.2013 19:20, schrieb Poul Riis: > I still wonder why I can do all sorts of things without problems > (\pspolygon, \psline and so on, see below) - except \psbrace. > > I also tried texlive - it is true that the figure is produced, also with > \psbrace, but ghostscript complains.... voss at shania:~/Test> gs -v GPL Ghostscript 9.07 (2013-02-14) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. Herbert From Poul.Riis at skolekom.dk Mon Dec 9 20:13:40 2013 From: Poul.Riis at skolekom.dk (Poul Riis) Date: Mon, 9 Dec 2013 20:13:40 +0100 Subject: [pstricks] psbrace problem In-Reply-To: <52A60E1C.5050004@FU-Berlin.DE> References: <52A449B9.2070206@FU-Berlin.DE> <52A44FC5.2080301@FU-Berlin.DE> <52A56C2A.7010707@web.de> <52A60E1C.5050004@FU-Berlin.DE> Message-ID: Graphics with PSTricks writes: >voss at shania:~/Test> gs -v >GPL Ghostscript 9.07 (2013-02-14) >Copyright (C) 2012 Artifex Software, Inc. All rights reserved. I don't know if this is a message but I just updated my Ghostscript to version 9.10. That didn't change anything at all. Poul Riis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Dec 9 21:37:28 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 9 Dec 2013 21:37:28 +0100 Subject: [pstricks] psbrace problem In-Reply-To: References: <52A449B9.2070206@FU-Berlin.DE> <52A44FC5.2080301@FU-Berlin.DE> <52A56C2A.7010707@web.de> <52A60E1C.5050004@FU-Berlin.DE> Message-ID: <52A62A08.5040103@FU-Berlin.DE> Am 09.12.2013 20:13, schrieb Poul Riis: > *Graphics with PSTricks > > writes:* > voss at shania:~/Test> gs -v > GPL Ghostscript 9.07 (2013-02-14) > Copyright (C) 2012 Artifex Software, Inc. All rights reserved. > I don't know if this is a message but I just updated my Ghostscript to > version 9.10. That didn't change anything at all. Describe exactly what system do you have installed. I have SUSE Linux 13.1 with up-to-date TL 2013 from tug.org. Herbert From cyrille.piatecki at univ-orleans.fr Sat Dec 14 07:42:52 2013 From: cyrille.piatecki at univ-orleans.fr (Cyrille Piatecki) Date: Sat, 14 Dec 2013 07:42:52 +0100 Subject: [pstricks] simplicial subdivision Message-ID: <52ABFDEC.1090308@univ-orleans.fr> Hi all, is there some one who could give me the code to easely plot a simplicial subdivision of a triangle and above all a tetrahedron By advance thanks Cyrille Piatecki From hampe at tvt.tu-darmstadt.de Sun Dec 15 01:03:44 2013 From: hampe at tvt.tu-darmstadt.de (Manfred J. Hampe) Date: Sun, 15 Dec 2013 01:03:44 +0100 Subject: [pstricks] Problem with powerdot after updating pstricks Message-ID: <003901cef929$21f988a0$65ec99e0$@tvt.tu-darmstadt.de> Hi, I updated pstricks recently from the version of 23-Oct-13 to the version of 04-Dec-13. With the new version tex-files using the powerdot package still compile to dvi and ps files without error, but the ps files cannot be viewed any longer with ghostview. The error can be produced by compiling the powerdot example files. Any ideas to get rid of the problem? Mens agitat molem / Der Geist bewegt die Materie / Mind drives matter Mit freundlichen Gruessen / Yours sincerely, Manfred J. Hampe From Herbert.Voss at FU-Berlin.DE Sun Dec 15 17:20:35 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 15 Dec 2013 17:20:35 +0100 Subject: [pstricks] Problem with powerdot after updating pstricks In-Reply-To: <003901cef929$21f988a0$65ec99e0$@tvt.tu-darmstadt.de> References: <003901cef929$21f988a0$65ec99e0$@tvt.tu-darmstadt.de> Message-ID: <52ADD6D3.4050305@FU-Berlin.DE> Am 15.12.2013 01:03, schrieb Manfred J. Hampe: > I updated pstricks recently from the version of 23-Oct-13 to the version of > 04-Dec-13. With the new version tex-files using the powerdot package still > compile to dvi and ps files without error, but the ps files cannot be viewed > any longer with ghostview. > > The error can be produced by compiling the powerdot example files. > > Any ideas to get rid of the problem? \usepackage{pst-ovl} Herbert From germain.boyer at ac-toulouse.fr Sat Dec 21 19:07:58 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Sat, 21 Dec 2013 19:07:58 +0100 Subject: [pstricks] pb with dotstyle=+ Message-ID: Bonjour, I use windows 7 and miktex portable. In my pc when i do psdots[dotstyle=+](1,1) the point is not in the right place but when i do psdots[dotstyle=x,dotangle=45](1,1) the point is correct. Is it the same in your pc ? Other question : is it possible to write a key dotlinewidth to control the linewidth of the point ? For example psdots[dotstyle=x,dotangle=45,dotsize=5mm,dotlinewith=0.2mm](1,1)(2,3) Thanks for your answers. Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Dec 22 10:35:23 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 22 Dec 2013 10:35:23 +0100 Subject: [pstricks] pb with dotstyle=+ In-Reply-To: References: Message-ID: <52B6B25B.5080104@FU-Berlin.DE> Am 21.12.2013 19:07, schrieb Germain BOYER: > I use windows 7 and miktex portable. > In my pc when i do psdots[dotstyle=+](1,1) the point is not in the right > place but when i do psdots[dotstyle=x,dotangle=45](1,1) the point is > correct. > Is it the same in your pc ? I cannot see any difference. Please provide a _complete_ example which shows the problem together with the file list (\listfiles} > Other question : is it possible to write a key dotlinewidth to control > the linewidth of the point ? > For example > psdots[dotstyle=x,dotangle=45,dotsize=5mm,dotlinewith=0.2mm](1,1)(2,3) only possible for symbols which are not taken from a font. Herbert From germain.boyer at ac-toulouse.fr Sun Dec 22 16:38:55 2013 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Sun, 22 Dec 2013 16:38:55 +0100 Subject: [pstricks] PSTricks Digest, Vol 131, Issue 10 References: Message-ID: Bonjour Herbert, I send you an example. It's a strange problem of viewer. With texworks viewer , pdf-xchange viewer and foxit reader the dots with dotstyle=+ are not in the right place. And when i print there are not in the right place. With gsview and sumatrapdf all is good. And when i print all is good. \documentclass[a4paper,french,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsfonts} \usepackage[dvipsnames]{pstricks} \usepackage{pstricks-add} \usepackage{geometry} \geometry{a4paper,dvips} \geometry{portrait} \geometry{nohead,nofoot,left=1cm,right=1cm,top=1cm,bottom=1cm} \usepackage{fourier} \usepackage[scaled=0.875]{helvet} \renewcommand{\ttdefault}{lmtt} \usepackage[french]{babel} \frenchbsetup{StandardLists=true,AutoSpacePunctuation=false} \begin{document} \psset{unit=1cm} \begin{pspicture}(-1,-1)(5,5) \psset{gridcolor=gray , gridwidth=0.15mm , gridlabels=0pt , subgriddiv=1} \psgrid(-1,-1)(5,5) \psaxes[arrows=-> , linewidth=1pt , tickwidth=1pt](0,0)(-1,-1)(5,5) \psdots[dotstyle=+ , dotsize=2.5mm](1,1)(2,2)(3,3) \psdots[dotstyle=x , angle=45 , dotsize=2.5mm](2,1)(3,2)(4,3) \end{pspicture} \end{document} Germain -------------- next part -------------- An HTML attachment was scrubbed... URL: From grivet at cnrs-orleans.fr Mon Dec 23 12:13:39 2013 From: grivet at cnrs-orleans.fr (grivet) Date: Mon, 23 Dec 2013 12:13:39 +0100 Subject: [pstricks] Ghostview/Ghostscript In-Reply-To: References: Message-ID: <52B81AE3.3030505@cnrs-orleans.fr> Hi, I have a problem displaying a file under ghostview/ghostscript/Win7. Although this is probably not the best suited newsgroup for my query, perhaps somebody can give me a hint or direct me to a more appropriate newsgroup. I have an .eps file ("AMX_ph3d.eps") which I can display without problem using Ghostview. Thr problem arises when I try to include this same file in a text (using emacs/miktek), say essai.tex. A simplified latex program follows. \documentclass[A4,12pt]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{graphicx} \setlength{\oddsidemargin}{-5.4mm} \setlength{\textwidth}{16cm} %\setlength{\topmargin}{4.6mm} \setlength{\textheight}{22cm} \pagestyle{empty} \listfiles \begin {document} blablabla\\ \begin{figure} \centering \includegraphics[height=10cm]{AMX_ph3d.eps} \caption{COSY spectrum of an AMX system} \label{fig:amx_2D} \end{figure} blablabla \end{document} Latex runs without any problem and dvips generates a .ps file without error messages. When I open essai.ps with Ghostview, the figure appears and then immediately vanishes. The problem is specific to this file, the sequence latex/dvips/ghostview works well with many other files. I would be quite grateful for any hint. JP Grivet From Herbert.Voss at FU-Berlin.DE Tue Dec 24 15:07:36 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 24 Dec 2013 15:07:36 +0100 Subject: [pstricks] Ghostview/Ghostscript In-Reply-To: <52B81AE3.3030505@cnrs-orleans.fr> References: <52B81AE3.3030505@cnrs-orleans.fr> Message-ID: <52B99528.7040907@FU-Berlin.DE> Am 23.12.2013 12:13, schrieb grivet: > I have a problem displaying a file under ghostview/ghostscript/Win7. > Although this is probably not the best suited newsgroup for my query, > perhaps somebody can give me a hint or direct me to a more appropriate > newsgroup. > > I have an .eps file ("AMX_ph3d.eps") which I can display without problem > using Ghostview. Thr problem arises when I try to include this same > file in a text (using emacs/miktek), say essai.tex. A simplified latex > program follows. can you provide the eps file for a download? > blablabla\\ by the way: such a \\ makes no sense here. Merry Christmas to all of you Herbert From the.counterterrorist at yahoo.com Thu Dec 26 09:24:41 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Thu, 26 Dec 2013 00:24:41 -0800 Subject: [pstricks] Modifying the implementation of Rand should be announced in pst-news13 Message-ID: <1388046281.90370.YahooMailNeo@web162604.mail.bf1.yahoo.com> Dear folks, I just realized that Rand had been tacitly changed from its default behavior (producing a random real number between 0 and 0.5 inclusive) to the new one (producing a random real number between 0 and 1 inclusive). IMHO, this change should be announced to the public via pst-news13.pdf to avoid causing the users to get confused. Thank you in advance. Best regards, Stiff Jokes http://tex.stackexchange.com/users/19356 -------------- next part -------------- An HTML attachment was scrubbed... URL: From erhardt at fh-offenburg.de Fri Dec 27 18:25:57 2013 From: erhardt at fh-offenburg.de (erhardt at fh-offenburg.de) Date: Fri, 27 Dec 2013 18:25:57 +0100 Subject: [pstricks] Font problem In-Reply-To: <1179871712@web.de> References: <1179871712@web.de> Message-ID: An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Fri Dec 27 20:24:26 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 27 Dec 2013 20:24:26 +0100 Subject: [pstricks] Font problem In-Reply-To: References: <1179871712@web.de> Message-ID: <52BDD3EA.4090107@FU-Berlin.DE> Am 27.12.2013 18:25, schrieb erhardt at fh-offenburg.de: > Now I have a Postscript Type I fonts problem: I am trying to install > the Akkadian Cuneiform font as described in > http://www-hep2.fzu.cz/~piska/cuneiform.html > I downloaded the ZIP file from the line > *Akkadian fonts* - Distribution in a TDS form (ZIP) > version 001.002 > - 20 July 2003 All files should be copied into a valid local tree, e.g. /usr/local/texlive/texmf-local/ for Linux - then run "texhash" (Linux) or update the FileNameDataBase (MikTeX) - then go into the directory dvips/cuneiform/ - then run "sudo updmap --enable Map=neoass.map" for Linux for MikTeX I didn't know how a map file can be added. After that the example should work. Herbert From msharpe at ucsd.edu Fri Dec 27 20:39:22 2013 From: msharpe at ucsd.edu (Michael Sharpe) Date: Fri, 27 Dec 2013 11:39:22 -0800 Subject: [pstricks] Font problem In-Reply-To: References: <1179871712@web.de> Message-ID: <4F1647CC-8100-4D8D-885E-CA2B81A9EDCD@ucsd.edu> On Dec 27, 2013, at 9:25 AM, erhardt at fh-offenburg.de wrote: > Dear Herbert Voss, > > I apologize in advance because this is definitely the wrong mailing list for my problem. > > But I had contact with you (in 2008) about a pstricks problem and no further problems since then. > (So, please just tell me the appropriate mailing list for my problem if you are not the correct person) > > Now I have a Postscript Type I fonts problem: I am trying to install the Akkadian Cuneiform font as described in > http://www-hep2.fzu.cz/~piska/cuneiform.html > I downloaded the ZIP file from the line > Akkadian fonts - Distribution in a TDS form (ZIP) version 001.002 - 20 July 2003 > on the mentioned site, it contains a minimum example ishtar.tex. > > texify.exe runs without errors, but when I try to run "dvips.exe" on the dvi file the required fonts are not found. > The error message is: > ' TeX output 2013.12.27:1748' -> ishtar.ps > dvips: Font naakcc not found; characters will be left blank. > dvips: Font naakca not found; characters will be left blank. > dvips: Font naakcb not found; characters will be left blank. > > pdfLatex gives the same result: runs, but the cuneiform characters are left blank. > > I have the feeling that I still need not create the fonts with some Metafont or Metapost program, but HOW? > Should that not run automatically when I install a new font? > I am running MikTeX 2.9 on Windows xp (sorry, a bit outdated but worked fine till now) > > Thanks in advance for any hint > Angelika Erhardt > > The link below contains a detailed account of adding a local texmf tree in MikTeX. It also contains a link explaining how to install a package manually. There is one thing you should do before before installing the package. As distributed, the map file is in an obsolete location not searched by TeXLive. (I don't know about MikTeX's search algorithm.) You should first modify the tds so that dvips/cuneiform/neoass.map is moved to fonts/map/dvips/cuneiform/neoass.map. http://tex.stackexchange.com/questions/69483/create-a-local-texmf-tree-in-miktex Michael From erhardt at fh-offenburg.de Sat Dec 28 15:03:15 2013 From: erhardt at fh-offenburg.de (A. Erhardt) Date: Sat, 28 Dec 2013 15:03:15 +0100 Subject: [pstricks] Font problem - successfully solved! In-Reply-To: <52BDD3EA.4090107@FU-Berlin.DE> References: <1179871712@web.de> , <52BDD3EA.4090107@FU-Berlin.DE> Message-ID: An HTML attachment was scrubbed... URL: From the.counterterrorist at yahoo.com Mon Dec 30 00:21:40 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Sun, 29 Dec 2013 15:21:40 -0800 Subject: [pstricks] Probably a bug in \nodexn Message-ID: <1388359300.33900.YahooMailNeo@web162603.mail.bf1.yahoo.com> Dear folks, I noticed \nodexn behaves abnormally as the following code represents. When C is constructed via \nodexn, it becomes rendered outside the canvas.? \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-eucl} \psset{saveNodeCoors} \begin{document} \begin{pspicture}[showgrid](-3,-1)(3,3) \pstGeonode (2,0){A} (2,2){B} (!N-A.x N-B.x add 4 div N-A.y N-B.y add 4 div 2.5 add){C} %\nodexn{.25(A)+.25(B)+(0,2.5)}{C'}% does not work %\pstGeonode(C'){C}% does not work \def\common{\psline(!N-A.x N-A.y)(!N-B.x N-B.y)(!N-C.x N-C.y)}% \pscustom { \common \reversepath \scale{-1 1} \common \closepath } \end{pspicture} \end{document} Thank you in advance. Best regards, Stiff Jokes (http://tex.stackexchange.com/users/19356) -------------- next part -------------- An HTML attachment was scrubbed... URL: From msharpe at ucsd.edu Mon Dec 30 00:45:31 2013 From: msharpe at ucsd.edu (Michael Sharpe) Date: Sun, 29 Dec 2013 15:45:31 -0800 Subject: [pstricks] Probably a bug in \nodexn In-Reply-To: <1388359300.33900.YahooMailNeo@web162603.mail.bf1.yahoo.com> References: <1388359300.33900.YahooMailNeo@web162603.mail.bf1.yahoo.com> Message-ID: <66A72292-4613-4B46-A5AD-3FC5A1054EE9@ucsd.edu> On Dec 29, 2013, at 3:21 PM, Donut E. Knot wrote: > Dear folks, > > I noticed \nodexn behaves abnormally as the following code represents. When C is constructed via \nodexn, it becomes rendered outside the canvas. > > \documentclass[pstricks,border=12pt]{standalone} > > \usepackage{pst-eucl} > \psset{saveNodeCoors} > > \begin{document} > \begin{pspicture}[showgrid](-3,-1)(3,3) > \pstGeonode > (2,0){A} > (2,2){B} > (!N-A.x N-B.x add 4 div N-A.y N-B.y add 4 div 2.5 add){C} > > > %\nodexn{.25(A)+.25(B)+(0,2.5)}{C'}% does not work > %\pstGeonode(C'){C}% does not work > \def\common{\psline(!N-A.x N-A.y)(!N-B.x N-B.y)(!N-C.x N-C.y)}% > \pscustom > { > \common > \reversepath > > > \scale{-1 1} > \common > \closepath > } > \end{pspicture} > \end{document} > > > Thank you in advance. > > > Best regards, > > Stiff Jokes > (http://tex.stackexchange.com/users/19356) > _______________________________________________ Use the \shownode macro to trace the calculations: When I uncomment \nodexn and the following line, I get the correct points: Node A: (2.0, 0.0) Node B: (2.0, 2.0) Node C': (1.0, 3.0) Node C: (1.0, 3.0) I seems to be your pscustom block that's misleading you, not a bug in \nodexn. Michael From Patrice.MEGRET at umons.ac.be Mon Dec 30 09:44:11 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Mon, 30 Dec 2013 08:44:11 +0000 Subject: [pstricks] powerdot and pst-ovl Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB1FCC8009@EXCHANGEDB4.umons.ac.be> Dear Herbert, I upgraded from pstricks 2.46 to pstricks 2.49c where overlay stuff has been moved to pst-ovl. I have installed pst-ovl v0.04 and I can compile the pst-ovl-doc. When I use powerdot, even with \usepackage{pts-ovl}, I get a postscript error when I open the file: \documentclass[ size=11pt, style=zen, paper=a4paper, %% Try me! %% orient=portrait, %% mode=handout, display=slidesnotes, pauseslide, nohandoutpagebreaks, fleqn, hlentries=true, hlsections=true ]{powerdot} \usepackage{pst-ovl} \begin{document} \begin{slide}{Test} \end{slide} \end{document} gsave 0 setgray 1. .setopacityalpha fill grestore end @endspecial 0 TeXcolorgray -2118 6675 a SDict begin H.S end -2118 6675 a 0 TeXcolorgray 2613 1943 a Fd(GoBack)p -2118 -2907 10053 7 v -2118 6671 7 9582 v 7928 6671 V -2118 6674 10053 7 v 0 TeXcolorgray 7934 -2914 a SDict begin H.R end 7934 -2914 a 7934 1943 a SDict begin [/H /I/Border [0 0 0]BorderArr --- End offending input --- file offset = 140708 gsapi_run_string_continue returns -101 If I used the old pstricks.pro Version 1.17, 2013/07/08 where the stuff of overlay is inside, it works correctly. I seems that powerdot does not used the txovlDict dictionary: tx at Dict begin InitOL /TheOL (0) def end -600 4178 a -600 4178 a tx at Dict begin (0) BOL end -600 4178 a -600 4178 Instead of tx at Dict begin txovlDict begin InitOL /TheOL (0) def end -600 4178 a -600 4178 a tx at Dict begin (0) BOL end -600 4178 a -600 4178 Any clue, thanks. Best regards, Patrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Dec 30 10:00:51 2013 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 30 Dec 2013 10:00:51 +0100 Subject: [pstricks] powerdot and pst-ovl In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB1FCC8009@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB1FCC8009@EXCHANGEDB4.umons.ac.be> Message-ID: <52C13643.40207@FU-Berlin.DE> Am 30.12.2013 09:44, schrieb Patrice M?GRET: > I seems that powerdot does not used the txovlDict dictionary: Yes, that is one of the problems. The changes must be done in powerdot itself. Herbert From the.counterterrorist at yahoo.com Mon Dec 30 20:03:20 2013 From: the.counterterrorist at yahoo.com (Donut E. Knot) Date: Mon, 30 Dec 2013 11:03:20 -0800 Subject: [pstricks] Probably a bug in \nodexn In-Reply-To: <66A72292-4613-4B46-A5AD-3FC5A1054EE9@ucsd.edu> References: <1388359300.33900.YahooMailNeo@web162603.mail.bf1.yahoo.com> <66A72292-4613-4B46-A5AD-3FC5A1054EE9@ucsd.edu> Message-ID: <1388430200.34513.YahooMailNeo@web162606.mail.bf1.yahoo.com> The issue still exists even without pscustom. So what is misleading me now? :-) \documentclass{minimal} \usepackage{pst-eucl} \psset{saveNodeCoors} \def\xy#1{!N-#1.x N-#1.y} \begin{document} \begin{pspicture}[showgrid](-3,-1)(3,3) \pstGeonode (2,0){A} (2,2){B} %(!N-A.x N-B.x add 4 div N-A.y N-B.y add 4 div 2.5 add){C} \nodexn{.25(A)+.25(B)+(0,2.5)}{C'}% does not work \pstGeonode(C'){C}% does not work ? \psline(\xy{A})(\xy{B})(\xy{C}) \end{pspicture} \end{document} Stiff Jokes On Monday, December 30, 2013 6:45 AM, Michael Sharpe wrote: On Dec 29, 2013, at 3:21 PM, Donut E. Knot wrote: > Dear folks, > > I noticed \nodexn behaves abnormally as the following code represents. When C is constructed via \nodexn, it becomes rendered outside the canvas. > > \documentclass[pstricks,border=12pt]{standalone} > > \usepackage{pst-eucl} > \psset{saveNodeCoors} > > \begin{document} > \begin{pspicture}[showgrid](-3,-1)(3,3) > ??? \pstGeonode > ??? ??? (2,0){A} > ??? ??? (2,2){B} > ??? ??? (!N-A.x N-B.x add 4 div N-A.y N-B.y add 4 div 2.5 add){C} > > ??? > %\nodexn{.25(A)+.25(B)+(0,2.5)}{C'}% does not work > ??? %\pstGeonode(C'){C}% does not work > ??? \def\common{\psline(!N-A.x N-A.y)(!N-B.x N-B.y)(!N-C.x N-C.y)}% > ??? \pscustom > ??? { > ??? ??? \common > ??? ??? \reversepath > ??? > ??? > \scale{-1 1} > ??? ??? \common > ??? ??? \closepath > ??? } > \end{pspicture} > \end{document} > > > Thank you in advance. > > > Best regards, > > Stiff Jokes > (http://tex.stackexchange.com/users/19356) > _______________________________________________ Use the \shownode macro to trace the calculations: When I uncomment \nodexn and the following line, I get the correct points: Node A: (2.0, 0.0) Node B: (2.0, 2.0) Node C': (1.0, 3.0) Node C: (1.0, 3.0) I seems to be your pscustom block that's misleading you, not a bug in \nodexn. Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From msharpe at ucsd.edu Mon Dec 30 20:29:32 2013 From: msharpe at ucsd.edu (Michael Sharpe) Date: Mon, 30 Dec 2013 11:29:32 -0800 Subject: [pstricks] Probably a bug in \nodexn In-Reply-To: <1388430200.34513.YahooMailNeo@web162606.mail.bf1.yahoo.com> References: <1388359300.33900.YahooMailNeo@web162603.mail.bf1.yahoo.com> <66A72292-4613-4B46-A5AD-3FC5A1054EE9@ucsd.edu> <1388430200.34513.YahooMailNeo@web162606.mail.bf1.yahoo.com> Message-ID: On Dec 30, 2013, at 11:03 AM, Donut E. Knot wrote: > The issue still exists even without pscustom. So what is misleading me now? :-) > > \documentclass{minimal} > > \usepackage{pst-eucl} > \psset{saveNodeCoors} > > \def\xy#1{!N-#1.x N-#1.y} > \begin{document} > \begin{pspicture}[showgrid](-3,-1)(3,3) > \pstGeonode > (2,0){A} > (2,2){B} > %(!N-A.x N-B.x add 4 div N-A.y N-B.y add 4 div 2.5 add){C} > \nodexn{.25(A)+.25(B)+(0,2.5)}{C'}% does not work > \pstGeonode(C'){C}% does not work > \psline(\xy{A})(\xy{B})(\xy{C}) > \end{pspicture} > \end{document} > This time it's your \xy macro. Try \psline(A)(B)(C). From spotje at gmail.com Mon Dec 30 09:49:20 2013 From: spotje at gmail.com (Hendri Adriaens) Date: Mon, 30 Dec 2013 09:49:20 +0100 Subject: [pstricks] [powerdot] powerdot and pst-ovl In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB1FCC8009@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB1FCC8009@EXCHANGEDB4.umons.ac.be> Message-ID: Hi Patrice, I received a notification from Akira Kakuto about the changes in pstricks. I working on processing the necessary changes. Sorry for the inconveniences. Best regards, -Hendri. On Mon, Dec 30, 2013 at 9:44 AM, Patrice M?GRET wrote: > Dear Herbert, > > > > I upgraded from pstricks 2.46 to pstricks 2.49c where overlay stuff has been > moved to pst-ovl. > > I have installed pst-ovl v0.04 and I can compile the pst-ovl-doc. > > > > When I use powerdot, even with \usepackage{pts-ovl}, I get a postscript > error when I open the file: > > > > > > > > \documentclass[ > > size=11pt, > > style=zen, > > paper=a4paper, > > %% Try me! > > %% orient=portrait, > > %% mode=handout, > > display=slidesnotes, > > pauseslide, > > nohandoutpagebreaks, > > fleqn, > > hlentries=true, > > hlsections=true > > ]{powerdot} > > \usepackage{pst-ovl} > > > > \begin{document} > > \begin{slide}{Test} > > \end{slide} > > \end{document} > > > > > > gsave 0 setgray 1. .setopacityalpha fill grestore end > > @endspecial 0 > > TeXcolorgray -2118 6675 a > > SDict begin H.S end > > -2118 6675 a 0 TeXcolorgray > > 2613 1943 a Fd(GoBack)p -2118 -2907 10053 7 v -2118 6671 > > 7 9582 v 7928 6671 V -2118 6674 10053 7 v 0 TeXcolorgray > > 7934 -2914 a > > SDict begin H.R end > > 7934 -2914 a 7934 1943 a > > SDict begin [/H /I/Border [0 0 0]BorderArr > > --- End offending input --- > > file offset = 140708 > > gsapi_run_string_continue returns -101 > > > > > > If I used the old pstricks.pro Version 1.17, 2013/07/08 where the stuff of > overlay is inside, it works correctly. > > > > I seems that powerdot does not used the txovlDict dictionary: > > > > tx at Dict begin InitOL /TheOL (0) def end > > -600 4178 a -600 4178 a > > tx at Dict begin (0) BOL end > > -600 4178 a -600 4178 > > > > Instead of > > tx at Dict begin txovlDict begin InitOL /TheOL (0) def end > > -600 4178 a -600 4178 a > > tx at Dict begin (0) BOL end > > -600 4178 a -600 4178 > > > > Any clue, thanks. > > > > Best regards, > > > > Patrice > > From Patrice.MEGRET at umons.ac.be Tue Dec 31 10:22:31 2013 From: Patrice.MEGRET at umons.ac.be (=?iso-8859-1?Q?Patrice_M=C9GRET?=) Date: Tue, 31 Dec 2013 09:22:31 +0000 Subject: [pstricks] [powerdot] Re: powerdot and pst-ovl In-Reply-To: References: <8EAD3A11C751924B9AB951FA32FD86EB1FCC8009@EXCHANGEDB4.umons.ac.be> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB1FCC92D2@EXCHANGEDB4.umons.ac.be> Dear Hendrik, If it may help, here is powerdot 1.4i where I changed lines: 186 to load pstricks with the option overlays 575, 576, 1103, 1108, 1176, 1178, 1184 and 1217 where I added tx at ovlDict begin .... end in any \pst at Verb commands using yyyOL. It is perhaps not the best solution, pstricks overlay commands could probably be used instead of pst at Verb but I am not expert enough. Anyway, with these modifications, I can compile my old presentations without modification and with pstricks 2.49c Best regards, Patrice -------------- next part -------------- A non-text attachment was scrubbed... Name: powerdot-pm.cls Type: application/octet-stream Size: 48402 bytes Desc: powerdot-pm.cls URL: