From bruceburlton at sympatico.ca Wed Jan 4 19:51:16 2017 From: bruceburlton at sympatico.ca (Bruce Burlton) Date: Wed, 4 Jan 2017 13:51:16 -0500 Subject: [pstricks] Problem with compiling beamer document containing pstricks code Message-ID: <000001d266bb$881aa210$984fe630$@sympatico.ca> I have been using pstricks and Miktex for many years, quite successfully. Earlier today I was successfully compiling a slide presentation based on beamer for my upcoming lecture. The document is several years old, with only a few recent modifications. Before noon, I was able to compile successfully using XeLaTeX. Over the lunch hour I update MikTex, in two steps, as indicated: first removing "old" packages and second installing the new ones. Now pstricks based "graphics" are no longer render properly: lines, circles and other pstricks based constructs are missing, while text is shown. There is an error message in the log, namely Xdvipdfmx: warning: image format conversion for Pstricks failed Xdvipdfmx: interpreting special command pst: (ps:) failed These lines are repeated several times through the log, presumable once per "pstricks" diagram Not sure if the is a PSTRICKS or N=Miktex problem Thanks for any assistance Bruce Burlton, FCAE Adjunct Professor Mechanical and Aerospace Engineering Carleton University -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Jan 4 22:25:16 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 4 Jan 2017 22:25:16 +0100 Subject: [pstricks] Problem with compiling beamer document containing pstricks code In-Reply-To: <000001d266bb$881aa210$984fe630$@sympatico.ca> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> Message-ID: Am 04.01.2017 um 19:51 schrieb Bruce Burlton: > I have been using pstricks and Miktex for many years, quite > successfully. Earlier today I was successfully compiling a slide > presentation based on beamer for my upcoming lecture. The document is > several years old, with only a few recent modifications. Before noon, I > was able to compile successfully using XeLaTeX. Over the lunch hour I > update MikTex, in two steps, as indicated: first removing ?old? packages > and second installing the new ones. Now pstricks based ?graphics? are > no longer render properly: lines, circles and other pstricks based > constructs are missing, while text is shown. I updated MikTeX (Windows 7) and now it is also not possible to run any program. It looks like a MiKTeX bug. What happens if you run a file without using PSTricks? Herbert > > There is an error message in the log, namely > > > > Xdvipdfmx: warning: image format conversion for Pstricks failed > > Xdvipdfmx: interpreting special command pst: (ps:) failed > > > > These lines are repeated several times through the log, presumable once > per ?pstricks? diagram > > > > Not sure if the is a PSTRICKS or N=Miktex problem > > > > Thanks for any assistance > > > > Bruce Burlton, FCAE > > Adjunct Professor > > Mechanical and Aerospace Engineering > > Carleton University > > > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ > From quiben at gmail.com Thu Jan 5 12:20:30 2017 From: quiben at gmail.com (Norberto Moreno =?utf-8?q?Quib=C3=A9n?=) Date: Thu, 05 Jan 2017 12:20:30 +0100 Subject: [pstricks] Problem with compiling beamer document containing pstricks code In-Reply-To: References: <000001d266bb$881aa210$984fe630$@sympatico.ca> Message-ID: <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> Dear Herbert: I have the same problem with beamer, although I use a MacTex system. I heavily rely on pstricks on my beamer presentations, and after the last update of pstricks, beamer presentations with pstricks code do not compile. The error that keeps repeating is the following (cambio.tex is the name of the file): ./cambio.tex:45: Argument of \@firstofone has an extra }. \par l.45 \begin{document} Runaway argument? ./cambio.tex:45: Paragraph ended before \@firstofone was complete. \par l.45 \begin{document} ./cambio.tex:45: Undefined control sequence. \Call at AtVeryEndDocument ...cumentHook \@undefined \global \let \Call at AtVeryE... l.45 \begin{document} ./cambio.tex:45: Argument of \@firstofone has an extra }. \par l.45 \begin{document} Runaway argument? I am attaching a copy of the log in case it could be of any use. Best Norberto > ><><><><><><><><><><><><><><><>< Norberto Moreno Quib?n norberto at quiben.net quiben at gmail.com http://www.quiben.net "Much is uncertain, and must remain so." Mental Reality, Galen Strawson On 4 Jan 2017, at 22:25, Herbert Voss wrote: > Am 04.01.2017 um 19:51 schrieb Bruce Burlton: >> I have been using pstricks and Miktex for many years, quite >> successfully. Earlier today I was successfully compiling a slide >> presentation based on beamer for my upcoming lecture. The document >> is >> several years old, with only a few recent modifications. Before >> noon, I >> was able to compile successfully using XeLaTeX. Over the lunch hour >> I >> update MikTex, in two steps, as indicated: first removing ?old? >> packages >> and second installing the new ones. Now pstricks based >> ?graphics? are >> no longer render properly: lines, circles and other pstricks based >> constructs are missing, while text is shown. > > I updated MikTeX (Windows 7) and now it is also not possible > to run any program. It looks like a MiKTeX bug. What happens > if you run a file without using PSTricks? > > Herbert > > > > > > >> >> There is an error message in the log, namely >> >> >> >> Xdvipdfmx: warning: image format conversion for Pstricks failed >> >> Xdvipdfmx: interpreting special command pst: (ps:) failed >> >> >> >> These lines are repeated several times through the log, presumable >> once >> per ?pstricks? diagram >> >> >> >> Not sure if the is a PSTRICKS or N=Miktex problem >> >> >> >> Thanks for any assistance >> >> >> >> Bruce Burlton, FCAE >> >> Adjunct Professor >> >> Mechanical and Aerospace Engineering >> >> Carleton University >> >> >> >> >> >> _______________________________________________ >> 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: beamer-pstricks-problem.txt URL: From Herbert.Voss at FU-Berlin.DE Thu Jan 5 17:12:47 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 5 Jan 2017 17:12:47 +0100 Subject: [pstricks] Problem with compiling beamer document containing pstricks code In-Reply-To: <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> Message-ID: <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> Am 05.01.2017 um 12:20 schrieb Norberto Moreno Quib?n: > I have the same problem with beamer, although I use a MacTex system. I > heavily rely on pstricks on my beamer presentations, and after the last > update of pstricks, beamer presentations with pstricks code do not > compile. The error that keeps repeating is the following (cambio.tex is > the name of the file): Give a _complete_ example with \listfiles as first line. Then post the error message and the file list, which is at the end of the log file. Herbert From quiben at gmail.com Thu Jan 5 17:48:38 2017 From: quiben at gmail.com (Norberto Moreno =?utf-8?q?Quib=C3=A9n?=) Date: Thu, 05 Jan 2017 17:48:38 +0100 Subject: [pstricks] Problem with compiling beamer document containing pstricks code In-Reply-To: <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> Message-ID: <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> I have a problem with beamer, although I use a MacTex system. I heavily rely on pstricks on my beamer presentations, and after the last update of pstricks, beamer presentations with pstricks code do not compile. I am attaching a copy of the log and the file. Please note that the \listfile command is not showing the files. The error that keeps repeating is the following (cambio.tex is the name of the file): ./cambio.tex:45: Argument of \@firstofone has an extra }. \par l.45 \begin{document} Runaway argument? ./cambio.tex:45: Paragraph ended before \@firstofone was complete. \par l.45 \begin{document} ./cambio.tex:45: Undefined control sequence. \Call at AtVeryEndDocument ...cumentHook \@undefined \global \let \Call at AtVeryE... l.45 \begin{document} ./cambio.tex:45: Argument of \@firstofone has an extra }. \par l.45 \begin{document} Runaway argument? Best Norberto > <><><><><><><><><><><><><><><><>< Norberto Moreno Quib?n norberto at quiben.net quiben at gmail.com http://www.quiben.net "Much is uncertain, and must remain so." Mental Reality, Galen Strawson On 5 Jan 2017, at 17:12, Herbert Voss wrote: > Am 05.01.2017 um 12:20 schrieb Norberto Moreno Quib?n: > >> I have the same problem with beamer, although I use a MacTex system. >> I >> heavily rely on pstricks on my beamer presentations, and after the >> last >> update of pstricks, beamer presentations with pstricks code do not >> compile. The error that keeps repeating is the following (cambio.tex >> is >> the name of the file): > > Give a _complete_ example with \listfiles as first line. > Then post the error message and the file list, which is at the > end of the log file. > > 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: cambio.tex Type: application/x-tex Size: 15167 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cambio.log URL: From Herbert.Voss at FU-Berlin.DE Thu Jan 5 20:23:02 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 5 Jan 2017 20:23:02 +0100 Subject: [pstricks] Problem with compiling beamer document containing pstricks code In-Reply-To: <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> Message-ID: <151ead76-2d50-f7ed-1520-2ffa706cd027@FU-Berlin.DE> Am 05.01.2017 um 17:48 schrieb Norberto Moreno Quib?n: > I have a problem with beamer, although I use a MacTex system. I heavily > rely on pstricks on my beamer presentations, and after the last update > of pstricks, beamer presentations with pstricks code do not compile. I > am attaching a copy of the log and the file. Please note that the > \listfile command is not showing the files. I did a complete reinstall of MiKTeX 32 Bit on Win 7 in a virtual box. Then I run successfully without any problem xelatex: \listfiles \documentclass{beamer} \usepackage{pst-labo} \begin{document} \begin{frame}{title} \psset{unit=0.4cm} \pstDistillation \end{frame} \end{document} Attached my filelist Herbert *File List* beamer.cls 2017/01/01 v3.37 A class for typesetting presentations etoolbox.sty 2017/01/02 v2.4 e-TeX tools for LaTeX (JAW) beamerbasemodes.sty beamerbasedecode.sty ifpdf.sty 2016/05/14 v3.1 Provides the ifpdf switch beamerbaseoptions.sty keyval.sty 2014/10/28 v1.15 key=value parser (DPC) geometry.sty 2010/09/12 v5.6 Page Geometry ifvtex.sty 2016/05/16 v1.6 Detect VTeX and its facilities (HO) ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional geometry.cfg size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option) pgfcore.sty 2010/04/11 v3.0.1a (rcs-revision 1.7) graphicx.sty 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) graphics.sty 2016/07/10 v1.0t Standard LaTeX Graphics (DPC,SPQR) trig.sty 2016/01/03 v1.10 sin cos tan (DPC) graphics.cfg 2016/06/04 v1.11 sample graphics configuration xetex.def 2016/07/11 v4.10 LaTeX color/graphics driver for XeTeX (L3/RRM/ JK) pgfsys.sty 2014/07/09 v3.0.1a (rcs-revision 1.48) pgfrcs.sty 2015/08/07 v3.0.1a (rcs-revision 1.31) everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS) pgfrcs.code.tex pgfsys.code.tex pgfsyssoftpath.code.tex 2013/09/09 (rcs-revision 1.9) pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4) xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK) color.cfg 2016/01/02 v1.6 sample color configuration pgfcore.code.tex xxcolor.sty 2003/10/24 ver 0.1 atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO) infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO) ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO) hyperref.sty 2016/06/24 v6.83q Hypertext links for LaTeX hobsub-hyperref.sty 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO) hobsub-generic.sty 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO) hobsub.sty 2016/05/16 v1.14 Construct package bundles (HO) ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO) intcalc.sty 2016/05/16 v1.2 Expandable calculations with integers (HO) etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO) kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO) pdftexcmds.sty 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO) pdfescape.sty 2016/05/16 v1.14 Implements pdfTeX's escape features (HO) bigintcalc.sty 2016/05/16 v1.4 Expandable calculations on big integers (HO) bitset.sty 2016/05/16 v1.2 Handle bit-vector datatype (HO) uniquecounter.sty 2016/05/16 v1.3 Provide unlimited unique counter (HO) letltxmacro.sty 2016/05/16 v1.5 Let assignment for LaTeX macros (HO) hopatch.sty 2016/05/16 v1.3 Wrapper for package hooks (HO) xcolor-patch.sty 2016/05/16 xcolor patch atveryend.sty 2016/05/16 v1.9 Hooks at the very end of document (HO) refcount.sty 2016/05/16 v3.5 Data extraction from label references (HO) hycolor.sty 2016/05/16 v1.8 Color options for hyperref/bookmark (HO) auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO) kvoptions.sty 2016/05/16 v3.12 Key value format for package options (HO) pd1enc.def 2016/06/24 v6.83q Hyperref: PDFDocEncoding definition (HO) hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive url.sty 2013/09/16 ver 3.4 Verb mode for urls, etc. hxetex.def 2016/06/24 v6.83q Hyperref driver for XeTeX puenc.def 2016/06/24 v6.83q Hyperref: PDF Unicode definition (HO) stringenc.sty 2016/05/16 v1.11 Convert strings between diff. encodings (HO) rerunfilecheck.sty 2016/05/16 v1.8 Rerun checks for auxiliary files (HO) se-ascii-print.def 2016/05/16 v1.11 stringenc: Printable ASCII characters beamerbaserequires.sty beamerbasecompatibility.sty beamerbasefont.sty amssymb.sty 2013/01/14 v3.01 AMS font symbols amsfonts.sty 2013/01/14 v3.01 Basic AMSFonts support sansmathaccent.sty 2013/03/28 filehook.sty 2011/10/12 v0.5d Hooks for input files beamerbasetranslator.sty translator.sty 2010/06/12 ver 1.10 translator-language-mappings.tex beamerbasemisc.sty beamerbasetwoscreens.sty beamerbaseoverlay.sty beamerbasetitle.sty beamerbasesection.sty beamerbaseframe.sty beamerbaseverbatim.sty beamerbaseframesize.sty beamerbaseframecomponents.sty beamerbasecolor.sty beamerbasenotes.sty beamerbasetoc.sty beamerbasetemplates.sty beamerbaseauxtemplates.sty beamerbaseboxes.sty beamerbaselocalstructure.sty enumerate.sty 2015/07/23 v3.00 enumerate extensions (DPC) beamerbasenavigation.sty beamerbasetheorems.sty amsmath.sty 2016/06/28 v2.15d AMS math features amstext.sty 2000/06/29 v2.01 AMS text amsgen.sty 1999/11/30 v2.0 generic functions amsbsy.sty 1999/11/29 v1.2d Bold Symbols amsopn.sty 2016/03/08 v2.02 operator names amsthm.sty 2015/03/04 v2.20.2 beamerbasethemes.sty beamerthemedefault.sty beamerfontthemedefault.sty beamercolorthemedefault.sty beamerinnerthemedefault.sty beamerouterthemedefault.sty pst-labo.sty 2015/12/09 package wrapper for pst-labo.tex (hv) pstricks.sty 2015/11/14 v0.62 LaTeX wrapper for `PSTricks' (RN,HV) pstricks.tex 2016/12/23 v2.71 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2014/12/03 v2.7a package option processing (HA) xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) pst-fp.tex 2016/12/23 v2.71 `PST-fp' (hv) pst-labo.tex 2015/12/09 v2.04 `PST-labo' (ML,DG,CJ,hv) pst-laboObj.tex nameref.sty 2016/05/21 v2.44 Cross-referencing by name of section gettitlestring.sty 2016/05/16 v1.5 Cleanup title references (HO) document0.out document0.out translator-basic-dictionary-English.dict translator-bibliography-dictionary-English.dict translator-environment-dictionary-English.dict translator-months-dictionary-English.dict translator-numbers-dictionary-English.dict translator-theorem-dictionary-English.dict *********** Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 12. LaTeX Font Warning: Size substitutions with differences (Font) up to 1.0pt have occurred. ) Here is how much of TeX's memory you used: 23714 strings out of 428404 409895 string characters out of 3160538 721985 words of memory out of 3000000 26704 multiletter control sequences out of 15000+200000 5512 words of font info for 20 fonts, out of 3000000 for 9000 1328 hyphenation exceptions out of 8191 From giovanni.dore at unibo.it Thu Jan 5 19:19:38 2017 From: giovanni.dore at unibo.it (Giovanni Dore) Date: Thu, 5 Jan 2017 18:19:38 +0000 Subject: [pstricks] Problem with compiling beamer document containing pstricks code In-Reply-To: <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE>, <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> Message-ID: <1483640378321.12641@unibo.it> I use MacTeX and I have the last update of beamer. I can typeset cambio.tex , if I comment the line requiring the package lucidabr and the lines with \includegraphics. I attach the log file. It seems we have the same version of all the files with the exception of expex.tex for which you have an old version in /Users/quiben/Library/texmf/tex/generic/expex2011/expex.tex Giovanni ________________________________ Da: PSTricks per conto di Norberto Moreno Quib?n Inviato: gioved? 5 gennaio 2017 17:48 A: Graphics with PSTricks Oggetto: Re: [pstricks] Problem with compiling beamer document containing pstricks code I have a problem with beamer, although I use a MacTex system. I heavily rely on pstricks on my beamer presentations, and after the last update of pstricks, beamer presentations with pstricks code do not compile. I am attaching a copy of the log and the file. Please note that the \listfile command is not showing the files. The error that keeps repeating is the following (cambio.tex is the name of the file): ./cambio.tex:45: Argument of \@firstofone has an extra }. \par l.45 \begin{document} Runaway argument? ./cambio.tex:45: Paragraph ended before \@firstofone was complete. \par l.45 \begin{document} ./cambio.tex:45: Undefined control sequence. \Call at AtVeryEndDocument ...cumentHook \@undefined \global \let \Call at AtVeryE... l.45 \begin{document} ./cambio.tex:45: Argument of \@firstofone has an extra }. \par l.45 \begin{document} Runaway argument? Best Norberto <><><><><><><><><><><><><><><><>< Norberto Moreno Quib?n norberto at quiben.net quiben at gmail.com http://www.quiben.net "Much is uncertain, and must remain so." Mental Reality, Galen Strawson On 5 Jan 2017, at 17:12, Herbert Voss wrote: Am 05.01.2017 um 12:20 schrieb Norberto Moreno Quib?n: I have the same problem with beamer, although I use a MacTex system. I heavily rely on pstricks on my beamer presentations, and after the last update of pstricks, beamer presentations with pstricks code do not compile. The error that keeps repeating is the following (cambio.tex is the name of the file): Give a _complete_ example with \listfiles as first line. Then post the error message and the file list, which is at the end of the log file. 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: cambio.log Type: application/octet-stream Size: 85087 bytes Desc: cambio.log URL: From quiben at gmail.com Thu Jan 5 21:40:26 2017 From: quiben at gmail.com (Norberto Moreno =?utf-8?q?Quib=C3=A9n?=) Date: Thu, 05 Jan 2017 21:40:26 +0100 Subject: [pstricks] Problem with compiling beamer document containing pstricks code In-Reply-To: <1483640378321.12641@unibo.it> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> <1483640378321.12641@unibo.it> Message-ID: Thank you Giovanni. You gave me a clue with the comment on the lucidabr package. I run updmap in my system, and beamer documents with pstricks code start compiling again. The strange thing is that I didn't have to run updmap manually before after an updating of the packages with the Tex live Utility. Best > I use MacTeX and I have the last update of beamer. > > I can typeset cambio.tex , if I comment the line requiring the package > lucidabr and the lines with \includegraphics. > > I attach the log file. > > It seems we have the same version of all the files with the exception > of expex.tex for which you have an old version in > > /Users/quiben/Library/texmf/tex/generic/expex2011/expex.tex > > > Giovanni > > > ________________________________ > Da: PSTricks per conto di Norberto Moreno > Quib?n > Inviato: gioved? 5 gennaio 2017 17:48 > A: Graphics with PSTricks > Oggetto: Re: [pstricks] Problem with compiling beamer document > containing pstricks code > > > I have a problem with beamer, although I use a MacTex system. I > heavily rely on pstricks on my beamer presentations, and after the > last update of pstricks, beamer presentations with pstricks code do > not compile. I am attaching a copy of the log and the file. Please > note that the \listfile command is not showing the files. > > The error that keeps repeating is the following (cambio.tex is the > name of the file): > > ./cambio.tex:45: Argument of \@firstofone has an extra }. > > \par > l.45 \begin{document} > > Runaway argument? > ./cambio.tex:45: Paragraph ended before \@firstofone was complete. > > \par > l.45 \begin{document} > > ./cambio.tex:45: Undefined control sequence. > \Call at AtVeryEndDocument ...cumentHook \@undefined > \global \let \Call at AtVeryE... > l.45 \begin{document} > > ./cambio.tex:45: Argument of \@firstofone has an extra }. > > \par > l.45 \begin{document} > > Runaway argument? > > Best > Norberto > > <><><><><><><><><><><><><><><><>< > > Norberto Moreno Quib?n > norberto at quiben.net > quiben at gmail.com > http://www.quiben.net > > "Much is uncertain, and must remain so." Mental Reality, Galen > Strawson > On 5 Jan 2017, at 17:12, Herbert Voss wrote: > > Am 05.01.2017 um 12:20 schrieb Norberto Moreno Quib?n: > > I have the same problem with beamer, although I use a MacTex system. I > heavily rely on pstricks on my beamer presentations, and after the > last > update of pstricks, beamer presentations with pstricks code do not > compile. The error that keeps repeating is the following (cambio.tex > is > the name of the file): > > Give a _complete_ example with \listfiles as first line. > Then post the error message and the file list, which is at the > end of the log file. > > 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 -------------- An HTML attachment was scrubbed... URL: From vkanetka at uoguelph.ca Wed Jan 11 03:31:32 2017 From: vkanetka at uoguelph.ca (Vinay Kanetkar) Date: Wed, 11 Jan 2017 02:31:32 +0000 Subject: [pstricks] Problem after upgrading all of files from pstricks tar ball In-Reply-To: <1483640378321.12641@unibo.it> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE>, <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com>, <1483640378321.12641@unibo.it> Message-ID: Please help! I upgraded pstricks package by downloading it from tar ball depository. I understand something might be unstable. Compiling part works fine. ghostscript and pdf do not generate output, I get black screen with all sorts of error message. Usually in the past, I figured it has to do with one or more pro file not in sink. Everything worked fine with older pstricks. I have included input and log file output below. Thanks. Here is input file====================================== \listfiles \documentclass[style=fyma, %mode=handout,nohandoutpagebreaks,nohandoutframes display=slides,paper=letterpaper ]{powerdot} \usepackage{graphics} \usepackage{xcolor} \usepackage{graphicx} \usepackage{pstricks} \usepackage{pst-plot} \usepackage{pstricks-add} %\pdsetup{ %palette=blue, %logohook=t, %logopos={.09\slidewidth,.115\slideheight}, %logocmd={\includegraphics[height=.1\slideheight]{CBE_logo}} %} \def\parno{\par\noindent} \title{Market Research Strategy \& Ethical Challenges} % \author{Vinay Kanetkar } \date{Updated October, 2016} \begin{document} \maketitle % % \begin{slide}[toc=,bm=]{Overview} \tableofcontents[content=sections] \end{slide} \section{Market Research Strategy and Tactics} \begin{slide}[toc=,bm=]{Strategy \& Tactics} \begin{itemize} \item Exploratory {\scriptsize \begin{itemize} \item Insight into general nature of problem \item Limited prior knowledge \item Unstructured \item Vague and ill defined hypotheses \item Used often to define and scope project boundaries \end{itemize} } \item Descriptive {\scriptsize \begin{itemize} \item Provide current understanding of market place \item Hypotheses are speculative \item Typically distinction made between users and non-users. \end{itemize}} \item Causal {\scriptsize \begin{itemize} \item Interest in cause and effect \item Decision specific and expected to provide definite answer. \end{itemize} } \end{itemize} \end{slide} \end{document} I have included log file below =====================================. This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=LATEX 2017.1.10) 10 JAN 2017 21:16 entering extended mode Source specials enabled. %&-line parsing enabled. **&latex MR_Strategy_Ethics_TestSlide.tex (./MR_Strategy_Ethics_TestSlide.tex LaTeX2e <2005/12/01> (c:/PCTeXv6/texmf-dist/tex/latex/powerdot/powerdot.cls Document Class: powerdot 2005/12/06 v1.3 powerdot presentation class (HA,CE) \c at note=\count79 \c at slide=\count80 \c at pd@pause=\count81 \c at pd@section=\count82 \c at pd@overlay=\count83 \c at pd@trivlist=\count84 \c at pd@onslidedepth=\count85 \pd at tba=\box26 \pd at tbb=\box27 \pd at body=\toks14 \pd at bmout=\write3 \pd at tocout=\write4 \pd at frsep=\skip41 \pd at colsep=\skip42 \slidewidth=\skip43 \slideheight=\skip44 (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkeyval.sty Package: xkeyval 2014/12/03 v2.7a package option processing (HA) (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkeyval.tex (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkvutils.tex \XKV at toks=\toks15 \XKV at tempa@toks=\toks16 (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/keyval.tex)) \XKV at depth=\count86 File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) )) (c:/PCTeXv6/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (c:/PCTeXv6/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) \c at part=\count87 \c at section=\count88 \c at subsection=\count89 \c at subsubsection=\count90 \c at paragraph=\count91 \c at subparagraph=\count92 \c at figure=\count93 \c at table=\count94 \abovecaptionskip=\skip45 \belowcaptionskip=\skip46 \bibindent=\dimen102 ) (c:/PCTeXv6/texmf-dist/tex/latex/base/size11.clo File: size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) (c:/PCTeXv6/texmf-dist/tex/latex/geometry/geometry.sty Package: geometry 2002/07/08 v3.2 Page Geometry \Gm at cnth=\count95 \Gm at cntv=\count96 \c at Gm@tempcnt=\count97 \Gm at bindingoffset=\dimen103 \Gm at wd@mp=\dimen104 \Gm at odd@mp=\dimen105 \Gm at even@mp=\dimen106 \Gm at dimlist=\toks17 ) (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/hyperref.sty Package: hyperref 2007/02/07 v6.75r Hypertext links for LaTeX \@linkdim=\dimen107 \Hy at linkcounter=\count98 \Hy at pagecounter=\count99 (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/pd1enc.def File: pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO) ) (c:/PCTeXv6/texmf-dist/tex/latex/oberdiek/kvoptions.sty Package: kvoptions 2006/08/22 v2.4 Connects package keyval with LaTeX options ( HO) ) Package hyperref Info: Option `setpagesize' set `false' on input line 2238. Package hyperref Info: Option `pageanchor' set `false' on input line 2238. Package hyperref Info: Option `bookmarks' set `false' on input line 2238. Package hyperref Info: Hyper figures OFF on input line 2288. Package hyperref Info: Link nesting OFF on input line 2293. Package hyperref Info: Hyper index ON on input line 2296. Package hyperref Info: Plain pages OFF on input line 2303. Package hyperref Info: Backreferencing OFF on input line 2308. Implicit mode ON; LaTeX internals redefined Package hyperref Info: Bookmarks OFF on input line 2450. (c:/PCTeXv6/texmf-dist/tex/latex/ltxmisc/url.sty \Urlmuskip=\muskip10 Package: url 2005/06/27 ver 3.2 Verb mode for urls, etc. ) LaTeX Info: Redefining \url on input line 2599. \Fld at menulength=\count100 \Field at Width=\dimen108 \Fld at charsize=\dimen109 \Choice at toks=\toks18 \Field at toks=\toks19 Package hyperref Info: Hyper figures OFF on input line 3102. Package hyperref Info: Link nesting OFF on input line 3107. Package hyperref Info: Hyper index ON on input line 3110. Package hyperref Info: backreferencing OFF on input line 3117. Package hyperref Info: Link coloring OFF on input line 3122. \Hy at abspage=\count101 \c at Item=\count102 \c at Hfootnote=\count103 ) *hyperref using driver hdvips* (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/hdvips.def File: hdvips.def 2007/02/07 v6.75r Hyperref driver for dvips (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/pdfmark.def File: pdfmark.def 2007/02/07 v6.75r Hyperref definitions for pdfmark specials \pdf at docset=\toks20 \pdf at box=\box28 \pdf at toks=\toks21 \pdf at defaulttoks=\toks22 \Fld at listcount=\count104 )) (c:/PCTeXv6/texmf-dist/tex/latex/graphics/graphicx.sty Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) (c:/PCTeXv6/texmf-dist/tex/latex/graphics/graphics.sty Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR) (c:/PCTeXv6/texmf-dist/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (c:/PCTeXv6/texmf-pti/tex/latex/graphics.cfg) Package graphics Info: Driver file: dvips.def on input line 90. (c:/PCTeXv6/texmf-pti/tex/latex/graphics/dvips.def File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) \Gin at req@height=\dimen110 \Gin at req@width=\dimen111 ) (c:/PCTeXv6/texmf-dist/tex/latex/pstricks/pstricks.sty Package: pstricks 2015/11/14 v0.62 LaTeX wrapper for `PSTricks' (RN,HV) (c:/PCTeXv6/texmf-dist/tex/latex/xcolor/xcolor.sty Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) (c:/PCTeXv6/texmf-pti/tex/latex/color.cfg) Package xcolor Info: Driver file: dvips.def on input line 225. 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. ) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pstricks.tex (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/pst-xkey.tex File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) ) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv) \pstFP at xs=\count105 \pstFP at xia=\count106 \pstFP at xib=\count107 \pstFP at xfa=\count108 \pstFP at xfb=\count109 \pstFP at rega=\count110 \pstFP at regb=\count111 \pstFP at regs=\count112 \pstFP at times=\count113 ) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex \pgfutil at everybye=\toks23 \pgfutil at tempdima=\dimen112 \pgfutil at tempdimb=\dimen113 (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex)) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex \pgfkeys at pathtoks=\toks24 \pgfkeys at temptoks=\toks25 (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex \pgfkeys at tmptoks=\toks26 )) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex \pgf at x=\dimen114 \pgf at xa=\dimen115 \pgf at xb=\dimen116 \pgf at xc=\dimen117 \pgf at y=\dimen118 \pgf at ya=\dimen119 \pgf at yb=\dimen120 \pgf at yc=\dimen121 \c at pgf@counta=\count114 \c at pgf@countb=\count115 \c at pgf@countc=\count116 \c at pgf@countd=\count117 \pgfutil at tempcnta=\count118 \pgfutil at tempcntb=\count119 ) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex \pgfmath at dimen=\dimen122 \pgfmath at count=\count120 \pgfmath at box=\box29 \pgfmath at toks=\toks27 \pgfmath at stack@operand=\toks28 \pgfmath at stack@operation=\toks29 ) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code .tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.te x) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics .code.tex))) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex \c at pgfmathroundto@lastzeros=\count121 )) \pgffor at iter=\dimen123 \pgffor at skip=\dimen124 \pgffor at stack=\toks30 \pgffor at toks=\toks31 ) \psLoopIndex=\count122 `PSTricks' v2.71 <2016/12/23> (tvz) \pst at dima=\dimen125 \pst at dimb=\dimen126 \pst at dimc=\dimen127 \pst at dimd=\dimen128 \pst at dimg=\dimen129 \pst at dimh=\dimen130 \pst at dimm=\dimen131 \pst at dimn=\dimen132 \pst at dimo=\dimen133 \pst at dimp=\dimen134 \pst at hbox=\box30 \pst at ibox=\box31 \pst at boxg=\box32 \pst at cnta=\count123 \pst at cntb=\count124 \pst at cntc=\count125 \pst at cntd=\count126 \pst at cntg=\count127 \pst at cnth=\count128 \pst at cntm=\count129 \pst at cntn=\count130 \pst at cnto=\count131 \pst at cntp=\count132 \@zero=\count133 \pst at toks=\toks32 (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pstricks.con) \psunit=\dimen135 \psxunit=\dimen136 \psyunit=\dimen137 \pst at C@@rType=\count134 \pslinewidth=\dimen138 \psk at startLW=\dimen139 \psk at endLW=\dimen140 \pst at customdefs=\toks33 \pslinearc=\dimen141 \pst at symbolStep=\dimen142 \pst at symbolWidth=\dimen143 \pst at symbolLinewidth=\dimen144 \everypsbox=\toks34 \psframesep=\dimen145 \pslabelsep=\dimen146 \sh at wgridXunit=\dimen147 \sh at wgridYunit=\dimen148 \pst at shift=\dimen149 ) File: pstricks.tex 2016/12/23 v2.71 `PSTricks' (tvz,hv) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-fp.tex) File: pst-fp.tex 2016/12/23 v2.71 `PST-fp' (hv) ) (c:/PCTeXv6/texmf-dist/tex/latex/enumitem/enumitem.sty Package: enumitem 2005/05/12 v1.1 Customized lists \labelindent=\skip47 \enit at outerparindent=\dimen150 ) (c:/PCTeXv6/texmf-dist/tex/latex/tools/verbatim.sty Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements \every at verbatim=\toks35 \verbatim at line=\toks36 \verbatim at in@stream=\read1 ) \pd at logobox=\box33 (c:/PCTeXv6/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty Package: powerdot-fyma 2005/12/06 v1.2 fyma style (SA,HA) (c:/PCTeXv6/texmf-dist/tex/latex/pst-grad/pst-grad.sty Package: pst-grad 2004/07/15 package wrapper for pst-grad.tex (hv) (c:/PCTeXv6/texmf-dist/tex/generic/pst-grad/pst-grad.tex `pst-grad' v1.06, 2006/11/27 (tvz,dg,hv)) File: pst-grad.tex 2006/11/27 1.06 `pst-grad' (tvz) ))) (c:/PCTeXv6/texmf-dist/tex/latex/pst-plot/pst-plot.sty Package: pst-plot 2011/06/05 v1.00 LaTeX wrapper for `pst-plot' (HV) (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/pst-xkey.sty Package: pst-xkey 2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA) ) (c:/PCTeXv6/texmf-dist/tex/generic/multido/multido.sty Package: multido 2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN) (c:/PCTeXv6/texmf-dist/tex/generic/multido/multido.tex v1.41, 2004/05/18 \multido at count=\count135 \multidocount=\count136 \multido at stuff=\toks37 ) File: multido.tex 2004/05/18 v1.41 `multido' (tvz) ) Package: pst-plot 2011/04/13 package wrapper for pst-plot.tex (hv) (c:/PCTeXv6/texmf-dist/tex/generic/pst-plot/pst-plot.tex (c:/PCTeXv6/texmf-dist/tex/generic/pst-tools/pst-tools.tex `PST-tools' v0.05, 2014/05/12 (hv)) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex (c:/PCTeXv6/texmf-dist/tex/generic/pst-node/pst-node.tex v1.38, 2016/05/27 \psrow=\count137 \pscol=\count138 \psmatrixcnt=\count139 \psrowsep=\skip48 \pscolsep=\skip49 \pst at args=\count140 \num at pts=\count141 \pst at argcnt=\count142 ) (c:/PCTeXv6/texmf-dist/tex/generic/pst-arrow/pst-arrow.tex `pst-arrow' v0.01, 2016/09/01 (dr,hv) \pshooklength=\dimen151 \pshookwidth=\dimen152 ) (c:/PCTeXv6/texmf-dist/tex/generic/pst-3d/pst-3d.tex `PST-3d' v1.11, 2010/02/14 (tvz)) (c:/PCTeXv6/texmf-dist/tex/generic/pst-math/pst-math.tex `pst-math' v0.63 , (CJ,hv)) `pstricks-add' v3.82, 2016/09/01 (dr,hv) \psparallelogramsep=\dimen153 \pst at cntC=\count143 \chart at ColorIndex=\dimen154 \chart at ColorStep=\dimen155 \pst at chartHeight=\dimen156 \pst at chartStackDepth=\dimen157 \pst at chartStackWidth=\dimen158 \chart at Toggle=\count144 \psVectorCtr=\count145 ) v1.75, 2016/05/18 (tvz,hv) \pstRadUnit=\dimen159 \pstRadUnitInv=\dimen160 \pst at linecnt=\count146 \RCD at file=\read2 \psxlabelsep=\dimen161 \psylabelsep=\dimen162 \psk at subticksize=\dimen163 \pst at xticksizeA=\dimen164 \pst at xticksizeB=\dimen165 \pst at xticksizeC=\dimen166 \pst at yticksizeA=\dimen167 \pst at yticksizeB=\dimen168 \pst at yticksizeC=\dimen169 \@digitcounter=\count147 \psk at llx=\dimen170 \psk at lly=\dimen171 \psk at urx=\dimen172 \psk at ury=\dimen173 \pst at xunit=\dimen174 \pst at yunit=\dimen175 ) File: pst-plot.tex 2016/05/18 1.75 `pst-plot' (tvz,hv) ) (c:/PCTeXv6/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty (c:/PCTeXv6/texmf-dist/tex/latex/pst-node/pst-node.sty Package: pst-node 2012/09/18 v1.01 LaTeX wrapper for `pst-node' (HV) Package: pst-node 2010/04/22 package wrapper for pst-node.tex (c:/PCTeXv6/texmf-dist/tex/generic/pst-node/pst-node.tex) File: pst-node.tex 2016/05/18 1.75 `pst-node' (tvz,hv) ) (c:/PCTeXv6/texmf-dist/tex/latex/pst-3d/pst-3d.sty Package: pst-3d 2009/07/28 package wrapper for pst-3d.tex (hv) (c:/PCTeXv6/texmf-dist/tex/generic/pst-3d/pst-3d.tex) File: pst-3d.tex 2016/05/18 v1.75 `PST-3d' (hv) ) (c:/PCTeXv6/texmf-dist/tex/latex/pst-math/pst-math.sty Package: pst-math 2014/07/30 package wrapper for PSTricks pst-math.tex (c:/PCTeXv6/texmf-dist/tex/generic/pst-math/pst-math.tex) File: pst-math.tex 2016/05/18 v1.75 `PST-math' (hv) ) Package: pstricks-add 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex ( hv) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex) File: pstricks-add.tex 2016/05/18 v1.75 `PSTricks-add' (hv) ) (./MR_Strategy_Ethics_TestSlide.aux) \openout1 = `MR_Strategy_Ethics_TestSlide.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Try loading font information for OT1+phv on input line 34. (c:/PCTeXv6/texmf-dist/tex/latex/psnfss/ot1phv.fd File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. ) LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 9.41699pt on input line 34. Package hyperref Info: Link coloring OFF on input line 34. (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/nameref.sty Package: nameref 2006/12/27 v2.28 Cross-referencing by name of section (c:/PCTeXv6/texmf-dist/tex/latex/oberdiek/refcount.sty Package: refcount 2006/02/20 v3.0 Data extraction from references (HO) ) \c at section@level=\count148 ) LaTeX Info: Redefining \ref on input line 34. LaTeX Info: Redefining \pageref on input line 34. (./MR_Strategy_Ethics_TestSlide.bm) (./MR_Strategy_Ethics_TestSlide.bm) \openout3 = `MR_Strategy_Ethics_TestSlide.bm'. (./MR_Strategy_Ethics_TestSlide.toc) \openout4 = `MR_Strategy_Ethics_TestSlide.toc'. LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 10.32pt on input line 40. LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <12> not available (Font) Font shape `OT1/phv/b/n' tried instead on input line 40. LaTeX Font Info: Font shape `OT1/phv/b/n' will be (Font) scaled to size 10.32pt on input line 40. LaTeX Font Info: External font `cmex10' loaded for size (Font) <10.95> on input line 40. LaTeX Font Info: External font `cmex10' loaded for size (Font) <8> on input line 40. LaTeX Font Info: External font `cmex10' loaded for size (Font) <6> on input line 40. LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 6.88pt on input line 40. LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 8.6pt on input line 40. [1 ] LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 5.16pt on input line 42. LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <10.95> not available (Font) Font shape `OT1/phv/b/n' tried instead on input line 42. LaTeX Font Info: Font shape `OT1/phv/b/n' will be (Font) scaled to size 9.41699pt on input line 42. [2] LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 12.384pt on input line 44. LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <14.4> not available (Font) Font shape `OT1/phv/b/n' tried instead on input line 44. LaTeX Font Info: Font shape `OT1/phv/b/n' will be (Font) scaled to size 12.384pt on input line 44. [3] LaTeX Font Info: External font `cmex10' loaded for size (Font) <7> on input line 70. LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line 70. [4] (./MR_Strategy_Ethics_TestSlide.aux) *File List* powerdot.cls 2005/12/06 v1.3 powerdot presentation class (HA,CE) xkeyval.sty 2014/12/03 v2.7a package option processing (HA) xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) article.cls 2005/09/16 v1.4f Standard LaTeX document class size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option) geometry.sty 2002/07/08 v3.2 Page Geometry hyperref.sty 2007/02/07 v6.75r Hypertext links for LaTeX pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO) kvoptions.sty 2006/08/22 v2.4 Connects package keyval with LaTeX options (HO ) url.sty 2005/06/27 ver 3.2 Verb mode for urls, etc. hdvips.def 2007/02/07 v6.75r Hyperref driver for dvips pdfmark.def 2007/02/07 v6.75r Hyperref definitions for pdfmark specials graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR) trig.sty 1999/03/16 v1.09 sin cos tan (DPC) graphics.cfg dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) pstricks.sty 2015/11/14 v0.62 LaTeX wrapper for `PSTricks' (RN,HV) xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) color.cfg pstricks.tex 2016/12/23 v2.71 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) pst-fp.tex 2016/12/23 v2.71 `PST-fp' (hv) enumitem.sty 2005/05/12 v1.1 Customized lists verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements powerdot-fyma.sty 2005/12/06 v1.2 fyma style (SA,HA) pst-grad.sty 2004/07/15 package wrapper for pst-grad.tex (hv) pst-grad.tex 2006/11/27 1.06 `pst-grad' (tvz) 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 2004/05/18 v1.41 `multido' (tvz) pst-plot.tex 2016/05/18 1.75 `pst-plot' (tvz,hv) pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv ) pst-node.sty 2010/04/22 package wrapper for pst-node.tex pst-node.tex 2016/05/18 1.75 `pst-node' (tvz,hv) pst-3d.sty 2009/07/28 package wrapper for pst-3d.tex (hv) pst-3d.tex 2016/05/18 v1.75 `PST-3d' (hv) pst-math.sty 2014/07/30 package wrapper for PSTricks pst-math.tex pstricks-add.tex 2016/05/18 v1.75 `PSTricks-add' (hv) ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. nameref.sty 2006/12/27 v2.28 Cross-referencing by name of section refcount.sty 2006/02/20 v3.0 Data extraction from references (HO) MR_Strategy_Ethics_TestSlide.bm MR_Strategy_Ethics_TestSlide.bm MR_Strategy_Ethics_TestSlide.toc *********** ) Here is how much of TeX's memory you used: 12456 strings out of 95374 214335 string characters out of 1188758 1331090 words of memory out of 2500000 15335 multiletter control sequences out of 10000+50000 11623 words of font info for 32 fonts, out of 1000000 for 2000 14 hyphenation exceptions out of 8191 45i,9n,70p,672b,527s stack positions out of 5000i,500n,1000p,200000b,5000s 0 PDF objects out of 300000 0 named destinations out of 131072 1 words of extra memory for PDF output out of 65536 Output written on MR_Strategy_Ethics_TestSlide.dvi (4 pages, 61900 bytes). -------------- next part -------------- An HTML attachment was scrubbed... URL: From quiben at gmail.com Wed Jan 11 09:09:35 2017 From: quiben at gmail.com (Norberto Moreno =?utf-8?q?Quib=C3=A9n?=) Date: Wed, 11 Jan 2017 09:09:35 +0100 Subject: [pstricks] Problem after upgrading all of files from pstricks tar ball In-Reply-To: References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> <1483640378321.12641@unibo.it> Message-ID: <9C4BD968-DD49-4660-912E-382BDB9F5AD7@gmail.com> Hello, I have been able to compile your document. I include the log of my system here. My recommendation is that after you upgrade your packages once more, run "updmap" manually from your terminal and try to compile the file again. Best > ><><><><><><><><><><><><><><><>< Norberto Moreno Quib?n norberto at quiben.net quiben at gmail.com http://www.quiben.net "Much is uncertain, and must remain so." Mental Reality, Galen Strawson On 11 Jan 2017, at 3:31, Vinay Kanetkar wrote: > Please help! > > I upgraded pstricks package by downloading it from tar ball > depository. I understand something might be unstable. > > Compiling part works fine. ghostscript and pdf do not generate output, > I get black screen with all sorts of error message. > Usually in the past, I figured it has to do with one or more pro file > not in sink. > > Everything worked fine with older pstricks. > > I have included input and log file output below. > > Thanks. > > Here is input file====================================== > > \listfiles > > \documentclass[style=fyma, > %mode=handout,nohandoutpagebreaks,nohandoutframes > display=slides,paper=letterpaper > ]{powerdot} > > \usepackage{graphics} > \usepackage{xcolor} > > \usepackage{graphicx} > > \usepackage{pstricks} > \usepackage{pst-plot} > \usepackage{pstricks-add} > > %\pdsetup{ > %palette=blue, > %logohook=t, > %logopos={.09\slidewidth,.115\slideheight}, > %logocmd={\includegraphics[height=.1\slideheight]{CBE_logo}} > %} > > > \def\parno{\par\noindent} > > > \title{Market Research Strategy \& Ethical Challenges} > % > \author{Vinay Kanetkar } > \date{Updated October, 2016} > > > \begin{document} > > > \maketitle > % > % > \begin{slide}[toc=,bm=]{Overview} > \tableofcontents[content=sections] > \end{slide} > > \section{Market Research Strategy and Tactics} > > \begin{slide}[toc=,bm=]{Strategy \& Tactics} > \begin{itemize} > \item Exploratory > {\scriptsize \begin{itemize} > \item Insight into general nature of problem > \item Limited prior knowledge > \item Unstructured > \item Vague and ill defined hypotheses > \item Used often to define and scope project boundaries > \end{itemize} } > \item Descriptive > {\scriptsize > \begin{itemize} > \item Provide current understanding of market place > \item Hypotheses are speculative > \item Typically distinction made between users and non-users. > \end{itemize}} > \item Causal > {\scriptsize > \begin{itemize} > \item Interest in cause and effect > \item Decision specific and expected to provide definite answer. > \end{itemize} } > \end{itemize} > \end{slide} > > > \end{document} > > > I have included log file below =====================================. > > This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) > (format=LATEX 2017.1.10) 10 JAN 2017 21:16 > entering extended mode > Source specials enabled. > %&-line parsing enabled. > **&latex MR_Strategy_Ethics_TestSlide.tex > (./MR_Strategy_Ethics_TestSlide.tex > LaTeX2e <2005/12/01> > (c:/PCTeXv6/texmf-dist/tex/latex/powerdot/powerdot.cls > Document Class: powerdot 2005/12/06 v1.3 powerdot presentation class > (HA,CE) > \c at note=\count79 > \c at slide=\count80 > \c at pd@pause=\count81 > \c at pd@section=\count82 > \c at pd@overlay=\count83 > \c at pd@trivlist=\count84 > \c at pd@onslidedepth=\count85 > \pd at tba=\box26 > \pd at tbb=\box27 > \pd at body=\toks14 > \pd at bmout=\write3 > \pd at tocout=\write4 > \pd at frsep=\skip41 > \pd at colsep=\skip42 > \slidewidth=\skip43 > \slideheight=\skip44 > (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkeyval.sty > Package: xkeyval 2014/12/03 v2.7a package option processing (HA) > > (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkeyval.tex > (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkvutils.tex > \XKV at toks=\toks15 > \XKV at tempa@toks=\toks16 > > (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/keyval.tex)) > \XKV at depth=\count86 > File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) > )) > (c:/PCTeXv6/texmf-dist/tex/latex/base/article.cls > Document Class: article 2005/09/16 v1.4f Standard LaTeX document class > (c:/PCTeXv6/texmf-dist/tex/latex/base/size10.clo > File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) > ) > \c at part=\count87 > \c at section=\count88 > \c at subsection=\count89 > \c at subsubsection=\count90 > \c at paragraph=\count91 > \c at subparagraph=\count92 > \c at figure=\count93 > \c at table=\count94 > \abovecaptionskip=\skip45 > \belowcaptionskip=\skip46 > \bibindent=\dimen102 > ) > (c:/PCTeXv6/texmf-dist/tex/latex/base/size11.clo > File: size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option) > ) > (c:/PCTeXv6/texmf-dist/tex/latex/geometry/geometry.sty > Package: geometry 2002/07/08 v3.2 Page Geometry > \Gm at cnth=\count95 > \Gm at cntv=\count96 > \c at Gm@tempcnt=\count97 > \Gm at bindingoffset=\dimen103 > \Gm at wd@mp=\dimen104 > \Gm at odd@mp=\dimen105 > \Gm at even@mp=\dimen106 > \Gm at dimlist=\toks17 > ) > (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/hyperref.sty > Package: hyperref 2007/02/07 v6.75r Hypertext links for LaTeX > \@linkdim=\dimen107 > \Hy at linkcounter=\count98 > \Hy at pagecounter=\count99 > > (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/pd1enc.def > File: pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition > (HO) > ) > (c:/PCTeXv6/texmf-dist/tex/latex/oberdiek/kvoptions.sty > Package: kvoptions 2006/08/22 v2.4 Connects package keyval with LaTeX > options ( > HO) > ) > Package hyperref Info: Option `setpagesize' set `false' on input line > 2238. > Package hyperref Info: Option `pageanchor' set `false' on input line > 2238. > Package hyperref Info: Option `bookmarks' set `false' on input line > 2238. > Package hyperref Info: Hyper figures OFF on input line 2288. > Package hyperref Info: Link nesting OFF on input line 2293. > Package hyperref Info: Hyper index ON on input line 2296. > Package hyperref Info: Plain pages OFF on input line 2303. > Package hyperref Info: Backreferencing OFF on input line 2308. > > Implicit mode ON; LaTeX internals redefined > Package hyperref Info: Bookmarks OFF on input line 2450. > (c:/PCTeXv6/texmf-dist/tex/latex/ltxmisc/url.sty > \Urlmuskip=\muskip10 > Package: url 2005/06/27 ver 3.2 Verb mode for urls, etc. > ) > LaTeX Info: Redefining \url on input line 2599. > \Fld at menulength=\count100 > \Field at Width=\dimen108 > \Fld at charsize=\dimen109 > \Choice at toks=\toks18 > \Field at toks=\toks19 > Package hyperref Info: Hyper figures OFF on input line 3102. > Package hyperref Info: Link nesting OFF on input line 3107. > Package hyperref Info: Hyper index ON on input line 3110. > Package hyperref Info: backreferencing OFF on input line 3117. > Package hyperref Info: Link coloring OFF on input line 3122. > \Hy at abspage=\count101 > \c at Item=\count102 > \c at Hfootnote=\count103 > ) > *hyperref using driver hdvips* > (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/hdvips.def > File: hdvips.def 2007/02/07 v6.75r Hyperref driver for dvips > > (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/pdfmark.def > File: pdfmark.def 2007/02/07 v6.75r Hyperref definitions for pdfmark > specials > \pdf at docset=\toks20 > \pdf at box=\box28 > \pdf at toks=\toks21 > \pdf at defaulttoks=\toks22 > \Fld at listcount=\count104 > )) > (c:/PCTeXv6/texmf-dist/tex/latex/graphics/graphicx.sty > Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) > > (c:/PCTeXv6/texmf-dist/tex/latex/graphics/graphics.sty > Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR) > > (c:/PCTeXv6/texmf-dist/tex/latex/graphics/trig.sty > Package: trig 1999/03/16 v1.09 sin cos tan (DPC) > ) > (c:/PCTeXv6/texmf-pti/tex/latex/graphics.cfg) > Package graphics Info: Driver file: dvips.def on input line 90. > > (c:/PCTeXv6/texmf-pti/tex/latex/graphics/dvips.def > File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) > )) > \Gin at req@height=\dimen110 > \Gin at req@width=\dimen111 > ) > (c:/PCTeXv6/texmf-dist/tex/latex/pstricks/pstricks.sty > Package: pstricks 2015/11/14 v0.62 LaTeX wrapper for `PSTricks' > (RN,HV) > > (c:/PCTeXv6/texmf-dist/tex/latex/xcolor/xcolor.sty > Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) > > (c:/PCTeXv6/texmf-pti/tex/latex/color.cfg) > Package xcolor Info: Driver file: dvips.def on input line 225. > 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. > ) > (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pstricks.tex > (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/pst-xkey.tex > File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval > (HA) > ) > (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-fp.tex > `pst-fp' v0.05, 2010/01/17 (hv) > \pstFP at xs=\count105 > \pstFP at xia=\count106 > \pstFP at xib=\count107 > \pstFP at xfa=\count108 > \pstFP at xfb=\count109 > \pstFP at rega=\count110 > \pstFP at regb=\count111 > \pstFP at regs=\count112 > \pstFP at times=\count113 > ) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex > \pgfutil at everybye=\toks23 > \pgfutil at tempdima=\dimen112 > \pgfutil at tempdimb=\dimen113 > > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex)) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex > \pgfkeys at pathtoks=\toks24 > \pgfkeys at temptoks=\toks25 > > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex > \pgfkeys at tmptoks=\toks26 > )) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex > \pgf at x=\dimen114 > \pgf at xa=\dimen115 > \pgf at xb=\dimen116 > \pgf at xc=\dimen117 > \pgf at y=\dimen118 > \pgf at ya=\dimen119 > \pgf at yb=\dimen120 > \pgf at yc=\dimen121 > \c at pgf@counta=\count114 > \c at pgf@countb=\count115 > \c at pgf@countc=\count116 > \c at pgf@countd=\count117 > \pgfutil at tempcnta=\count118 > \pgfutil at tempcntb=\count119 > ) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex > \pgfmath at dimen=\dimen122 > \pgfmath at count=\count120 > \pgfmath at box=\box29 > \pgfmath at toks=\toks27 > \pgfmath at stack@operand=\toks28 > \pgfmath at stack@operation=\toks29 > ) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code > .tex) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.te > x) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics > .code.tex))) > (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex > \c at pgfmathroundto@lastzeros=\count121 > )) > \pgffor at iter=\dimen123 > \pgffor at skip=\dimen124 > \pgffor at stack=\toks30 > \pgffor at toks=\toks31 > ) > \psLoopIndex=\count122 > > `PSTricks' v2.71 <2016/12/23> (tvz) > \pst at dima=\dimen125 > \pst at dimb=\dimen126 > \pst at dimc=\dimen127 > \pst at dimd=\dimen128 > \pst at dimg=\dimen129 > \pst at dimh=\dimen130 > \pst at dimm=\dimen131 > \pst at dimn=\dimen132 > \pst at dimo=\dimen133 > \pst at dimp=\dimen134 > \pst at hbox=\box30 > \pst at ibox=\box31 > \pst at boxg=\box32 > \pst at cnta=\count123 > \pst at cntb=\count124 > \pst at cntc=\count125 > \pst at cntd=\count126 > \pst at cntg=\count127 > \pst at cnth=\count128 > \pst at cntm=\count129 > \pst at cntn=\count130 > \pst at cnto=\count131 > \pst at cntp=\count132 > \@zero=\count133 > \pst at toks=\toks32 > (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pstricks.con) > \psunit=\dimen135 > \psxunit=\dimen136 > \psyunit=\dimen137 > \pst at C@@rType=\count134 > \pslinewidth=\dimen138 > \psk at startLW=\dimen139 > \psk at endLW=\dimen140 > \pst at customdefs=\toks33 > \pslinearc=\dimen141 > \pst at symbolStep=\dimen142 > \pst at symbolWidth=\dimen143 > \pst at symbolLinewidth=\dimen144 > \everypsbox=\toks34 > \psframesep=\dimen145 > \pslabelsep=\dimen146 > \sh at wgridXunit=\dimen147 > \sh at wgridYunit=\dimen148 > \pst at shift=\dimen149 > ) > File: pstricks.tex 2016/12/23 v2.71 `PSTricks' (tvz,hv) > > (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-fp.tex) > File: pst-fp.tex 2016/12/23 v2.71 `PST-fp' (hv) > ) > (c:/PCTeXv6/texmf-dist/tex/latex/enumitem/enumitem.sty > Package: enumitem 2005/05/12 v1.1 Customized lists > \labelindent=\skip47 > \enit at outerparindent=\dimen150 > ) > (c:/PCTeXv6/texmf-dist/tex/latex/tools/verbatim.sty > Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim > enhancements > \every at verbatim=\toks35 > \verbatim at line=\toks36 > \verbatim at in@stream=\read1 > ) > \pd at logobox=\box33 > > (c:/PCTeXv6/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty > Package: powerdot-fyma 2005/12/06 v1.2 fyma style (SA,HA) > > (c:/PCTeXv6/texmf-dist/tex/latex/pst-grad/pst-grad.sty > Package: pst-grad 2004/07/15 package wrapper for pst-grad.tex (hv) > > (c:/PCTeXv6/texmf-dist/tex/generic/pst-grad/pst-grad.tex > `pst-grad' v1.06, 2006/11/27 (tvz,dg,hv)) > File: pst-grad.tex 2006/11/27 1.06 `pst-grad' (tvz) > ))) > (c:/PCTeXv6/texmf-dist/tex/latex/pst-plot/pst-plot.sty > Package: pst-plot 2011/06/05 v1.00 LaTeX wrapper for `pst-plot' (HV) > > (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/pst-xkey.sty > Package: pst-xkey 2005/11/25 v1.6 package wrapper for pst-xkey.tex > (HA) > ) > (c:/PCTeXv6/texmf-dist/tex/generic/multido/multido.sty > Package: multido 2004/05/17 package wrapper for PSTricks > `multido.tex', (HV/RN) > > > (c:/PCTeXv6/texmf-dist/tex/generic/multido/multido.tex > v1.41, 2004/05/18 > \multido at count=\count135 > \multidocount=\count136 > \multido at stuff=\toks37 > ) > File: multido.tex 2004/05/18 v1.41 `multido' (tvz) > ) > Package: pst-plot 2011/04/13 package wrapper for pst-plot.tex (hv) > > (c:/PCTeXv6/texmf-dist/tex/generic/pst-plot/pst-plot.tex > (c:/PCTeXv6/texmf-dist/tex/generic/pst-tools/pst-tools.tex > `PST-tools' v0.05, 2014/05/12 (hv)) > (c:/PCTeXv6/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex > (c:/PCTeXv6/texmf-dist/tex/generic/pst-node/pst-node.tex v1.38, > 2016/05/27 > \psrow=\count137 > \pscol=\count138 > \psmatrixcnt=\count139 > \psrowsep=\skip48 > \pscolsep=\skip49 > \pst at args=\count140 > \num at pts=\count141 > \pst at argcnt=\count142 > ) > (c:/PCTeXv6/texmf-dist/tex/generic/pst-arrow/pst-arrow.tex > `pst-arrow' v0.01, 2016/09/01 (dr,hv) > \pshooklength=\dimen151 > \pshookwidth=\dimen152 > ) > (c:/PCTeXv6/texmf-dist/tex/generic/pst-3d/pst-3d.tex > `PST-3d' v1.11, 2010/02/14 (tvz)) > (c:/PCTeXv6/texmf-dist/tex/generic/pst-math/pst-math.tex > `pst-math' v0.63 , (CJ,hv)) `pstricks-add' v3.82, 2016/09/01 (dr,hv) > \psparallelogramsep=\dimen153 > \pst at cntC=\count143 > \chart at ColorIndex=\dimen154 > \chart at ColorStep=\dimen155 > \pst at chartHeight=\dimen156 > \pst at chartStackDepth=\dimen157 > \pst at chartStackWidth=\dimen158 > \chart at Toggle=\count144 > \psVectorCtr=\count145 > ) > v1.75, 2016/05/18 (tvz,hv) > \pstRadUnit=\dimen159 > \pstRadUnitInv=\dimen160 > \pst at linecnt=\count146 > \RCD at file=\read2 > \psxlabelsep=\dimen161 > \psylabelsep=\dimen162 > \psk at subticksize=\dimen163 > \pst at xticksizeA=\dimen164 > \pst at xticksizeB=\dimen165 > \pst at xticksizeC=\dimen166 > \pst at yticksizeA=\dimen167 > \pst at yticksizeB=\dimen168 > \pst at yticksizeC=\dimen169 > \@digitcounter=\count147 > \psk at llx=\dimen170 > \psk at lly=\dimen171 > \psk at urx=\dimen172 > \psk at ury=\dimen173 > \pst at xunit=\dimen174 > \pst at yunit=\dimen175 > ) > File: pst-plot.tex 2016/05/18 1.75 `pst-plot' (tvz,hv) > ) > (c:/PCTeXv6/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty > (c:/PCTeXv6/texmf-dist/tex/latex/pst-node/pst-node.sty > Package: pst-node 2012/09/18 v1.01 LaTeX wrapper for `pst-node' (HV) > Package: pst-node 2010/04/22 package wrapper for pst-node.tex > > (c:/PCTeXv6/texmf-dist/tex/generic/pst-node/pst-node.tex) > File: pst-node.tex 2016/05/18 1.75 `pst-node' (tvz,hv) > ) > (c:/PCTeXv6/texmf-dist/tex/latex/pst-3d/pst-3d.sty > Package: pst-3d 2009/07/28 package wrapper for pst-3d.tex (hv) > > (c:/PCTeXv6/texmf-dist/tex/generic/pst-3d/pst-3d.tex) > File: pst-3d.tex 2016/05/18 v1.75 `PST-3d' (hv) > ) > (c:/PCTeXv6/texmf-dist/tex/latex/pst-math/pst-math.sty > Package: pst-math 2014/07/30 package wrapper for PSTricks pst-math.tex > > (c:/PCTeXv6/texmf-dist/tex/generic/pst-math/pst-math.tex) > File: pst-math.tex 2016/05/18 v1.75 `PST-math' (hv) > ) > Package: pstricks-add 2010/02/11 v. 0.14 package wrapper for > pstricks-add.tex ( > hv) > > (c:/PCTeXv6/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex) > File: pstricks-add.tex 2016/05/18 v1.75 `PSTricks-add' (hv) > ) > (./MR_Strategy_Ethics_TestSlide.aux) > \openout1 = `MR_Strategy_Ethics_TestSlide.aux'. > > LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line > 34. > LaTeX Font Info: ... okay on input line 34. > LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 34. > LaTeX Font Info: ... okay on input line 34. > LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line > 34. > LaTeX Font Info: ... okay on input line 34. > LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line > 34. > LaTeX Font Info: ... okay on input line 34. > LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line > 34. > LaTeX Font Info: ... okay on input line 34. > LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 34. > LaTeX Font Info: ... okay on input line 34. > LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line > 34. > LaTeX Font Info: ... okay on input line 34. > LaTeX Font Info: Try loading font information for OT1+phv on input > line 34. > > (c:/PCTeXv6/texmf-dist/tex/latex/psnfss/ot1phv.fd > File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. > ) > LaTeX Font Info: Font shape `OT1/phv/m/n' will be > (Font) scaled to size 9.41699pt on input line 34. > > Package hyperref Info: Link coloring OFF on input line 34. > > (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/nameref.sty > Package: nameref 2006/12/27 v2.28 Cross-referencing by name of section > > (c:/PCTeXv6/texmf-dist/tex/latex/oberdiek/refcount.sty > Package: refcount 2006/02/20 v3.0 Data extraction from references (HO) > ) > \c at section@level=\count148 > ) > LaTeX Info: Redefining \ref on input line 34. > LaTeX Info: Redefining \pageref on input line 34. > > (./MR_Strategy_Ethics_TestSlide.bm) > (./MR_Strategy_Ethics_TestSlide.bm) > \openout3 = `MR_Strategy_Ethics_TestSlide.bm'. > > > (./MR_Strategy_Ethics_TestSlide.toc) > \openout4 = `MR_Strategy_Ethics_TestSlide.toc'. > > LaTeX Font Info: Font shape `OT1/phv/m/n' will be > (Font) scaled to size 10.32pt on input line 40. > LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <12> not > available > (Font) Font shape `OT1/phv/b/n' tried instead on input > line 40. > LaTeX Font Info: Font shape `OT1/phv/b/n' will be > (Font) scaled to size 10.32pt on input line 40. > LaTeX Font Info: External font `cmex10' loaded for size > (Font) <10.95> on input line 40. > LaTeX Font Info: External font `cmex10' loaded for size > (Font) <8> on input line 40. > LaTeX Font Info: External font `cmex10' loaded for size > (Font) <6> on input line 40. > LaTeX Font Info: Font shape `OT1/phv/m/n' will be > (Font) scaled to size 6.88pt on input line 40. > LaTeX Font Info: Font shape `OT1/phv/m/n' will be > (Font) scaled to size 8.6pt on input line 40. > [1 > > ] > LaTeX Font Info: Font shape `OT1/phv/m/n' will be > (Font) scaled to size 5.16pt on input line 42. > LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <10.95> not > available > (Font) Font shape `OT1/phv/b/n' tried instead on input > line 42. > LaTeX Font Info: Font shape `OT1/phv/b/n' will be > (Font) scaled to size 9.41699pt on input line 42. > [2] > LaTeX Font Info: Font shape `OT1/phv/m/n' will be > (Font) scaled to size 12.384pt on input line 44. > LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <14.4> not > available > (Font) Font shape `OT1/phv/b/n' tried instead on input > line 44. > LaTeX Font Info: Font shape `OT1/phv/b/n' will be > (Font) scaled to size 12.384pt on input line 44. > [3] > LaTeX Font Info: External font `cmex10' loaded for size > (Font) <7> on input line 70. > LaTeX Font Info: External font `cmex10' loaded for size > (Font) <5> on input line 70. > [4] > (./MR_Strategy_Ethics_TestSlide.aux) > > *File List* > powerdot.cls 2005/12/06 v1.3 powerdot presentation class (HA,CE) > xkeyval.sty 2014/12/03 v2.7a package option processing (HA) > xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) > article.cls 2005/09/16 v1.4f Standard LaTeX document class > size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) > size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option) > geometry.sty 2002/07/08 v3.2 Page Geometry > hyperref.sty 2007/02/07 v6.75r Hypertext links for LaTeX > pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition > (HO) > kvoptions.sty 2006/08/22 v2.4 Connects package keyval with LaTeX > options (HO > ) > url.sty 2005/06/27 ver 3.2 Verb mode for urls, etc. > hdvips.def 2007/02/07 v6.75r Hyperref driver for dvips > pdfmark.def 2007/02/07 v6.75r Hyperref definitions for pdfmark > specials > graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) > graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR) > trig.sty 1999/03/16 v1.09 sin cos tan (DPC) > graphics.cfg > dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) > pstricks.sty 2015/11/14 v0.62 LaTeX wrapper for `PSTricks' (RN,HV) > xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) > color.cfg > pstricks.tex 2016/12/23 v2.71 `PSTricks' (tvz,hv) > pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval > (HA) > pst-fp.tex 2016/12/23 v2.71 `PST-fp' (hv) > enumitem.sty 2005/05/12 v1.1 Customized lists > verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim > enhancements > powerdot-fyma.sty 2005/12/06 v1.2 fyma style (SA,HA) > pst-grad.sty 2004/07/15 package wrapper for pst-grad.tex (hv) > pst-grad.tex 2006/11/27 1.06 `pst-grad' (tvz) > 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 2004/05/18 v1.41 `multido' (tvz) > pst-plot.tex 2016/05/18 1.75 `pst-plot' (tvz,hv) > pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for > pstricks-add.tex (hv > ) > pst-node.sty 2010/04/22 package wrapper for pst-node.tex > pst-node.tex 2016/05/18 1.75 `pst-node' (tvz,hv) > pst-3d.sty 2009/07/28 package wrapper for pst-3d.tex (hv) > pst-3d.tex 2016/05/18 v1.75 `PST-3d' (hv) > pst-math.sty 2014/07/30 package wrapper for PSTricks pst-math.tex > pstricks-add.tex 2016/05/18 v1.75 `PSTricks-add' (hv) > ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. > nameref.sty 2006/12/27 v2.28 Cross-referencing by name of section > refcount.sty 2006/02/20 v3.0 Data extraction from references (HO) > MR_Strategy_Ethics_TestSlide.bm > MR_Strategy_Ethics_TestSlide.bm > MR_Strategy_Ethics_TestSlide.toc > *********** > > ) > Here is how much of TeX's memory you used: > 12456 strings out of 95374 > 214335 string characters out of 1188758 > 1331090 words of memory out of 2500000 > 15335 multiletter control sequences out of 10000+50000 > 11623 words of font info for 32 fonts, out of 1000000 for 2000 > 14 hyphenation exceptions out of 8191 > 45i,9n,70p,672b,527s stack positions out of > 5000i,500n,1000p,200000b,5000s > 0 PDF objects out of 300000 > 0 named destinations out of 131072 > 1 words of extra memory for PDF output out of 65536 > > Output written on MR_Strategy_Ethics_TestSlide.dvi (4 pages, 61900 > bytes). > _______________________________________________ > 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 -------------- An embedded and charset-unspecified text was scrubbed... Name: test-powerdot.log URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test-powerdot.pdf Type: application/pdf Size: 31670 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Wed Jan 11 10:08:14 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 11 Jan 2017 10:08:14 +0100 Subject: [pstricks] Problem after upgrading all of files from pstricks tar ball In-Reply-To: References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> <1483640378321.12641@unibo.it> Message-ID: <984c2f13-7d5b-f4ee-d933-a66c79096e7f@FU-Berlin.DE> Am 11.01.2017 um 03:31 schrieb Vinay Kanetkar: > Please help! > > I upgraded pstricks package by downloading it from tar ball depository. > I understand something might be unstable. > > *File List* > powerdot.cls 2005/12/06 v1.3 powerdot presentation class (HA,CE) Current version of powerdot is 1.5a I have no problem with your example. Update powerdot or write to the powerdot mailing list. http://www.freelists.org/list/powerdot Herbert From vkanetka at uoguelph.ca Wed Jan 11 12:14:35 2017 From: vkanetka at uoguelph.ca (Vinay Kanetkar) Date: Wed, 11 Jan 2017 11:14:35 +0000 Subject: [pstricks] Problem after upgrading all of files from pstricks tar ball In-Reply-To: <984c2f13-7d5b-f4ee-d933-a66c79096e7f@FU-Berlin.DE> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> <1483640378321.12641@unibo.it> , <984c2f13-7d5b-f4ee-d933-a66c79096e7f@FU-Berlin.DE> Message-ID: Thanks for quick response. It worked fine after fixing powerdot. Vinay ________________________________ From: PSTricks on behalf of Herbert Voss Sent: Wednesday, January 11, 2017 4:08 AM To: pstricks at tug.org Subject: Re: [pstricks] Problem after upgrading all of files from pstricks tar ball Am 11.01.2017 um 03:31 schrieb Vinay Kanetkar: > Please help! > > I upgraded pstricks package by downloading it from tar ball depository. > I understand something might be unstable. > > *File List* > powerdot.cls 2005/12/06 v1.3 powerdot presentation class (HA,CE) Current version of powerdot is 1.5a I have no problem with your example. Update powerdot or write to the powerdot mailing list. http://www.freelists.org/list/powerdot 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 vkanetka at uoguelph.ca Wed Jan 11 12:15:11 2017 From: vkanetka at uoguelph.ca (Vinay Kanetkar) Date: Wed, 11 Jan 2017 11:15:11 +0000 Subject: [pstricks] Problem after upgrading all of files from pstricks tar ball In-Reply-To: <9C4BD968-DD49-4660-912E-382BDB9F5AD7@gmail.com> References: <000001d266bb$881aa210$984fe630$@sympatico.ca> <1C2CE1D1-A396-48A7-95E0-D060959A812A@gmail.com> <72713499-40fc-6d36-2b11-9acba736112b@FU-Berlin.DE> <8742FEFF-5F7D-449F-81E2-7CE0C70A9F9A@gmail.com> <1483640378321.12641@unibo.it> , <9C4BD968-DD49-4660-912E-382BDB9F5AD7@gmail.com> Message-ID: Thanks for your help. powerdot was problem. Vinay ________________________________ From: PSTricks on behalf of Norberto Moreno Quib?n Sent: Wednesday, January 11, 2017 3:09 AM To: Graphics with PSTricks Subject: Re: [pstricks] Problem after upgrading all of files from pstricks tar ball Hello, I have been able to compile your document. I include the log of my system here. My recommendation is that after you upgrade your packages once more, run "updmap" manually from your terminal and try to compile the file again. Best ><><><><><><><><><><><><><><><>< Norberto Moreno Quib?n norberto at quiben.net quiben at gmail.com http://www.quiben.net "Much is uncertain, and must remain so." Mental Reality, Galen Strawson On 11 Jan 2017, at 3:31, Vinay Kanetkar wrote: Please help! I upgraded pstricks package by downloading it from tar ball depository. I understand something might be unstable. Compiling part works fine. ghostscript and pdf do not generate output, I get black screen with all sorts of error message. Usually in the past, I figured it has to do with one or more pro file not in sink. Everything worked fine with older pstricks. I have included input and log file output below. Thanks. Here is input file====================================== \listfiles \documentclass[style=fyma, %mode=handout,nohandoutpagebreaks,nohandoutframes display=slides,paper=letterpaper ]{powerdot} \usepackage{graphics} \usepackage{xcolor} \usepackage{graphicx} \usepackage{pstricks} \usepackage{pst-plot} \usepackage{pstricks-add} %\pdsetup{ %palette=blue, %logohook=t, %logopos={.09\slidewidth,.115\slideheight}, %logocmd={\includegraphics[height=.1\slideheight]{CBE_logo}} %} \def\parno{\par\noindent} \title{Market Research Strategy \& Ethical Challenges} % \author{Vinay Kanetkar } \date{Updated October, 2016} \begin{document} \maketitle % % \begin{slide}[toc=,bm=]{Overview} \tableofcontents[content=sections] \end{slide} \section{Market Research Strategy and Tactics} \begin{slide}[toc=,bm=]{Strategy \& Tactics} \begin{itemize} \item Exploratory {\scriptsize \begin{itemize} \item Insight into general nature of problem \item Limited prior knowledge \item Unstructured \item Vague and ill defined hypotheses \item Used often to define and scope project boundaries \end{itemize} } \item Descriptive {\scriptsize \begin{itemize} \item Provide current understanding of market place \item Hypotheses are speculative \item Typically distinction made between users and non-users. \end{itemize}} \item Causal {\scriptsize \begin{itemize} \item Interest in cause and effect \item Decision specific and expected to provide definite answer. \end{itemize} } \end{itemize} \end{slide} \end{document} I have included log file below =====================================. This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=LATEX 2017.1.10) 10 JAN 2017 21:16 entering extended mode Source specials enabled. %&-line parsing enabled. **&latex MR_Strategy_Ethics_TestSlide.tex (./MR_Strategy_Ethics_TestSlide.tex LaTeX2e <2005/12/01> (c:/PCTeXv6/texmf-dist/tex/latex/powerdot/powerdot.cls Document Class: powerdot 2005/12/06 v1.3 powerdot presentation class (HA,CE) \c at note=\count79 \c at slide=\count80 \c at pd@pause=\count81 \c at pd@section=\count82 \c at pd@overlay=\count83 \c at pd@trivlist=\count84 \c at pd@onslidedepth=\count85 \pd at tba=\box26 \pd at tbb=\box27 \pd at body=\toks14 \pd at bmout=\write3 \pd at tocout=\write4 \pd at frsep=\skip41 \pd at colsep=\skip42 \slidewidth=\skip43 \slideheight=\skip44 (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkeyval.sty Package: xkeyval 2014/12/03 v2.7a package option processing (HA) (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkeyval.tex (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkvutils.tex \XKV at toks=\toks15 \XKV at tempa@toks=\toks16 (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/keyval.tex)) \XKV at depth=\count86 File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) )) (c:/PCTeXv6/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (c:/PCTeXv6/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) \c at part=\count87 \c at section=\count88 \c at subsection=\count89 \c at subsubsection=\count90 \c at paragraph=\count91 \c at subparagraph=\count92 \c at figure=\count93 \c at table=\count94 \abovecaptionskip=\skip45 \belowcaptionskip=\skip46 \bibindent=\dimen102 ) (c:/PCTeXv6/texmf-dist/tex/latex/base/size11.clo File: size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) (c:/PCTeXv6/texmf-dist/tex/latex/geometry/geometry.sty Package: geometry 2002/07/08 v3.2 Page Geometry \Gm at cnth=\count95 \Gm at cntv=\count96 \c at Gm@tempcnt=\count97 \Gm at bindingoffset=\dimen103 \Gm at wd@mp=\dimen104 \Gm at odd@mp=\dimen105 \Gm at even@mp=\dimen106 \Gm at dimlist=\toks17 ) (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/hyperref.sty Package: hyperref 2007/02/07 v6.75r Hypertext links for LaTeX \@linkdim=\dimen107 \Hy at linkcounter=\count98 \Hy at pagecounter=\count99 (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/pd1enc.def File: pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO) ) (c:/PCTeXv6/texmf-dist/tex/latex/oberdiek/kvoptions.sty Package: kvoptions 2006/08/22 v2.4 Connects package keyval with LaTeX options ( HO) ) Package hyperref Info: Option `setpagesize' set `false' on input line 2238. Package hyperref Info: Option `pageanchor' set `false' on input line 2238. Package hyperref Info: Option `bookmarks' set `false' on input line 2238. Package hyperref Info: Hyper figures OFF on input line 2288. Package hyperref Info: Link nesting OFF on input line 2293. Package hyperref Info: Hyper index ON on input line 2296. Package hyperref Info: Plain pages OFF on input line 2303. Package hyperref Info: Backreferencing OFF on input line 2308. Implicit mode ON; LaTeX internals redefined Package hyperref Info: Bookmarks OFF on input line 2450. (c:/PCTeXv6/texmf-dist/tex/latex/ltxmisc/url.sty \Urlmuskip=\muskip10 Package: url 2005/06/27 ver 3.2 Verb mode for urls, etc. ) LaTeX Info: Redefining \url on input line 2599. \Fld at menulength=\count100 \Field at Width=\dimen108 \Fld at charsize=\dimen109 \Choice at toks=\toks18 \Field at toks=\toks19 Package hyperref Info: Hyper figures OFF on input line 3102. Package hyperref Info: Link nesting OFF on input line 3107. Package hyperref Info: Hyper index ON on input line 3110. Package hyperref Info: backreferencing OFF on input line 3117. Package hyperref Info: Link coloring OFF on input line 3122. \Hy at abspage=\count101 \c at Item=\count102 \c at Hfootnote=\count103 ) *hyperref using driver hdvips* (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/hdvips.def File: hdvips.def 2007/02/07 v6.75r Hyperref driver for dvips (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/pdfmark.def File: pdfmark.def 2007/02/07 v6.75r Hyperref definitions for pdfmark specials \pdf at docset=\toks20 \pdf at box=\box28 \pdf at toks=\toks21 \pdf at defaulttoks=\toks22 \Fld at listcount=\count104 )) (c:/PCTeXv6/texmf-dist/tex/latex/graphics/graphicx.sty Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) (c:/PCTeXv6/texmf-dist/tex/latex/graphics/graphics.sty Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR) (c:/PCTeXv6/texmf-dist/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (c:/PCTeXv6/texmf-pti/tex/latex/graphics.cfg) Package graphics Info: Driver file: dvips.def on input line 90. (c:/PCTeXv6/texmf-pti/tex/latex/graphics/dvips.def File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) \Gin at req@height=\dimen110 \Gin at req@width=\dimen111 ) (c:/PCTeXv6/texmf-dist/tex/latex/pstricks/pstricks.sty Package: pstricks 2015/11/14 v0.62 LaTeX wrapper for `PSTricks' (RN,HV) (c:/PCTeXv6/texmf-dist/tex/latex/xcolor/xcolor.sty Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) (c:/PCTeXv6/texmf-pti/tex/latex/color.cfg) Package xcolor Info: Driver file: dvips.def on input line 225. 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. ) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pstricks.tex (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/pst-xkey.tex File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) ) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv) \pstFP at xs=\count105 \pstFP at xia=\count106 \pstFP at xib=\count107 \pstFP at xfa=\count108 \pstFP at xfb=\count109 \pstFP at rega=\count110 \pstFP at regb=\count111 \pstFP at regs=\count112 \pstFP at times=\count113 ) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex \pgfutil at everybye=\toks23 \pgfutil at tempdima=\dimen112 \pgfutil at tempdimb=\dimen113 (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex)) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex \pgfkeys at pathtoks=\toks24 \pgfkeys at temptoks=\toks25 (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex \pgfkeys at tmptoks=\toks26 )) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex \pgf at x=\dimen114 \pgf at xa=\dimen115 \pgf at xb=\dimen116 \pgf at xc=\dimen117 \pgf at y=\dimen118 \pgf at ya=\dimen119 \pgf at yb=\dimen120 \pgf at yc=\dimen121 \c at pgf@counta=\count114 \c at pgf@countb=\count115 \c at pgf@countc=\count116 \c at pgf@countd=\count117 \pgfutil at tempcnta=\count118 \pgfutil at tempcntb=\count119 ) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex \pgfmath at dimen=\dimen122 \pgfmath at count=\count120 \pgfmath at box=\box29 \pgfmath at toks=\toks27 \pgfmath at stack@operand=\toks28 \pgfmath at stack@operation=\toks29 ) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code .tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.te x) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics .code.tex))) (c:/PCTeXv6/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex \c at pgfmathroundto@lastzeros=\count121 )) \pgffor at iter=\dimen123 \pgffor at skip=\dimen124 \pgffor at stack=\toks30 \pgffor at toks=\toks31 ) \psLoopIndex=\count122 `PSTricks' v2.71 <2016/12/23> (tvz) \pst at dima=\dimen125 \pst at dimb=\dimen126 \pst at dimc=\dimen127 \pst at dimd=\dimen128 \pst at dimg=\dimen129 \pst at dimh=\dimen130 \pst at dimm=\dimen131 \pst at dimn=\dimen132 \pst at dimo=\dimen133 \pst at dimp=\dimen134 \pst at hbox=\box30 \pst at ibox=\box31 \pst at boxg=\box32 \pst at cnta=\count123 \pst at cntb=\count124 \pst at cntc=\count125 \pst at cntd=\count126 \pst at cntg=\count127 \pst at cnth=\count128 \pst at cntm=\count129 \pst at cntn=\count130 \pst at cnto=\count131 \pst at cntp=\count132 \@zero=\count133 \pst at toks=\toks32 (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pstricks.con) \psunit=\dimen135 \psxunit=\dimen136 \psyunit=\dimen137 \pst at C@@rType=\count134 \pslinewidth=\dimen138 \psk at startLW=\dimen139 \psk at endLW=\dimen140 \pst at customdefs=\toks33 \pslinearc=\dimen141 \pst at symbolStep=\dimen142 \pst at symbolWidth=\dimen143 \pst at symbolLinewidth=\dimen144 \everypsbox=\toks34 \psframesep=\dimen145 \pslabelsep=\dimen146 \sh at wgridXunit=\dimen147 \sh at wgridYunit=\dimen148 \pst at shift=\dimen149 ) File: pstricks.tex 2016/12/23 v2.71 `PSTricks' (tvz,hv) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-fp.tex) File: pst-fp.tex 2016/12/23 v2.71 `PST-fp' (hv) ) (c:/PCTeXv6/texmf-dist/tex/latex/enumitem/enumitem.sty Package: enumitem 2005/05/12 v1.1 Customized lists \labelindent=\skip47 \enit at outerparindent=\dimen150 ) (c:/PCTeXv6/texmf-dist/tex/latex/tools/verbatim.sty Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements \every at verbatim=\toks35 \verbatim at line=\toks36 \verbatim at in@stream=\read1 ) \pd at logobox=\box33 (c:/PCTeXv6/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty Package: powerdot-fyma 2005/12/06 v1.2 fyma style (SA,HA) (c:/PCTeXv6/texmf-dist/tex/latex/pst-grad/pst-grad.sty Package: pst-grad 2004/07/15 package wrapper for pst-grad.tex (hv) (c:/PCTeXv6/texmf-dist/tex/generic/pst-grad/pst-grad.tex `pst-grad' v1.06, 2006/11/27 (tvz,dg,hv)) File: pst-grad.tex 2006/11/27 1.06 `pst-grad' (tvz) ))) (c:/PCTeXv6/texmf-dist/tex/latex/pst-plot/pst-plot.sty Package: pst-plot 2011/06/05 v1.00 LaTeX wrapper for `pst-plot' (HV) (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/pst-xkey.sty Package: pst-xkey 2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA) ) (c:/PCTeXv6/texmf-dist/tex/generic/multido/multido.sty Package: multido 2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN) (c:/PCTeXv6/texmf-dist/tex/generic/multido/multido.tex v1.41, 2004/05/18 \multido at count=\count135 \multidocount=\count136 \multido at stuff=\toks37 ) File: multido.tex 2004/05/18 v1.41 `multido' (tvz) ) Package: pst-plot 2011/04/13 package wrapper for pst-plot.tex (hv) (c:/PCTeXv6/texmf-dist/tex/generic/pst-plot/pst-plot.tex (c:/PCTeXv6/texmf-dist/tex/generic/pst-tools/pst-tools.tex `PST-tools' v0.05, 2014/05/12 (hv)) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex (c:/PCTeXv6/texmf-dist/tex/generic/pst-node/pst-node.tex v1.38, 2016/05/27 \psrow=\count137 \pscol=\count138 \psmatrixcnt=\count139 \psrowsep=\skip48 \pscolsep=\skip49 \pst at args=\count140 \num at pts=\count141 \pst at argcnt=\count142 ) (c:/PCTeXv6/texmf-dist/tex/generic/pst-arrow/pst-arrow.tex `pst-arrow' v0.01, 2016/09/01 (dr,hv) \pshooklength=\dimen151 \pshookwidth=\dimen152 ) (c:/PCTeXv6/texmf-dist/tex/generic/pst-3d/pst-3d.tex `PST-3d' v1.11, 2010/02/14 (tvz)) (c:/PCTeXv6/texmf-dist/tex/generic/pst-math/pst-math.tex `pst-math' v0.63 , (CJ,hv)) `pstricks-add' v3.82, 2016/09/01 (dr,hv) \psparallelogramsep=\dimen153 \pst at cntC=\count143 \chart at ColorIndex=\dimen154 \chart at ColorStep=\dimen155 \pst at chartHeight=\dimen156 \pst at chartStackDepth=\dimen157 \pst at chartStackWidth=\dimen158 \chart at Toggle=\count144 \psVectorCtr=\count145 ) v1.75, 2016/05/18 (tvz,hv) \pstRadUnit=\dimen159 \pstRadUnitInv=\dimen160 \pst at linecnt=\count146 \RCD at file=\read2 \psxlabelsep=\dimen161 \psylabelsep=\dimen162 \psk at subticksize=\dimen163 \pst at xticksizeA=\dimen164 \pst at xticksizeB=\dimen165 \pst at xticksizeC=\dimen166 \pst at yticksizeA=\dimen167 \pst at yticksizeB=\dimen168 \pst at yticksizeC=\dimen169 \@digitcounter=\count147 \psk at llx=\dimen170 \psk at lly=\dimen171 \psk at urx=\dimen172 \psk at ury=\dimen173 \pst at xunit=\dimen174 \pst at yunit=\dimen175 ) File: pst-plot.tex 2016/05/18 1.75 `pst-plot' (tvz,hv) ) (c:/PCTeXv6/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty (c:/PCTeXv6/texmf-dist/tex/latex/pst-node/pst-node.sty Package: pst-node 2012/09/18 v1.01 LaTeX wrapper for `pst-node' (HV) Package: pst-node 2010/04/22 package wrapper for pst-node.tex (c:/PCTeXv6/texmf-dist/tex/generic/pst-node/pst-node.tex) File: pst-node.tex 2016/05/18 1.75 `pst-node' (tvz,hv) ) (c:/PCTeXv6/texmf-dist/tex/latex/pst-3d/pst-3d.sty Package: pst-3d 2009/07/28 package wrapper for pst-3d.tex (hv) (c:/PCTeXv6/texmf-dist/tex/generic/pst-3d/pst-3d.tex) File: pst-3d.tex 2016/05/18 v1.75 `PST-3d' (hv) ) (c:/PCTeXv6/texmf-dist/tex/latex/pst-math/pst-math.sty Package: pst-math 2014/07/30 package wrapper for PSTricks pst-math.tex (c:/PCTeXv6/texmf-dist/tex/generic/pst-math/pst-math.tex) File: pst-math.tex 2016/05/18 v1.75 `PST-math' (hv) ) Package: pstricks-add 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex ( hv) (c:/PCTeXv6/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex) File: pstricks-add.tex 2016/05/18 v1.75 `PSTricks-add' (hv) ) (./MR_Strategy_Ethics_TestSlide.aux) \openout1 = `MR_Strategy_Ethics_TestSlide.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 34. LaTeX Font Info: ... okay on input line 34. LaTeX Font Info: Try loading font information for OT1+phv on input line 34. (c:/PCTeXv6/texmf-dist/tex/latex/psnfss/ot1phv.fd File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. ) LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 9.41699pt on input line 34. Package hyperref Info: Link coloring OFF on input line 34. (c:/PCTeXv6/texmf-dist/tex/latex/hyperref/nameref.sty Package: nameref 2006/12/27 v2.28 Cross-referencing by name of section (c:/PCTeXv6/texmf-dist/tex/latex/oberdiek/refcount.sty Package: refcount 2006/02/20 v3.0 Data extraction from references (HO) ) \c at section@level=\count148 ) LaTeX Info: Redefining \ref on input line 34. LaTeX Info: Redefining \pageref on input line 34. (./MR_Strategy_Ethics_TestSlide.bm) (./MR_Strategy_Ethics_TestSlide.bm) \openout3 = `MR_Strategy_Ethics_TestSlide.bm'. (./MR_Strategy_Ethics_TestSlide.toc) \openout4 = `MR_Strategy_Ethics_TestSlide.toc'. LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 10.32pt on input line 40. LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <12> not available (Font) Font shape `OT1/phv/b/n' tried instead on input line 40. LaTeX Font Info: Font shape `OT1/phv/b/n' will be (Font) scaled to size 10.32pt on input line 40. LaTeX Font Info: External font `cmex10' loaded for size (Font) <10.95> on input line 40. LaTeX Font Info: External font `cmex10' loaded for size (Font) <8> on input line 40. LaTeX Font Info: External font `cmex10' loaded for size (Font) <6> on input line 40. LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 6.88pt on input line 40. LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 8.6pt on input line 40. [1 ] LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 5.16pt on input line 42. LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <10.95> not available (Font) Font shape `OT1/phv/b/n' tried instead on input line 42. LaTeX Font Info: Font shape `OT1/phv/b/n' will be (Font) scaled to size 9.41699pt on input line 42. [2] LaTeX Font Info: Font shape `OT1/phv/m/n' will be (Font) scaled to size 12.384pt on input line 44. LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <14.4> not available (Font) Font shape `OT1/phv/b/n' tried instead on input line 44. LaTeX Font Info: Font shape `OT1/phv/b/n' will be (Font) scaled to size 12.384pt on input line 44. [3] LaTeX Font Info: External font `cmex10' loaded for size (Font) <7> on input line 70. LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line 70. [4] (./MR_Strategy_Ethics_TestSlide.aux) *File List* powerdot.cls 2005/12/06 v1.3 powerdot presentation class (HA,CE) xkeyval.sty 2014/12/03 v2.7a package option processing (HA) xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) article.cls 2005/09/16 v1.4f Standard LaTeX document class size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option) geometry.sty 2002/07/08 v3.2 Page Geometry hyperref.sty 2007/02/07 v6.75r Hypertext links for LaTeX pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO) kvoptions.sty 2006/08/22 v2.4 Connects package keyval with LaTeX options (HO ) url.sty 2005/06/27 ver 3.2 Verb mode for urls, etc. hdvips.def 2007/02/07 v6.75r Hyperref driver for dvips pdfmark.def 2007/02/07 v6.75r Hyperref definitions for pdfmark specials graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR) trig.sty 1999/03/16 v1.09 sin cos tan (DPC) graphics.cfg dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) pstricks.sty 2015/11/14 v0.62 LaTeX wrapper for `PSTricks' (RN,HV) xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK) color.cfg pstricks.tex 2016/12/23 v2.71 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) pst-fp.tex 2016/12/23 v2.71 `PST-fp' (hv) enumitem.sty 2005/05/12 v1.1 Customized lists verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements powerdot-fyma.sty 2005/12/06 v1.2 fyma style (SA,HA) pst-grad.sty 2004/07/15 package wrapper for pst-grad.tex (hv) pst-grad.tex 2006/11/27 1.06 `pst-grad' (tvz) 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 2004/05/18 v1.41 `multido' (tvz) pst-plot.tex 2016/05/18 1.75 `pst-plot' (tvz,hv) pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv ) pst-node.sty 2010/04/22 package wrapper for pst-node.tex pst-node.tex 2016/05/18 1.75 `pst-node' (tvz,hv) pst-3d.sty 2009/07/28 package wrapper for pst-3d.tex (hv) pst-3d.tex 2016/05/18 v1.75 `PST-3d' (hv) pst-math.sty 2014/07/30 package wrapper for PSTricks pst-math.tex pstricks-add.tex 2016/05/18 v1.75 `PSTricks-add' (hv) ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. nameref.sty 2006/12/27 v2.28 Cross-referencing by name of section refcount.sty 2006/02/20 v3.0 Data extraction from references (HO) MR_Strategy_Ethics_TestSlide.bm MR_Strategy_Ethics_TestSlide.bm MR_Strategy_Ethics_TestSlide.toc *********** ) Here is how much of TeX's memory you used: 12456 strings out of 95374 214335 string characters out of 1188758 1331090 words of memory out of 2500000 15335 multiletter control sequences out of 10000+50000 11623 words of font info for 32 fonts, out of 1000000 for 2000 14 hyphenation exceptions out of 8191 45i,9n,70p,672b,527s stack positions out of 5000i,500n,1000p,200000b,5000s 0 PDF objects out of 300000 0 named destinations out of 131072 1 words of extra memory for PDF output out of 65536 Output written on MR_Strategy_Ethics_TestSlide.dvi (4 pages, 61900 bytes). _______________________________________________ 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 azzamhassanperso at gmail.com Thu Jan 12 23:05:14 2017 From: azzamhassanperso at gmail.com (HASSAN Azzam) Date: Thu, 12 Jan 2017 23:05:14 +0100 Subject: [pstricks] Troubles with the package powerdot Message-ID: Hello All PsTrickers and Miktexers I m a user of powerdot for displaying slides After the last update of miktex, i can not obtain a correct ps document, only the half of the slide is displayed. Any Help??? -- *Azzam HASSAN* *Grenoble - France* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Fri Jan 13 09:13:21 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 13 Jan 2017 09:13:21 +0100 Subject: [pstricks] Troubles with the package powerdot In-Reply-To: References: Message-ID: <54356.87.77.129.119.1484295201.webmail@webmail.zedat.fu-berlin.de> HASSAN Azzam schrieb: > Hello All PsTrickers and Miktexers > I m a user of powerdot for displaying slides > After the last update of miktex, i can not obtain a correct ps document, > only the half of the slide is displayed. > Any Help??? what happens with: dvips -t landscape .dvi Herbert From akhmedov at mpi-hd.mpg.de Thu Jan 26 10:32:14 2017 From: akhmedov at mpi-hd.mpg.de (akhmedov at mpi-hd.mpg.de) Date: Thu, 26 Jan 2017 10:32:14 +0100 (CET) Subject: [pstricks] prosper overlay problems Message-ID: Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and found that all my legacy prosper files with \overlays in them stopped working. Apparently the problem is that prosper is not compatible with recent versions of pstricks. Is it possible to get an older version which would still work with prosper? Thanks, Evgeny From Herbert.Voss at FU-Berlin.DE Thu Jan 26 11:20:08 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 26 Jan 2017 11:20:08 +0100 Subject: [pstricks] prosper overlay problems In-Reply-To: References: Message-ID: Am 26.01.2017 um 10:32 schrieb akhmedov at mpi-hd.mpg.de: > Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and > found that all my legacy prosper files with \overlays in them stopped > working. Apparently the problem is that prosper is not compatible with > recent versions of pstricks. Is it possible to get an older version > which would still work with prosper? Thanks, Evgeny Please give a short and complete example with the error message. Herbert From akhmedov at mpi-hd.mpg.de Thu Jan 26 14:17:32 2017 From: akhmedov at mpi-hd.mpg.de (akhmedov at mpi-hd.mpg.de) Date: Thu, 26 Jan 2017 14:17:32 +0100 (CET) Subject: [pstricks] prosper overlays problems In-Reply-To: References: Message-ID: Hello Herbert, here is the minimal example. The prosper file test1.tex: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} \usepackage{pstricks,pst-node} %%%\usepackage{pst-ovl} \begin{document} \overlays{2}{ \begin{slide}[Box]{This is a test} \small This is the first frame \fromSlide{2}{ This is the second frame } \end{slide} } \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Then latex test1 -> dvips test1 -> ps2pdf test1.ps test1.pdf At the last stage there is an error message: Error: /undefined in BOL Operand stack: (1) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1977 1 3 %oparray_pop 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:122/200(L)-- --dict:181/300(L)-- --dict:119/200(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 150749 GPL Ghostscript 9.18: Unrecoverable error, exit code 1 The error actually occurs already at the dvips stage. If after dvips test1 I open the test1.ps file with gv, I see the following error message: Error: /undefined in BOL Operand stack: (1) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1977 1 3 %oparray_pop 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- DictiGPL Ghostscript 9.18: Unrecoverable error, exit code 1 onary stack: --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:123/200(L)-- --dict:181/300(L)-- --dict:119/200(L)-- Current allocation mode is local Last OS error: Resource temporarily unavailable The problem seems to be known, but I was not able to find a clear solution. On the web page http://tex.stackexchange.com/questions/132779/problem-with-overlays it is mentioned that the problem may be related to incompatibility of prosper with recent versions of pstricks. However, the suggested solution (to add \usepackage{pst-ovl}) did not work in my case. On Thu, 26 Jan 2017, 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. prosper overlay problems (akhmedov at mpi-hd.mpg.de) > 2. Re: prosper overlay problems (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 26 Jan 2017 10:32:14 +0100 (CET) > From: akhmedov at mpi-hd.mpg.de > To: pstricks at tug.org > Subject: [pstricks] prosper overlay problems > Message-ID: > Content-Type: text/plain; format=flowed; charset=US-ASCII > > Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and > found that all my legacy prosper files with \overlays in them stopped > working. Apparently the problem is that prosper is not compatible with > recent versions of pstricks. Is it possible to get an older version which > would still work with prosper? Thanks, Evgeny > > > > ------------------------------ > > Message: 2 > Date: Thu, 26 Jan 2017 11:20:08 +0100 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] prosper overlay problems > Message-ID: > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 26.01.2017 um 10:32 schrieb akhmedov at mpi-hd.mpg.de: >> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and >> found that all my legacy prosper files with \overlays in them stopped >> working. Apparently the problem is that prosper is not compatible with >> recent versions of pstricks. Is it possible to get an older version >> which would still work with prosper? Thanks, Evgeny > > Please give a short and complete example with the error message. > > Herbert > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 167, Issue 8 > **************************************** > From Herbert.Voss at FU-Berlin.DE Thu Jan 26 14:32:33 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 26 Jan 2017 14:32:33 +0100 Subject: [pstricks] prosper overlays problems In-Reply-To: References: Message-ID: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78@FU-Berlin.DE> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: > here is the minimal example. > > The prosper file test1.tex: > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} do _not_ use the option "pdf": \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} then it works for me. Up-to-date TeXLive 2016 the pdf option makes only sense for default documents with article or book class. Herbert From Herbert.Voss at FU-Berlin.DE Thu Jan 26 14:33:36 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 26 Jan 2017 14:33:36 +0100 Subject: [pstricks] prosper overlays problems In-Reply-To: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78@FU-Berlin.DE> References: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78@FU-Berlin.DE> Message-ID: Am 26.01.2017 um 14:32 schrieb Herbert Voss: > Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: > >> here is the minimal example. >> >> The prosper file test1.tex: >> >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >> > > do _not_ use the option "pdf": > > \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} sigh, should be \documentclass[serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} > > then it works for me. Up-to-date TeXLive 2016 > > the pdf option makes only sense for default documents with > article or book class. > > Herbert From akhmedov at mpi-hd.mpg.de Fri Jan 27 13:38:05 2017 From: akhmedov at mpi-hd.mpg.de (akhmedov at mpi-hd.mpg.de) Date: Fri, 27 Jan 2017 13:38:05 +0100 (CET) Subject: [pstricks] prosper overlay problems Message-ID: Thanks for the suggestion. Unfortunately, it does not help much. When I remove the pdf option, it compiles without problems but does not produce any overlays -- both frames are displayed simultaneously. The same can be achieved if I simply remove all \overlays and \fromSlide{#}{..} commands, but this is not what I need. > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 26 Jan 2017 14:17:32 +0100 (CET) > From: akhmedov at mpi-hd.mpg.de > To: pstricks at tug.org > Subject: Re: [pstricks] prosper overlays problems > Message-ID: > Content-Type: text/plain; format=flowed; charset=US-ASCII > > Hello Herbert, > > here is the minimal example. > > The prosper file test1.tex: > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} > \usepackage{pstricks,pst-node} > %%%\usepackage{pst-ovl} > \begin{document} > > \overlays{2}{ > \begin{slide}[Box]{This is a test} > \small > This is the first frame > \fromSlide{2}{ > > This is the second frame > } > \end{slide} > } > \end{document} > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > Then > > latex test1 -> dvips test1 -> ps2pdf test1.ps test1.pdf > > At the last stage there is an error message: > > Error: /undefined in BOL > Operand stack: > (1) > Execution stack: > %interp_exit .runexec2 --nostringval-- --nostringval-- > --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- > --nostringval-- false 1 %stopped_push 1977 1 3 %oparray_pop > 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 > %oparray_pop --nostringval-- %errorexec_pop .runexec2 > --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push > --nostringval-- > Dictionary stack: > --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:122/200(L)-- > --dict:181/300(L)-- --dict:119/200(L)-- > Current allocation mode is local > Last OS error: No such file or directory > Current file position is 150749 > GPL Ghostscript 9.18: Unrecoverable error, exit code 1 > > The error actually occurs already at the dvips stage. If after dvips test1 > I open the test1.ps file with gv, I see the following error message: > > Error: /undefined in BOL > Operand stack: > (1) > Execution stack: > %interp_exit .runexec2 --nostringval-- --nostringval-- > --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- > --nostringval-- false 1 %stopped_push 1977 1 3 %oparray_pop > 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 > %oparray_pop --nostringval-- %errorexec_pop .runexec2 > --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push > --nostringval-- > DictiGPL Ghostscript 9.18: Unrecoverable error, exit code 1 > onary stack: > --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:123/200(L)-- > --dict:181/300(L)-- --dict:119/200(L)-- > Current allocation mode is local > Last OS error: Resource temporarily unavailable > > > > The problem seems to be known, but I was not able to find a clear > solution. On the web page > > http://tex.stackexchange.com/questions/132779/problem-with-overlays > > it is mentioned that the problem may be related to incompatibility of > prosper with recent versions of pstricks. However, the suggested solution > (to add \usepackage{pst-ovl}) did not work in my case. > > > > On Thu, 26 Jan 2017, 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. prosper overlay problems (akhmedov at mpi-hd.mpg.de) >> 2. Re: prosper overlay problems (Herbert Voss) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Thu, 26 Jan 2017 10:32:14 +0100 (CET) >> From: akhmedov at mpi-hd.mpg.de >> To: pstricks at tug.org >> Subject: [pstricks] prosper overlay problems >> Message-ID: >> Content-Type: text/plain; format=flowed; charset=US-ASCII >> >> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and >> found that all my legacy prosper files with \overlays in them stopped >> working. Apparently the problem is that prosper is not compatible with >> recent versions of pstricks. Is it possible to get an older version which >> would still work with prosper? Thanks, Evgeny >> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Thu, 26 Jan 2017 11:20:08 +0100 >> From: Herbert Voss >> To: pstricks at tug.org >> Subject: Re: [pstricks] prosper overlay problems >> Message-ID: >> Content-Type: text/plain; charset=windows-1252; format=flowed >> >> Am 26.01.2017 um 10:32 schrieb akhmedov at mpi-hd.mpg.de: >>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and >>> found that all my legacy prosper files with \overlays in them stopped >>> working. Apparently the problem is that prosper is not compatible with >>> recent versions of pstricks. Is it possible to get an older version >>> which would still work with prosper? Thanks, Evgeny >> >> Please give a short and complete example with the error message. >> >> Herbert >> >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> PSTricks mailing list >> PSTricks at tug.org >> http://tug.org/mailman/listinfo/pstricks >> >> >> ------------------------------ >> >> End of PSTricks Digest, Vol 167, Issue 8 >> **************************************** >> > > > ------------------------------ > > Message: 2 > Date: Thu, 26 Jan 2017 14:32:33 +0100 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] prosper overlays problems > Message-ID: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78 at FU-Berlin.DE> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: > >> here is the minimal example. >> >> The prosper file test1.tex: >> >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} > > do _not_ use the option "pdf": > > \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} > > then it works for me. Up-to-date TeXLive 2016 > > the pdf option makes only sense for default documents with > article or book class. > > Herbert > > > ------------------------------ > > Message: 3 > Date: Thu, 26 Jan 2017 14:33:36 +0100 > From: Herbert Voss > To: Graphics with PSTricks > Subject: Re: [pstricks] prosper overlays problems > Message-ID: > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 26.01.2017 um 14:32 schrieb Herbert Voss: >> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: >> >>> here is the minimal example. >>> >>> The prosper file test1.tex: >>> >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >>> >> >> do _not_ use the option "pdf": >> >> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} > > sigh, should be > > \documentclass[serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} > > >> >> then it works for me. Up-to-date TeXLive 2016 >> >> the pdf option makes only sense for default documents with >> article or book class. >> >> Herbert > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 167, Issue 9 > **************************************** > From Herbert.Voss at FU-Berlin.DE Fri Jan 27 18:10:38 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 27 Jan 2017 18:10:38 +0100 Subject: [pstricks] prosper overlay problems In-Reply-To: References: Message-ID: <68a004d2-cb1f-c9f2-1639-e8cfd078c242@FU-Berlin.DE> Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: > Thanks for the suggestion. Unfortunately, it does not help much. When I > remove the pdf option, it compiles without problems but does not produce > any overlays -- both frames are displayed simultaneously. The same can > be achieved if I simply remove all \overlays and \fromSlide{#}{..} > commands, but this is not what I need. I'll see what I can do Herbert From Herbert.Voss at FU-Berlin.DE Fri Jan 27 20:39:53 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 27 Jan 2017 20:39:53 +0100 Subject: [pstricks] prosper overlay problems In-Reply-To: References: Message-ID: <32f71c6d-5447-3607-03fa-b4fcb77ee8ad@FU-Berlin.DE> Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: > Thanks for the suggestion. Unfortunately, it does not help much. When I > remove the pdf option, it compiles without problems but does not produce > any overlays -- both frames are displayed simultaneously. The same can > be achieved if I simply remove all \overlays and \fromSlide{#}{..} > commands, but this is not what I need. I tried all versions of TeXLive back to 2010 and all have the same problem. I have no idea what the changes may be... However, converting the slides to powerdot is not really difficult: \documentclass[style=fyma]{powerdot} \begin{document} \begin{slide}{This is a test} \onslide{1-2}{This is the first frame} \onslide{2}{This is the second frame} \end{slide} \begin{slide}{Outline of the talk} \begin{itemize}[type=0] \item<1-> Introduction \item<2-> Statement of the main theorem \item<3> Technical lemmata \item<4-> Proof of the main theorem \item<5> Conclusions \end{itemize} \end{slide} \end{document} Herbert From akhmedov at mpi-hd.mpg.de Sat Jan 28 16:53:39 2017 From: akhmedov at mpi-hd.mpg.de (akhmedov at mpi-hd.mpg.de) Date: Sat, 28 Jan 2017 16:53:39 +0100 (CET) Subject: [pstricks] prosper overlays problems Message-ID: On Sat, 28 Jan 2017, 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. Re: prosper overlay problems (akhmedov at mpi-hd.mpg.de) > 2. Re: prosper overlay problems (Herbert Voss) > 3. Re: prosper overlay problems (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 27 Jan 2017 13:38:05 +0100 (CET) > From: akhmedov at mpi-hd.mpg.de > To: pstricks at tug.org > Subject: Re: [pstricks] prosper overlay problems > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Thanks for the suggestion. Unfortunately, it does not help much. When I > remove the pdf option, it compiles without problems but does not produce > any overlays -- both frames are displayed simultaneously. The same can be > achieved if I simply remove all \overlays and \fromSlide{#}{..} commands, > but this is not what I need. > >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Thu, 26 Jan 2017 14:17:32 +0100 (CET) >> From: akhmedov at mpi-hd.mpg.de >> To: pstricks at tug.org >> Subject: Re: [pstricks] prosper overlays problems >> Message-ID: >> Content-Type: text/plain; format=flowed; charset=US-ASCII >> >> Hello Herbert, >> >> here is the minimal example. >> >> The prosper file test1.tex: >> >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >> \usepackage{pstricks,pst-node} >> %%%\usepackage{pst-ovl} >> \begin{document} >> >> \overlays{2}{ >> \begin{slide}[Box]{This is a test} >> \small >> This is the first frame >> \fromSlide{2}{ >> >> This is the second frame >> } >> \end{slide} >> } >> \end{document} >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> >> Then >> >> latex test1 -> dvips test1 -> ps2pdf test1.ps test1.pdf >> >> At the last stage there is an error message: >> >> Error: /undefined in BOL >> Operand stack: >> (1) >> Execution stack: >> %interp_exit .runexec2 --nostringval-- --nostringval-- >> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- >> --nostringval-- false 1 %stopped_push 1977 1 3 %oparray_pop >> 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 >> %oparray_pop --nostringval-- %errorexec_pop .runexec2 >> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push >> --nostringval-- >> Dictionary stack: >> --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:122/200(L)-- >> --dict:181/300(L)-- --dict:119/200(L)-- >> Current allocation mode is local >> Last OS error: No such file or directory >> Current file position is 150749 >> GPL Ghostscript 9.18: Unrecoverable error, exit code 1 >> >> The error actually occurs already at the dvips stage. If after dvips test1 >> I open the test1.ps file with gv, I see the following error message: >> >> Error: /undefined in BOL >> Operand stack: >> (1) >> Execution stack: >> %interp_exit .runexec2 --nostringval-- --nostringval-- >> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- >> --nostringval-- false 1 %stopped_push 1977 1 3 %oparray_pop >> 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 >> %oparray_pop --nostringval-- %errorexec_pop .runexec2 >> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push >> --nostringval-- >> DictiGPL Ghostscript 9.18: Unrecoverable error, exit code 1 >> onary stack: >> --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:123/200(L)-- >> --dict:181/300(L)-- --dict:119/200(L)-- >> Current allocation mode is local >> Last OS error: Resource temporarily unavailable >> >> >> >> The problem seems to be known, but I was not able to find a clear >> solution. On the web page >> >> http://tex.stackexchange.com/questions/132779/problem-with-overlays >> >> it is mentioned that the problem may be related to incompatibility of >> prosper with recent versions of pstricks. However, the suggested solution >> (to add \usepackage{pst-ovl}) did not work in my case. >> >> >> >> On Thu, 26 Jan 2017, 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. prosper overlay problems (akhmedov at mpi-hd.mpg.de) >>> 2. Re: prosper overlay problems (Herbert Voss) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Thu, 26 Jan 2017 10:32:14 +0100 (CET) >>> From: akhmedov at mpi-hd.mpg.de >>> To: pstricks at tug.org >>> Subject: [pstricks] prosper overlay problems >>> Message-ID: >>> Content-Type: text/plain; format=flowed; charset=US-ASCII >>> >>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and >>> found that all my legacy prosper files with \overlays in them stopped >>> working. Apparently the problem is that prosper is not compatible with >>> recent versions of pstricks. Is it possible to get an older version which >>> would still work with prosper? Thanks, Evgeny >>> >>> >>> >>> ------------------------------ >>> >>> Message: 2 >>> Date: Thu, 26 Jan 2017 11:20:08 +0100 >>> From: Herbert Voss >>> To: pstricks at tug.org >>> Subject: Re: [pstricks] prosper overlay problems >>> Message-ID: >>> Content-Type: text/plain; charset=windows-1252; format=flowed >>> >>> Am 26.01.2017 um 10:32 schrieb akhmedov at mpi-hd.mpg.de: >>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and >>>> found that all my legacy prosper files with \overlays in them stopped >>>> working. Apparently the problem is that prosper is not compatible with >>>> recent versions of pstricks. Is it possible to get an older version >>>> which would still work with prosper? Thanks, Evgeny >>> >>> Please give a short and complete example with the error message. >>> >>> Herbert >>> >>> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> PSTricks mailing list >>> PSTricks at tug.org >>> http://tug.org/mailman/listinfo/pstricks >>> >>> >>> ------------------------------ >>> >>> End of PSTricks Digest, Vol 167, Issue 8 >>> **************************************** >>> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Thu, 26 Jan 2017 14:32:33 +0100 >> From: Herbert Voss >> To: pstricks at tug.org >> Subject: Re: [pstricks] prosper overlays problems >> Message-ID: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78 at FU-Berlin.DE> >> Content-Type: text/plain; charset=windows-1252; format=flowed >> >> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: >> >>> here is the minimal example. >>> >>> The prosper file test1.tex: >>> >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >> >> do _not_ use the option "pdf": >> >> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >> >> then it works for me. Up-to-date TeXLive 2016 >> >> the pdf option makes only sense for default documents with >> article or book class. >> >> Herbert >> >> >> ------------------------------ >> >> Message: 3 >> Date: Thu, 26 Jan 2017 14:33:36 +0100 >> From: Herbert Voss >> To: Graphics with PSTricks >> Subject: Re: [pstricks] prosper overlays problems >> Message-ID: >> Content-Type: text/plain; charset=windows-1252; format=flowed >> >> Am 26.01.2017 um 14:32 schrieb Herbert Voss: >>> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: >>> >>>> here is the minimal example. >>>> >>>> The prosper file test1.tex: >>>> >>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >>>> >>> >>> do _not_ use the option "pdf": >>> >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >> >> sigh, should be >> >> \documentclass[serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >> >> >>> >>> then it works for me. Up-to-date TeXLive 2016 >>> >>> the pdf option makes only sense for default documents with >>> article or book class. >>> >>> Herbert >> >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> PSTricks mailing list >> PSTricks at tug.org >> http://tug.org/mailman/listinfo/pstricks >> >> >> ------------------------------ >> >> End of PSTricks Digest, Vol 167, Issue 9 >> **************************************** >> > > > ------------------------------ > > Message: 2 > Date: Fri, 27 Jan 2017 18:10:38 +0100 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] prosper overlay problems > Message-ID: <68a004d2-cb1f-c9f2-1639-e8cfd078c242 at FU-Berlin.DE> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: >> Thanks for the suggestion. Unfortunately, it does not help much. When I >> remove the pdf option, it compiles without problems but does not produce >> any overlays -- both frames are displayed simultaneously. The same can >> be achieved if I simply remove all \overlays and \fromSlide{#}{..} >> commands, but this is not what I need. > > I'll see what I can do > > Herbert > > > > > ------------------------------ > > Message: 3 > Date: Fri, 27 Jan 2017 20:39:53 +0100 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] prosper overlay problems > Message-ID: <32f71c6d-5447-3607-03fa-b4fcb77ee8ad at FU-Berlin.DE> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: >> Thanks for the suggestion. Unfortunately, it does not help much. When I >> remove the pdf option, it compiles without problems but does not produce >> any overlays -- both frames are displayed simultaneously. The same can >> be achieved if I simply remove all \overlays and \fromSlide{#}{..} >> commands, but this is not what I need. > > I tried all versions of TeXLive back to 2010 and all have the > same problem. I have no idea what the changes may be... > > However, converting the slides to powerdot is not really difficult: > > > \documentclass[style=fyma]{powerdot} > \begin{document} > \begin{slide}{This is a test} > \onslide{1-2}{This is the first frame} > > \onslide{2}{This is the second frame} > \end{slide} > > \begin{slide}{Outline of the talk} > \begin{itemize}[type=0] > \item<1-> Introduction > \item<2-> Statement of the main theorem > \item<3> Technical lemmata > \item<4-> Proof of the main theorem > \item<5> Conclusions > \end{itemize} > \end{slide} > > \end{document} > > > Herbert Thanks once again. I could convert my files to powerdot (or beamer), but they would have to be modified -- not only the overlay commands, but frame, minipage and figure offsets, etc. I have many legacy prosper files, so this would be a lot of work. Actually, it may be that the problem is related with ghostscript rather than with pstricks. I have a computer account at ICTP (Trieste), there my files can be processed without problems. If I latex -> dvips -> ps2pdf my test1.tex file there, everything is fine (they do have an older version of pstricks, v1.29 I think). If I download from there test1.ps file to my local computer in Heidelberg and then ps2pdf it here, everything is fine. But if I download from there test1.dvi and dvips and ps2pdf it here, the same problem occurs already at the dvips stage. So it may well be that the problem is related to ghostscript. Evgeny From akhmedov at mpi-hd.mpg.de Sat Jan 28 17:08:31 2017 From: akhmedov at mpi-hd.mpg.de (akhmedov at mpi-hd.mpg.de) Date: Sat, 28 Jan 2017 17:08:31 +0100 (CET) Subject: [pstricks] prosper overlays problems In-Reply-To: References: Message-ID: On Sat, 28 Jan 2017, akhmedov at mpi-hd.mpg.de wrote: > On Sat, 28 Jan 2017, 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. Re: prosper overlay problems (akhmedov at mpi-hd.mpg.de) >> 2. Re: prosper overlay problems (Herbert Voss) >> 3. Re: prosper overlay problems (Herbert Voss) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Fri, 27 Jan 2017 13:38:05 +0100 (CET) >> From: akhmedov at mpi-hd.mpg.de >> To: pstricks at tug.org >> Subject: Re: [pstricks] prosper overlay problems >> Message-ID: >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> Thanks for the suggestion. Unfortunately, it does not help much. When I >> remove the pdf option, it compiles without problems but does not produce >> any overlays -- both frames are displayed simultaneously. The same can be >> achieved if I simply remove all \overlays and \fromSlide{#}{..} commands, >> but this is not what I need. >> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Thu, 26 Jan 2017 14:17:32 +0100 (CET) >>> From: akhmedov at mpi-hd.mpg.de >>> To: pstricks at tug.org >>> Subject: Re: [pstricks] prosper overlays problems >>> Message-ID: >>> Content-Type: text/plain; format=flowed; charset=US-ASCII >>> >>> Hello Herbert, >>> >>> here is the minimal example. >>> >>> The prosper file test1.tex: >>> >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >>> \usepackage{pstricks,pst-node} >>> %%%\usepackage{pst-ovl} >>> \begin{document} >>> >>> \overlays{2}{ >>> \begin{slide}[Box]{This is a test} >>> \small >>> This is the first frame >>> \fromSlide{2}{ >>> >>> This is the second frame >>> } >>> \end{slide} >>> } >>> \end{document} >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >>> >>> Then >>> >>> latex test1 -> dvips test1 -> ps2pdf test1.ps test1.pdf >>> >>> At the last stage there is an error message: >>> >>> Error: /undefined in BOL >>> Operand stack: >>> (1) >>> Execution stack: >>> %interp_exit .runexec2 --nostringval-- --nostringval-- >>> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- >>> --nostringval-- false 1 %stopped_push 1977 1 3 %oparray_pop >>> 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 >>> %oparray_pop --nostringval-- %errorexec_pop .runexec2 >>> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push >>> --nostringval-- >>> Dictionary stack: >>> --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:122/200(L)-- >>> --dict:181/300(L)-- --dict:119/200(L)-- >>> Current allocation mode is local >>> Last OS error: No such file or directory >>> Current file position is 150749 >>> GPL Ghostscript 9.18: Unrecoverable error, exit code 1 >>> >>> The error actually occurs already at the dvips stage. If after dvips test1 >>> I open the test1.ps file with gv, I see the following error message: >>> >>> Error: /undefined in BOL >>> Operand stack: >>> (1) >>> Execution stack: >>> %interp_exit .runexec2 --nostringval-- --nostringval-- >>> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- >>> --nostringval-- false 1 %stopped_push 1977 1 3 %oparray_pop >>> 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 >>> %oparray_pop --nostringval-- %errorexec_pop .runexec2 >>> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push >>> --nostringval-- >>> DictiGPL Ghostscript 9.18: Unrecoverable error, exit code 1 >>> onary stack: >>> --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:123/200(L)-- >>> --dict:181/300(L)-- --dict:119/200(L)-- >>> Current allocation mode is local >>> Last OS error: Resource temporarily unavailable >>> >>> >>> >>> The problem seems to be known, but I was not able to find a clear >>> solution. On the web page >>> >>> http://tex.stackexchange.com/questions/132779/problem-with-overlays >>> >>> it is mentioned that the problem may be related to incompatibility of >>> prosper with recent versions of pstricks. However, the suggested solution >>> (to add \usepackage{pst-ovl}) did not work in my case. >>> >>> >>> >>> On Thu, 26 Jan 2017, 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. prosper overlay problems (akhmedov at mpi-hd.mpg.de) >>>> 2. Re: prosper overlay problems (Herbert Voss) >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> >>>> Message: 1 >>>> Date: Thu, 26 Jan 2017 10:32:14 +0100 (CET) >>>> From: akhmedov at mpi-hd.mpg.de >>>> To: pstricks at tug.org >>>> Subject: [pstricks] prosper overlay problems >>>> Message-ID: >>>> Content-Type: text/plain; format=flowed; charset=US-ASCII >>>> >>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and >>>> found that all my legacy prosper files with \overlays in them stopped >>>> working. Apparently the problem is that prosper is not compatible with >>>> recent versions of pstricks. Is it possible to get an older version which >>>> would still work with prosper? Thanks, Evgeny >>>> >>>> >>>> >>>> ------------------------------ >>>> >>>> Message: 2 >>>> Date: Thu, 26 Jan 2017 11:20:08 +0100 >>>> From: Herbert Voss >>>> To: pstricks at tug.org >>>> Subject: Re: [pstricks] prosper overlay problems >>>> Message-ID: >>>> Content-Type: text/plain; charset=windows-1252; format=flowed >>>> >>>> Am 26.01.2017 um 10:32 schrieb akhmedov at mpi-hd.mpg.de: >>>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and >>>>> found that all my legacy prosper files with \overlays in them stopped >>>>> working. Apparently the problem is that prosper is not compatible with >>>>> recent versions of pstricks. Is it possible to get an older version >>>>> which would still work with prosper? Thanks, Evgeny >>>> >>>> Please give a short and complete example with the error message. >>>> >>>> Herbert >>>> >>>> >>>> >>>> ------------------------------ >>>> >>>> Subject: Digest Footer >>>> >>>> _______________________________________________ >>>> PSTricks mailing list >>>> PSTricks at tug.org >>>> http://tug.org/mailman/listinfo/pstricks >>>> >>>> >>>> ------------------------------ >>>> >>>> End of PSTricks Digest, Vol 167, Issue 8 >>>> **************************************** >>>> >>> >>> >>> ------------------------------ >>> >>> Message: 2 >>> Date: Thu, 26 Jan 2017 14:32:33 +0100 >>> From: Herbert Voss >>> To: pstricks at tug.org >>> Subject: Re: [pstricks] prosper overlays problems >>> Message-ID: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78 at FU-Berlin.DE> >>> Content-Type: text/plain; charset=windows-1252; format=flowed >>> >>> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: >>> >>>> here is the minimal example. >>>> >>>> The prosper file test1.tex: >>>> >>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >>> >>> do _not_ use the option "pdf": >>> >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >>> >>> then it works for me. Up-to-date TeXLive 2016 >>> >>> the pdf option makes only sense for default documents with >>> article or book class. >>> >>> Herbert >>> >>> >>> ------------------------------ >>> >>> Message: 3 >>> Date: Thu, 26 Jan 2017 14:33:36 +0100 >>> From: Herbert Voss >>> To: Graphics with PSTricks >>> Subject: Re: [pstricks] prosper overlays problems >>> Message-ID: >>> Content-Type: text/plain; charset=windows-1252; format=flowed >>> >>> Am 26.01.2017 um 14:32 schrieb Herbert Voss: >>>> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: >>>> >>>>> here is the minimal example. >>>>> >>>>> The prosper file test1.tex: >>>>> >>>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >>>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >>>>> >>>> >>>> do _not_ use the option "pdf": >>>> >>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >>> >>> sigh, should be >>> >>> \documentclass[serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} >>> >>> >>>> >>>> then it works for me. Up-to-date TeXLive 2016 >>>> >>>> the pdf option makes only sense for default documents with >>>> article or book class. >>>> >>>> Herbert >>> >>> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> PSTricks mailing list >>> PSTricks at tug.org >>> http://tug.org/mailman/listinfo/pstricks >>> >>> >>> ------------------------------ >>> >>> End of PSTricks Digest, Vol 167, Issue 9 >>> **************************************** >>> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Fri, 27 Jan 2017 18:10:38 +0100 >> From: Herbert Voss >> To: pstricks at tug.org >> Subject: Re: [pstricks] prosper overlay problems >> Message-ID: <68a004d2-cb1f-c9f2-1639-e8cfd078c242 at FU-Berlin.DE> >> Content-Type: text/plain; charset=windows-1252; format=flowed >> >> Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: >>> Thanks for the suggestion. Unfortunately, it does not help much. When I >>> remove the pdf option, it compiles without problems but does not produce >>> any overlays -- both frames are displayed simultaneously. The same can >>> be achieved if I simply remove all \overlays and \fromSlide{#}{..} >>> commands, but this is not what I need. >> >> I'll see what I can do >> >> Herbert >> >> >> >> >> ------------------------------ >> >> Message: 3 >> Date: Fri, 27 Jan 2017 20:39:53 +0100 >> From: Herbert Voss >> To: pstricks at tug.org >> Subject: Re: [pstricks] prosper overlay problems >> Message-ID: <32f71c6d-5447-3607-03fa-b4fcb77ee8ad at FU-Berlin.DE> >> Content-Type: text/plain; charset=windows-1252; format=flowed >> >> Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: >>> Thanks for the suggestion. Unfortunately, it does not help much. When I >>> remove the pdf option, it compiles without problems but does not produce >>> any overlays -- both frames are displayed simultaneously. The same can >>> be achieved if I simply remove all \overlays and \fromSlide{#}{..} >>> commands, but this is not what I need. >> >> I tried all versions of TeXLive back to 2010 and all have the >> same problem. I have no idea what the changes may be... >> >> However, converting the slides to powerdot is not really difficult: >> >> >> \documentclass[style=fyma]{powerdot} >> \begin{document} >> \begin{slide}{This is a test} >> \onslide{1-2}{This is the first frame} >> >> \onslide{2}{This is the second frame} >> \end{slide} >> >> \begin{slide}{Outline of the talk} >> \begin{itemize}[type=0] >> \item<1-> Introduction >> \item<2-> Statement of the main theorem >> \item<3> Technical lemmata >> \item<4-> Proof of the main theorem >> \item<5> Conclusions >> \end{itemize} >> \end{slide} >> >> \end{document} >> >> >> Herbert > > Thanks once again. I could convert my files to powerdot (or beamer), but > they would have to be modified -- not only the overlay commands, but frame, > minipage and figure offsets, etc. I have many legacy prosper files, so this > would be a lot of work. > > Actually, it may be that the problem is related with ghostscript rather than > with pstricks. I have a computer account at ICTP (Trieste), there my files > can be processed without problems. If I latex -> dvips -> ps2pdf my test1.tex > file there, everything is fine (they do have an older version of pstricks, > v1.29 I think). If I download from there test1.ps file to my local computer > in Heidelberg and then ps2pdf it here, everything is fine. But if I download > from there test1.dvi and dvips and ps2pdf it here, the same problem occurs > already at the dvips stage. So it may well be that the problem is related to > ghostscript. > > Evgeny Update: the problem may still be related to a combination of pstricks and dvips. I tried to first latex my test1.tex file locally, then upload it to my account at ICTP and then dvips it there. This did not work -- the error message was dvips: ! Couldn't find header file pst-tools.pro. Note that an absolute path or a relative path with .. are denied in -R2 mode. This may be related to the fact that they have an older version of pstricks. Evgeny From bnuzsd at gmail.com Mon Jan 30 08:23:16 2017 From: bnuzsd at gmail.com (Dong Li) Date: Mon, 30 Jan 2017 15:23:16 +0800 Subject: [pstricks] PSTricks Digest, Vol 167, Issue 11 In-Reply-To: References: Message-ID: what's wrong with these codes (from pstricks manual (p223). It doesn't work. Who can help me modify these codes. Thanks! \documentclass{article} \usepackage{pstricks} \makeatletter % We draw the first surface #1 clipped by the one % or two others #2 and #3, computing it resulting color \def\PstColorSynthesis at ClippedSurfaces#1#2#3{% % We compute the ?mixed? color, component by component \def\PstColorSynthesis at MixedColorR{0}% \def\PstColorSynthesis at MixedColorG{0}% \def\PstColorSynthesis at MixedColorB{0}% % \pst at dimd will contain the maximum value of the three % components. \pst at dimd=\z@ \PstColorSynthesis at MixedColor{% \csname PstColorSynthesis at Color#1\endcsname}% \PstColorSynthesis at MixedColor{% \csname PstColorSynthesis at Color#2\endcsname}% \PstColorSynthesis at MixedColor{% \csname PstColorSynthesis at Color#3\endcsname}% % We must test if the maximum of the new computed % component is greater than 1, in which case we divide all % the three components by this value for additive synthesis. \ifdim\pst at dimd>\@ne\p@ \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorR}% \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorG}% \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorB}% \fi % We draw the first surface, clipped by the other ones \psclip{\csname PstColorSynthesis at Surface#2\endcsname% \csname PstColorSynthesis at Surface#3\endcsname} \definecolor{MixedColor}{rgb}{\PstColorSynthesis at MixedColorR, \PstColorSynthesis at MixedColorG, \PstColorSynthesis at MixedColorB}% \psset{fillstyle=solid,fillcolor=MixedColor}% \csname PstColorSynthesis at Surface#1\endcsname \endpsclip} \def\PstColorSynthesis at MixedColor@i#1 #2 #3 #4\@nil{% % We receive the name of the color model (?rgb? is expected % here and the three color components.) % We add the values to the respective components of the new % color to compute. \PstColorSynthesis at MixedColor@ii{% \PstColorSynthesis at MixedColorR}{#2}% \PstColorSynthesis at MixedColor@ii{% \PstColorSynthesis at MixedColorG}{#3}% \PstColorSynthesis at MixedColor@ii{% \PstColorSynthesis at MixedColorB}{#4}} \def\PstColorSynthesis at MixedColor@ii#1#2{% % As these values are real numbers, we use dimension % registers, then we assign the computed value in a macro, % converting it from a dimension to a number. % We also keep in \pst at dimd the maximum of the values. \pst at dimg=#1\p@ \advance\pst at dimg by #2\p@ \pst at dimtonum{\pst at dimg}{#1}% \ifdim\pst at dimg>\pst at dimd \pst at dimd=\pst at dimg \fi} \def\PstColorSynthesis at MixedColor@iii#1{% \pst at divide{#1\p@}{\pst at dimd}{#1}% % We must take care of possible rounding problems with % \pst at divide (for instance, 1.8/1.8 give 1.0001) \ifdim#1\p@>\@ne\p@ \def#1{1}% \fi} % We redefine Cyan, Magenta and Yellow in the ?rgb? model \definecolor{Cyan}{rgb}{0,1,1}% \definecolor{Magenta}{rgb}{1,0,1}% \definecolor{Yellow}{rgb}{1,1,0}% \makeatother \begin{document} \begin{pspicture} \PstColorSynthesis[SurfaceA={\pscircle{2}}, SurfaceB={\pscircle(2,0){2}},SurfaceC={\pscircle(1,2){2}}, ColorA=Cyan,ColorB=Magenta,ColorC=Yellow] \PstColorSynthesis[SurfaceA={\psccurve(-3,1)(0,2.5)(2,1.5)(4,3)(4,-1) (3,0)(1,-2.5)(-1,-1)(-3,-3)}, SurfaceB={\psellipticarc(0,-1)(3,1.5){41}{-92}}, SurfaceC={\pstriangle(1,-2)(5,5)}, ColorA=SlateBlue,ColorB=Orange,ColorC=Pink] \end{pspicture} \end{document} 2017-01-29 19:00 GMT+08:00 : > 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. prosper overlays problems (akhmedov at mpi-hd.mpg.de) > 2. Re: prosper overlays problems (akhmedov at mpi-hd.mpg.de) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 28 Jan 2017 16:53:39 +0100 (CET) > From: akhmedov at mpi-hd.mpg.de > To: pstricks at tug.org > Subject: [pstricks] prosper overlays problems > Message-ID: > Content-Type: text/plain; format=flowed; charset=US-ASCII > > On Sat, 28 Jan 2017, 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. Re: prosper overlay problems (akhmedov at mpi-hd.mpg.de) > > 2. Re: prosper overlay problems (Herbert Voss) > > 3. Re: prosper overlay problems (Herbert Voss) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Fri, 27 Jan 2017 13:38:05 +0100 (CET) > > From: akhmedov at mpi-hd.mpg.de > > To: pstricks at tug.org > > Subject: Re: [pstricks] prosper overlay problems > > Message-ID: > > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > > Thanks for the suggestion. Unfortunately, it does not help much. When I > > remove the pdf option, it compiles without problems but does not produce > > any overlays -- both frames are displayed simultaneously. The same can be > > achieved if I simply remove all \overlays and \fromSlide{#}{..} commands, > > but this is not what I need. > > > >> ---------------------------------------------------------------------- > >> > >> Message: 1 > >> Date: Thu, 26 Jan 2017 14:17:32 +0100 (CET) > >> From: akhmedov at mpi-hd.mpg.de > >> To: pstricks at tug.org > >> Subject: Re: [pstricks] prosper overlays problems > >> Message-ID: > >> Content-Type: text/plain; format=flowed; charset=US-ASCII > >> > >> Hello Herbert, > >> > >> here is the minimal example. > >> > >> The prosper file test1.tex: > >> > >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > >> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >> \usepackage{pstricks,pst-node} > >> %%%\usepackage{pst-ovl} > >> \begin{document} > >> > >> \overlays{2}{ > >> \begin{slide}[Box]{This is a test} > >> \small > >> This is the first frame > >> \fromSlide{2}{ > >> > >> This is the second frame > >> } > >> \end{slide} > >> } > >> \end{document} > >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > >> > >> Then > >> > >> latex test1 -> dvips test1 -> ps2pdf test1.ps test1.pdf > >> > >> At the last stage there is an error message: > >> > >> Error: /undefined in BOL > >> Operand stack: > >> (1) > >> Execution stack: > >> %interp_exit .runexec2 --nostringval-- --nostringval-- > >> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- > >> --nostringval-- false 1 %stopped_push 1977 1 3 > %oparray_pop > >> 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 > >> %oparray_pop --nostringval-- %errorexec_pop .runexec2 > >> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push > >> --nostringval-- > >> Dictionary stack: > >> --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:122/200(L)-- > >> --dict:181/300(L)-- --dict:119/200(L)-- > >> Current allocation mode is local > >> Last OS error: No such file or directory > >> Current file position is 150749 > >> GPL Ghostscript 9.18: Unrecoverable error, exit code 1 > >> > >> The error actually occurs already at the dvips stage. If after dvips > test1 > >> I open the test1.ps file with gv, I see the following error message: > >> > >> Error: /undefined in BOL > >> Operand stack: > >> (1) > >> Execution stack: > >> %interp_exit .runexec2 --nostringval-- --nostringval-- > >> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- > >> --nostringval-- false 1 %stopped_push 1977 1 3 > %oparray_pop > >> 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 3 > >> %oparray_pop --nostringval-- %errorexec_pop .runexec2 > >> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push > >> --nostringval-- > >> DictiGPL Ghostscript 9.18: Unrecoverable error, exit code 1 > >> onary stack: > >> --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:123/200(L)-- > >> --dict:181/300(L)-- --dict:119/200(L)-- > >> Current allocation mode is local > >> Last OS error: Resource temporarily unavailable > >> > >> > >> > >> The problem seems to be known, but I was not able to find a clear > >> solution. On the web page > >> > >> http://tex.stackexchange.com/questions/132779/problem-with-overlays > >> > >> it is mentioned that the problem may be related to incompatibility of > >> prosper with recent versions of pstricks. However, the suggested > solution > >> (to add \usepackage{pst-ovl}) did not work in my case. > >> > >> > >> > >> On Thu, 26 Jan 2017, 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. prosper overlay problems (akhmedov at mpi-hd.mpg.de) > >>> 2. Re: prosper overlay problems (Herbert Voss) > >>> > >>> > >>> ---------------------------------------------------------------------- > >>> > >>> Message: 1 > >>> Date: Thu, 26 Jan 2017 10:32:14 +0100 (CET) > >>> From: akhmedov at mpi-hd.mpg.de > >>> To: pstricks at tug.org > >>> Subject: [pstricks] prosper overlay problems > >>> Message-ID: > >>> Content-Type: text/plain; format=flowed; charset=US-ASCII > >>> > >>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and > >>> found that all my legacy prosper files with \overlays in them stopped > >>> working. Apparently the problem is that prosper is not compatible with > >>> recent versions of pstricks. Is it possible to get an older version > which > >>> would still work with prosper? Thanks, Evgeny > >>> > >>> > >>> > >>> ------------------------------ > >>> > >>> Message: 2 > >>> Date: Thu, 26 Jan 2017 11:20:08 +0100 > >>> From: Herbert Voss > >>> To: pstricks at tug.org > >>> Subject: Re: [pstricks] prosper overlay problems > >>> Message-ID: > >>> Content-Type: text/plain; charset=windows-1252; format=flowed > >>> > >>> Am 26.01.2017 um 10:32 schrieb akhmedov at mpi-hd.mpg.de: > >>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and > >>>> found that all my legacy prosper files with \overlays in them stopped > >>>> working. Apparently the problem is that prosper is not compatible with > >>>> recent versions of pstricks. Is it possible to get an older version > >>>> which would still work with prosper? Thanks, Evgeny > >>> > >>> Please give a short and complete example with the error message. > >>> > >>> Herbert > >>> > >>> > >>> > >>> ------------------------------ > >>> > >>> Subject: Digest Footer > >>> > >>> _______________________________________________ > >>> PSTricks mailing list > >>> PSTricks at tug.org > >>> http://tug.org/mailman/listinfo/pstricks > >>> > >>> > >>> ------------------------------ > >>> > >>> End of PSTricks Digest, Vol 167, Issue 8 > >>> **************************************** > >>> > >> > >> > >> ------------------------------ > >> > >> Message: 2 > >> Date: Thu, 26 Jan 2017 14:32:33 +0100 > >> From: Herbert Voss > >> To: pstricks at tug.org > >> Subject: Re: [pstricks] prosper overlays problems > >> Message-ID: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78 at FU-Berlin.DE> > >> Content-Type: text/plain; charset=windows-1252; format=flowed > >> > >> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: > >> > >>> here is the minimal example. > >>> > >>> The prosper file test1.tex: > >>> > >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %%%%%%%%%%% > >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >> > >> do _not_ use the option "pdf": > >> > >> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >> > >> then it works for me. Up-to-date TeXLive 2016 > >> > >> the pdf option makes only sense for default documents with > >> article or book class. > >> > >> Herbert > >> > >> > >> ------------------------------ > >> > >> Message: 3 > >> Date: Thu, 26 Jan 2017 14:33:36 +0100 > >> From: Herbert Voss > >> To: Graphics with PSTricks > >> Subject: Re: [pstricks] prosper overlays problems > >> Message-ID: > >> Content-Type: text/plain; charset=windows-1252; format=flowed > >> > >> Am 26.01.2017 um 14:32 schrieb Herbert Voss: > >>> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: > >>> > >>>> here is the minimal example. > >>>> > >>>> The prosper file test1.tex: > >>>> > >>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %%%%%%%%%%% > >>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >>>> > >>> > >>> do _not_ use the option "pdf": > >>> > >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >> > >> sigh, should be > >> > >> \documentclass[serpaggi,slideColor,colorBG,accumulate,nototal]{prosper} > >> > >> > >>> > >>> then it works for me. Up-to-date TeXLive 2016 > >>> > >>> the pdf option makes only sense for default documents with > >>> article or book class. > >>> > >>> Herbert > >> > >> > >> > >> ------------------------------ > >> > >> Subject: Digest Footer > >> > >> _______________________________________________ > >> PSTricks mailing list > >> PSTricks at tug.org > >> http://tug.org/mailman/listinfo/pstricks > >> > >> > >> ------------------------------ > >> > >> End of PSTricks Digest, Vol 167, Issue 9 > >> **************************************** > >> > > > > > > ------------------------------ > > > > Message: 2 > > Date: Fri, 27 Jan 2017 18:10:38 +0100 > > From: Herbert Voss > > To: pstricks at tug.org > > Subject: Re: [pstricks] prosper overlay problems > > Message-ID: <68a004d2-cb1f-c9f2-1639-e8cfd078c242 at FU-Berlin.DE> > > Content-Type: text/plain; charset=windows-1252; format=flowed > > > > Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: > >> Thanks for the suggestion. Unfortunately, it does not help much. When I > >> remove the pdf option, it compiles without problems but does not produce > >> any overlays -- both frames are displayed simultaneously. The same can > >> be achieved if I simply remove all \overlays and \fromSlide{#}{..} > >> commands, but this is not what I need. > > > > I'll see what I can do > > > > Herbert > > > > > > > > > > ------------------------------ > > > > Message: 3 > > Date: Fri, 27 Jan 2017 20:39:53 +0100 > > From: Herbert Voss > > To: pstricks at tug.org > > Subject: Re: [pstricks] prosper overlay problems > > Message-ID: <32f71c6d-5447-3607-03fa-b4fcb77ee8ad at FU-Berlin.DE> > > Content-Type: text/plain; charset=windows-1252; format=flowed > > > > Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: > >> Thanks for the suggestion. Unfortunately, it does not help much. When I > >> remove the pdf option, it compiles without problems but does not produce > >> any overlays -- both frames are displayed simultaneously. The same can > >> be achieved if I simply remove all \overlays and \fromSlide{#}{..} > >> commands, but this is not what I need. > > > > I tried all versions of TeXLive back to 2010 and all have the > > same problem. I have no idea what the changes may be... > > > > However, converting the slides to powerdot is not really difficult: > > > > > > \documentclass[style=fyma]{powerdot} > > \begin{document} > > \begin{slide}{This is a test} > > \onslide{1-2}{This is the first frame} > > > > \onslide{2}{This is the second frame} > > \end{slide} > > > > \begin{slide}{Outline of the talk} > > \begin{itemize}[type=0] > > \item<1-> Introduction > > \item<2-> Statement of the main theorem > > \item<3> Technical lemmata > > \item<4-> Proof of the main theorem > > \item<5> Conclusions > > \end{itemize} > > \end{slide} > > > > \end{document} > > > > > > Herbert > > Thanks once again. I could convert my files to powerdot (or beamer), but > they would have to be modified -- not only the overlay commands, but > frame, minipage and figure offsets, etc. I have many legacy prosper > files, so this would be a lot of work. > > Actually, it may be that the problem is related with ghostscript rather > than with pstricks. I have a computer account at ICTP (Trieste), there my > files can be processed without problems. If I latex -> dvips -> ps2pdf my > test1.tex file there, everything is fine (they do have an older version of > pstricks, v1.29 I think). If I download from there test1.ps file to my > local computer in Heidelberg and then ps2pdf it here, everything is fine. > But if I download from there test1.dvi and dvips and ps2pdf it here, the > same problem occurs already at the dvips stage. So it may well be that the > problem is related to ghostscript. > > Evgeny > > > ------------------------------ > > Message: 2 > Date: Sat, 28 Jan 2017 17:08:31 +0100 (CET) > From: akhmedov at mpi-hd.mpg.de > To: pstricks at tug.org > Subject: Re: [pstricks] prosper overlays problems > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > On Sat, 28 Jan 2017, akhmedov at mpi-hd.mpg.de wrote: > > > On Sat, 28 Jan 2017, 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. Re: prosper overlay problems (akhmedov at mpi-hd.mpg.de) > >> 2. Re: prosper overlay problems (Herbert Voss) > >> 3. Re: prosper overlay problems (Herbert Voss) > >> > >> > >> ---------------------------------------------------------------------- > >> > >> Message: 1 > >> Date: Fri, 27 Jan 2017 13:38:05 +0100 (CET) > >> From: akhmedov at mpi-hd.mpg.de > >> To: pstricks at tug.org > >> Subject: Re: [pstricks] prosper overlay problems > >> Message-ID: > >> Content-Type: text/plain; charset=US-ASCII; format=flowed > >> > >> Thanks for the suggestion. Unfortunately, it does not help much. When I > >> remove the pdf option, it compiles without problems but does not produce > >> any overlays -- both frames are displayed simultaneously. The same can > be > >> achieved if I simply remove all \overlays and \fromSlide{#}{..} > commands, > >> but this is not what I need. > >> > >>> ---------------------------------------------------------------------- > >>> > >>> Message: 1 > >>> Date: Thu, 26 Jan 2017 14:17:32 +0100 (CET) > >>> From: akhmedov at mpi-hd.mpg.de > >>> To: pstricks at tug.org > >>> Subject: Re: [pstricks] prosper overlays problems > >>> Message-ID: > >>> Content-Type: text/plain; format=flowed; charset=US-ASCII > >>> > >>> Hello Herbert, > >>> > >>> here is the minimal example. > >>> > >>> The prosper file test1.tex: > >>> > >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %%%%%%%%%%% > >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >>> \usepackage{pstricks,pst-node} > >>> %%%\usepackage{pst-ovl} > >>> \begin{document} > >>> > >>> \overlays{2}{ > >>> \begin{slide}[Box]{This is a test} > >>> \small > >>> This is the first frame > >>> \fromSlide{2}{ > >>> > >>> This is the second frame > >>> } > >>> \end{slide} > >>> } > >>> \end{document} > >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %%%%%%%%%%% > >>> > >>> Then > >>> > >>> latex test1 -> dvips test1 -> ps2pdf test1.ps test1.pdf > >>> > >>> At the last stage there is an error message: > >>> > >>> Error: /undefined in BOL > >>> Operand stack: > >>> (1) > >>> Execution stack: > >>> %interp_exit .runexec2 --nostringval-- --nostringval-- > >>> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- > >>> --nostringval-- false 1 %stopped_push 1977 1 3 > %oparray_pop > >>> 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 > 3 > >>> %oparray_pop --nostringval-- %errorexec_pop .runexec2 > >>> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push > >>> --nostringval-- > >>> Dictionary stack: > >>> --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:122/200(L)-- > >>> --dict:181/300(L)-- --dict:119/200(L)-- > >>> Current allocation mode is local > >>> Last OS error: No such file or directory > >>> Current file position is 150749 > >>> GPL Ghostscript 9.18: Unrecoverable error, exit code 1 > >>> > >>> The error actually occurs already at the dvips stage. If after dvips > test1 > >>> I open the test1.ps file with gv, I see the following error message: > >>> > >>> Error: /undefined in BOL > >>> Operand stack: > >>> (1) > >>> Execution stack: > >>> %interp_exit .runexec2 --nostringval-- --nostringval-- > >>> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- > >>> --nostringval-- false 1 %stopped_push 1977 1 3 > %oparray_pop > >>> 1976 1 3 %oparray_pop 1960 1 3 %oparray_pop 1852 1 > 3 > >>> %oparray_pop --nostringval-- %errorexec_pop .runexec2 > >>> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push > >>> --nostringval-- > >>> DictiGPL Ghostscript 9.18: Unrecoverable error, exit code 1 > >>> onary stack: > >>> --dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:123/200(L)-- > >>> --dict:181/300(L)-- --dict:119/200(L)-- > >>> Current allocation mode is local > >>> Last OS error: Resource temporarily unavailable > >>> > >>> > >>> > >>> The problem seems to be known, but I was not able to find a clear > >>> solution. On the web page > >>> > >>> http://tex.stackexchange.com/questions/132779/problem-with-overlays > >>> > >>> it is mentioned that the problem may be related to incompatibility of > >>> prosper with recent versions of pstricks. However, the suggested > solution > >>> (to add \usepackage{pst-ovl}) did not work in my case. > >>> > >>> > >>> > >>> On Thu, 26 Jan 2017, 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. prosper overlay problems (akhmedov at mpi-hd.mpg.de) > >>>> 2. Re: prosper overlay problems (Herbert Voss) > >>>> > >>>> > >>>> ------------------------------------------------------------ > ---------- > >>>> > >>>> Message: 1 > >>>> Date: Thu, 26 Jan 2017 10:32:14 +0100 (CET) > >>>> From: akhmedov at mpi-hd.mpg.de > >>>> To: pstricks at tug.org > >>>> Subject: [pstricks] prosper overlay problems > >>>> Message-ID: > >>>> Content-Type: text/plain; format=flowed; charset=US-ASCII > >>>> > >>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and > >>>> found that all my legacy prosper files with \overlays in them stopped > >>>> working. Apparently the problem is that prosper is not compatible with > >>>> recent versions of pstricks. Is it possible to get an older version > which > >>>> would still work with prosper? Thanks, Evgeny > >>>> > >>>> > >>>> > >>>> ------------------------------ > >>>> > >>>> Message: 2 > >>>> Date: Thu, 26 Jan 2017 11:20:08 +0100 > >>>> From: Herbert Voss > >>>> To: pstricks at tug.org > >>>> Subject: Re: [pstricks] prosper overlay problems > >>>> Message-ID: > >>>> Content-Type: text/plain; charset=windows-1252; format=flowed > >>>> > >>>> Am 26.01.2017 um 10:32 schrieb akhmedov at mpi-hd.mpg.de: > >>>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop > and > >>>>> found that all my legacy prosper files with \overlays in them stopped > >>>>> working. Apparently the problem is that prosper is not compatible > with > >>>>> recent versions of pstricks. Is it possible to get an older version > >>>>> which would still work with prosper? Thanks, Evgeny > >>>> > >>>> Please give a short and complete example with the error message. > >>>> > >>>> Herbert > >>>> > >>>> > >>>> > >>>> ------------------------------ > >>>> > >>>> Subject: Digest Footer > >>>> > >>>> _______________________________________________ > >>>> PSTricks mailing list > >>>> PSTricks at tug.org > >>>> http://tug.org/mailman/listinfo/pstricks > >>>> > >>>> > >>>> ------------------------------ > >>>> > >>>> End of PSTricks Digest, Vol 167, Issue 8 > >>>> **************************************** > >>>> > >>> > >>> > >>> ------------------------------ > >>> > >>> Message: 2 > >>> Date: Thu, 26 Jan 2017 14:32:33 +0100 > >>> From: Herbert Voss > >>> To: pstricks at tug.org > >>> Subject: Re: [pstricks] prosper overlays problems > >>> Message-ID: <9878df55-c5d6-ab0d-2509-d8c4f4c3fa78 at FU-Berlin.DE> > >>> Content-Type: text/plain; charset=windows-1252; format=flowed > >>> > >>> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: > >>> > >>>> here is the minimal example. > >>>> > >>>> The prosper file test1.tex: > >>>> > >>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %%%%%%%%%%% > >>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >>> > >>> do _not_ use the option "pdf": > >>> > >>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >>> > >>> then it works for me. Up-to-date TeXLive 2016 > >>> > >>> the pdf option makes only sense for default documents with > >>> article or book class. > >>> > >>> Herbert > >>> > >>> > >>> ------------------------------ > >>> > >>> Message: 3 > >>> Date: Thu, 26 Jan 2017 14:33:36 +0100 > >>> From: Herbert Voss > >>> To: Graphics with PSTricks > >>> Subject: Re: [pstricks] prosper overlays problems > >>> Message-ID: > >>> Content-Type: text/plain; charset=windows-1252; format=flowed > >>> > >>> Am 26.01.2017 um 14:32 schrieb Herbert Voss: > >>>> Am 26.01.2017 um 14:17 schrieb akhmedov at mpi-hd.mpg.de: > >>>> > >>>>> here is the minimal example. > >>>>> > >>>>> The prosper file test1.tex: > >>>>> > >>>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %%%%%%%%%%% > >>>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >>>>> > >>>> > >>>> do _not_ use the option "pdf": > >>>> > >>>> \documentclass[pdf,serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >>> > >>> sigh, should be > >>> > >>> \documentclass[serpaggi,slideColor,colorBG,accumulate, > nototal]{prosper} > >>> > >>> > >>>> > >>>> then it works for me. Up-to-date TeXLive 2016 > >>>> > >>>> the pdf option makes only sense for default documents with > >>>> article or book class. > >>>> > >>>> Herbert > >>> > >>> > >>> > >>> ------------------------------ > >>> > >>> Subject: Digest Footer > >>> > >>> _______________________________________________ > >>> PSTricks mailing list > >>> PSTricks at tug.org > >>> http://tug.org/mailman/listinfo/pstricks > >>> > >>> > >>> ------------------------------ > >>> > >>> End of PSTricks Digest, Vol 167, Issue 9 > >>> **************************************** > >>> > >> > >> > >> ------------------------------ > >> > >> Message: 2 > >> Date: Fri, 27 Jan 2017 18:10:38 +0100 > >> From: Herbert Voss > >> To: pstricks at tug.org > >> Subject: Re: [pstricks] prosper overlay problems > >> Message-ID: <68a004d2-cb1f-c9f2-1639-e8cfd078c242 at FU-Berlin.DE> > >> Content-Type: text/plain; charset=windows-1252; format=flowed > >> > >> Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: > >>> Thanks for the suggestion. Unfortunately, it does not help much. When I > >>> remove the pdf option, it compiles without problems but does not > produce > >>> any overlays -- both frames are displayed simultaneously. The same can > >>> be achieved if I simply remove all \overlays and \fromSlide{#}{..} > >>> commands, but this is not what I need. > >> > >> I'll see what I can do > >> > >> Herbert > >> > >> > >> > >> > >> ------------------------------ > >> > >> Message: 3 > >> Date: Fri, 27 Jan 2017 20:39:53 +0100 > >> From: Herbert Voss > >> To: pstricks at tug.org > >> Subject: Re: [pstricks] prosper overlay problems > >> Message-ID: <32f71c6d-5447-3607-03fa-b4fcb77ee8ad at FU-Berlin.DE> > >> Content-Type: text/plain; charset=windows-1252; format=flowed > >> > >> Am 27.01.2017 um 13:38 schrieb akhmedov at mpi-hd.mpg.de: > >>> Thanks for the suggestion. Unfortunately, it does not help much. When I > >>> remove the pdf option, it compiles without problems but does not > produce > >>> any overlays -- both frames are displayed simultaneously. The same can > >>> be achieved if I simply remove all \overlays and \fromSlide{#}{..} > >>> commands, but this is not what I need. > >> > >> I tried all versions of TeXLive back to 2010 and all have the > >> same problem. I have no idea what the changes may be... > >> > >> However, converting the slides to powerdot is not really difficult: > >> > >> > >> \documentclass[style=fyma]{powerdot} > >> \begin{document} > >> \begin{slide}{This is a test} > >> \onslide{1-2}{This is the first frame} > >> > >> \onslide{2}{This is the second frame} > >> \end{slide} > >> > >> \begin{slide}{Outline of the talk} > >> \begin{itemize}[type=0] > >> \item<1-> Introduction > >> \item<2-> Statement of the main theorem > >> \item<3> Technical lemmata > >> \item<4-> Proof of the main theorem > >> \item<5> Conclusions > >> \end{itemize} > >> \end{slide} > >> > >> \end{document} > >> > >> > >> Herbert > > > > Thanks once again. I could convert my files to powerdot (or beamer), but > > they would have to be modified -- not only the overlay commands, but > frame, > > minipage and figure offsets, etc. I have many legacy prosper files, so > this > > would be a lot of work. > > > > Actually, it may be that the problem is related with ghostscript rather > than > > with pstricks. I have a computer account at ICTP (Trieste), there my > files > > can be processed without problems. If I latex -> dvips -> ps2pdf my > test1.tex > > file there, everything is fine (they do have an older version of > pstricks, > > v1.29 I think). If I download from there test1.ps file to my local > computer > > in Heidelberg and then ps2pdf it here, everything is fine. But if I > download > > from there test1.dvi and dvips and ps2pdf it here, the same problem > occurs > > already at the dvips stage. So it may well be that the problem is > related to > > ghostscript. > > > > Evgeny > > Update: the problem may still be related to a combination of pstricks and > dvips. I tried to first latex my test1.tex file locally, then upload it to > my account at ICTP and then dvips it there. This did not work -- the error > message was > > dvips: ! Couldn't find header file pst-tools.pro. > Note that an absolute path or a relative path with .. are denied in -R2 > mode. > > This may be related to the fact that they have an older version of > pstricks. > > Evgeny > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 167, Issue 11 > ***************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Jan 30 14:52:12 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 30 Jan 2017 14:52:12 +0100 Subject: [pstricks] PSTricks Digest, Vol 167, Issue 11 In-Reply-To: References: Message-ID: <740b725e-f473-c899-8095-d52ded67fc48@FU-Berlin.DE> Am 30.01.2017 um 08:23 schrieb Dong Li: > what's wrong with these codes (from pstricks manual (p223). It doesn't > work. Who can help me modify these codes. Thanks! please create a new thread with a useful subject and do not answer to a digest mail which has nothing to do with your problem! Herbert \documentclass{article} \usepackage[dvipsnames,x11names,svgnames]{pstricks} \makeatletter \define at key[psset]{}{SurfaceA}{\def\PstColorSynthesis at SurfaceA{#1}} \define at key[psset]{}{SurfaceB}{\def\PstColorSynthesis at SurfaceB{#1}} \define at key[psset]{}{SurfaceC}{\def\PstColorSynthesis at SurfaceC{#1}} \define at key[psset]{}{ColorA}{\def\PstColorSynthesis at ColorA{#1}} \define at key[psset]{}{ColorB}{\def\PstColorSynthesis at ColorB{#1}} \define at key[psset]{}{ColorC}{\def\PstColorSynthesis at ColorC{#1}} \def\PstColorSynthesis{\pst at object{PstColorSynthesis}}% \def\PstColorSynthesis at i{{% \psset{linestyle=none}% \use at par% Assignment of local parameters \bgroup \psset{fillstyle=solid,fillcolor=\PstColorSynthesis at ColorA}% \PstColorSynthesis at SurfaceA \psset{fillcolor=\PstColorSynthesis at ColorB}% \PstColorSynthesis at SurfaceB \psset{fillcolor=\PstColorSynthesis at ColorC}% \PstColorSynthesis at SurfaceC \egroup \PstColorSynthesis at ClippedSurfaces{A}{B}{NoSurface}% \PstColorSynthesis at ClippedSurfaces{A}{C}{NoSurface}% \PstColorSynthesis at ClippedSurfaces{B}{C}{NoSurface}% \PstColorSynthesis at ClippedSurfaces{A}{B}{C}}} \def\PstColorSynthesis at ColorNoSurface{} % We draw the first surface #1 clipped by the one % or two others #2 and #3, computing it resulting color \def\PstColorSynthesis at ClippedSurfaces#1#2#3{% % We compute the ?mixed? color, component by component \def\PstColorSynthesis at MixedColorR{0}% \def\PstColorSynthesis at MixedColorG{0}% \def\PstColorSynthesis at MixedColorB{0}% % \pst at dimd will contain the maximum value of the three % components. \pst at dimd=\z@ \PstColorSynthesis at MixedColor{% \csname PstColorSynthesis at Color#1\endcsname}% \PstColorSynthesis at MixedColor{% \csname PstColorSynthesis at Color#2\endcsname}% \PstColorSynthesis at MixedColor{% \csname PstColorSynthesis at Color#3\endcsname}% % We must test if the maximum of the new computed % component is greater than 1, in which case we divide all % the three components by this value for additive synthesis. \ifdim\pst at dimd>\@ne\p@ \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorR}% \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorG}% \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorB}% \fi % We draw the first surface, clipped by the other ones \psclip{\csname PstColorSynthesis at Surface#2\endcsname% \csname PstColorSynthesis at Surface#3\endcsname} \definecolor{MixedColor}{rgb}{\PstColorSynthesis at MixedColorR, \PstColorSynthesis at MixedColorG, \PstColorSynthesis at MixedColorB}% \psset{fillstyle=solid,fillcolor=MixedColor}% \csname PstColorSynthesis at Surface#1\endcsname \endpsclip} \def\PstColorSynthesis at MixedColor#1{% \edef\@tempa{#1}% \ifx\@tempa\@empty \else \pst at expandafter\PstColorSynthesis at MixedColor@i{% \csname\string\color@#1\endcsname}\@nil \fi} \def\PstColorSynthesis at MixedColor@i#1 #2 #3 #4\@nil{% % We receive the name of the color model (?rgb? is expected % here and the three color components.) % We add the values to the respective components of the new % color to compute. \PstColorSynthesis at MixedColor@ii{% \PstColorSynthesis at MixedColorR}{#2}% \PstColorSynthesis at MixedColor@ii{% \PstColorSynthesis at MixedColorG}{#3}% \PstColorSynthesis at MixedColor@ii{% \PstColorSynthesis at MixedColorB}{#4}} \def\PstColorSynthesis at MixedColor@ii#1#2{% % As these values are real numbers, we use dimension % registers, then we assign the computed value in a macro, % converting it from a dimension to a number. % We also keep in \pst at dimd the maximum of the values. \pst at dimg=#1\p@ \advance\pst at dimg by #2\p@ \pst at dimtonum{\pst at dimg}{#1}% \ifdim\pst at dimg>\pst at dimd \pst at dimd=\pst at dimg \fi} \def\PstColorSynthesis at MixedColor@iii#1{% \pst at divide{#1\p@}{\pst at dimd}{#1}% % We must take care of possible rounding problems with % \pst at divide (for instance, 1.8/1.8 give 1.0001) \ifdim#1\p@>\@ne\p@ \def#1{1}% \fi} % We redefine Cyan, Magenta and Yellow in the ?rgb? model \definecolor{Cyan}{rgb}{0,1,1}% \definecolor{Magenta}{rgb}{1,0,1}% \definecolor{Yellow}{rgb}{1,1,0}% \makeatother \begin{document} \begin{pspicture} \PstColorSynthesis[SurfaceA={\pscircle{2}}, SurfaceB={\pscircle(2,0){2}},SurfaceC={\pscircle(1,2){2}}, ColorA=Cyan,ColorB=Magenta,ColorC=Yellow] \PstColorSynthesis[SurfaceA={\psccurve(-3,1)(0,2.5)(2,1.5)(4,3)(4,-1) (3,0)(1,-2.5)(-1,-1)(-3,-3)}, SurfaceB={\psellipticarc(0,-1)(3,1.5){41}{-92}}, SurfaceC={\pstriangle(1,-2)(5,5)}, ColorA=SlateBlue,ColorB=Orange,ColorC=Pink] \end{pspicture} \end{document} From bnuzsd at gmail.com Wed Feb 1 02:40:00 2017 From: bnuzsd at gmail.com (Dong Li) Date: Wed, 1 Feb 2017 09:40:00 +0800 Subject: [pstricks] what's wrong with these codes (from pstricks manual (p223) Message-ID: Hello, > what's wrong with these codes (from pstricks manual (p223). It doesn't > work. Who can help me modify these codes. Thanks! > > > > \documentclass{article} > \usepackage[dvipsnames,x11names,svgnames]{pstricks} > > \makeatletter > \define at key[psset]{}{SurfaceA}{\def\PstColorSynthesis at SurfaceA{#1}} > \define at key[psset]{}{SurfaceB}{\def\PstColorSynthesis at SurfaceB{#1}} > \define at key[psset]{}{SurfaceC}{\def\PstColorSynthesis at SurfaceC{#1}} > \define at key[psset]{}{ColorA}{\def\PstColorSynthesis at ColorA{#1}} > \define at key[psset]{}{ColorB}{\def\PstColorSynthesis at ColorB{#1}} > \define at key[psset]{}{ColorC}{\def\PstColorSynthesis at ColorC{#1}} > \def\PstColorSynthesis{\pst at object{PstColorSynthesis}}% > \def\PstColorSynthesis at i{{% > \psset{linestyle=none}% > \use at par% Assignment of local parameters > \bgroup > \psset{fillstyle=solid,fillcolor=\PstColorSynthesis@ > ColorA}% > \PstColorSynthesis at SurfaceA > \psset{fillcolor=\PstColorSynthesis at ColorB}% > \PstColorSynthesis at SurfaceB > \psset{fillcolor=\PstColorSynthesis at ColorC}% > \PstColorSynthesis at SurfaceC > \egroup > \PstColorSynthesis at ClippedSurfaces{A}{B}{NoSurface}% > \PstColorSynthesis at ClippedSurfaces{A}{C}{NoSurface}% > \PstColorSynthesis at ClippedSurfaces{B}{C}{NoSurface}% > \PstColorSynthesis at ClippedSurfaces{A}{B}{C}}} > > \def\PstColorSynthesis at ColorNoSurface{} > % We draw the first surface #1 clipped by the one > % or two others #2 and #3, computing it resulting color > \def\PstColorSynthesis at ClippedSurfaces#1#2#3{% > % We compute the ?mixed? color, component by component > \def\PstColorSynthesis at MixedColorR{0}% > \def\PstColorSynthesis at MixedColorG{0}% > \def\PstColorSynthesis at MixedColorB{0}% > % \pst at dimd will contain the maximum value of the three > % components. > \pst at dimd=\z@ > \PstColorSynthesis at MixedColor{% > \csname PstColorSynthesis at Color#1\endcsname}% > \PstColorSynthesis at MixedColor{% > \csname PstColorSynthesis at Color#2\endcsname}% > \PstColorSynthesis at MixedColor{% > \csname PstColorSynthesis at Color#3\endcsname}% > % We must test if the maximum of the new computed > % component is greater than 1, in which case we divide all > % the three components by this value for additive synthesis. > \ifdim\pst at dimd>\@ne\p@ > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorR}% > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorG}% > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorB}% > \fi > % We draw the first surface, clipped by the other ones > \psclip{\csname PstColorSynthesis at Surface#2\endcsname% > \csname PstColorSynthesis at Surface#3\endcsname} > \definecolor{MixedColor}{rgb}{\PstColorSynthesis at MixedColorR, > \PstColorSynthesis at MixedColorG, > \PstColorSynthesis at MixedColorB}% > \psset{fillstyle=solid,fillcolor=MixedColor}% > \csname PstColorSynthesis at Surface#1\endcsname > \endpsclip} > \def\PstColorSynthesis at MixedColor#1{% > \edef\@tempa{#1}% > \ifx\@tempa\@empty > \else > \pst at expandafter\PstColorSynthesis at MixedColor@i{% > \csname\string\color@#1\endcsname}\@nil > \fi} > > \def\PstColorSynthesis at MixedColor@i#1 #2 #3 #4\@nil{% > % We receive the name of the color model (?rgb? is expected > % here and the three color components.) > % We add the values to the respective components of the new > % color to compute. > \PstColorSynthesis at MixedColor@ii{% > \PstColorSynthesis at MixedColorR}{#2}% > \PstColorSynthesis at MixedColor@ii{% > \PstColorSynthesis at MixedColorG}{#3}% > \PstColorSynthesis at MixedColor@ii{% > \PstColorSynthesis at MixedColorB}{#4}} > > \def\PstColorSynthesis at MixedColor@ii#1#2{% > % As these values are real numbers, we use dimension > % registers, then we assign the computed value in a macro, > % converting it from a dimension to a number. > % We also keep in \pst at dimd the maximum of the values. > \pst at dimg=#1\p@ > \advance\pst at dimg by #2\p@ > \pst at dimtonum{\pst at dimg}{#1}% > \ifdim\pst at dimg>\pst at dimd > \pst at dimd=\pst at dimg > \fi} > > \def\PstColorSynthesis at MixedColor@iii#1{% > \pst at divide{#1\p@}{\pst at dimd}{#1}% > % We must take care of possible rounding problems with > % \pst at divide (for instance, 1.8/1.8 give 1.0001) > \ifdim#1\p@>\@ne\p@ > \def#1{1}% > \fi} > > % We redefine Cyan, Magenta and Yellow in the ?rgb? model > \definecolor{Cyan}{rgb}{0,1,1}% > \definecolor{Magenta}{rgb}{1,0,1}% > \definecolor{Yellow}{rgb}{1,1,0}% > \makeatother > > \begin{document} > > \begin{pspicture} > \PstColorSynthesis[SurfaceA={\pscircle{2}}, > SurfaceB={\pscircle(2,0){2}},SurfaceC={\pscircle(1,2){2}}, > ColorA=Cyan,ColorB=Magenta,ColorC=Yellow] > \PstColorSynthesis[SurfaceA={\psccurve(-3,1)(0,2.5)(2,1.5)( > 4,3)(4,-1) > (3,0)(1,-2.5)(-1,-1)(-3,-3)}, > SurfaceB={\psellipticarc(0,-1)(3,1.5){41}{-92}}, > SurfaceC={\pstriangle(1,-2)(5,5)}, > ColorA=SlateBlue,ColorB=Orange,ColorC=Pink] > \end{pspicture} > \end{document} > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Feb 1 16:43:29 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 1 Feb 2017 16:43:29 +0100 Subject: [pstricks] what's wrong with these codes (from pstricks manual (p223) In-Reply-To: References: Message-ID: Am 01.02.2017 um 02:40 schrieb Dong Li: > Hello, > > what's wrong with these codes (from pstricks manual (p223). It doesn't > work. Who can help me modify these codes. Thanks! what means "it doesn't work"?? Herbert > > > > \documentclass{article} > \usepackage[dvipsnames,x11names,svgnames]{pstricks} > > \makeatletter > \define at key[psset]{}{SurfaceA}{\def\PstColorSynthesis at SurfaceA{#1}} > \define at key[psset]{}{SurfaceB}{\def\PstColorSynthesis at SurfaceB{#1}} > \define at key[psset]{}{SurfaceC}{\def\PstColorSynthesis at SurfaceC{#1}} > \define at key[psset]{}{ColorA}{\def\PstColorSynthesis at ColorA{#1}} > \define at key[psset]{}{ColorB}{\def\PstColorSynthesis at ColorB{#1}} > \define at key[psset]{}{ColorC}{\def\PstColorSynthesis at ColorC{#1}} > \def\PstColorSynthesis{\pst at object{PstColorSynthesis}}% > \def\PstColorSynthesis at i{{% > \psset{linestyle=none}% > \use at par% Assignment of local parameters > \bgroup > > \psset{fillstyle=solid,fillcolor=\PstColorSynthesis at ColorA}% > \PstColorSynthesis at SurfaceA > \psset{fillcolor=\PstColorSynthesis at ColorB}% > \PstColorSynthesis at SurfaceB > \psset{fillcolor=\PstColorSynthesis at ColorC}% > \PstColorSynthesis at SurfaceC > \egroup > \PstColorSynthesis at ClippedSurfaces{A}{B}{NoSurface}% > \PstColorSynthesis at ClippedSurfaces{A}{C}{NoSurface}% > \PstColorSynthesis at ClippedSurfaces{B}{C}{NoSurface}% > \PstColorSynthesis at ClippedSurfaces{A}{B}{C}}} > > \def\PstColorSynthesis at ColorNoSurface{} > % We draw the first surface #1 clipped by the one > % or two others #2 and #3, computing it resulting color > \def\PstColorSynthesis at ClippedSurfaces#1#2#3{% > % We compute the ?mixed? color, component by component > \def\PstColorSynthesis at MixedColorR{0}% > \def\PstColorSynthesis at MixedColorG{0}% > \def\PstColorSynthesis at MixedColorB{0}% > % \pst at dimd will contain the maximum value of the three > % components. > \pst at dimd=\z@ > \PstColorSynthesis at MixedColor{% > \csname PstColorSynthesis at Color#1\endcsname}% > \PstColorSynthesis at MixedColor{% > \csname PstColorSynthesis at Color#2\endcsname}% > \PstColorSynthesis at MixedColor{% > \csname PstColorSynthesis at Color#3\endcsname}% > % We must test if the maximum of the new computed > % component is greater than 1, in which case we divide all > % the three components by this value for additive synthesis. > \ifdim\pst at dimd>\@ne\p@ > > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorR}% > > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorG}% > > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorB}% > \fi > % We draw the first surface, clipped by the other ones > \psclip{\csname PstColorSynthesis at Surface#2\endcsname% > \csname PstColorSynthesis at Surface#3\endcsname} > \definecolor{MixedColor}{rgb}{\PstColorSynthesis at MixedColorR, > \PstColorSynthesis at MixedColorG, > \PstColorSynthesis at MixedColorB}% > \psset{fillstyle=solid,fillcolor=MixedColor}% > \csname PstColorSynthesis at Surface#1\endcsname > \endpsclip} > \def\PstColorSynthesis at MixedColor#1{% > \edef\@tempa{#1}% > \ifx\@tempa\@empty > \else > \pst at expandafter\PstColorSynthesis at MixedColor@i{% > \csname\string\color@#1\endcsname}\@nil > \fi} > > \def\PstColorSynthesis at MixedColor@i#1 #2 #3 #4\@nil{% > % We receive the name of the color model (?rgb? is expected > % here and the three color components.) > % We add the values to the respective components of the new > % color to compute. > \PstColorSynthesis at MixedColor@ii{% > \PstColorSynthesis at MixedColorR}{#2}% > \PstColorSynthesis at MixedColor@ii{% > \PstColorSynthesis at MixedColorG}{#3}% > \PstColorSynthesis at MixedColor@ii{% > \PstColorSynthesis at MixedColorB}{#4}} > > \def\PstColorSynthesis at MixedColor@ii#1#2{% > % As these values are real numbers, we use dimension > % registers, then we assign the computed value in a macro, > % converting it from a dimension to a number. > % We also keep in \pst at dimd the maximum of the values. > \pst at dimg=#1\p@ > \advance\pst at dimg by #2\p@ > \pst at dimtonum{\pst at dimg}{#1}% > \ifdim\pst at dimg>\pst at dimd > \pst at dimd=\pst at dimg > \fi} > > \def\PstColorSynthesis at MixedColor@iii#1{% > \pst at divide{#1\p@}{\pst at dimd}{#1}% > % We must take care of possible rounding problems with > % \pst at divide (for instance, 1.8/1.8 give 1.0001) > \ifdim#1\p@>\@ne\p@ > \def#1{1}% > \fi} > > % We redefine Cyan, Magenta and Yellow in the ?rgb? model > \definecolor{Cyan}{rgb}{0,1,1}% > \definecolor{Magenta}{rgb}{1,0,1}% > \definecolor{Yellow}{rgb}{1,1,0}% > \makeatother > > \begin{document} > > \begin{pspicture} > \PstColorSynthesis[SurfaceA={\pscircle{2}}, > SurfaceB={\pscircle(2,0){2}},SurfaceC={\pscircle(1,2){2}}, > ColorA=Cyan,ColorB=Magenta,ColorC=Yellow] > > \PstColorSynthesis[SurfaceA={\psccurve(-3,1)(0,2.5)(2,1.5)(4,3)(4,-1) > (3,0)(1,-2.5)(-1,-1)(-3,-3)}, > SurfaceB={\psellipticarc(0,-1)(3,1.5){41}{-92}}, > SurfaceC={\pstriangle(1,-2)(5,5)}, > ColorA=SlateBlue,ColorB=Orange,ColorC=Pink] > \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 bnuzsd at gmail.com Fri Feb 3 09:06:16 2017 From: bnuzsd at gmail.com (Dong Li) Date: Fri, 3 Feb 2017 16:06:16 +0800 Subject: [pstricks] PSTricks Digest, Vol 168, Issue 2 Message-ID: Hello Herbert, It works now, thank you very much. 2017-02-02 19:00 GMT+08:00 : > 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: what's wrong with these codes (from pstricks manual > (p223) (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 1 Feb 2017 16:43:29 +0100 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] what's wrong with these codes (from pstricks > manual (p223) > Message-ID: > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 01.02.2017 um 02:40 schrieb Dong Li: > > Hello, > > > > what's wrong with these codes (from pstricks manual (p223). It > doesn't > > work. Who can help me modify these codes. Thanks! > > what means "it doesn't work"?? > > Herbert > > > > > > > > > > \documentclass{article} > > \usepackage[dvipsnames,x11names,svgnames]{pstricks} > > > > \makeatletter > > \define at key[psset]{}{SurfaceA}{\def\PstColorSynthesis at SurfaceA{#1}} > > \define at key[psset]{}{SurfaceB}{\def\PstColorSynthesis at SurfaceB{#1}} > > \define at key[psset]{}{SurfaceC}{\def\PstColorSynthesis at SurfaceC{#1}} > > \define at key[psset]{}{ColorA}{\def\PstColorSynthesis at ColorA{#1}} > > \define at key[psset]{}{ColorB}{\def\PstColorSynthesis at ColorB{#1}} > > \define at key[psset]{}{ColorC}{\def\PstColorSynthesis at ColorC{#1}} > > \def\PstColorSynthesis{\pst at object{PstColorSynthesis}}% > > \def\PstColorSynthesis at i{{% > > \psset{linestyle=none}% > > \use at par% Assignment of local parameters > > \bgroup > > > > \psset{fillstyle=solid,fillcolor=\PstColorSynthesis at ColorA}% > > \PstColorSynthesis at SurfaceA > > \psset{fillcolor=\PstColorSynthesis at ColorB}% > > \PstColorSynthesis at SurfaceB > > \psset{fillcolor=\PstColorSynthesis at ColorC}% > > \PstColorSynthesis at SurfaceC > > \egroup > > \PstColorSynthesis at ClippedSurfaces{A}{B}{NoSurface}% > > \PstColorSynthesis at ClippedSurfaces{A}{C}{NoSurface}% > > \PstColorSynthesis at ClippedSurfaces{B}{C}{NoSurface}% > > \PstColorSynthesis at ClippedSurfaces{A}{B}{C}}} > > > > \def\PstColorSynthesis at ColorNoSurface{} > > % We draw the first surface #1 clipped by the one > > % or two others #2 and #3, computing it resulting color > > \def\PstColorSynthesis at ClippedSurfaces#1#2#3{% > > % We compute the ?mixed? color, component by component > > \def\PstColorSynthesis at MixedColorR{0}% > > \def\PstColorSynthesis at MixedColorG{0}% > > \def\PstColorSynthesis at MixedColorB{0}% > > % \pst at dimd will contain the maximum value of the three > > % components. > > \pst at dimd=\z@ > > \PstColorSynthesis at MixedColor{% > > \csname PstColorSynthesis at Color#1\endcsname}% > > \PstColorSynthesis at MixedColor{% > > \csname PstColorSynthesis at Color#2\endcsname}% > > \PstColorSynthesis at MixedColor{% > > \csname PstColorSynthesis at Color#3\endcsname}% > > % We must test if the maximum of the new computed > > % component is greater than 1, in which case we divide all > > % the three components by this value for additive synthesis. > > \ifdim\pst at dimd>\@ne\p@ > > > > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorR}% > > > > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorG}% > > > > \PstColorSynthesis at MixedColor@iii{\PstColorSynthesis at MixedColorB}% > > \fi > > % We draw the first surface, clipped by the other ones > > \psclip{\csname PstColorSynthesis at Surface#2\endcsname% > > \csname PstColorSynthesis at Surface#3\endcsname} > > \definecolor{MixedColor}{rgb}{\PstColorSynthesis at MixedColorR > , > > \PstColorSynthesis at MixedColorG, > > \PstColorSynthesis at MixedColorB}% > > \psset{fillstyle=solid,fillcolor=MixedColor}% > > \csname PstColorSynthesis at Surface#1\endcsname > > \endpsclip} > > \def\PstColorSynthesis at MixedColor#1{% > > \edef\@tempa{#1}% > > \ifx\@tempa\@empty > > \else > > \pst at expandafter\PstColorSynthesis at MixedColor@i{% > > \csname\string\color@#1\endcsname}\@nil > > \fi} > > > > \def\PstColorSynthesis at MixedColor@i#1 #2 #3 #4\@nil{% > > % We receive the name of the color model (?rgb? is expected > > % here and the three color components.) > > % We add the values to the respective components of the new > > % color to compute. > > \PstColorSynthesis at MixedColor@ii{% > > \PstColorSynthesis at MixedColorR}{#2}% > > \PstColorSynthesis at MixedColor@ii{% > > \PstColorSynthesis at MixedColorG}{#3}% > > \PstColorSynthesis at MixedColor@ii{% > > \PstColorSynthesis at MixedColorB}{#4}} > > > > \def\PstColorSynthesis at MixedColor@ii#1#2{% > > % As these values are real numbers, we use dimension > > % registers, then we assign the computed value in a macro, > > % converting it from a dimension to a number. > > % We also keep in \pst at dimd the maximum of the values. > > \pst at dimg=#1\p@ > > \advance\pst at dimg by #2\p@ > > \pst at dimtonum{\pst at dimg}{#1}% > > \ifdim\pst at dimg>\pst at dimd > > \pst at dimd=\pst at dimg > > \fi} > > > > \def\PstColorSynthesis at MixedColor@iii#1{% > > \pst at divide{#1\p@}{\pst at dimd}{#1}% > > % We must take care of possible rounding problems with > > % \pst at divide (for instance, 1.8/1.8 give 1.0001) > > \ifdim#1\p@>\@ne\p@ > > \def#1{1}% > > \fi} > > > > % We redefine Cyan, Magenta and Yellow in the ?rgb? model > > \definecolor{Cyan}{rgb}{0,1,1}% > > \definecolor{Magenta}{rgb}{1,0,1}% > > \definecolor{Yellow}{rgb}{1,1,0}% > > \makeatother > > > > \begin{document} > > > > \begin{pspicture} > > \PstColorSynthesis[SurfaceA={\pscircle{2}}, > > SurfaceB={\pscircle(2,0){2}},SurfaceC={\pscircle(1,2){2}}, > > ColorA=Cyan,ColorB=Magenta,ColorC=Yellow] > > > > \PstColorSynthesis[SurfaceA={\psccurve(-3,1)(0,2.5)(2,1.5)( > 4,3)(4,-1) > > (3,0)(1,-2.5)(-1,-1)(-3,-3)}, > > SurfaceB={\psellipticarc(0,-1)(3,1.5){41}{-92}}, > > SurfaceC={\pstriangle(1,-2)(5,5)}, > > ColorA=SlateBlue,ColorB=Orange,ColorC=Pink] > > \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 168, Issue 2 > **************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akhmedov at mpi-hd.mpg.de Fri Feb 3 11:02:44 2017 From: akhmedov at mpi-hd.mpg.de (akhmedov at mpi-hd.mpg.de) Date: Fri, 3 Feb 2017 11:02:44 +0100 (CET) Subject: [pstricks] prosper overlays problems -- solved In-Reply-To: References: Message-ID: >>>> Hi, I have recently upgraded Ubuntu to version 16.04 on my desktop and >>>> found that all my legacy prosper files with \overlays in them stopped >>>> working. Apparently the problem is that prosper is not compatible with >>>> recent versions of pstricks. Is it possible to get an older version which >>>> would still work with prosper? Thanks, Evgeny >> I tried all versions of TeXLive back to 2010 and all have the >> same problem. I have no idea what the changes may be... >> >> Herbert The problem is solved by downgrading TeXLive 2016 to TeXLive 2009. After I have done so, the overlays worked without problems, but a part of the slides was cut off. The latter problem was solved by using dvips -O 0,0.25 -T 8.4,12.0 instead of dvips. Evgeny From andreas at nolda.org Thu Feb 16 19:27:22 2017 From: andreas at nolda.org (Andreas Nolda) Date: Thu, 16 Feb 2017 19:27:22 +0100 Subject: [pstricks] Draft mode for pst-tree Message-ID: <20170216192722.5e797e72@thinkpad-x301> Hi, Please find attached a patch for pst-tree.tex adding support for the draft parameter, which was introduced for pspicture in 2016. It's modelled after the code for the showbbox parameter for pstree. Best regards, Andreas Nolda -------------- next part -------------- A non-text attachment was scrubbed... Name: pst-tree.patch Type: text/x-patch Size: 1214 bytes Desc: not available URL: From texnicer at web.de Fri Feb 17 22:24:29 2017 From: texnicer at web.de (TeXnicer) Date: Fri, 17 Feb 2017 22:24:29 +0100 Subject: [pstricks] FYI: Stella maris on nautical chart (Example, minor questions) Message-ID: Dear community, sell, well, well, I just wanted to learn some navigation and *zapp* I am practicing using a sextant and feel the desire to draw a "stella maris" historical symbol for polaris-north on nautical charts. I did this quite rough regarding the combination and amount of multidos needed, but maybe this contributes to someones work, questions or triggers more elegant solutions I can learn of. Still I am messing too much with coordinate systems and rotation. I took of package "textcomp" but suggest to use \textdegree instead of $^\circ$. Aditionally the usage of $\prime$ did not even come close to any acceptable result. Looking forward for feedback! And wavehand to Herbert for this magnificent set of drawing instructions. Yours, Carsten (TeXnicer) \documentclass[]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{multido} \usepackage{pst-node} %\usepackage{textcomp} %\textdegree % definitions %sample values from ?bungskarte D49 \newcommand{\referenceYear}{2010} \newcommand{\referenceVariation}{.5} % reference year VARiation in degree! E=+ W=- \newcommand{\variationLabel}{0$^\circ$\,50'\,E~\referenceYear~(5'\,E)} % $^\circ$ better: \textdegree from textcomp \newcommand{\myFont}{\tiny\color{magenta}\sffamily} % labels for compass rose \newcounter{degstep}\setcounter{degstep}{0} \newcommand{\DegreeUpper}{\stepcounter{degstep}\ifcase\value{degstep}% \or270\or300\or330\or0\or030\or060\or090\fi}% \newcommand{\DegreeLower}{\stepcounter{degstep}\ifcase\value{degstep}% \or120\or150\or180\or210\or240\fi}% \begin{document}\centering\pagestyle{empty} \section*{Magnetic variation on nautical charts} \begin{pspicture}(-5,-5)(5,6)%\psframe[linecolor=red](-4.3,-4.3)(4.3,5.3) \psset{linecolor=magenta,linewidth=.5pt} % the VAR (OM) cross \rput{-\referenceVariation}(0,0){% \psline(-3.55,0)(-.1,0) \psline(.1,0)(3.5,0) \psline(0,-3.55)(0,-.1) \psline(0,.1)(0,3.55)(-.15,3.05)(0,2.85) \pscircle(0,0){.1} \psdot[linewidth=.005](0,0) \rput{90}(0,1.5){\psframebox*[linecolor=white,framesep=2pt]{\myFont\variationLabel}} } % VAR (OM) cross \multido{\i=0+2}{180}{% two degree ticks \rput{\i}(0,0){\psline(0,4)(0,3.87)} } % two degree ticks \multido{\iA=0+30,\iAA=270+30}{12}{% thirty degree ticks \rput{-\iA}(0,0){\psline[linewidth=1pt](0,4)(0,3.7)} } \multido{\iAA=270+30}{7}{% labels 270-090 \rput{-\iAA}(0,0){\rput[b](0,4.05){\myFont\DegreeUpper}} } \setcounter{degstep}{0} \multido{\iAB=300+30}{5}{% labels 120-240 \rput{-\iAB}(0,0){\rput[t](0,-4.05){\myFont\DegreeLower}} } % Stella Maris line \psline[linewidth=1pt](0,4.25)(0,4.7) % Stella Maris \rput(0,4.87){% star, perimeter/translation \multido{\iB=90+72,\iC=54+72,\i=0+1}{5}{ \psline(0,0)(.3;\iB) \pnode(.3;\iB){S\i} \pnode(.17;\iC){R\i} \psline(0,0)(.17;\iC) \multido{\iD=0+72}{5}{% hatching \rput{\iD}(0,0){% two hatchling lines \psline(.033,.05)(.033,.24) \psline(.066,.1)(.066,.19) }%rput/two hatching lines }%multido/hatching }%multido/Stella Maris }%rput/tranlation \pspolygon(R0)(S0)(R1)(S1)(R2)(S2)(R3)(S3)(R4)(S4)% the actual star perimeter \end{pspicture}\par \noindent\footnotesize{Creator: C.~Vogel (TeXnicer), 17.\,2.\,2017 License: CC-BY-SA 4.0}\\% \end{document} From Patrice.MEGRET at umons.ac.be Sun Feb 19 09:40:47 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Sun, 19 Feb 2017 08:40:47 +0000 Subject: [pstricks] FYI: Stella maris on nautical chart (Example, minor questions) In-Reply-To: References: Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB95C04766@EXCHANGEDB4.umons.ac.be> Dear Carsten, I recommand you to use the siunitx package for writing angles: \ang{degree;nim;sec} Here is your example: \documentclass[]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{multido} \usepackage{pst-node} \usepackage{siunitx} \sisetup{detect-all} %\usepackage{textcomp} %\textdegree % definitions %sample values from ?bungskarte D49 \newcommand{\referenceYear}{2010} \newcommand{\referenceVariation}{.5} % reference year VARiation in degree! E=+ W=- % \newcommand{\variationLabel}{\ang{0;50;}\,E~\referenceYear~(5'\,E)} %\newcommand{\variationLabel}{0$^\circ$\,50'\,E~\referenceYear~(5'\,E)} % $^\circ$ better: \textdegree from textcomp \newcommand{\myFont}{\tiny\color{magenta}\sffamily} % labels for compass rose \newcounter{degstep}\setcounter{degstep}{0} \newcommand{\DegreeUpper}{\stepcounter{degstep}\ifcase\value{degstep}% \or270\or300\or330\or0\or030\or060\or090\fi}% \newcommand{\DegreeLower}{\stepcounter{degstep}\ifcase\value{degstep}% \or120\or150\or180\or210\or240\fi}% \begin{document}\centering\pagestyle{empty} \section*{Magnetic variation on nautical charts} \begin{pspicture}(-5,-5)(5,6)%\psframe[linecolor=red](-4.3,-4.3)(4.3,5.3) \psset{linecolor=magenta,linewidth=.5pt} % the VAR (OM) cross \rput{-\referenceVariation}(0,0){% \psline(-3.55,0)(-.1,0) \psline(.1,0)(3.5,0) \psline(0,-3.55)(0,-.1) \psline(0,.1)(0,3.55)(-.15,3.05)(0,2.85) \pscircle(0,0){.1} \psdot[linewidth=.005](0,0) \rput{90}(0,1.5){\psframebox*[linecolor=white,framesep=2pt]{\myFont\variationLabel}} } % VAR (OM) cross \multido{\i=0+2}{180}{% two degree ticks \rput{\i}(0,0){\psline(0,4)(0,3.87)} } % two degree ticks \multido{\iA=0+30,\iAA=270+30}{12}{% thirty degree ticks \rput{-\iA}(0,0){\psline[linewidth=1pt](0,4)(0,3.7)} } \multido{\iAA=270+30}{7}{% labels 270-090 \rput{-\iAA}(0,0){\rput[b](0,4.05){\myFont\DegreeUpper}} } \setcounter{degstep}{0} \multido{\iAB=300+30}{5}{% labels 120-240 \rput{-\iAB}(0,0){\rput[t](0,-4.05){\myFont\DegreeLower}} } % Stella Maris line \psline[linewidth=1pt](0,4.25)(0,4.7) % Stella Maris \rput(0,4.87){% star, perimeter/translation \multido{\iB=90+72,\iC=54+72,\i=0+1}{5}{ \psline(0,0)(.3;\iB) \pnode(.3;\iB){S\i} \pnode(.17;\iC){R\i} \psline(0,0)(.17;\iC) \multido{\iD=0+72}{5}{% hatching \rput{\iD}(0,0){% two hatchling lines \psline(.033,.05)(.033,.24) \psline(.066,.1)(.066,.19) }%rput/two hatching lines }%multido/hatching }%multido/Stella Maris }%rput/tranlation \pspolygon(R0)(S0)(R1)(S1)(R2)(S2)(R3)(S3)(R4)(S4)% the actual star perimeter \end{pspicture}\par \noindent\footnotesize{Creator: C.~Vogel (TeXnicer), 17.\,2.\,2017 License: CC-BY-SA 4.0}\\% \end{document} Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de TeXnicer Envoy??: vendredi 17 f?vrier 2017 22:24 ??: pstricks at tug.org Objet?: [pstricks] FYI: Stella maris on nautical chart (Example, minor questions) Dear community, sell, well, well, I just wanted to learn some navigation and *zapp* I am practicing using a sextant and feel the desire to draw a "stella maris" historical symbol for polaris-north on nautical charts. I did this quite rough regarding the combination and amount of multidos needed, but maybe this contributes to someones work, questions or triggers more elegant solutions I can learn of. Still I am messing too much with coordinate systems and rotation. I took of package "textcomp" but suggest to use \textdegree instead of $^\circ$. Aditionally the usage of $\prime$ did not even come close to any acceptable result. Looking forward for feedback! And wavehand to Herbert for this magnificent set of drawing instructions. Yours, Carsten (TeXnicer) \documentclass[]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{multido} \usepackage{pst-node} %\usepackage{textcomp} %\textdegree % definitions %sample values from ?bungskarte D49 \newcommand{\referenceYear}{2010} \newcommand{\referenceVariation}{.5} % reference year VARiation in degree! E=+ W=- \newcommand{\variationLabel}{0$^\circ$\,50'\,E~\referenceYear~(5'\,E)} % $^\circ$ better: \textdegree from textcomp \newcommand{\myFont}{\tiny\color{magenta}\sffamily} % labels for compass rose \newcounter{degstep}\setcounter{degstep}{0} \newcommand{\DegreeUpper}{\stepcounter{degstep}\ifcase\value{degstep}% \or270\or300\or330\or0\or030\or060\or090\fi}% \newcommand{\DegreeLower}{\stepcounter{degstep}\ifcase\value{degstep}% \or120\or150\or180\or210\or240\fi}% \begin{document}\centering\pagestyle{empty} \section*{Magnetic variation on nautical charts} \begin{pspicture}(-5,-5)(5,6)%\psframe[linecolor=red](-4.3,-4.3)(4.3,5.3) \psset{linecolor=magenta,linewidth=.5pt} % the VAR (OM) cross \rput{-\referenceVariation}(0,0){% \psline(-3.55,0)(-.1,0) \psline(.1,0)(3.5,0) \psline(0,-3.55)(0,-.1) \psline(0,.1)(0,3.55)(-.15,3.05)(0,2.85) \pscircle(0,0){.1} \psdot[linewidth=.005](0,0) \rput{90}(0,1.5){\psframebox*[linecolor=white,framesep=2pt]{\myFont\variationLabel}} } % VAR (OM) cross \multido{\i=0+2}{180}{% two degree ticks \rput{\i}(0,0){\psline(0,4)(0,3.87)} } % two degree ticks \multido{\iA=0+30,\iAA=270+30}{12}{% thirty degree ticks \rput{-\iA}(0,0){\psline[linewidth=1pt](0,4)(0,3.7)} } \multido{\iAA=270+30}{7}{% labels 270-090 \rput{-\iAA}(0,0){\rput[b](0,4.05){\myFont\DegreeUpper}} } \setcounter{degstep}{0} \multido{\iAB=300+30}{5}{% labels 120-240 \rput{-\iAB}(0,0){\rput[t](0,-4.05){\myFont\DegreeLower}} } % Stella Maris line \psline[linewidth=1pt](0,4.25)(0,4.7) % Stella Maris \rput(0,4.87){% star, perimeter/translation \multido{\iB=90+72,\iC=54+72,\i=0+1}{5}{ \psline(0,0)(.3;\iB) \pnode(.3;\iB){S\i} \pnode(.17;\iC){R\i} \psline(0,0)(.17;\iC) \multido{\iD=0+72}{5}{% hatching \rput{\iD}(0,0){% two hatchling lines \psline(.033,.05)(.033,.24) \psline(.066,.1)(.066,.19) }%rput/two hatching lines }%multido/hatching }%multido/Stella Maris }%rput/tranlation \pspolygon(R0)(S0)(R1)(S1)(R2)(S2)(R3)(S3)(R4)(S4)% the actual star perimeter \end{pspicture}\par \noindent\footnotesize{Creator: C.~Vogel (TeXnicer), 17.\,2.\,2017 License: CC-BY-SA 4.0}\\% \end{document} _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From texnicer at web.de Sun Feb 19 10:07:38 2017 From: texnicer at web.de (TeXnicer) Date: Sun, 19 Feb 2017 10:07:38 +0100 Subject: [pstricks] FYI: Stella maris on nautical chart (Example, minor questions) In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB95C04766@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB95C04766@EXCHANGEDB4.umons.ac.be> Message-ID: <67f61135-bb47-be7a-6d7e-928ea135ef0d@web.de> Am 19.02.2017 um 09:40 schrieb Patrice MEGRET: > Dear Carsten, > > I recommand you to use the siunitx package for writing angles: \ang{degree;nim;sec} > Dear Patrice, thanks for taking a look at my code. Indeed, I was wondering about the proper way setting nautical datums. As I learned from your proposal, \ang: - sets no blank behind degree - degree is composed of simple ? (\textdegree of pakage textcomp) - minute/second-signs are composed of $\prime$ I will take a closer look at that package, since I remember only siunits. Kind regards, Carsten % --- \documentclass[]{minimal} \usepackage[utf8]{inputenc} \usepackage{siunitx} \sisetup{detect-all} \usepackage{textcomp} \usepackage{xcolor} \parindent=0pt \newcommand{\myFont}{\fontsize{6pt}{8pt}\color{magenta}\sffamily} \begin{document} 42\textdegree\,42'\,N~52\textdegree\,13'\,W\\ 42$^\circ$\,42$^\prime$\,N~52$^\circ$\,13$^\prime$\,W\\ 42\textdegree42$^\prime$\,N~52\textdegree13$^\prime$\,W\\ \ang{42;42;}\,N~\ang{52;13;}\,W\\ \myFont 42\textdegree\,42'\,N~52\textdegree\,13'\,W\\ 42$^\circ$\,42$^\prime$\,N~52$^\circ$\,13$^\prime$\,W\\ 42\textdegree42$^\prime$\,N~52\textdegree13$^\prime$\,W\\ \ang{42;42;}\,N~\ang{52;13;}\,W\\ \end{document} From Herbert.Voss at FU-Berlin.DE Sun Feb 19 11:02:09 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 19 Feb 2017 11:02:09 +0100 Subject: [pstricks] Draft mode for pst-tree In-Reply-To: <20170216192722.5e797e72@thinkpad-x301> References: <20170216192722.5e797e72@thinkpad-x301> Message-ID: <98634c8c-5990-dc91-6d1c-ea236193d055@FU-Berlin.DE> Am 16.02.2017 um 19:27 schrieb Andreas Nolda: > Please find attached a patch for pst-tree.tex adding support for the > draft parameter, which was introduced for pspicture in 2016. It's > modelled after the code for the showbbox parameter for pstree. thans, it will be part of the next update Herbert From Patrice.MEGRET at umons.ac.be Wed Feb 22 08:16:11 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Wed, 22 Feb 2017 07:16:11 +0000 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> Dear list, I have a small problem with auto-pst-pdf: see example file at the end. If pst-pdf version 1.1 is used, compilation in PdfLatex and Latex work fine. If pst-pdf version 1.2 is used, compilation in PdfLatex works as expected but compilation in Latex fails with the following error message: . (c:/texlive/2016/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty Package: pst-pdf 2016/07/11 v1.2a PS graphics for pdfLaTeX (RN,HjG) ! Extra \fi. l.62 \fi I'm ignoring this; it doesn't match any \if. ! Extra \fi. l.63 \fi I'm ignoring this; it doesn't match any \if. \documentclass{report} \usepackage{pstricks-add} \usepackage[crop=off]{auto-pst-pdf} \listfiles \begin{document} \begin{figure}[!htb] \centering \begin{pspicture}[showgrid=true](-1.5,-1)(2,5.5) \end{pspicture} \caption{Geometrical structure of a singlemode optical fiber.} \end{figure} \end{document} It seemes that the test inside pst-pdf are wrong in case of Latex. Any clue? Best regards, Patrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Wed Feb 22 21:44:21 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 22 Feb 2017 21:44:21 +0100 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> Message-ID: Am 22.02.2017 um 08:16 schrieb Patrice MEGRET: > I have a small problem with auto-pst-pdf: see example file at the end. > If pst-pdf version 1.1 is used, compilation in PdfLatex and Latex work fine. > > If pst-pdf version 1.2 is used, compilation in PdfLatex works as > expected but compilation in Latex fails with the following error message: > > . (c:/texlive/2016/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty > > Package: pst-pdf 2016/07/11 v1.2a PS graphics for pdfLaTeX (RN,HjG) > > ! Extra \fi. > > l.62 \fi this always happens if pst-pdf is used with an engine where it makes no sense, e.g. latex and/or xelatex. However, this should be captured by the package with an error message. Herbert From Patrice.MEGRET at umons.ac.be Thu Feb 23 08:19:39 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Thu, 23 Feb 2017 07:19:39 +0000 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf In-Reply-To: References: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB95C05A43@EXCHANGEDB4.umons.ac.be> Dear Herbert, Thanks for your answer but I think there is a misunderstanding. As far as I understand, with auto-pst-pdf, if compilation is done in Latex, the dvi file contains the classical pspicture and all the text and then by dvips we obtain the ps file and with ps2pdf the final pdf file. Indeed this compilation calls pst-pdf with option inactive and this option seems to be broken in the new pst-pdf package. If compilation is done in pdfLatex, then auto-pst-pdf uses pst-pdf to extract all pspicture figures in one dvi file that is processed to finally obtain pdf figures that are inserted by includegrahics in the final pdf file. So whatever the compilation engine that is used, the final pdf file is always correct if pure pstricks code is used. (Of course if there is a mix of eps and jpg pictures, then Latex compilation will fail). Best regards, Patrice Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: mercredi 22 f?vrier 2017 21:44 ??: pstricks at tug.org Objet?: Re: [pstricks] problem with pst-pdf in auto-pst-pdf Am 22.02.2017 um 08:16 schrieb Patrice MEGRET: > I have a small problem with auto-pst-pdf: see example file at the end. > If pst-pdf version 1.1 is used, compilation in PdfLatex and Latex work fine. > > If pst-pdf version 1.2 is used, compilation in PdfLatex works as > expected but compilation in Latex fails with the following error message: > > . (c:/texlive/2016/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty > > Package: pst-pdf 2016/07/11 v1.2a PS graphics for pdfLaTeX (RN,HjG) > > ! Extra \fi. > > l.62 \fi this always happens if pst-pdf is used with an engine where it makes no sense, e.g. latex and/or xelatex. However, this should be captured by the package with an error message. 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 Feb 23 10:37:07 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 23 Feb 2017 10:37:07 +0100 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB95C05A43@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> <8EAD3A11C751924B9AB951FA32FD86EB95C05A43@EXCHANGEDB4.umons.ac.be> Message-ID: <1609b4c1-0b21-8aa7-c243-883e163f0ec4@FU-Berlin.DE> Am 23.02.2017 um 08:19 schrieb Patrice MEGRET: > As far as I understand, with auto-pst-pdf, if compilation is done in Latex, the dvi file contains the classical pspicture and all the text and then by dvips we obtain the ps file and with ps2pdf the final pdf file. > Indeed this compilation calls pst-pdf with option inactive and this option seems to be broken in the new pst-pdf package. Patrice, auto-pst-pdf uses the switch \ifpdf to test, if it is the run with latex to create the pictures via pst-pdf or if it is the final pdflatex run to insert the created pictures as images. If you are using latex as main program then all this cannot work and one should use \usepackage[off]{auto-pst-pdf} Herbert From Patrice.MEGRET at umons.ac.be Thu Feb 23 16:20:30 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Thu, 23 Feb 2017 15:20:30 +0000 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf In-Reply-To: <1609b4c1-0b21-8aa7-c243-883e163f0ec4@FU-Berlin.DE> References: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> <8EAD3A11C751924B9AB951FA32FD86EB95C05A43@EXCHANGEDB4.umons.ac.be> <1609b4c1-0b21-8aa7-c243-883e163f0ec4@FU-Berlin.DE> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB95C05C9A@EXCHANGEDB4.umons.ac.be> Dear Herbert, Yes, if compilation with pdflatex, first run = latex, second = ... => this creates temporary files with the pictures before the last compilation in pdflatex. With the off option, the picture file is reused. But if I compile in Latex, the auto-pst-pdf does nothing except calling pst-pdf with option inactive. If I look at the error it seems that the version 1.2 of pst-pdf does not load the packages ifpdf, ifvtex, ifxetex and os the error I mentioned. If by luck, these packages are already loaded (by geometry for example) then no problem. I know that it could be strange the way I am using auto-pst-pdf but the main idea is to be able to compile the file with pstricks commands by the classical way latex->dvips->ps2pdf or by pdflatex. Best regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: jeudi 23 f?vrier 2017 10:37 ??: pstricks at tug.org Objet?: Re: [pstricks] problem with pst-pdf in auto-pst-pdf Am 23.02.2017 um 08:19 schrieb Patrice MEGRET: > As far as I understand, with auto-pst-pdf, if compilation is done in Latex, the dvi file contains the classical pspicture and all the text and then by dvips we obtain the ps file and with ps2pdf the final pdf file. > Indeed this compilation calls pst-pdf with option inactive and this option seems to be broken in the new pst-pdf package. Patrice, auto-pst-pdf uses the switch \ifpdf to test, if it is the run with latex to create the pictures via pst-pdf or if it is the final pdflatex run to insert the created pictures as images. If you are using latex as main program then all this cannot work and one should use \usepackage[off]{auto-pst-pdf} Herbert _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ From leon.free at free.fr Wed Mar 1 14:21:01 2017 From: leon.free at free.fr (leon.free at free.fr) Date: Wed, 1 Mar 2017 14:21:01 +0100 (CET) Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <1017475191.345009003.1488374136822.JavaMail.root@spooler3-g27.priv.proxad.net> Message-ID: <156533802.345050189.1488374461731.JavaMail.root@spooler3-g27.priv.proxad.net> Hi, I'd like to plot the surface of a function such as exp(x*y) only for the (x,y)'s in the unit ball B = \{(x,y) \in \mathbb{R}^2 : x^2+y^2 \le 1\}. I do not want to set the value of the function outside B to some particular value (e.g. 0). Do you know if there exists some pstricks package that can make this ? Thanks, elef From mluque5130 at aol.com Wed Mar 1 20:35:25 2017 From: mluque5130 at aol.com (Manuel Luque) Date: Wed, 1 Mar 2017 14:35:25 -0500 Subject: [pstricks] 3D surface on non rectangular domain Message-ID: <15a8b5eb80b-3123-591f@webprd-a50.mail.aol.com> I do not know if I understood your question correctly. Here, the domain is restricted to R (x, y) <1 \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{center} \begin{pspicture}(-5,-4)(6,10) \psframe(-5,-4)(6,10) \psset{viewpoint=50 30 30 rtp2xyz,Decran=200,lightsrc=viewpoint} \psSolid[object=grille,base=-1 1 -1 1,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan, r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \end{pspicture} \end{center} \end{document} Manuel Luque -----E-mail d'origine----- De : leon.free A: pstricks Envoy? le : Me, 1 Mar 2017 15:08 Sujet : [pstricks] 3D surface on non rectangular domain Hi, I'd like to plot the surface of a function such as exp(x*y) only for the (x,y)'s in the unit ball B = \{(x,y) \in \mathbb{R}^2 : x^2+y^2 \le 1\}. I do not want to set the value of the function outside B to some particular value (e.g. 0). Do you know if there exists some pstricks package that can make this ? Thanks, elef _______________________________________________ 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: EXPxy.png Type: image/png Size: 55757 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EXPxy.png Type: image/png Size: 55757 bytes Desc: not available URL: From leon.free at free.fr Wed Mar 1 21:34:51 2017 From: leon.free at free.fr (leon.free at free.fr) Date: Wed, 1 Mar 2017 21:34:51 +0100 (CET) Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <15a8b5eb80b-3123-591f@webprd-a50.mail.aol.com> Message-ID: <67835201.4178768.1488400491185.JavaMail.root@spooler3-g27.priv.proxad.net> Thank you Manuel. Yes, this is close to what I'd like to do. I did not know about the r parameter for \psSurface* (I could not find it in the pst-solides3d doc). It seems it controls the radius of the domain (ball) on which the surface is drawn. Are there some extra parameters that control the center of the ball? Moreover, when using r=1 how does this interact with the plotting range (xmin,ymin)(xmax,ymax)? Working with your example, the range seems to have no effect on the plot (I even used (0,0)(0,0) instead of (-1,-1)(1,1)). elef ----- Mail original ----- De: "Manuel Luque" ?: pstricks at tug.org Envoy?: Mercredi 1 Mars 2017 20:35:25 Objet: Re: [pstricks] 3D surface on non rectangular domain I do not know if I understood your question correctly. Here, the domain is restricted to R (x, y) <1 \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{center} \begin{pspicture}(-5,-4)(6,10) \psframe(-5,-4)(6,10) \psset{viewpoint=50 30 30 rtp2xyz,Decran=200,lightsrc=viewpoint} \psSolid[object=grille,base=-1 1 -1 1,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan, r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \end{pspicture} \end{center} \end{document} EXPxy.png Manuel Luque -----E-mail d'origine----- De : leon.free A: pstricks Envoy? le : Me, 1 Mar 2017 15:08 Sujet : [pstricks] 3D surface on non rectangular domain Hi, I'd like to plot the surface of a function such as exp(x*y) only for the (x,y)'s in the unit ball B = \{(x,y) \in \mathbb{R}^2 : x^2+y^2 \le 1\}. I do not want to set the value of the function outside B to some particular value (e.g. 0). Do you know if there exists some pstricks package that can make this ? Thanks, elef _______________________________________________ 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 mluque5130 at aol.com Thu Mar 2 08:19:42 2017 From: mluque5130 at aol.com (Manuel Luque) Date: Thu, 2 Mar 2017 02:19:42 -0500 Subject: [pstricks] 3D surface on non rectangular domain Message-ID: <15a8de38252-3858-758d@webprd-a17.mail.aol.com> >Working with your example, the range seems to have no effect on the plot That's right >Are there some extra parameters that control the center of the ball? No. The command must be modified to introduce the possibility of moving the center. Thus with the translate option and the command thus modified ( I attach the file as well.) \documentclass{article} \usepackage{pst-solides3d} \makeatletter \define at key[psset]{pst-solides3d}{translation}{\def\pst at solides@translation{#1 }} \psset[pst-solides3d]{translation=0 0} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% la macro \psSurface %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\psSurface{\@ifnextchar*{\@startrue\psSurface at i}{\@starfalse\psSurface at i*}} \def\psSurface at i*{\@ifnextchar[{\psSurface at ii}{\psSurface at ii[]}} \def\psSurface at ii[#1](#2,#3)(#4,#5)#6{% \pst at killglue% \begingroup% \psset{axisemph=\small,planmarks,#1}% \init at pscode% \addto at pscode{ 1 setlinejoin /TRANSLATE {\pst at solides@translation} def \tx at optionssolides SolidesDict begin /CX 0 def /CY 0 def /CZ 0 def TRANSLATE /tY exch def /tX exch def /base [ #2 #4 #3 #5 ] def \ifPst at algebraic /fonction (#6) tx at AlgToPs begin AlgToPs end cvx def \else /fonction { #6 } def \fi /f {2 dict begin /y exch def /x exch def fonction end } def /newSURFACE* { 7 dict begin /f_surface exch def [[/nx /ny] [6 6] [6 8] [10 8] [16 12] [16 36]] gestionsolidmode nx isinteger not { %% alors nx est un dx /nx xmax xmin sub nx div cvi store } if ny isinteger not { %% alors ny est un dy /ny ymax ymin sub ny div cvi store } if /dy ymax ymin sub ny div def %% le pas sur y /dx xmax xmin sub nx div def %% le pas sur x %% ny = nb de meridiens %% nx = nb d horizontales /r exch def /F [ %% 1er etage 1 1 ny { /i exch def [0 i i ny mod 1 add] } for %% etages suivants 0 1 nx 2 sub { /j exch def 1 1 ny { /i exch def [i j ny mul add i ny add j ny mul add i ny mod ny add 1 add j ny mul add i ny mod 1 add j ny mul add] } for } for ] def %% tableau des sommets /S [ 0 0 0 0 f_surface 1 1 nx { /j exch def 1 1 ny { /i exch def /theta i 360 mul ny div def theta cos r j mul nx div mul tX add theta sin r j mul nx div mul tY add 2 copy f_surface } for } for ] def S F generesolid end } def /pst-surface* { r ngrid length 2 ge { [ngrid 0 get ngrid 1 get] } { ngrid length 1 eq { [ngrid 0 get dup] } ifelse } ifelse {f} newSURFACE* solidbiface { dup videsolid } if gere_pstricks_opt } def pst-surface* end }% fin du code ps \@starfalse \ifPst at axesboxed\gridIIID(#2,#4)(#3,#5)\fi \ifPst at solidmemory\else% \ifpsshadow \pst at closedshadow \fi \ifdim\psk at border\p@>\z@ \pst at addborder \fi \psk at fillstyle \pst at stroke \ifpsdoubleline \pst at doublestroke \fi \ifshowpoints\pst at OpenShowPoints\fi \use at pscode% \fi% \endgroup% \ignorespaces} \makeatother \begin{document} \begin{center} \begin{pspicture}(-5,-4)(6,10) \psframe(-5,-4)(6,10) \psset{viewpoint=50 30 30 rtp2xyz,Decran=200,lightsrc=viewpoint} \psSolid[object=grille,base=-1 1 -1 1,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan, r=1, ngrid=.25 .25,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \end{pspicture} \end{center} \begin{center} \begin{pspicture}(-5,-4)(6,10) \psset{viewpoint=50 -30 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan, r=1, ngrid=.25 .25,incolor=yellow,grid,translation=0.4 0.4](-1,-1)(1,1){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18](0.4,0.4,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.4,0.4,0){C} \psdot(C) \end{pspicture} \end{center} \end{document} Manuel Luque -----E-mail d'origine----- De : leon.free A: Graphics with PSTricks Envoy? le : Me, 1 Mar 2017 21:35 Sujet : Re: [pstricks] 3D surface on non rectangular domain Thank you Manuel. Yes, this is close to what I'd like to do. I did not know about the r parameter for \psSurface* (I could not find it in the pst-solides3d doc). It seems it controls the radius of the domain (ball) on which the surface is drawn. Are there some extra parameters that control the center of the ball? Moreover, when using r=1 how does this interact with the plotting range (xmin,ymin)(xmax,ymax)? Working with your example, the range seems to have no effect on the plot (I even used (0,0)(0,0) instead of (-1,-1)(1,1)).elef----- Mail original -----De: "Manuel Luque" ?: pstricks at tug.orgEnvoy?: Mercredi 1 Mars 2017 20:35:25Objet: Re: [pstricks] 3D surface on non rectangular domainI do not know if I understood your question correctly. Here, the domain is restricted to R (x, y) <1 \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{center} \begin{pspicture}(-5,-4)(6,10) \psframe(-5,-4)(6,10) \psset{viewpoint=50 30 30 rtp2xyz,Decran=200,lightsrc=viewpoint} \psSolid[object=grille,base=-1 1 -1 1,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan, r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \end{pspicture} \end{center} \end{document} EXPxy.pngManuel Luque -----E-mail d'origine----- De : leon.free A: pstricks Envoy? le : Me, 1 Mar 2017 15:08 Sujet : [pstricks] 3D surface on non rectangular domain Hi, I'd like to plot the surface of a function such as exp(x*y) only for the (x,y)'s in the unit ball B = \{(x,y) \in \mathbb{R}^2 : x^2+y^2 \le 1\}. I do not want to set the value of the function outside B to some particular value (e.g. 0). Do you know if there exists some pstricks package that can make this ? Thanks, elef _______________________________________________ PSTricks mailing list PSTricks at tug.org http://tug.org/mailman/listinfo/pstricks archive: http://www.tug.org/pipermail/pstricks/ _______________________________________________PSTricks mailing listPSTricks at tug.orghttp://tug.org/mailman/listinfo/pstricksarchive: http://www.tug.org/pipermail/pstricks/_______________________________________________PSTricks mailing listPSTricks at tug.orghttp://tug.org/mailman/listinfo/pstricksarchive: http://www.tug.org/pipermail/pstricks/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EXPxy-2.png Type: image/png Size: 34646 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EXPxy-2.png Type: image/png Size: 34646 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: leon.tex Type: application/octet-stream Size: 4024 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Thu Mar 2 09:11:55 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 2 Mar 2017 09:11:55 +0100 Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <67835201.4178768.1488400491185.JavaMail.root@spooler3-g27.priv.proxad.net> References: <67835201.4178768.1488400491185.JavaMail.root@spooler3-g27.priv.proxad.net> Message-ID: Am 01.03.2017 um 21:34 schrieb leon.free at free.fr: > I did not know about the r parameter for \psSurface* (I could not find it in the pst-solides3d doc). It seems it controls the radius of the domain (ball) on which the surface is drawn. Are there some extra parameters that control the center of the ball? Moreover, when using r=1 how does this interact with the plotting range (xmin,ymin)(xmax,ymax)? Working with your example, the range seems to have no effect on the plot (I even used (0,0)(0,0) instead of (-1,-1)(1,1)). for \psSurface* (star version) only r is valid and for \psSurface only the x-y area. You can change the origin by using \rput: \documentclass{article} \usepackage[landscape]{geometry} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 30 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} % \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psPoint(0.5,0.5,0){Origin} \rput(Origin){% \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) }} \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} \end{document} Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-03-02 09-11-27.png Type: image/png Size: 61606 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Thu Mar 2 13:46:36 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 2 Mar 2017 13:46:36 +0100 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB95C05C9A@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> <8EAD3A11C751924B9AB951FA32FD86EB95C05A43@EXCHANGEDB4.umons.ac.be> <1609b4c1-0b21-8aa7-c243-883e163f0ec4@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB95C05C9A@EXCHANGEDB4.umons.ac.be> Message-ID: Am 23.02.2017 um 16:20 schrieb Patrice MEGRET: > Yes, if compilation with pdflatex, first run = latex, second = ... => this creates temporary files with the pictures before the last compilation in pdflatex. > With the off option, the picture file is reused. Patrice, the package auto-pst-pdf and pst-pdf too were created only for a pdflatex run. For latex/xelatex/lualatex the packages needs some modifications, especially auto-pst-pdf. Herbert > > But if I compile in Latex, the auto-pst-pdf does nothing except calling pst-pdf with option inactive. If I look at the error it seems that the version 1.2 of pst-pdf does not load the packages ifpdf, ifvtex, ifxetex and os the error I mentioned. > > If by luck, these packages are already loaded (by geometry for example) then no problem. > > I know that it could be strange the way I am using auto-pst-pdf but the main idea is to be able to compile the file with pstricks commands by the classical way latex->dvips->ps2pdf or by pdflatex. > > Best regards, > > Patrice > > -----Message d'origine----- > De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss > Envoy? : jeudi 23 f?vrier 2017 10:37 > ? : pstricks at tug.org > Objet : Re: [pstricks] problem with pst-pdf in auto-pst-pdf > > Am 23.02.2017 um 08:19 schrieb Patrice MEGRET: > >> As far as I understand, with auto-pst-pdf, if compilation is done in Latex, the dvi file contains the classical pspicture and all the text and then by dvips we obtain the ps file and with ps2pdf the final pdf file. >> Indeed this compilation calls pst-pdf with option inactive and this option seems to be broken in the new pst-pdf package. > > Patrice, > auto-pst-pdf uses the switch \ifpdf to test, if it is the run with latex to create the pictures via pst-pdf or if it is the final pdflatex run to insert the created pictures as images. > > If you are using latex as main program then all this cannot work and one should use > > \usepackage[off]{auto-pst-pdf} > > 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 Patrice.MEGRET at umons.ac.be Thu Mar 2 14:04:19 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Thu, 2 Mar 2017 13:04:19 +0000 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf In-Reply-To: References: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> <8EAD3A11C751924B9AB951FA32FD86EB95C05A43@EXCHANGEDB4.umons.ac.be> <1609b4c1-0b21-8aa7-c243-883e163f0ec4@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB95C05C9A@EXCHANGEDB4.umons.ac.be> Message-ID: <8EAD3A11C751924B9AB951FA32FD86EB95C088BD@EXCHANGEDB4.umons.ac.be> Dear Herbert, I have discussed with Rolf Niepraschk the package writer of pst-pdf and there was indeed a small mistake in the tests inside the package. A new version will be uploaded on CTAN. Now, auto-pst-pdf has the normal behavior: . latex compilation ==> creates a dvi files with all the ps materials, then usual way of dvips -> ps2pdf . plflatex compilation ==> creates the pdf files and external files from which pictures are extracted and included into the pdf. Bets regards, Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: jeudi 2 mars 2017 13:47 ??: pstricks at tug.org Objet?: Re: [pstricks] problem with pst-pdf in auto-pst-pdf Am 23.02.2017 um 16:20 schrieb Patrice MEGRET: > Yes, if compilation with pdflatex, first run = latex, second = ... => this creates temporary files with the pictures before the last compilation in pdflatex. > With the off option, the picture file is reused. Patrice, the package auto-pst-pdf and pst-pdf too were created only for a pdflatex run. For latex/xelatex/lualatex the packages needs some modifications, especially auto-pst-pdf. Herbert > > But if I compile in Latex, the auto-pst-pdf does nothing except calling pst-pdf with option inactive. If I look at the error it seems that the version 1.2 of pst-pdf does not load the packages ifpdf, ifvtex, ifxetex and os the error I mentioned. > > If by luck, these packages are already loaded (by geometry for example) then no problem. > > I know that it could be strange the way I am using auto-pst-pdf but the main idea is to be able to compile the file with pstricks commands by the classical way latex->dvips->ps2pdf or by pdflatex. > > Best regards, > > Patrice > > -----Message d'origine----- > De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert > Voss Envoy? : jeudi 23 f?vrier 2017 10:37 ? : pstricks at tug.org Objet : > Re: [pstricks] problem with pst-pdf in auto-pst-pdf > > Am 23.02.2017 um 08:19 schrieb Patrice MEGRET: > >> As far as I understand, with auto-pst-pdf, if compilation is done in Latex, the dvi file contains the classical pspicture and all the text and then by dvips we obtain the ps file and with ps2pdf the final pdf file. >> Indeed this compilation calls pst-pdf with option inactive and this option seems to be broken in the new pst-pdf package. > > Patrice, > auto-pst-pdf uses the switch \ifpdf to test, if it is the run with latex to create the pictures via pst-pdf or if it is the final pdflatex run to insert the created pictures as images. > > If you are using latex as main program then all this cannot work and > one should use > > \usepackage[off]{auto-pst-pdf} > > 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/ > _______________________________________________ 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 2 14:11:57 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 2 Mar 2017 14:11:57 +0100 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB95C088BD@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> <8EAD3A11C751924B9AB951FA32FD86EB95C05A43@EXCHANGEDB4.umons.ac.be> <1609b4c1-0b21-8aa7-c243-883e163f0ec4@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB95C05C9A@EXCHANGEDB4.umons.ac.be> <8EAD3A11C751924B9AB951FA32FD86EB95C088BD@EXCHANGEDB4.umons.ac.be> Message-ID: Am 02.03.2017 um 14:04 schrieb Patrice MEGRET: > I have discussed with Rolf Niepraschk the package writer of pst-pdf and there was indeed a small mistake in the tests inside the package. > A new version will be uploaded on CTAN. > > Now, auto-pst-pdf has the normal behavior: > . latex compilation ==> creates a dvi files with all the ps materials, then usual way of dvips -> ps2pdf > . plflatex compilation ==> creates the pdf files and external files from which pictures are extracted and included into the pdf. yes, but then doesn't solve the problems with xelatex/lualatex Herbert From leon.free at free.fr Thu Mar 2 16:29:19 2017 From: leon.free at free.fr (leon.free at free.fr) Date: Thu, 2 Mar 2017 16:29:19 +0100 (CET) Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: Message-ID: <1080961523.14936713.1488468559709.JavaMail.root@spooler3-g27.priv.proxad.net> Thank you Herbert and Manuel, I tried both of your solutions. Manuel, it seems with your new \psSurface* macro you do not have the usual \psSurface behavior: \psSurface* and \psSurface generate the same figure, whether the r parameter is given or not. For instance, with source the code in your message \psSurface*[ fillcolor=cyan, % r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } is the same as with the r=1 line uncommented. Also \psSurface[ fillcolor=cyan, % r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } is the same as \psSurface[ fillcolor=cyan, r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } This is fine, but the problem is that the \psSurface (unstarred version without passing the r parameter) draws the surface on a circular domain (and I cannot figure out how is this domain controled) I then tried Herbert's solution. My objective is to draw a surface of a function f as usual on a rectangular domain (xmin,xmax)X(ymin,ymax), but I also want to draw (on the same figure) the surface of f but only for (x,y) in some spherical domain B (typically a ball with a given radius) using a different color. With Herbert solution, because it translates the origin before drawing the surface for (x,y) \in B, if the surface to be drawn is to coincide exactly with that of f, the function to be plotted after the change of origin (0,0,0) to Neworigin=(ox,oy,0) must be g defined as g(x,y)= f(x+ox,y+oy). Right? If so, here is an example. It seems to me that the surfaces drawn after the change of origin (red and blue) do not exactly overlap with the whole surface of f. Is this the normal behavior? Is there something I do not understand with the change of origin? elef ----- Mail original ----- De: "Herbert Voss" ?: pstricks at tug.org Envoy?: Jeudi 2 Mars 2017 09:11:55 Objet: Re: [pstricks] 3D surface on non rectangular domain Am 01.03.2017 um 21:34 schrieb leon.free at free.fr: > I did not know about the r parameter for \psSurface* (I could not find it in the pst-solides3d doc). It seems it controls the radius of the domain (ball) on which the surface is drawn. Are there some extra parameters that control the center of the ball? Moreover, when using r=1 how does this interact with the plotting range (xmin,ymin)(xmax,ymax)? Working with your example, the range seems to have no effect on the plot (I even used (0,0)(0,0) instead of (-1,-1)(1,1)). for \psSurface* (star version) only r is valid and for \psSurface only the x-y area. You can change the origin by using \rput: \documentclass{article} \usepackage[landscape]{geometry} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 30 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} % \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psPoint(0.5,0.5,0){Origin} \rput(Origin){% \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) }} \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \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/ -------------- next part -------------- A non-text attachment was scrubbed... Name: t.tex Type: text/x-tex Size: 1646 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: t.pdf Type: application/pdf Size: 167109 bytes Desc: not available URL: From mluque5130 at aol.com Thu Mar 2 18:28:33 2017 From: mluque5130 at aol.com (Manuel Luque) Date: Thu, 2 Mar 2017 12:28:33 -0500 Subject: [pstricks] 3D surface on non rectangular domain Message-ID: <15a9010ed95-7d79-9be2@webprd-a83.mail.aol.com> I propose a new command \ psSURFACE to not modify the existing command. \documentclass{article} \usepackage{pst-solides3d} \makeatletter \define at key[psset]{pst-solides3d}{translation}{\def\pst at solides@translation{#1 }} \psset[pst-solides3d]{translation=0 0} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% la macro \psSurface %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\psSURFACE{\def\pst at par{}\pst at object{psSURFACE}} \def\psSURFACE at i#1{% \begin at SpecialObj \addto at pscode{ 1 setlinejoin /TRANSLATE {\pst at solides@translation} def \tx at optionssolides SolidesDict begin /CX 0 def /CY 0 def /CZ 0 def TRANSLATE /tY exch def /tX exch def \ifPst at algebraic /fonction (#1) tx at AlgToPs begin AlgToPs end cvx def \else /fonction { #1 } def \fi /f {2 dict begin /y exch def /x exch def fonction end } def /newSURFACE* { 7 dict begin /f_surface exch def [[/nx /ny] [6 6] [6 8] [10 8] [16 12] [16 36]] gestionsolidmode nx isinteger not { %% alors nx est un dx /nx xmax xmin sub nx div cvi store } if ny isinteger not { %% alors ny est un dy /ny ymax ymin sub ny div cvi store } if /dy ymax ymin sub ny div def %% le pas sur y /dx xmax xmin sub nx div def %% le pas sur x %% ny = nb de meridiens %% nx = nb d horizontales /r exch def /F [ %% 1er etage 1 1 ny { /i exch def [0 i i ny mod 1 add] } for %% etages suivants 0 1 nx 2 sub { /j exch def 1 1 ny { /i exch def [i j ny mul add i ny add j ny mul add i ny mod ny add 1 add j ny mul add i ny mod 1 add j ny mul add] } for } for ] def %% tableau des sommets /S [ 0 0 0 0 f_surface 1 1 nx { /j exch def 1 1 ny { /i exch def /theta i 360 mul ny div def theta cos r j mul nx div mul tX add theta sin r j mul nx div mul tY add 2 copy f_surface } for } for ] def S F generesolid end } def /pst-surface* { r ngrid length 2 ge { [ngrid 0 get ngrid 1 get] } { ngrid length 1 eq { [ngrid 0 get dup] } ifelse } ifelse {f} newSURFACE* solidbiface { dup videsolid } if gere_pstricks_opt } def pst-surface* end }% fin du code ps \use at pscode% \end at SpecialObj \ignorespaces} \makeatother \begin{document} \begin{center} \begin{pspicture}(-5,-4)(6,15) \psset{viewpoint=50 10 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSURFACE[ fillcolor=cyan, r=1, ngrid=.25 .25,incolor=yellow,grid]{% Euler x y mul exp } \psSurface[ action=draw,linewidth=0.01,linecolor=gray!70, ngrid=.2 .2,incolor=yellow](-1.5,-1.5)(1.5,1.5){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18,linecolor={[rgb]{0 0.5 0}}] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \end{pspicture} \end{center} \begin{center} \begin{pspicture}(-5,-4)(6,15) \psset{viewpoint=50 10 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \axesIIID(0,0,0)(2,2,1) \psSURFACE[ inouthue=1 0.5 0.5 1, r=1, ngrid=.25 .25,incolor=yellow,grid,translation=0.4 0.4]{% Euler x y mul exp } \psSurface[ action=draw,linewidth=0.01,linecolor=gray!70, ngrid=.2 .2](-1.5,-1.5)(1.5,1.5){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18,linewidth=0.01](0.4,0.4,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.4,0.4,0){C} \psdot(C) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \end{pspicture} \end{center} \end{document} Manuel Luque mluque5130 at aol.com -----E-mail d'origine----- De : leon.free A: Graphics with PSTricks Envoy? le : Je, 2 Mar 2017 16:29 Sujet : Re: [pstricks] 3D surface on non rectangular domain Thank you Herbert and Manuel, I tried both of your solutions. Manuel, it seems with your new \psSurface* macro you do not have the usual \psSurface behavior: \psSurface* and \psSurface generate the same figure, whether the r parameter is given or not. For instance, with source the code in your message \psSurface*[ fillcolor=cyan, % r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } is the same as with the r=1 line uncommented. Also \psSurface[ fillcolor=cyan, % r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } is the same as \psSurface[ fillcolor=cyan, r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } This is fine, but the problem is that the \psSurface (unstarred version without passing the r parameter) draws the surface on a circular domain (and I cannot figure out how is this domain controled) I then tried Herbert's solution. My objective is to draw a surface of a function f as usual on a rectangular domain (xmin,xmax)X(ymin,ymax), but I also want to draw (on the same figure) the surface of f but only for (x,y) in some spherical domain B (typically a ball with a given radius) using a different color. With Herbert solution, because it translates the origin before drawing the surface for (x,y) \in B, if the surface to be drawn is to coincide exactly with that of f, the function to be plotted after the change of origin (0,0,0) to Neworigin=(ox,oy,0) must be g defined as g(x,y)= f(x+ox,y+oy). Right? If so, here is an example. It seems to me that the surfaces drawn after the change of origin (red and blue) do not exactly overlap with the whole surface of f. Is this the normal behavior? Is there something I do not understand with the change of origin? elef ----- Mail original ----- De: "Herbert Voss" ?: pstricks at tug.org Envoy?: Jeudi 2 Mars 2017 09:11:55 Objet: Re: [pstricks] 3D surface on non rectangular domain Am 01.03.2017 um 21:34 schrieb leon.free at free.fr: > I did not know about the r parameter for \psSurface* (I could not find it in the pst-solides3d doc). It seems it controls the radius of the domain (ball) on which the surface is drawn. Are there some extra parameters that control the center of the ball? Moreover, when using r=1 how does this interact with the plotting range (xmin,ymin)(xmax,ymax)? Working with your example, the range seems to have no effect on the plot (I even used (0,0)(0,0) instead of (-1,-1)(1,1)). for \psSurface* (star version) only r is valid and for \psSurface only the x-y area. You can change the origin by using \rput: \documentclass{article} \usepackage[landscape]{geometry} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 30 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} % \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psPoint(0.5,0.5,0){Origin} \rput(Origin){% \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) }} \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \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/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EXPxy-3.png Type: image/png Size: 77254 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EXPxy-4.png Type: image/png Size: 84948 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EXPxy-3.png Type: image/png Size: 77254 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EXPxy-4.png Type: image/png Size: 84948 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: leon-2.pdf Type: application/pdf Size: 571690 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: leon-2.tex Type: application/octet-stream Size: 3791 bytes Desc: not available URL: From leon.free at free.fr Thu Mar 2 23:42:06 2017 From: leon.free at free.fr (leon.free at free.fr) Date: Thu, 2 Mar 2017 23:42:06 +0100 (CET) Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <15a9010ed95-7d79-9be2@webprd-a83.mail.aol.com> Message-ID: <916244082.18783199.1488494526261.JavaMail.root@spooler3-g27.priv.proxad.net> Yes ! Great piece of work. Thanks a lot Manuel. This doss exactly what I was trying to do. There is just one little problem. I've been able to "fix" it playing with the viewpoint value, but this is not really a fix. If you set viewpoint to 50 320 30, on the second figure, you will see that \psSURFACE draws a line between the z-axis and the surface at (x,y)=translation. Try this : \documentclass{article} \usepackage{pst-solides3d} \makeatletter \define at key[psset]{pst-solides3d}{translation}{\def\pst at solides@translation{#1 }} \psset[pst-solides3d]{translation=0 0} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% la macro \psSurface %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\psSURFACE{\def\pst at par{}\pst at object{psSURFACE}} \def\psSURFACE at i#1{% \begin at SpecialObj \addto at pscode{ 1 setlinejoin /TRANSLATE {\pst at solides@translation} def \tx at optionssolides SolidesDict begin /CX 0 def /CY 0 def /CZ 0 def TRANSLATE /tY exch def /tX exch def \ifPst at algebraic /fonction (#1) tx at AlgToPs begin AlgToPs end cvx def \else /fonction { #1 } def \fi /f {2 dict begin /y exch def /x exch def fonction end } def /newSURFACE* { 7 dict begin /f_surface exch def [[/nx /ny] [6 6] [6 8] [10 8] [16 12] [16 36]] gestionsolidmode nx isinteger not { %% alors nx est un dx /nx xmax xmin sub nx div cvi store } if ny isinteger not { %% alors ny est un dy /ny ymax ymin sub ny div cvi store } if /dy ymax ymin sub ny div def %% le pas sur y /dx xmax xmin sub nx div def %% le pas sur x %% ny = nb de meridiens %% nx = nb d horizontales /r exch def /F [ %% 1er etage 1 1 ny { /i exch def [0 i i ny mod 1 add] } for %% etages suivants 0 1 nx 2 sub { /j exch def 1 1 ny { /i exch def [i j ny mul add i ny add j ny mul add i ny mod ny add 1 add j ny mul add i ny mod 1 add j ny mul add] } for } for ] def %% tableau des sommets /S [ 0 0 0 0 f_surface 1 1 nx { /j exch def 1 1 ny { /i exch def /theta i 360 mul ny div def theta cos r j mul nx div mul tX add theta sin r j mul nx div mul tY add 2 copy f_surface } for } for ] def S F generesolid end } def /pst-surface* { r ngrid length 2 ge { [ngrid 0 get ngrid 1 get] } { ngrid length 1 eq { [ngrid 0 get dup] } ifelse } ifelse {f} newSURFACE* solidbiface { dup videsolid } if gere_pstricks_opt } def pst-surface* end }% fin du code ps \use at pscode% \end at SpecialObj \ignorespaces} \makeatother \begin{document} \begin{center} \begin{pspicture}(-5,-4)(6,15) \psset{viewpoint=50 320 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \axesIIID(0,0,0)(2,2,1) \psSURFACE[ inouthue=1 0.5 0.5 1, r=1, ngrid=.25 .25,incolor=yellow,grid,translation=0.4 0.4]{% Euler x y mul exp } \psSurface[ action=draw,linewidth=0.01,linecolor=gray!70, ngrid=.2 .2](-1.5,-1.5)(1.5,1.5){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18,linewidth=0.01](0.4,0.4,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.4,0.4,0){C} \psdot(C) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \end{pspicture} \end{center} \end{document} elef ----- Mail original ----- De: "Manuel Luque" ?: pstricks at tug.org Envoy?: Jeudi 2 Mars 2017 18:28:33 Objet: Re: [pstricks] 3D surface on non rectangular domain I propose a new command \ psSURFACE to not modify the existing command. \documentclass{article} \usepackage{pst-solides3d} \makeatletter \define at key[psset]{pst-solides3d}{translation}{\def\pst at solides@translation{#1 }} \psset[pst-solides3d]{translation=0 0} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% la macro \psSurface %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\psSURFACE{\def\pst at par{}\pst at object{psSURFACE}} \def\psSURFACE at i#1{% \begin at SpecialObj \addto at pscode{ 1 setlinejoin /TRANSLATE {\pst at solides@translation} def \tx at optionssolides SolidesDict begin /CX 0 def /CY 0 def /CZ 0 def TRANSLATE /tY exch def /tX exch def \ifPst at algebraic /fonction (#1) tx at AlgToPs begin AlgToPs end cvx def \else /fonction { #1 } def \fi /f {2 dict begin /y exch def /x exch def fonction end } def /newSURFACE* { 7 dict begin /f_surface exch def [[/nx /ny] [6 6] [6 8] [10 8] [16 12] [16 36]] gestionsolidmode nx isinteger not { %% alors nx est un dx /nx xmax xmin sub nx div cvi store } if ny isinteger not { %% alors ny est un dy /ny ymax ymin sub ny div cvi store } if /dy ymax ymin sub ny div def %% le pas sur y /dx xmax xmin sub nx div def %% le pas sur x %% ny = nb de meridiens %% nx = nb d horizontales /r exch def /F [ %% 1er etage 1 1 ny { /i exch def [0 i i ny mod 1 add] } for %% etages suivants 0 1 nx 2 sub { /j exch def 1 1 ny { /i exch def [i j ny mul add i ny add j ny mul add i ny mod ny add 1 add j ny mul add i ny mod 1 add j ny mul add] } for } for ] def %% tableau des sommets /S [ 0 0 0 0 f_surface 1 1 nx { /j exch def 1 1 ny { /i exch def /theta i 360 mul ny div def theta cos r j mul nx div mul tX add theta sin r j mul nx div mul tY add 2 copy f_surface } for } for ] def S F generesolid end } def /pst-surface* { r ngrid length 2 ge { [ngrid 0 get ngrid 1 get] } { ngrid length 1 eq { [ngrid 0 get dup] } ifelse } ifelse {f} newSURFACE* solidbiface { dup videsolid } if gere_pstricks_opt } def pst-surface* end }% fin du code ps \use at pscode% \end at SpecialObj \ignorespaces} \makeatother \begin{document} \begin{center} \begin{pspicture}(-5,-4)(6,15) \psset{viewpoint=50 10 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSURFACE[ fillcolor=cyan, r=1, ngrid=.25 .25,incolor=yellow,grid]{% Euler x y mul exp } \psSurface[ action=draw,linewidth=0.01,linecolor=gray!70, ngrid=.2 .2,incolor=yellow](-1.5,-1.5)(1.5,1.5){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18,linecolor={[rgb]{0 0.5 0}}] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \end{pspicture} \end{center} \begin{center} \begin{pspicture}(-5,-4)(6,15) \psset{viewpoint=50 10 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \axesIIID(0,0,0)(2,2,1) \psSURFACE[ inouthue=1 0.5 0.5 1, r=1, ngrid=.25 .25,incolor=yellow,grid,translation=0.4 0.4]{% Euler x y mul exp } \psSurface[ action=draw,linewidth=0.01,linecolor=gray!70, ngrid=.2 .2](-1.5,-1.5)(1.5,1.5){% Euler x y mul exp } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18,linewidth=0.01](0.4,0.4,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.4,0.4,0){C} \psdot(C) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \end{pspicture} \end{center} \end{document} EXPxy-3.png EXPxy-4.png Manuel Luque mluque5130 at aol.com -----E-mail d'origine----- De : leon.free A: Graphics with PSTricks Envoy? le : Je, 2 Mar 2017 16:29 Sujet : Re: [pstricks] 3D surface on non rectangular domain Thank you Herbert and Manuel, I tried both of your solutions. Manuel, it seems with your new \psSurface* macro you do not have the usual \psSurface behavior: \psSurface* and \psSurface generate the same figure, whether the r parameter is given or not. For instance, with source the code in your message \psSurface*[ fillcolor=cyan, % r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } is the same as with the r=1 line uncommented. Also \psSurface[ fillcolor=cyan, % r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } is the same as \psSurface[ fillcolor=cyan, r=1, ngrid=.5 .5,incolor=yellow,grid](-1,-1)(1,1){% Euler x y mul exp } This is fine, but the problem is that the \psSurface (unstarred version without passing the r parameter) draws the surface on a circular domain (and I cannot figure out how is this domain controled) I then tried Herbert's solution. My objective is to draw a surface of a function f as usual on a rectangular domain (xmin,xmax)X(ymin,ymax), but I also want to draw (on the same figure) the surface of f but only for (x,y) in some spherical domain B (typically a ball with a given radius) using a different color. With Herbert solution, because it translates the origin before drawing the surface for (x,y) \in B, if the surface to be drawn is to coincide exactly with that of f, the function to be plotted after the change of origin (0,0,0) to Neworigin=(ox,oy,0) must be g defined as g(x,y)= f(x+ox,y+oy). Right? If so, here is an example. It seems to me that the surfaces drawn after the change of origin (red and blue) do not exactly overlap with the whole surface of f. Is this the normal behavior? Is there something I do not understand with the change of origin? elef ----- Mail original ----- De: "Herbert Voss" ?: pstricks at tug.org Envoy?: Jeudi 2 Mars 2017 09:11:55 Objet: Re: [pstricks] 3D surface on non rectangular domain Am 01.03.2017 um 21:34 schrieb leon.free at free.fr : > I did not know about the r parameter for \psSurface* (I could not find it in the pst-solides3d doc). It seems it controls the radius of the domain (ball) on which the surface is drawn. Are there some extra parameters that control the center of the ball? Moreover, when using r=1 how does this interact with the plotting range (xmin,ymin)(xmax,ymax)? Working with your example, the range seems to have no effect on the plot (I even used (0,0)(0,0) instead of (-1,-1)(1,1)). for \psSurface* (star version) only r is valid and for \psSurface only the x-y area. You can change the origin by using \rput: \documentclass{article} \usepackage[landscape]{geometry} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 30 30 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} % \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psPoint(0.5,0.5,0){Origin} \rput(Origin){% \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) }} \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \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/ _______________________________________________ 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 Mar 3 11:04:44 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 3 Mar 2017 11:04:44 +0100 Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <1080961523.14936713.1488468559709.JavaMail.root@spooler3-g27.priv.proxad.net> References: <1080961523.14936713.1488468559709.JavaMail.root@spooler3-g27.priv.proxad.net> Message-ID: Am 02.03.2017 um 16:29 schrieb leon.free at free.fr: > I then tried Herbert's solution. My objective is to draw a surface of a function f as usual on a rectangular domain (xmin,xmax)X(ymin,ymax), but I also want to draw (on the same figure) the surface of f but only for (x,y) in some spherical domain B (typically a ball with a given radius) using a different color. With Herbert solution, because it translates the origin before drawing the surface for (x,y) \in B, if the surface to be drawn is to coincide exactly with that of f, the function to be plotted after the change of origin (0,0,0) to Neworigin=(ox,oy,0) must be g defined as g(x,y)= f(x+ox,y+oy). Right? If so, here is an example. It seems to me that the surfaces drawn after the change of origin (red and blue) do not exactly overlap with the whole surface of f. Is this the normal behavior? Is there something I do not understand with the change of origin? I see, I moved only the origin image to another location. With pst-solids3d.tex and pst-solides3d.pro you have Manuel's solution: http://archiv.dante.de/~herbert/TeXnik/tex/generic/pst-solides3d/ http://archiv.dante.de/~herbert/TeXnik/dvips/pst-solides3d/pst-solides3d.pro my testfile \documentclass{article} \usepackage[landscape]{geometry} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 20 20 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} % \begin{pspicture}(-5,-4)(6,10) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1,xytranslate=0.5 0.5, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} \end{document} Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-03-03 11-04-25.png Type: image/png Size: 56007 bytes Desc: not available URL: From leon.free at free.fr Sat Mar 4 13:56:10 2017 From: leon.free at free.fr (leon.free at free.fr) Date: Sat, 4 Mar 2017 13:56:10 +0100 (CET) Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: Message-ID: <1455586247.38349986.1488632170204.JavaMail.root@spooler3-g27.priv.proxad.net> Thank you Herbert. As with Manuel solution, yours also draws a line between the z-axis and the center of the ball on which the surface is draw. You can clearly see it by changing viewpoint to 50 340 20. Your test file with this value (see attached pdf produced when I compile it after copying pst-solides3d.tex, pst-solides3d.pro and pst-implicitsurface.pro on my system): \documentclass{article} \usepackage[landscape]{geometry} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 340 20 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} % \begin{pspicture}(-5,-4)(6,10) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1,xytranslate=0.5 0.5, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} Is this a problem with my own installation of pstricks, pst-solides3d or can it be reproduced on other systems? elef ----- Mail original ----- De: "Herbert Voss" ?: pstricks at tug.org Envoy?: Vendredi 3 Mars 2017 11:04:44 Objet: Re: [pstricks] 3D surface on non rectangular domain Am 02.03.2017 um 16:29 schrieb leon.free at free.fr: > I then tried Herbert's solution. My objective is to draw a surface of a function f as usual on a rectangular domain (xmin,xmax)X(ymin,ymax), but I also want to draw (on the same figure) the surface of f but only for (x,y) in some spherical domain B (typically a ball with a given radius) using a different color. With Herbert solution, because it translates the origin before drawing the surface for (x,y) \in B, if the surface to be drawn is to coincide exactly with that of f, the function to be plotted after the change of origin (0,0,0) to Neworigin=(ox,oy,0) must be g defined as g(x,y)= f(x+ox,y+oy). Right? If so, here is an example. It seems to me that the surfaces drawn after the change of origin (red and blue) do not exactly overlap with the whole surface of f. Is this the normal behavior? Is there something I do not understand with the change of origin? I see, I moved only the origin image to another location. With pst-solids3d.tex and pst-solides3d.pro you have Manuel's solution: http://archiv.dante.de/~herbert/TeXnik/tex/generic/pst-solides3d/ http://archiv.dante.de/~herbert/TeXnik/dvips/pst-solides3d/pst-solides3d.pro my testfile \documentclass{article} \usepackage[landscape]{geometry} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 20 20 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,6) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=2,action=draw,ngrid=1 18] \psPoint(0,0,1){O} \psPoint(0,0,3){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} % \begin{pspicture}(-5,-4)(6,10) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1,xytranslate=0.5 0.5, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \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/ -------------- next part -------------- A non-text attachment was scrubbed... Name: testhv.pdf Type: application/pdf Size: 532662 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Sat Mar 4 15:27:24 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 4 Mar 2017 15:27:24 +0100 Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <1455586247.38349986.1488632170204.JavaMail.root@spooler3-g27.priv.proxad.net> References: <1455586247.38349986.1488632170204.JavaMail.root@spooler3-g27.priv.proxad.net> Message-ID: <052a867e-99ab-8883-68f4-31289e7c1f54@FU-Berlin.DE> Am 04.03.2017 um 13:56 schrieb leon.free at free.fr: > As with Manuel solution, yours also draws a line between the z-axis and the center of the ball on which the surface is draw. You can clearly see it by changing viewpoint to 50 340 20. Your test file with this value (see attached pdf produced when I compile it after copying pst-solides3d.tex, pst-solides3d.pro and pst-implicitsurface.pro on my system): Try again with the attached pst-solides3d.pro. It should work and then replace it with the current one in /usr/local/texlive/texmf-local/dvips/pst-solides3d.pro \documentclass{article} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 340 20 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,10) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1,xytranslate=0.5 0.5, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} \end{document} Herbert -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pst-solides3d.pro URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-03-04 15-25-36.png Type: image/png Size: 39311 bytes Desc: not available URL: From leon.free at free.fr Sat Mar 4 17:03:15 2017 From: leon.free at free.fr (leon.free at free.fr) Date: Sat, 4 Mar 2017 17:03:15 +0100 (CET) Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <052a867e-99ab-8883-68f4-31289e7c1f54@FU-Berlin.DE> Message-ID: <2012100891.40169262.1488643395037.JavaMail.root@spooler3-g27.priv.proxad.net> Ok! The horizontal line has disapeared, but now there's a vertical line below the surface (still located at xytranslate). You can see it if you use viewpoint=50 20 20 and remove the cylinder: \documentclass{article} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 20 20 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,10) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1,xytranslate=0.5 0.5, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } %\psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \end{pspicture} \end{document} elef ----- Mail original ----- De: "Herbert Voss" ?: pstricks at tug.org Envoy?: Samedi 4 Mars 2017 15:27:24 Objet: Re: [pstricks] 3D surface on non rectangular domain Am 04.03.2017 um 13:56 schrieb leon.free at free.fr: > As with Manuel solution, yours also draws a line between the z-axis and the center of the ball on which the surface is draw. You can clearly see it by changing viewpoint to 50 340 20. Your test file with this value (see attached pdf produced when I compile it after copying pst-solides3d.tex, pst-solides3d.pro and pst-implicitsurface.pro on my system): Try again with the attached pst-solides3d.pro. It should work and then replace it with the current one in /usr/local/texlive/texmf-local/dvips/pst-solides3d.pro \documentclass{article} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 340 20 rtp2xyz,Decran=100,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,10) \psSolid[object=grille,base=-2 2 -2 2,action=draw]% \axesIIID(0,0,0)(2,2,1) \psSurface*[ fillcolor=cyan,r=1,xytranslate=0.5 0.5, ngrid=.25 .25,incolor=yellow,grid, algebraic](-1,-1)(1,1){ e^(x*y) } \psSolid[object=cylindre,r=1,h=4,action=draw,ngrid=1 18](0.5,0.5,0) \psPoint(0,0,1){O} \psPoint(0,0,5){Z} \psline{->}(O)(Z) \uput[r](Z){$z$} \psPoint(0.5,0.5,0){C} \psdot[linecolor=red,dotstyle=x,dotscale=2](C) \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 Rolf.Niepraschk at gmx.de Sun Mar 5 09:55:12 2017 From: Rolf.Niepraschk at gmx.de (Rolf Niepraschk) Date: Sun, 5 Mar 2017 09:55:12 +0100 Subject: [pstricks] problem with pst-pdf in auto-pst-pdf In-Reply-To: <8EAD3A11C751924B9AB951FA32FD86EB95C088BD@EXCHANGEDB4.umons.ac.be> References: <8EAD3A11C751924B9AB951FA32FD86EB95C0553B@EXCHANGEDB4.umons.ac.be> <8EAD3A11C751924B9AB951FA32FD86EB95C05A43@EXCHANGEDB4.umons.ac.be> <1609b4c1-0b21-8aa7-c243-883e163f0ec4@FU-Berlin.DE> <8EAD3A11C751924B9AB951FA32FD86EB95C05C9A@EXCHANGEDB4.umons.ac.be> <8EAD3A11C751924B9AB951FA32FD86EB95C088BD@EXCHANGEDB4.umons.ac.be> Message-ID: Am 02.03.2017 um 14:04 schrieb Patrice MEGRET: > Dear Herbert, > > I have discussed with Rolf Niepraschk the package writer of pst-pdf and there was indeed a small mistake in the tests inside the package. > A new version will be uploaded on CTAN. > I uploaded the corrected version to CTAN. ...Rolf From Herbert.Voss at FU-Berlin.DE Sun Mar 5 10:47:16 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 5 Mar 2017 10:47:16 +0100 Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <2012100891.40169262.1488643395037.JavaMail.root@spooler3-g27.priv.proxad.net> References: <2012100891.40169262.1488643395037.JavaMail.root@spooler3-g27.priv.proxad.net> Message-ID: Am 04.03.2017 um 17:03 schrieb leon.free at free.fr: > Ok! The horizontal line has disapeared, but now there's a vertical line below the surface (still located at xytranslate). You can see it if > you use viewpoint=50 20 20 and remove the cylinder: I see. Next try ... Herbert -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pst-solides3d.pro URL: From wgrundlingh at gmail.com Sun Mar 5 08:17:29 2017 From: wgrundlingh at gmail.com (Werner Grundlingh) Date: Sat, 4 Mar 2017 23:17:29 -0800 Subject: [pstricks] ngrid has maximum under calottesphere Message-ID: Consider the following minimal example: \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-5,-5)(5,5) \psset{ viewpoint=0 20 4, Decran=25, lightsrc=viewpoint, lightintensity=1, } \psSolid[ object=calottesphere, r=3, ngrid=90 120,% <---------------- change this to ngrid=150 150 theta=30,phi=-90, grid,hollow, fillcolor=white,incolor=green, action=draw** ](0,0,0) \end{pspicture} \end{document} The result looks like this: [image: Inline image 1] However, changing the ngrid parameters to (say) ngrid=150 150, the output looks like this: [image: Inline image 2] Why is that? I'd like to get a "bowl" that is really smooth, and therefore would like to increase the ngrid parameters to something large without causing the above problem. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 150890 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 160096 bytes Desc: not available URL: From leon.free at free.fr Sun Mar 5 14:33:37 2017 From: leon.free at free.fr (leon.free at free.fr) Date: Sun, 5 Mar 2017 14:33:37 +0100 (CET) Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: Message-ID: <891416647.53321297.1488720817339.JavaMail.root@spooler3-g27.priv.proxad.net> And YES ! Herbert and Manuel, thank you very much for your help. Will your changes be part of the next pst-solides3d release ? ----- Mail original ----- De: "Herbert Voss" ?: pstricks at tug.org Envoy?: Dimanche 5 Mars 2017 10:47:16 Objet: Re: [pstricks] 3D surface on non rectangular domain Am 04.03.2017 um 17:03 schrieb leon.free at free.fr: > Ok! The horizontal line has disapeared, but now there's a vertical line below the surface (still located at xytranslate). You can see it if > you use viewpoint=50 20 20 and remove the cylinder: I see. Next try ... 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 Sun Mar 5 15:05:17 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 5 Mar 2017 15:05:17 +0100 Subject: [pstricks] ngrid has maximum under calottesphere In-Reply-To: References: Message-ID: <7eb31a48-e1b5-e7ea-88ae-5342e4860511@FU-Berlin.DE> Am 05.03.2017 um 08:17 schrieb Werner Grundlingh: > Consider the following minimal example: > > \documentclass{article} > > \usepackage{pst-solides3d} > > \begin{document} > > \begin{pspicture}(-5,-5)(5,5) > \psset{ > viewpoint=0 20 4, > Decran=25, > lightsrc=viewpoint, > lightintensity=1, > } > > \psSolid[ > object=calottesphere, > r=3, > ngrid=90 120,% <---------------- change this to ngrid=150 150 Choose a divider of 360, for example ngrid=180 180, Herbert > theta=30,phi=-90, > grid,hollow, > fillcolor=white,incolor=green, > action=draw** > ](0,0,0) > > \end{pspicture} > > \end{document} -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-03-05 15-04-32.png Type: image/png Size: 33625 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Sun Mar 5 18:10:52 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 5 Mar 2017 18:10:52 +0100 Subject: [pstricks] 3D surface on non rectangular domain In-Reply-To: <891416647.53321297.1488720817339.JavaMail.root@spooler3-g27.priv.proxad.net> References: <891416647.53321297.1488720817339.JavaMail.root@spooler3-g27.priv.proxad.net> Message-ID: Am 05.03.2017 um 14:33 schrieb leon.free at free.fr: > Will your changes be part of the next pst-solides3d release ? yes Herbert From wgrundlingh at gmail.com Sun Mar 5 20:49:37 2017 From: wgrundlingh at gmail.com (Werner Grundlingh) Date: Sun, 5 Mar 2017 11:49:37 -0800 Subject: [pstricks] ngrid has maximum under calottesphere In-Reply-To: <7eb31a48-e1b5-e7ea-88ae-5342e4860511@FU-Berlin.DE> References: <7eb31a48-e1b5-e7ea-88ae-5342e4860511@FU-Berlin.DE> Message-ID: Thanks Herbert. I ended up using ngrid=360 180.? -------------- next part -------------- An HTML attachment was scrubbed... URL: From texnicer at web.de Sun Mar 26 23:49:48 2017 From: texnicer at web.de (TeXnicer) Date: Sun, 26 Mar 2017 23:49:48 +0200 Subject: [pstricks] Drawing Weather Maps/Reports (anything about weather?) Message-ID: <51878cba-b8a4-dd61-27d9-1e4789048d3c@web.de> Dear reader, I keep looking for packages that introduce work with weather symbols and charts. I am currently working myself into maritime weather map making for onboard using. I was wondering not to find any packages dealing with this topic. In my first approach I am working myself into ?Anleitung zum Zeichnen von Bordwetterkarten nach Seewetterberichten? [1] and found the graphical representation of a maritime version of ?Stationsmeldung? (air pressure, wind/gale force and direction, temperature). I was lucky to learn, my first assumptions match the given graphic precisely. WX (weather report): "SE 5 (Beaufort), misty, 5 degree (Celsius), 1008 hPa" would throw something like this: \documentclass[]{minimal} \usepackage{pstricks} \begin{document} \begingroup \centering WX: SE~5, misty, 5$^\circ$, 1008\,hPa\par \begin{pspicture}(-3,-2)(3,2) \rput{-135}(0,0){ \psline(0,.2)(0,1.2) \psline(0,1.2)(0.5,1.2) \psline(0,1.1)(0.5,1.1) \psline(0,1.0)(0.25,1.0) } \pscircle(0,0){.2} \rput[r](-1.3,0){$\mathsf{5}$} % Temperatur, ganze Grad Celsius \rput[l](1.3,0){$\mathsf{1008}$} % Luftdruck, ganze hPa \end{pspicture}\\ \endgroup \end{document} Questions: - Is there any packages, pst-packages dealing with this kind of science? Weatherreport, Symbols, e.g.? - If not, I like to write a package that helps setting those things. *compass directions NE/SW -> rotation of that wind direction indicator. *wind force (Beaufort 1...12) -> tail. long feather each 2 skalars (5mm), short for uneven (2.5mm), triangle for 10. \windfeather[temperature=5,pressure=1008](0,0){SE}{5} % directionFROM: South-East; force: 5 (Beaufort), temperature (degree) Celsius, pressure hPa Looking forward any leading help, Carsten from Baltic Sea Coast From Herbert.Voss at FU-Berlin.DE Tue Mar 28 19:33:57 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 28 Mar 2017 19:33:57 +0200 Subject: [pstricks] Drawing Weather Maps/Reports (anything about weather?) In-Reply-To: <51878cba-b8a4-dd61-27d9-1e4789048d3c@web.de> References: <51878cba-b8a4-dd61-27d9-1e4789048d3c@web.de> Message-ID: <42142f99-ea2f-d7a0-cc82-fbdf434c798c@FU-Berlin.DE> Am 26.03.2017 um 23:49 schrieb TeXnicer: > Questions: > - Is there any packages, pst-packages dealing with this kind of science? > Weatherreport, Symbols, e.g.? There is no such package. However, here is an example how you can write a new package: \documentclass{minimal} \usepackage{pstricks} \makeatletter \define at key[psset]{}{WeatherSymbol}[]{\def\psk at WeatherSymbol{#1}} \psset{WeatherSymbol=xyz} \define at choicekey[psset]{}{WeatherSymbol}[\val\pst at WSymbol]{xyz,abc}[xyz]{} \psset{WeatherSymbol=xyz}% \def\psWeather{\pst at object{psWeather}} \def\psWeather at i(#1)#2#3{% \pst at killglue \begingroup \addbefore at par{gangle=-135} \use at par \ifcase\pst at WSymbol % nr 0->xyz \rput{\psk at gangle}(#1){% \psline(0,.2)(0,1.2) \psline(0,1.2)(0.5,1.2) \psline(0,1.1)(0.5,1.1) \psline(0,1.0)(0.25,1.0) \pscircle(0,0){.2}} \rput(#1){% \rput[r](-1.3,0){$\mathsf{#2}$} \rput[l](1.3,0){$\mathsf{#3}$}} \or % nr 1 -> abc \fi \endgroup } \makeatother \begin{document} \centering WX: SE~5, misty, 5$^\circ$, 1008\,hPa\par \begin{pspicture}(-3,-5)(3,2) \psWeather(0,0){5}{1008} \psWeather[gangle=-90,linecolor=red](0,-2){5}{1008} \end{pspicture} \end{document} Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-03-28 19-30-46.png Type: image/png Size: 9676 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Tue Mar 28 19:52:00 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 28 Mar 2017 19:52:00 +0200 Subject: [pstricks] Drawing Weather Maps/Reports (anything about weather?) In-Reply-To: <42142f99-ea2f-d7a0-cc82-fbdf434c798c@FU-Berlin.DE> References: <51878cba-b8a4-dd61-27d9-1e4789048d3c@web.de> <42142f99-ea2f-d7a0-cc82-fbdf434c798c@FU-Berlin.DE> Message-ID: <51601.89.15.236.162.1490723520.webmail@webmail.zedat.fu-berlin.de> Herbert Voss schrieb: > Am 26.03.2017 um 23:49 schrieb TeXnicer: > >> Questions: >> - Is there any packages, pst-packages dealing with this kind of science? >> Weatherreport, Symbols, e.g.? > > There is no such package. However, here is an example > how you can write a new package: > > > \documentclass{minimal} > \usepackage{pstricks} > \makeatletter > \define at key[psset]{}{WeatherSymbol}[]{\def\psk at WeatherSymbol{#1}} > \psset{WeatherSymbol=xyz} Sorry, the two Lines above should be deleted Herbert > \define at choicekey[psset]{}{WeatherSymbol}[\val\pst at WSymbol]{xyz,abc}[xyz]{} > \psset{WeatherSymbol=xyz}% > \def\psWeather{\pst at object{psWeather}} > \def\psWeather at i(#1)#2#3{% > \pst at killglue > \begingroup > \addbefore at par{gangle=-135} > \use at par > \ifcase\pst at WSymbol % nr 0->xyz > \rput{\psk at gangle}(#1){% > \psline(0,.2)(0,1.2) > \psline(0,1.2)(0.5,1.2) > \psline(0,1.1)(0.5,1.1) > \psline(0,1.0)(0.25,1.0) > \pscircle(0,0){.2}} > \rput(#1){% > \rput[r](-1.3,0){$\mathsf{#2}$} > \rput[l](1.3,0){$\mathsf{#3}$}} > \or % nr 1 -> abc > \fi > \endgroup > } > \makeatother > > \begin{document} > \centering > WX: SE~5, misty, 5$^\circ$, 1008\,hPa\par > \begin{pspicture}(-3,-5)(3,2) > \psWeather(0,0){5}{1008} > \psWeather[gangle=-90,linecolor=red](0,-2){5}{1008} > \end{pspicture} > \end{document} > From adrien.bouzigues at gadz.org Fri Apr 28 13:35:02 2017 From: adrien.bouzigues at gadz.org (Adrien BOUZIGUES) Date: Fri, 28 Apr 2017 13:35:02 +0200 Subject: [pstricks] Pstricks help Message-ID: Hello, After multiple hours of searching and with less hair on my head (no I'm kidding, I'm not that mad), I've resigned to find a solution. That's why I try sending e-mails to various users of Pstricks to find an answer. My question is : is it possible to extract the coordinates of two points (in a psfigure) to create a length (for a parbox for example) ? I mean, there are A(x1,y1) and B(x2,y2) and I would like to create "\parbox{|x1-x2|}{Text}" (put a text in a psframe of a size I want : there is a little difference with a psframebox). I know how to extract coordinates, to add them with the RPN but how to create such a length is my problem. Can we do it ? How ? Thanks a lot if you have an answer, Adrien BOUZIGUES LaTeX user -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Fri Apr 28 19:58:11 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 28 Apr 2017 19:58:11 +0200 Subject: [pstricks] Pstricks help In-Reply-To: References: Message-ID: Am 28.04.2017 um 13:35 schrieb Adrien BOUZIGUES: >My question is : is it possible to extract the coordinates of two points > (in a psfigure) to create a length (for a parbox for example) ? > I mean, there are A(x1,y1) and B(x2,y2) and I would like to create > "\parbox{|x1-x2|}{Text}" (put a text in a psframe of a size I want : > there is a little difference with a psframebox). > I know how to extract coordinates, to add them with the RPN but how to > create such a length is my problem. > > Can we do it ? How ? there is no such macro. The points are handled on PostScript level, but the value fpr the parbox on LaTeX level. You can pass values from LaTeX->PostScript but not vice versa. However, there is \psTextFrame. Maybe it helps: \documentclass{article} \usepackage{pstricks} \begin{document} \begin{pspicture}[showgrid](0,-0.5)(10,10) \psTextFrame[linecolor=lightgray,ref=l](0,0.5)(4,1.5){Hallo} \psTextFrame[linecolor=blue](2,4)(4,7){\color{blue}Hallo} \psTextFrame[linestyle=dashed](9,9)(10,10){\huge H} \psTextFrame*[linecolor=red,linestyle=dashed](7,7)(9,9){\Huge H} \psTextFrame*[linecolor=red!40,ref=lB](7,4)(9,6){\Huge H} \psTextFrame*[linecolor=blue!40,ref=rt](7,1)(9,3){\Huge H} \psTextFrame[linestyle=dashed](4.5,0)(6.5,10){% \parbox{2cm}{\centering Here comes some more text over several lines, which is also horizontally and vertically centered and written in a parbox.}} \psTextFrame*[linecolor=cyan!20,rot=90](.5,2)(1.5,10){% \parbox{8cm}{\centering Here comes some more text over several lines and rotated by 90 degrees.}} \end{pspicture} \end{document} Herbert From adrien.bouzigues at gadz.org Sat Apr 29 20:45:04 2017 From: adrien.bouzigues at gadz.org (Adrien BOUZIGUES) Date: Sat, 29 Apr 2017 20:45:04 +0200 Subject: [pstricks] PSTricks Digest, Vol 170, Issue 1 In-Reply-To: References: Message-ID: Thanks for your support and for your explanations. 2017-04-29 12:00 GMT+02:00 : > 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. Pstricks help (Adrien BOUZIGUES) > 2. Re: Pstricks help (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 28 Apr 2017 13:35:02 +0200 > From: Adrien BOUZIGUES > To: pstricks at tug.org > Subject: [pstricks] Pstricks help > Message-ID: > GAppygTodsDhQg at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello, > > After multiple hours of searching and with less hair on my head (no I'm > kidding, I'm not that mad), I've resigned to find a solution. That's why I > try sending e-mails to various users of Pstricks to find an answer. > > My question is : is it possible to extract the coordinates of two points > (in a psfigure) to create a length (for a parbox for example) ? > I mean, there are A(x1,y1) and B(x2,y2) and I would like to create > "\parbox{|x1-x2|}{Text}" (put a text in a psframe of a size I want : there > is a little difference with a psframebox). > I know how to extract coordinates, to add them with the RPN but how to > create such a length is my problem. > > Can we do it ? How ? > > Thanks a lot if you have an answer, > > Adrien BOUZIGUES > LaTeX user > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: be35dbf9/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Fri, 28 Apr 2017 19:58:11 +0200 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] Pstricks help > Message-ID: > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 28.04.2017 um 13:35 schrieb Adrien BOUZIGUES: > >My question is : is it possible to extract the coordinates of two points > > (in a psfigure) to create a length (for a parbox for example) ? > > I mean, there are A(x1,y1) and B(x2,y2) and I would like to create > > "\parbox{|x1-x2|}{Text}" (put a text in a psframe of a size I want : > > there is a little difference with a psframebox). > > I know how to extract coordinates, to add them with the RPN but how to > > create such a length is my problem. > > > > Can we do it ? How ? > > there is no such macro. The points are handled on PostScript > level, but the value fpr the parbox on LaTeX level. You can > pass values from LaTeX->PostScript but not vice versa. > > However, there is \psTextFrame. Maybe it helps: > > \documentclass{article} > \usepackage{pstricks} > \begin{document} > > \begin{pspicture}[showgrid](0,-0.5)(10,10) > \psTextFrame[linecolor=lightgray,ref=l](0,0.5)(4,1.5){Hallo} > \psTextFrame[linecolor=blue](2,4)(4,7){\color{blue}Hallo} > \psTextFrame[linestyle=dashed](9,9)(10,10){\huge H} > \psTextFrame*[linecolor=red,linestyle=dashed](7,7)(9,9){\Huge H} > \psTextFrame*[linecolor=red!40,ref=lB](7,4)(9,6){\Huge H} > \psTextFrame*[linecolor=blue!40,ref=rt](7,1)(9,3){\Huge H} > \psTextFrame[linestyle=dashed](4.5,0)(6.5,10){% > \parbox{2cm}{\centering Here comes some more text over > several lines, which is also horizontally and vertically > centered and written in a parbox.}} > \psTextFrame*[linecolor=cyan!20,rot=90](.5,2)(1.5,10){% > \parbox{8cm}{\centering Here comes some more text over > several lines and rotated by 90 degrees.}} > \end{pspicture} > > \end{document} > > Herbert > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 170, Issue 1 > **************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyrille.piatecki at univ-orleans.fr Tue May 16 10:30:22 2017 From: cyrille.piatecki at univ-orleans.fr (cyrille.piatecki) Date: Tue, 16 May 2017 10:30:22 +0200 Subject: [pstricks] tubular arrow Message-ID: Dear all, I wonder if some one has a solution to draw a tubular arrow with pstricks Thanks From Herbert.Voss at FU-Berlin.DE Tue May 16 11:45:53 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 16 May 2017 11:45:53 +0200 Subject: [pstricks] tubular arrow In-Reply-To: References: Message-ID: Am 16.05.2017 um 10:30 schrieb cyrille.piatecki: > I wonder if some one has a solution to draw a tubular arrow with pstricks Cyrille, what do you mean with tabular arrow? Herbert From cyrille.piatecki at univ-orleans.fr Tue May 16 12:23:08 2017 From: cyrille.piatecki at univ-orleans.fr (cyrille.piatecki) Date: Tue, 16 May 2017 12:23:08 +0200 Subject: [pstricks] PSTricks Digest, Vol 171, Issue 1 In-Reply-To: References: Message-ID: <25fdd06b-2118-eb25-3e93-977b7a24ef31@univ-orleans.fr> An arrow as in https://mathematica.stackexchange.com/questions/143248/arrow-from-a-torus-to-an-other/145103#145103 I obviously prefer the pstricks encoding way for the graphics Le 16/05/2017 ? 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. tubular arrow (cyrille.piatecki) > 2. Re: tubular arrow (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 16 May 2017 10:30:22 +0200 > From: "cyrille.piatecki" > To: pstricks at tug.org > Subject: [pstricks] tubular arrow > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > Dear all, > > I wonder if some one has a solution to draw a tubular arrow with pstricks > > Thanks > > > > ------------------------------ > > Message: 2 > Date: Tue, 16 May 2017 11:45:53 +0200 > From: Herbert Voss > To: Graphics with PSTricks > Subject: Re: [pstricks] tubular arrow > Message-ID: > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 16.05.2017 um 10:30 schrieb cyrille.piatecki: > >> I wonder if some one has a solution to draw a tubular arrow with pstricks > Cyrille, > what do you mean with tabular arrow? > > Herbert > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 171, Issue 1 > **************************************** > From cyrille.piatecki at univ-orleans.fr Wed May 17 08:50:06 2017 From: cyrille.piatecki at univ-orleans.fr (cyrille.piatecki) Date: Wed, 17 May 2017 08:50:06 +0200 Subject: [pstricks] PSTricks Digest, Vol 171, Issue 1 In-Reply-To: References: Message-ID: <811aef54-fe25-f84e-f637-bb3beb75585f@univ-orleans.fr> This is perhaps clearerR?sultat de recherche d'images pour "how to draw an arrow in 3D" Le 16/05/2017 ? 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. tubular arrow (cyrille.piatecki) > 2. Re: tubular arrow (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 16 May 2017 10:30:22 +0200 > From: "cyrille.piatecki" > To: pstricks at tug.org > Subject: [pstricks] tubular arrow > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > Dear all, > > I wonder if some one has a solution to draw a tubular arrow with pstricks > > Thanks > > > > ------------------------------ > > Message: 2 > Date: Tue, 16 May 2017 11:45:53 +0200 > From: Herbert Voss > To: Graphics with PSTricks > Subject: Re: [pstricks] tubular arrow > Message-ID: > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 16.05.2017 um 10:30 schrieb cyrille.piatecki: > >> I wonder if some one has a solution to draw a tubular arrow with pstricks > Cyrille, > what do you mean with tabular arrow? > > Herbert > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 171, Issue 1 > **************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: demoArrow3D_03.png Type: image/png Size: 19976 bytes Desc: not available URL: From cyrille.piatecki at univ-orleans.fr Wed May 17 19:32:43 2017 From: cyrille.piatecki at univ-orleans.fr (cyrille.piatecki) Date: Wed, 17 May 2017 19:32:43 +0200 Subject: [pstricks] \psrandom Message-ID: <142dc7fe-d267-2ef9-8b7b-6d92eb55c0a0@univ-orleans.fr> Dear Herbert, I have to request : 1) could you add a seed to the command \psrandom ; for instance I need to project dots of two colors in the same space the simplest way I have found is the following \begin{pspicture}(0,0)(14,6) \psgrid \psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=red,randomPoints=100, dotstyle=o,linecolor=red](1,1)(4.5,5){\pspolygon[, linecolor=blue!50,fillstyle=solid, fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)} \rput(-8,0){\psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=blue,randomPoints=100, dotstyle=o,linecolor=blue,linewidth=1.2](8,1)(12.5,5){\pspolygon[origin={8,0},linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)}} \end{pspicture} 2) I need to project both type of points on a surface --- a torus. Could the clipping path be a surface ? Hope it is possible Thanks Cyrille Piatecki From Herbert.Voss at FU-Berlin.DE Wed May 17 20:11:07 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 17 May 2017 20:11:07 +0200 Subject: [pstricks] \psrandom In-Reply-To: <142dc7fe-d267-2ef9-8b7b-6d92eb55c0a0@univ-orleans.fr> References: <142dc7fe-d267-2ef9-8b7b-6d92eb55c0a0@univ-orleans.fr> Message-ID: Am 17.05.2017 um 19:32 schrieb cyrille.piatecki: > Dear Herbert, > > I have to request : > > 1) could you add a seed to the command \psrandom ; for instance I need > to project dots of two colors in the same space the simplest way I have > found is the following > > \begin{pspicture}(0,0)(14,6) > \psgrid > \psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=red,randomPoints=100, > > dotstyle=o,linecolor=red](1,1)(4.5,5){\pspolygon[, > linecolor=blue!50,fillstyle=solid, > fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)} > \rput(-8,0){\psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=blue,randomPoints=100, > > dotstyle=o,linecolor=blue,linewidth=1.2](8,1)(12.5,5){\pspolygon[origin={8,0},linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)}} > > \end{pspicture} see documentation of pstricks-add: \documentclass[11pt,a4paper]{report} \usepackage{pstricks-add} \begin{document} \begin{pspicture}[showgrid](0,0)(14,6) \psRandom[dotsize=3pt,randomPoints=100, dotstyle=o,linecolor=red,fillcolor=red](1,1)(4.5,5)% {\pspolygon[linecolor=blue!50,fillstyle=solid, fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)} \psRandom[dotsize=3pt,fillcolor=blue, randomPoints=100,randInit=42, dotstyle=o,linecolor=blue](1,1)(4.5,5)% {\pspolygon[linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)} \end{pspicture} \end{document} > 2) I need to project both type of points on a surface --- a torus. Could > the clipping path be a surface ? > > Hope it is possible I never tried it but suppose that it is not possible. You can show the coordinates and then create a 2d clipping path. Herbert From Herbert.Voss at FU-Berlin.DE Thu May 18 10:29:57 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 18 May 2017 10:29:57 +0200 Subject: [pstricks] PSTricks Digest, Vol 171, Issue 1 In-Reply-To: <811aef54-fe25-f84e-f637-bb3beb75585f@univ-orleans.fr> References: <811aef54-fe25-f84e-f637-bb3beb75585f@univ-orleans.fr> Message-ID: <14a1881b-83c0-9e35-dd18-a6ea6b38be39@FU-Berlin.DE> Am 17.05.2017 um 08:50 schrieb cyrille.piatecki: > This is perhaps clearerR?sultat de recherche d'images pour "how to draw > an arrow in 3D" For straight lines it can be done with pst-solides 3d. See documentation Herbert From cyrille.piatecki at univ-orleans.fr Thu May 18 12:18:40 2017 From: cyrille.piatecki at univ-orleans.fr (cyrille.piatecki) Date: Thu, 18 May 2017 12:18:40 +0200 Subject: [pstricks] PSTricks Digest, Vol 171, Issue 3 In-Reply-To: References: Message-ID: Thanks Herbert, I have not seen randInit because I was search something like seed. Le 18/05/2017 ? 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. \psrandom (cyrille.piatecki) > 2. Re: \psrandom (Herbert Voss) > 3. Re: PSTricks Digest, Vol 171, Issue 1 (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 17 May 2017 19:32:43 +0200 > From: "cyrille.piatecki" > To: pstricks at tug.org > Subject: [pstricks] \psrandom > Message-ID: <142dc7fe-d267-2ef9-8b7b-6d92eb55c0a0 at univ-orleans.fr> > Content-Type: text/plain; charset=utf-8; format=flowed > > Dear Herbert, > > I have to request : > > 1) could you add a seed to the command \psrandom ; for instance I need > to project dots of two colors in the same space the simplest way I have > found is the following > > \begin{pspicture}(0,0)(14,6) > \psgrid > \psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=red,randomPoints=100, > dotstyle=o,linecolor=red](1,1)(4.5,5){\pspolygon[, > linecolor=blue!50,fillstyle=solid, > fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)} > \rput(-8,0){\psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=blue,randomPoints=100, > dotstyle=o,linecolor=blue,linewidth=1.2](8,1)(12.5,5){\pspolygon[origin={8,0},linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)}} > \end{pspicture} > > 2) I need to project both type of points on a surface --- a torus. Could > the clipping path be a surface ? > > Hope it is possible > > Thanks > > > Cyrille Piatecki > > > > > ------------------------------ > > Message: 2 > Date: Wed, 17 May 2017 20:11:07 +0200 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] \psrandom > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > Am 17.05.2017 um 19:32 schrieb cyrille.piatecki: >> Dear Herbert, >> >> I have to request : >> >> 1) could you add a seed to the command \psrandom ; for instance I need >> to project dots of two colors in the same space the simplest way I have >> found is the following >> >> \begin{pspicture}(0,0)(14,6) >> \psgrid >> \psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=red,randomPoints=100, >> >> dotstyle=o,linecolor=red](1,1)(4.5,5){\pspolygon[, >> linecolor=blue!50,fillstyle=solid, >> fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)} >> \rput(-8,0){\psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=blue,randomPoints=100, >> >> dotstyle=o,linecolor=blue,linewidth=1.2](8,1)(12.5,5){\pspolygon[origin={8,0},linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)}} >> >> \end{pspicture} > see documentation of pstricks-add: > > > \documentclass[11pt,a4paper]{report} > \usepackage{pstricks-add} > > \begin{document} > \begin{pspicture}[showgrid](0,0)(14,6) > \psRandom[dotsize=3pt,randomPoints=100, > dotstyle=o,linecolor=red,fillcolor=red](1,1)(4.5,5)% > {\pspolygon[linecolor=blue!50,fillstyle=solid, > fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)} > \psRandom[dotsize=3pt,fillcolor=blue, > randomPoints=100,randInit=42, > dotstyle=o,linecolor=blue](1,1)(4.5,5)% > {\pspolygon[linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)} > \end{pspicture} > > \end{document} > >> 2) I need to project both type of points on a surface --- a torus. Could >> the clipping path be a surface ? >> >> Hope it is possible > I never tried it but suppose that it is not possible. > You can show the coordinates and then create a 2d > clipping path. > > Herbert > > > ------------------------------ > > Message: 3 > Date: Thu, 18 May 2017 10:29:57 +0200 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] PSTricks Digest, Vol 171, Issue 1 > Message-ID: <14a1881b-83c0-9e35-dd18-a6ea6b38be39 at FU-Berlin.DE> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Am 17.05.2017 um 08:50 schrieb cyrille.piatecki: >> This is perhaps clearerR?sultat de recherche d'images pour "how to draw >> an arrow in 3D" > For straight lines it can be done with pst-solides 3d. > See documentation > > Herbert > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 171, Issue 3 > **************************************** > From martin.chicoine at umontreal.ca Tue May 23 01:55:53 2017 From: martin.chicoine at umontreal.ca (Chicoine Martin) Date: Mon, 22 May 2017 23:55:53 +0000 Subject: [pstricks] psgraph is broken Message-ID: <35D95400F5368749B43D1D9A59D0A5BB58F1220E@athens-cour.sim.umontreal.ca> The y-dimension ( yLength) is broken in the last pstricks update. The y-dimension is not taken into account. From Herbert.Voss at FU-Berlin.DE Tue May 23 07:12:42 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 23 May 2017 07:12:42 +0200 Subject: [pstricks] psgraph is broken In-Reply-To: <35D95400F5368749B43D1D9A59D0A5BB58F1220E@athens-cour.sim.umontreal.ca> References: <35D95400F5368749B43D1D9A59D0A5BB58F1220E@athens-cour.sim.umontreal.ca> Message-ID: <49504.79.200.154.71.1495516362.webmail@webmail.zedat.fu-berlin.de> Chicoine Martin schrieb: > The y-dimension ( yLength) is broken in the last pstricks update. The > y-dimension is not taken into account. use this version of pst-fp.tex: http://ctan.org/tex-archive/graphics/pstricks/base/generic Herbert From martin.chicoine at umontreal.ca Tue May 23 17:12:49 2017 From: martin.chicoine at umontreal.ca (Chicoine Martin) Date: Tue, 23 May 2017 15:12:49 +0000 Subject: [pstricks] psgraph is broken In-Reply-To: <49504.79.200.154.71.1495516362.webmail@webmail.zedat.fu-berlin.de> References: <35D95400F5368749B43D1D9A59D0A5BB58F1220E@athens-cour.sim.umontreal.ca> <49504.79.200.154.71.1495516362.webmail@webmail.zedat.fu-berlin.de> Message-ID: <35D95400F5368749B43D1D9A59D0A5BB58F1323F@athens-cour.sim.umontreal.ca> Thanks Herbert. -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: 23 mai 2017 01:13 ??: Graphics with PSTricks Objet?: Re: [pstricks] psgraph is broken Chicoine Martin schrieb: > The y-dimension ( yLength) is broken in the last pstricks update. The > y-dimension is not taken into account. use this version of pst-fp.tex: http://ctan.org/tex-archive/graphics/pstricks/base/generic 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 Jun 2 21:53:45 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 2 Jun 2017 21:53:45 +0200 Subject: [pstricks] New package Message-ID: <138453ee-3698-4e2e-94b0-5b1696c727fb@FU-Berlin.DE> Hello all, see http://mirror.ctan.org/graphics/pstricks/contrib/pst-vehicle/ Herbert From A.Grahn at hzdr.de Thu Jun 15 13:32:21 2017 From: A.Grahn at hzdr.de (Alexander Grahn) Date: Thu, 15 Jun 2017 13:32:21 +0200 Subject: [pstricks] random colour Message-ID: <20170615113221.GA9645@hzdr.de> Good afternoon, inspired by https://tex.stackexchange.com/q/373866 I wonder whether it were possible to add "random"/"randomgray" as colour names to PSTricks. In the linked example, I temporarily overlayed the `setrgbcolor' built-in with my own definition to randomly set the stroking colour. Or is there already such a thing available which I have missed so far? Alexander From Herbert.Voss at FU-Berlin.DE Thu Jun 15 20:30:49 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 15 Jun 2017 20:30:49 +0200 Subject: [pstricks] random colour In-Reply-To: <20170615113221.GA9645@hzdr.de> References: <20170615113221.GA9645@hzdr.de> Message-ID: <5973b13f-5aec-cdd5-0cca-4fb435bd0755@FU-Berlin.DE> Am 15.06.2017 um 13:32 schrieb Alexander Grahn: > inspired by https://tex.stackexchange.com/q/373866 I wonder whether it > were possible to add "random"/"randomgray" as colour names to PSTricks. > > In the linked example, I temporarily overlayed the `setrgbcolor' built-in with my own > definition to randomly set the stroking colour. > > Or is there already such a thing available which I have missed so far? it is simple for LaTeX _and_ xcolor: \definecolor[ps]{randomgray}{gray}{Rand}% \definecolor[ps]{randomrgb}{rgb}{Rand Rand Rand}% \definecolor[ps]{randomcmyk}{cmyk}{Rand Rand Rand Rand}% will be part of the next pstricks.tex update. Example uses "linecolor=randomrgb" Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-06-15 20-29-26.png Type: image/png Size: 1100671 bytes Desc: not available URL: From gilg at acrotex.net Tue Jun 20 22:05:29 2017 From: gilg at acrotex.net (Juergen Gilg) Date: Tue, 20 Jun 2017 22:05:29 +0200 Subject: [pstricks] Major basic problem using Distiller for PS plots Message-ID: Dear PSTricks list, is there anyone within the community who can test the following file with the workflow: LaTeX --> dvips --> Distiller --> PDF There occurs a misplot of the graph of a quite simple function that I never had before. Here a minimal example: \documentclass{article} \usepackage{pst-plot} \begin{document} \begin{pspicture}[algebraic,plotpoints=2000](-2,-1)(7,7) \def\funkj{2*Euler^(-2*x)} \psaxes{->}(0,0)(-6.5,-7.5)(6.5,8.5)[$x$,-90][$y$,180]% Achsen \psplot[linewidth=1pt,linecolor=green]{-6.5}{6.5}{\funkj}% \end{pspicture} \end{document} Compiling it the above mentioned way---the graph alternates along the positive x-axis, which should not happen at all for that kind of function. I am on the latest stand of TeXLive2017. Anyone out there, who can verify this misbehaviour? Using ps2pdf---this misplotting doesn't occur. Anyone out there in the community, who might know what the problem is about? Any hints or fixes are very appreciated and heartly welcome. No idea at all, why this problem comes along these days ... Thanks very much in advance, Kind regards, J?rgen -- J?rgen Gilg Austr. 59 70376 Stuttgart -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.verges at wanadoo.fr Fri Jun 23 17:42:03 2017 From: denis.verges at wanadoo.fr (=?utf-8?Q?Denis_Verg=C3=A8s?=) Date: Fri, 23 Jun 2017 17:42:03 +0200 Subject: [pstricks] random points Message-ID: <96338EA0-C55F-4228-9523-C9DA00974116@wanadoo.fr> Dear PSTricks list I had to plot 100 random points in a square 0 <= x < =1 and 0 <= y <= 1. In fact if the point is under the curve \psplot[plotpoints=3000,linewidth=1.25pt,linecolor=cyan]{0}{1}{1 x dup mul 1 add div} the point is black ; if the point is above the point is white. How can I do ? Thanks for advance ; in the book of H. Voss I don?t find the solution. Denis Verg?s From Herbert.Voss at FU-Berlin.DE Fri Jun 23 20:27:39 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 23 Jun 2017 20:27:39 +0200 Subject: [pstricks] random points In-Reply-To: <96338EA0-C55F-4228-9523-C9DA00974116@wanadoo.fr> References: <96338EA0-C55F-4228-9523-C9DA00974116@wanadoo.fr> Message-ID: <4ee9df4c-9a7e-8592-21f5-e96f82757e8c@FU-Berlin.DE> Am 23.06.2017 um 17:42 schrieb Denis Verg?s: > I had to plot 100 random points in a square 0 <= x < =1 and 0 <= y <= 1. > > In fact if the point is under the curve \psplot[plotpoints=3000,linewidth=1.25pt,linecolor=cyan]{0}{1}{1 x dup mul 1 add div} > the point is black ; if the point is above the point is white. \documentclass{article} \usepackage{pstricks-add} \begin{document} \psset{unit=5cm} \begin{pspicture}(-0.1,-0.1)(1.1,1.1) \psRandom[dotsize=4pt,dotstyle=o,fillstyle=solid,fillcolor=black, randomPoints=100](0,0)(1,1){% \pscustom[linestyle=none]{% \psline(0,1) \psplot[plotpoints=200]{0}{1}{1 x dup mul 1 add div } \psline(1,0) }} \psplot[linecolor=red,linewidth=1.5pt]{0}{1}{1 x dup mul 1 add div } \psaxes[dx=0.2,dy=0.2,Dx=0.2,Dy=0.2]{->}(0,0)(-0.1,-0.1)(1.1,1.1) \end{pspicture} \end{document} Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-06-23 20-26-50.png Type: image/png Size: 11969 bytes Desc: not available URL: From denis.verges at wanadoo.fr Sat Jun 24 15:19:03 2017 From: denis.verges at wanadoo.fr (=?utf-8?Q?Denis_Verg=C3=A8s?=) Date: Sat, 24 Jun 2017 15:19:03 +0200 Subject: [pstricks] PSTricks Digest, Vol 172, Issue 4 In-Reply-To: References: Message-ID: Hello Thanks, thanks and thanks : Herbert is the greteast and PSTricks the most powerfull. In fact this picture is in baccalaur?at Asie 22 juin 2017 and I make this adaptation : %%%%%%%%% \psset{unit=6cm,comma=true} \begin{pspicture}(-0.1,-0.1)(1.1,1.2) \psgrid[gridlabels=0pt,gridwidth=0.2pt,subgridwidth=0.15pt](0,0)(1,1) \multido{\n=0.1+0.2}{5}{\psline[linewidth=0.2pt](0,\n)(1,\n)} \psaxes[linewidth=1.25pt,Dx=0.2,Dy=0.2,labelFontSize=\scriptstyle](0,0)(0,0)(1,1) \psRandom[dotsize=4pt,dotstyle=o,fillstyle=solid,fillcolor=black, randomPoints=100](0,0)(1,1){% \pscustom[linestyle=none]{% \psline(0,1) \psplot[plotpoints=200]{0}{1}{1 x dup mul 1 add div } \psline(1,0) }} \psRandom[dotsize=4pt,dotstyle=o,fillcolor=white, randomPoints=100](0,0)(1,1){% \pscustom[linestyle=none]{%e \psline(0,1)(1,1) \psplot[plotpoints=200]{1}{0}{1 x dup mul 1 add div } }} \psplot[plotpoints=3000,linewidth=1.25pt,linecolor=cyan]{0}{1}{1 x dup mul 1 add div} \rput(0.5,1.05){Illustration de la m?thode avec $n = 100$} \end{pspicture} %%%%%%%%% (Visible in : http://www.apmep.fr/ecrire/?exec=articles&id_article=7481) Have a nice Sunday. Denis Verg?s > Le 24 juin 2017 ? 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. random points (Denis Verg?s) > 2. Re: random points (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 23 Jun 2017 17:42:03 +0200 > From: Denis Verg?s > To: pstricks at tug.org > Subject: [pstricks] random points > Message-ID: <96338EA0-C55F-4228-9523-C9DA00974116 at wanadoo.fr> > Content-Type: text/plain; charset=utf-8 > > Dear PSTricks list > > I had to plot 100 random points in a square 0 <= x < =1 and 0 <= y <= 1. > > In fact if the point is under the curve \psplot[plotpoints=3000,linewidth=1.25pt,linecolor=cyan]{0}{1}{1 x dup mul 1 add div} > the point is black ; if the point is above the point is white. > > How can I do ? > > Thanks for advance ; in the book of H. Voss I don?t find the solution. > > Denis Verg?s > > > > ------------------------------ > > Message: 2 > Date: Fri, 23 Jun 2017 20:27:39 +0200 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] random points > Message-ID: <4ee9df4c-9a7e-8592-21f5-e96f82757e8c at FU-Berlin.DE> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > Am 23.06.2017 um 17:42 schrieb Denis Verg?s: > >> I had to plot 100 random points in a square 0 <= x < =1 and 0 <= y <= 1. >> >> In fact if the point is under the curve \psplot[plotpoints=3000,linewidth=1.25pt,linecolor=cyan]{0}{1}{1 x dup mul 1 add div} >> the point is black ; if the point is above the point is white. > > \documentclass{article} > \usepackage{pstricks-add} > > \begin{document} > \psset{unit=5cm} > \begin{pspicture}(-0.1,-0.1)(1.1,1.1) > \psRandom[dotsize=4pt,dotstyle=o,fillstyle=solid,fillcolor=black, > randomPoints=100](0,0)(1,1){% > \pscustom[linestyle=none]{% > \psline(0,1) > \psplot[plotpoints=200]{0}{1}{1 x dup mul 1 add div } > \psline(1,0) > }} > \psplot[linecolor=red,linewidth=1.5pt]{0}{1}{1 x dup mul 1 add div } > \psaxes[dx=0.2,dy=0.2,Dx=0.2,Dy=0.2]{->}(0,0)(-0.1,-0.1)(1.1,1.1) > \end{pspicture} > > \end{document} > > Herbert > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Bildschirmfoto vom 2017-06-23 20-26-50.png > Type: image/png > Size: 11969 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 172, Issue 4 > **************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From poul.riis at skolekom.dk Sat Jul 1 15:25:49 2017 From: poul.riis at skolekom.dk (Poul Riis) Date: Sat, 01 Jul 2017 15:25:49 +0200 Subject: [pstricks] listplot Message-ID: With listplot I can easily make several kinds of plots of points from a data file (x1,y1),(x2,y2),(x3,y3),.... However, I would like to plot (x1,0),(x1,y1),(x2,y1),(x2,0),(x2,y2),(x3,y2),.... How can I do that? In more general, how can I store the points from the data file in an array so that I can later refer to the (postscript) coordinates of point nr. i? Poul Riis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sat Jul 1 20:37:16 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 1 Jul 2017 20:37:16 +0200 Subject: [pstricks] listplot In-Reply-To: References: Message-ID: <530060d1-9b09-1c0d-d2f2-473789a21231@FU-Berlin.DE> Am 01.07.2017 um 15:25 schrieb Poul Riis: > With listplot I can easily make several kinds of plots of points from a > data file (x1,y1),(x2,y2),(x3,y3),.... > However, I would like to plot > (x1,0),(x1,y1),(x2,y1),(x2,0),(x2,y2),(x3,y2),.... > How can I do that? > > In more general, how can I store the points from the data file in an > array so that I can later refer to the (postscript) coordinates of point > nr. i? give a _complete_ example! Herbert From poul.riis at skolekom.dk Sat Jul 1 23:10:18 2017 From: poul.riis at skolekom.dk (Poul Riis) Date: Sat, 01 Jul 2017 23:10:18 +0200 Subject: [pstricks] listplot In-Reply-To: <530060d1-9b09-1c0d-d2f2-473789a21231@FU-Berlin.DE> References: <530060d1-9b09-1c0d-d2f2-473789a21231@FU-Berlin.DE> Message-ID: Graphics with PSTricks writes: >give a _complete_ example! Here is one (data file attached): \documentclass{article} \usepackage[ansinew]{inputenc} \usepackage[danish]{babel} \usepackage[T1]{fontenc} \usepackage[dvips,x11names]{xcolor} \usepackage{pst-tools} \usepackage{pstricks-add} \usepackage{multido} \usepackage[top=2cm,bottom=2cm,left=2cm,right=1.5cm]{geometry} \thispagestyle{empty} \begin{document} \readdata{\data}{simon.dat} \psset{xAxisLabel=Time (minutes),yAxisLabel=Load (W),xAxisLabelPos={c,-10},yAxisLabelPos={-5,c}}% \begin{psgraph}[axesstyle=frame,xticksize=0 110,yticksize=0 100,Dx=10,Dy=10,xsubticks=5,subticksize=1](0,0)(100,110){15cm}{11cm} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Here is the beginning of what I want: \psline[linecolor=Red1,fillcolor=Cornsilk1,fillstyle=solid,linewidth=1pt](0,0)(0,30)(4,30)(4,0)(4,40)(8,40)(8,0)(8,50)(12,50)(12,0)(12,60)(16,60)(16,0)(16,70)(20,70)(20,0)(20,80)(24,80)(24,0)(24,100)(25,100)(25,0)%(x1,0)(x1,y2)(x2,y2)(x2,0)(x2,0)(x2, y3)(x3,y3)(x3,0).... %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % But of coarse it is cumbersome to type all the data manually... %...compared to a listplot that can be done automatically with data from file: \listplot[linecolor=Blue1, linewidth=2pt]{\data} \psline[arrows=->](0,0)(100,0) \psline[arrows=->](0,0)(0,110) \end{psgraph} \end{document} But as I mentioned earlier I would like more generally to be able to get the coordinates of point no. i from the data in postscript format. Poul Riis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: simon.dat Type: application/octet-stream Size: 289 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Sun Jul 2 08:02:59 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 2 Jul 2017 08:02:59 +0200 Subject: [pstricks] listplot In-Reply-To: References: <530060d1-9b09-1c0d-d2f2-473789a21231@FU-Berlin.DE> Message-ID: <49565.217.85.2.116.1498975379.webmail@webmail.zedat.fu-berlin.de> Poul Riis schrieb: > Graphics with PSTricks writes: >>give a _complete_ example! > Here is one (data file attached): > \documentclass{article} \usepackage[dvips,x11names]{pstricks} \usepackage{pst-plot} \makeatletter \def\psbar at iii{% newpath n 1 sub { /Yval exch def /Xval exch def 2 copy /YNext exch def Xval sub /DX exch def Xval 0 moveto % Start Point 0 YNext rlineto % relative move DX 0 rlineto 0 YNext neg rlineto DX neg 0 rlineto } repeat }% \makeatother \thispagestyle{empty} \begin{document} \readdata{\data}{../Downloads/simon.dat}%%%% my path \psset{xAxisLabel=Time (minutes), yAxisLabel=Load (W),xAxisLabelPos={c,-10},yAxisLabelPos={-5,c}}% \begin{psgraph}[axesstyle=frame,xticksize=0 110,yticksize=0 100,Dx=10,Dy=10,xsubticks=5,subticksize=1](0,0)(100,110){15cm}{11cm} \listplot[linecolor=Red1,fillcolor=Cornsilk1,fillstyle=solid, linewidth=0.1pt,plotstyle=bar,barwidth=0.4]{\data} \listplot[linecolor=Blue1, linewidth=2pt]{\data} \psline[arrows=->](0,0)(100,0) \psline[arrows=->](0,0)(0,110) \end{psgraph} \end{document} -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot 5.png Type: image/png Size: 105779 bytes Desc: not available URL: From poul.riis at skolekom.dk Mon Jul 3 10:56:07 2017 From: poul.riis at skolekom.dk (Poul Riis) Date: Mon, 03 Jul 2017 10:56:07 +0200 Subject: [pstricks] listplot In-Reply-To: <49565.217.85.2.116.1498975379.webmail@webmail.zedat.fu-berlin.de> References: <49565.217.85.2.116.1498975379.webmail@webmail.zedat.fu-berlin.de> Message-ID: Thank you so much indeed! Just one small comment: The option barwidth=0.4 seems not to be relevant here? And reminding on my more general question: How can I store the points from the data file in an array so that I can later refer to the (postscript) coordinates of point nr. i? Poul Riis -------------- next part -------------- An HTML attachment was scrubbed... URL: From A.Grahn at hzdr.de Mon Jul 3 12:03:07 2017 From: A.Grahn at hzdr.de (Alexander Grahn) Date: Mon, 3 Jul 2017 12:03:07 +0200 Subject: [pstricks] listplot In-Reply-To: References: <49565.217.85.2.116.1498975379.webmail@webmail.zedat.fu-berlin.de> Message-ID: <20170703100307.GA31351@hzdr.de> Paul, On Mon, Jul 03, 2017 at 10:56:07AM +0200, Poul Riis wrote: >And reminding on my more general question: How can I store the points from >the data file in an array so that I can later refer to the (postscript) >coordinates of point nr. i? to store the sixth data point from \data into the postscript object /sixth you may proceed as follows: \readdata{\data}{simon.dat} \pstVerb{ 1 dict begin /i 5 def %array indices are zero based /D {} def %locally neutralise data separator `D' [\data] [ exch dup i 2 mul get exch i 2 mul 1 add get ] end /sixth exch def sixth == %print to terminal } Alex > >Poul Riis From Herbert.Voss at FU-Berlin.DE Mon Jul 3 17:21:26 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 3 Jul 2017 17:21:26 +0200 Subject: [pstricks] listplot In-Reply-To: References: <49565.217.85.2.116.1498975379.webmail@webmail.zedat.fu-berlin.de> Message-ID: <44945.195.145.33.202.1499095286.webmail@webmail.zedat.fu-berlin.de> Poul Riis schrieb: > Just one small comment: The option barwidth=0.4 seems not to be relevant > here? > > And reminding on my more general question: How can I store the points from > the data file in an array so that I can later refer to the (postscript) > coordinates of point nr. i? The coordinates are saved in the PS array Points and can be used later if you put the array Points into the global dict and the number of points is n. The points are saved in the wrong order! \getCoor{8} will get the pair of x,y, counted from 1 It can easily be extended to \getxCoor . In the below example I marked three points by a cross Herbert \documentclass{article} \usepackage[dvips,x11names]{pstricks} \usepackage{pst-plot} \makeatletter \def\psbar at ii{\addto at pscode{startGlobal false \tx at NArray endGlobal \psbar at iii}} \def\psbar at iii{% newpath n 1 sub { /Yval exch def /Xval exch def 2 copy /YNext exch def Xval sub /DX exch def Xval 0 moveto % Start Point 0 YNext rlineto % relative move DX 0 rlineto 0 YNext neg rlineto DX neg 0 rlineto } repeat }% \let\UserCoor\tx at UserCoor \makeatother \def\getCoor#1{Points n #1 sub 2 mul get Points n #1 sub 2 mul 1 add get \UserCoor} \thispagestyle{empty} \begin{document} \readdata{\data}{../Downloads/simon.dat} \psset{xAxisLabel=Time (minutes), yAxisLabel=Load (W),xAxisLabelPos={c,-10},yAxisLabelPos={-5,c}}% \begin{psgraph}[axesstyle=frame,xticksize=0 110,yticksize=0 100,Dx=10,Dy=10,xsubticks=5,subticksize=1](0,0)(100,110){15cm}{11cm} \listplot[linecolor=Red1,fillcolor=Cornsilk1,fillstyle=solid, linewidth=0.1pt,plotstyle=bar,barwidth=0.4]{\data} \listplot[linecolor=Blue1, linewidth=2pt]{\data} \psline[arrows=->](0,0)(100,0) \psline[arrows=->](0,0)(0,110) % \multido{\iA=0+2}{35}{\psdot(!Points \iA\space 2 getinterval aload pop \UserCoor)} \psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{3} ) \psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{13} ) \psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{30} ) \end{psgraph} \end{document} -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot 6.png Type: image/png Size: 158310 bytes Desc: not available URL: From emilio at icm.csic.es Fri Aug 18 00:44:34 2017 From: emilio at icm.csic.es (EMILIO RAMON GARCIA LADONA) Date: Fri, 18 Aug 2017 00:44:34 +0200 Subject: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples Message-ID: <20170818004434.Horde.yIJ6-X0wUv9870XP6BUC6Q1@webmail.csic.es> Hi, I'm preparing a textbook that requires to include many graphics using pst-func package. In particular I'm trying to replicate the example given in chapter 6 of pst-func.doc about "\psSi,\pssi and \psCi" functions. There appears a problem when the "\psSi" and "\pssi" functions are included (see code below which is almost exactly to what appears in the doc). The code is compiled under the last texlive distribution and using the TeXworks GUI using the "tex-dvips-ps2pdf.bat" command. The error appears when running ps2pdf throwing a console message (see below) and fails to build a correct pdf. I will appreciate if somebody can explain me why and how can I circumvent it. I need to use many graphics using \psSi imperatively. Thanks ========== ERROR Message ================== Error: /undefinedresult in --div-- Operand stack: -206.282 #INF.0 35 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 2015 1 3 %oparray_pop 2014 1 3 %oparray_pop 1998 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- %loop_continue --nostringval-- Dictionary stack: --dict:1212/1684(ro)(G)-- --dict:0/20(G)-- --dict:165/200(L)-- --dict:185/300(L)-- --dict:38/200(L)-- --dict:125/200(L)-- --dict:53/100(L)-- Current allocation mode is local Current file position is 264398 GPL Ghostscript 9.21: Unrecoverable error, exit code 1 ========== CODE ============== \documentclass[12pt,a4paper]{book} \usepackage{mathtools, amssymb} \usepackage{pstricks} \usepackage{pstricks-add} \usepackage{pst-math} \usepackage{pst-func} \begin{document} \psset{xunit=0.5} \begin{pspicture}(-15,-4.5)(15,2) \psaxes[dx=1cm,Dx=2]{->}(0,0)(-15.1,-4)(15,2) \psplot[plotpoints=1000]{-14.5}{14.5}{x RadtoDeg sin x div} %\psSi[plotpoints=1500,linecolor=red,linewidth=1pt]{-14.5}{14.5} %\pssi[plotpoints=1500,linecolor=blue,linewidth=1pt]{-14.5}{14.5} \rput(-5,1.5){\color{red}$Si(x)=\int\limits_{0}^x\frac{\sin(t)}{t}dt$} \rput(8,-1.5){\color{blue}$si(x)=-\int\limits_{x}^{\infty} \frac{\sin(t)}{t}dt=Si(x)-\frac{\pi}{2}$} \rput(8,.5){$f(x)= \frac{\sin(t)}{t}$} \end{pspicture} \end{document} From Patrice.MEGRET at umons.ac.be Fri Aug 18 08:16:56 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Fri, 18 Aug 2017 06:16:56 +0000 Subject: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples In-Reply-To: <20170818004434.Horde.yIJ6-X0wUv9870XP6BUC6Q1@webmail.csic.es> References: <20170818004434.Horde.yIJ6-X0wUv9870XP6BUC6Q1@webmail.csic.es> Message-ID: Emilio, If you change the integration limits to -+12 instead of -+14.5, everything works perfectly. I suspect that you have some rounding effects or 0/0 that make ps error. By the way, \psplot[plotpoints=1000]{-12}{12}{x RadtoDeg sin x div} will give an error if x=0: if you try \psplot[plotpoints=21]{-10}{10}{x RadtoDeg sin x div} will have x=0 and an error. Best regards, Patrice \documentclass[12pt,a4paper]{book} \usepackage{mathtools, amssymb} \usepackage{pstricks} %\usepackage{pst-math} \usepackage{pst-func} %\usepackage{pstricks-add} \begin{document} \psset{xunit=0.5} \begin{pspicture}(-15,-4.5)(15,2) \psaxes[dx=1cm,Dx=2]{->}(0,0)(-15.1,-4)(15,2) \psplot[plotpoints=1000]{-12}{12}{x RadtoDeg sin x div} \psSi[plotpoints=1500,linecolor=red,linewidth=1pt]{-12}{12} \pssi[plotpoints=1500,linecolor=blue,linewidth=1pt]{-12}{12} \rput(-5,1.5){\color{red}$Si(x)=\int\limits_{0}^x\frac{\sin(t)}{t}dt$} \rput(8,-1.5){\color{blue}$si(x)=-\int\limits_{x}^{\infty} \frac{\sin(t)}{t}dt=Si(x)-\frac{\pi}{2}$} \rput(8,.5){$f(x)= \frac{\sin(t)}{t}$} \end{pspicture} \end{document} -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de EMILIO RAMON GARCIA LADONA Envoy??: vendredi 18 ao?t 2017 00:45 ??: pstricks at tug.org Objet?: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples Hi, I'm preparing a textbook that requires to include many graphics using pst-func package. In particular I'm trying to replicate the example given in chapter 6 of pst-func.doc about "\psSi,\pssi and \psCi" functions. There appears a problem when the "\psSi" and "\pssi" functions are included (see code below which is almost exactly to what appears in the doc). The code is compiled under the last texlive distribution and using the TeXworks GUI using the "tex-dvips-ps2pdf.bat" command. The error appears when running ps2pdf throwing a console message (see below) and fails to build a correct pdf. I will appreciate if somebody can explain me why and how can I circumvent it. I need to use many graphics using \psSi imperatively. Thanks ========== ERROR Message ================== Error: /undefinedresult in --div-- Operand stack: -206.282 #INF.0 35 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 2015 1 3 %oparray_pop 2014 1 3 %oparray_pop 1998 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- %loop_continue --nostringval-- Dictionary stack: --dict:1212/1684(ro)(G)-- --dict:0/20(G)-- --dict:165/200(L)-- --dict:185/300(L)-- --dict:38/200(L)-- --dict:125/200(L)-- --dict:53/100(L)-- Current allocation mode is local Current file position is 264398 GPL Ghostscript 9.21: Unrecoverable error, exit code 1 ========== CODE ============== \documentclass[12pt,a4paper]{book} \usepackage{mathtools, amssymb} \usepackage{pstricks} \usepackage{pstricks-add} \usepackage{pst-math} \usepackage{pst-func} \begin{document} \psset{xunit=0.5} \begin{pspicture}(-15,-4.5)(15,2) \psaxes[dx=1cm,Dx=2]{->}(0,0)(-15.1,-4)(15,2) \psplot[plotpoints=1000]{-14.5}{14.5}{x RadtoDeg sin x div} %\psSi[plotpoints=1500,linecolor=red,linewidth=1pt]{-14.5}{14.5} %\pssi[plotpoints=1500,linecolor=blue,linewidth=1pt]{-14.5}{14.5} \rput(-5,1.5){\color{red}$Si(x)=\int\limits_{0}^x\frac{\sin(t)}{t}dt$} \rput(8,-1.5){\color{blue}$si(x)=-\int\limits_{x}^{\infty} \frac{\sin(t)}{t}dt=Si(x)-\frac{\pi}{2}$} \rput(8,.5){$f(x)= \frac{\sin(t)}{t}$} \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 Fri Aug 18 09:04:22 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 18 Aug 2017 09:04:22 +0200 Subject: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples In-Reply-To: References: <20170818004434.Horde.yIJ6-X0wUv9870XP6BUC6Q1@webmail.csic.es> Message-ID: <2b472caf-2541-48d3-5bdf-06040fe179e5@FU-Berlin.DE> Am 18.08.2017 um 08:16 schrieb Patrice MEGRET: > If you change the integration limits to -+12 instead of -+14.5, everything works perfectly. > > I suspect that you have some rounding effects or 0/0 that make ps error. Yes, that maybe a problem with small values for plotpoints, but not for plotpoints=1000. However, it always wors for me. Herbert \listfiles \documentclass{minimal} \usepackage{pst-plot} \usepackage{pst-func} \begin{document} \psset{xunit=0.5,yunit=2} \begin{pspicture}(-15,-4.5)(15,2) \psaxes[Dx=2]{->}(0,0)(-15.1,-4)(15,2) \psplot[plotpoints=1000,algebraic]{-14.5}{14.5}{sin(x)/x} \psSi[plotpoints=1500,linecolor=red,linewidth=1pt]{-14.5}{14.5} \pssi[plotpoints=1500,linecolor=blue,linewidth=1pt]{-14.5}{14.5} \rput(-5,1.5){\textcolor{red}{$\displaystyle Si(x)=\int\limits_0^x\frac{\sin(t)}{t}dt$}} \rput(8,-1.5){\textcolor{blue}{$\displaystyle si(x)=-\int\limits_x^{\infty} \frac{\sin(t)}{t}dt=Si(x)-\frac{\pi}{2}$}} \rput(8,.7){$\displaystyle f(x)= \frac{\sin(t)}{t}$} \end{pspicture} \end{document} *File List* minimal.cls 2001/05/25 Standard LaTeX minimal class pst-plot.sty 2011/04/13 package wrapper for pst-plot.tex (hv) pstricks.sty 2017/03/17 v0.63 LaTeX wrapper for `PSTricks' (RN,HV) xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK) color.cfg 2016/01/02 v1.6 sample color configuration xetex.def 2017/06/24 v5.0h Graphics/color driver for xetex pstricks.tex 2017/06/15 v2.74 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2014/12/03 v2.7a package option processing (HA) xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) pst-fp.tex 2017/06/15 v2.74 `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-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 2017/05/23 1.80 `pst-plot' (tvz,hv) pst-func.sty 2013/06/03 package wrapper for pst-func.tex (hv) pst-func.tex 2017/08/03 v0.87 `PST-func' (hv) pst-func.pro 2014/05/07 v. 0.16, PostScript prologue file (hv) *********** -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-08-18 09-03-57.png Type: image/png Size: 38423 bytes Desc: not available URL: From Patrice.MEGRET at umons.ac.be Fri Aug 18 09:47:49 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Fri, 18 Aug 2017 07:47:49 +0000 Subject: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples In-Reply-To: <2b472caf-2541-48d3-5bdf-06040fe179e5@FU-Berlin.DE> References: <20170818004434.Horde.yIJ6-X0wUv9870XP6BUC6Q1@webmail.csic.es> <2b472caf-2541-48d3-5bdf-06040fe179e5@FU-Berlin.DE> Message-ID: Dear Herbert, I make an upgrade of my system but I still have Emilio's error on your minimal example. The only difference seems to be xetex for you an dvips for me. Best regards, Patrice *File List* minimal.cls 2001/05/25 Standard LaTeX minimal class pst-plot.sty 2011/04/13 package wrapper for pst-plot.tex (hv) pstricks.sty 2017/03/17 v0.63 LaTeX wrapper for `PSTricks' (RN,HV) xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK) color.cfg 2016/01/02 v1.6 sample color configuration dvips.def 2016/07/10 v3.1a Driver-dependent file (DPC,SPQR) pstricks.tex 2017/06/15 v2.74 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2014/12/03 v2.7a package option processing (HA) xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) pst-fp.tex 2017/06/15 v2.74 `PST-fp' (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 2017/05/22 1.79 `pst-plot' (tvz,hv) pst-func.sty 2013/06/03 package wrapper for pst-func.tex (hv) pst-func.tex 2017/08/03 v0.87 `PST-func' (hv) *********** UMONS __________________________________________________________ Prof. Dr Ir Patrice M?gret Universit? de Mons - University of Mons Facult? Polytechnique - Faculty of Engineering Head of Electromagnetism and Telecommunication Department Boulevard Dolez 31 7000 Mons Belgium +32(0)65/37.41.91 (direct) +32(0)65/37.41.47 (secretary) +32(0)65/37.41.99 (fax) Site web telecom Staff Page personnelle __________________________________________________________ -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: vendredi 18 ao?t 2017 09:04 ??: pstricks at tug.org Objet?: Re: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples *File List* minimal.cls 2001/05/25 Standard LaTeX minimal class pst-plot.sty 2011/04/13 package wrapper for pst-plot.tex (hv) pstricks.sty 2017/03/17 v0.63 LaTeX wrapper for `PSTricks' (RN,HV) xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK) color.cfg 2016/01/02 v1.6 sample color configuration xetex.def 2017/06/24 v5.0h Graphics/color driver for xetex pstricks.tex 2017/06/15 v2.74 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2014/12/03 v2.7a package option processing (HA) xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) pst-fp.tex 2017/06/15 v2.74 `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-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 2017/05/23 1.80 `pst-plot' (tvz,hv) pst-func.sty 2013/06/03 package wrapper for pst-func.tex (hv) pst-func.tex 2017/08/03 v0.87 `PST-func' (hv) pst-func.pro 2014/05/07 v. 0.16, PostScript prologue file (hv) *********** From Herbert.Voss at FU-Berlin.DE Fri Aug 18 10:14:44 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 18 Aug 2017 10:14:44 +0200 Subject: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples In-Reply-To: References: <20170818004434.Horde.yIJ6-X0wUv9870XP6BUC6Q1@webmail.csic.es> <2b472caf-2541-48d3-5bdf-06040fe179e5@FU-Berlin.DE> Message-ID: Am 18.08.2017 um 09:47 schrieb Patrice MEGRET: > I make an upgrade of my system but I still have Emilio's error on your minimal example. > > The only difference seems to be xetex for you an dvips for me. Dear Patrice, do you have MikTeX or TeXLive? Herbert From Patrice.MEGRET at umons.ac.be Fri Aug 18 11:13:57 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Fri, 18 Aug 2017 09:13:57 +0000 Subject: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples In-Reply-To: References: <20170818004434.Horde.yIJ6-X0wUv9870XP6BUC6Q1@webmail.csic.es> <2b472caf-2541-48d3-5bdf-06040fe179e5@FU-Berlin.DE> Message-ID: Dear Herbert, I used TexLive patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: vendredi 18 ao?t 2017 10:15 ??: pstricks at tug.org Objet?: Re: [pstricks] Ghostscript (or PostScript) errors reproducing pst-func examples Am 18.08.2017 um 09:47 schrieb Patrice MEGRET: > I make an upgrade of my system but I still have Emilio's error on your minimal example. > > The only difference seems to be xetex for you an dvips for me. Dear Patrice, do you have MikTeX or TeXLive? Herbert _______________________________________________ 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 Tue Aug 22 09:07:26 2017 From: poul.riis at skolekom.dk (Poul Riis) Date: Tue, 22 Aug 2017 09:07:26 +0200 Subject: [pstricks] psPrintValueNew, rightadjust numbers Message-ID: How can I rightadjust numbers with psPrintValueNew in the project below (table of some pythagorean triples)? Poul Riis Minimal version: \documentclass{article} \usepackage[danish]{babel} \usepackage[dvips,x11names]{xcolor} \usepackage{pstricks-add} \usepackage{multido} \usepackage[dvips,left=2.5cm,top=1.5cm,right=1.5cm,bottom=2cm]{geometry} \thispagestyle{empty} \begin{document} \begin{pspicture}(0,-10)(16,0.5) \pstVerb{/aa 40 def /bb 9 def /cc 41 def} \uput{0pt}[0]{0}(0,0){$(\psPrintValueNew[PSfont=Palatino-Roman,round,fontscale=9,linecolor=Gold4]{aa}$\hspace{1.3em},\hspace{0.2em}$\psPrintValueNew[PSfont=Palatino-Roman,round,fontscale=9,linecolor=Gold4]{bb}$\hspace{1.3em},\hspace{0.2em}$\psPrintVa lueNew[PSfont=Palatino-Roman,round,fontscale=9,linecolor=Gold4]{cc}$\hspace{1.3em})}% \end{pspicture} \end{document} More elaborated version just to show what I intend to do: \documentclass{article} \usepackage[danish]{babel} \usepackage[dvips,x11names]{xcolor} \usepackage{pstricks-add} \usepackage{multido} \usepackage[dvips,left=2.5cm,top=1.5cm,right=1.5cm,bottom=2cm]{geometry} \thispagestyle{empty} \begin{document} \newcounter{nnp} \begin{pspicture}(0,-10)(16,0.5) \uput{0pt}[0]{0}(0.5,0){\color{Red1}$q$} \uput{0pt}[0]{0}(0,-0.5){\color{Blue1}$p$} \multido{\nm=1+1}{8}{\uput{0pt}[0]{0}(!\nm\space 1 sub 2.1 mul 1.8 add 0.05 neg ){\psPrintValueNew[PSfont=Palatino-Roman,round,fontscale=10,linecolor=Red1]{\nm\space}}}% \multido{\np=2+1}{8}{% \uput{0pt}[0]{0}(!0 \np\space 2 sub neg 0.5 mul 1.1 sub){% \psPrintValueNew[PSfont=Palatino-Roman,round,fontscale=10,linecolor=Blue1]{\np\space}}% \setcounter{nnp}{\np}% \addtocounter{nnp}{-1}% \multido{\nq=1+1}{\value{nnp}}{% \pstVerb{/aa \np\space \nq\space mul 2 mul def /bb \np\space dup mul \nq\space dup mul sub def /cc \np\space dup mul \nq\space dup mul add def }% \uput{0pt}[0]{0}(!\nq\space 1 sub 2.1 mul 1 add \np\space 2 sub neg 0.5 mul 1 sub){ $(\psPrintValueNew[PSfont=Palatino-Roman,round,fontscale=9,linecolor=Gold4]{aa}$\hspace{1.3em},\hspace{0.2em}$\psPrintValueNew[PSfont=Palatino-Roman,round,fontscale=9,linecolor=Gold4]{bb}$\hspace{1.3em},\hspace{0.2em}$\psPrintValueNew[PSfont= Palatino-Roman,round,fontscale=9,linecolor=Gold4]{cc}$\hspace{1.3em})}% }% }% \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Patrice.MEGRET at umons.ac.be Sat Aug 26 10:38:35 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Sat, 26 Aug 2017 08:38:35 +0000 Subject: [pstricks] yLabels={...} problem is psgraph Message-ID: Dear Herbert, I have a small problem with yLabels:={...} when the y coordinate in the psgraph environment is not an integer, the yLabels are not correctly displayed. Below is an example \begin{psgraph}...(9,2){8cm}{7cm} is correct but \begin{psgraph}...(9,2.3){8cm}{7cm} is not correct. Same problem with non-integer x axis and xLabels. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{pstricks} \usepackage{pst-plot} \usepackage{pstricks-add} \begin{document} \psset{llx=-1.5cm,lly=-0.7cm,ury=0.7cm,mathLabel=false,xAxisLabel={},yAxisLabel={?nergie },yAxisLabelPos={-1.2cm,c},xyDecimals=1,labelFontSize=\scriptsize} \begin{psgraph*}[Dy=1,labels=none,ticks=y,yLabels={0,1,6}]{->}(0,0)(9,2.3){8cm}{7cm} \end{psgraph*} \psset{llx=-1.5cm,lly=-0.7cm,ury=0.7cm,mathLabel=false,xAxisLabel={},yAxisLabel={?nergie },yAxisLabelPos={-1.2cm,c},xyDecimals=1,labelFontSize=\scriptsize} \begin{psgraph*}[Dy=1,labels=none,ticks=y,yLabels={0,1,6}]{->}(0,0)(9,2){8cm}{7cm} \end{psgraph*} \end{document} Best regards, Patrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sat Aug 26 11:21:24 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 26 Aug 2017 11:21:24 +0200 Subject: [pstricks] yLabels={...} problem is psgraph In-Reply-To: References: Message-ID: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> Patrice MEGRET schrieb: > I have a small problem with yLabels:={...} when the y coordinate in the > psgraph environment is not an integer, the yLabels are not correctly > displayed. > Below is an example \begin{psgraph}...(9,2){8cm}{7cm} is correct but > \begin{psgraph}...(9,2.3){8cm}{7cm} is not correct. Same problem with > non-integer x axis and xLabels. Patrice, use it this way: \documentclass{article} \usepackage{pstricks-add} \begin{document} \psset{llx=-1.5cm,lly=-0.7cm,ury=0.7cm,mathLabel=false,xAxisLabel={}, yAxisLabel={?nergie},yAxisLabelPos={-1.2cm,c}, xyDecimals=1,labelFontSize=\scriptsize} \begin{psgraph*}[labels=none,ticks=none]{->}(0,0)(9,2.3){8cm}{7cm} \psaxes[yAxis,ticks=y,xAxis=false,yLabels={0,1,6}](0,2) \end{psgraph*} \end{document} Herbert From Patrice.MEGRET at umons.ac.be Sat Aug 26 12:29:19 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Sat, 26 Aug 2017 10:29:19 +0000 Subject: [pstricks] yLabels={...} problem is psgraph In-Reply-To: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> References: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> Message-ID: Dear Herbert, Thanks. It is effectively a way to get rid of the problem. Does it mean that yLabels, ... will never work when x,y axes are not integer values? Best regards, Patrice From Herbert.Voss at FU-Berlin.DE Sat Aug 26 12:59:16 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 26 Aug 2017 12:59:16 +0200 Subject: [pstricks] yLabels={...} problem is psgraph In-Reply-To: References: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> Message-ID: <51892.79.237.251.170.1503745156.webmail@webmail.zedat.fu-berlin.de> Patrice MEGRET schrieb: > It is effectively a way to get rid of the problem. > > Does it mean that yLabels, ... will never work when x,y axes are not > integer values? Dear Patrice, in the near future I have no time to look at this code. Herbert From Patrice.MEGRET at umons.ac.be Sat Aug 26 16:22:31 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Sat, 26 Aug 2017 14:22:31 +0000 Subject: [pstricks] yLabels={...} problem is psgraph In-Reply-To: <51892.79.237.251.170.1503745156.webmail@webmail.zedat.fu-berlin.de> References: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> <51892.79.237.251.170.1503745156.webmail@webmail.zedat.fu-berlin.de> Message-ID: Dear Herbert, No problem, I will use the clue. I was nevertheless curious that it was working with version 1.75 of pst-plot. By comparing the code, I think that the problem is on lines 2391 and 2436 of version 1.79: \multido{\nA=0+1,\rA=#3+\psk at Dx}{\numexpr#4-#3+1}{\uput{\psxlabelsep}[\pst at tempC]{\pst at xLabelsRot}(\rA,0){% \multido{\nA=0+1,\rA=#3+\psk at Dy}{\numexpr#4-#3+1}{\uput{\psylabelsep}[180]{\pst at yLabelsRot}(0,\rA){% Because \numexpr does not work properly when #3 or #4 are not integer. Best regards, Patrice From Patrice.MEGRET at umons.ac.be Mon Aug 28 18:04:55 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Mon, 28 Aug 2017 16:04:55 +0000 Subject: [pstricks] cspline prroblem Message-ID: Dear list, There is a small problem with cspline curve fitting from pst-plot: the cubic spline curve shows a discontinuity at point (514,0) but for a cubic spline the curve and its slope should be continuous. Do you have the same behavior? Best regards, Patrice \documentclass{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} %\usepackage[french]{babel} \usepackage{filecontents} \usepackage{pst-plot} \begin{document} \begin{filecontents*}{datatestspline.dat} 0, 0 214, 2 480, 0.1 514, 0 600, 1 625, 4 640, 0.5 656, 1 700, 0 \end{filecontents*} \readdata{\pmtest}{datatestspline.dat} \begin{psgraph}[Dy=1,Dx=200,ticks=x,labels=x]{->}(0,0)(850,4.5){6cm}{5cm} \listplot[showpoints=true,linecolor=orange,plotstyle=cspline]{\pmtest} % \end{psgraph} \end{document} UMONS __________________________________________________________ Prof. Dr Ir Patrice M?gret Universit? de Mons - University of Mons Facult? Polytechnique - Faculty of Engineering Head of Electromagnetism and Telecommunication Department Boulevard Dolez 31 7000 Mons Belgium +32(0)65/37.41.91 (direct) +32(0)65/37.41.47 (secretary) +32(0)65/37.41.99 (fax) Site web telecom Staff Page personnelle __________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: testspline.pdf Type: application/pdf Size: 6479 bytes Desc: testspline.pdf URL: From usenet at bersch.net Mon Aug 28 23:15:59 2017 From: usenet at bersch.net (Christoph Bersch) Date: Mon, 28 Aug 2017 22:15:59 +0100 Subject: [pstricks] cspline prroblem In-Reply-To: Message-ID: <0fb6fe65-19a7-4fb5-bec6-b025111fe91b@email.android.com> An HTML attachment was scrubbed... URL: From Patrice.MEGRET at umons.ac.be Tue Aug 29 07:53:26 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Tue, 29 Aug 2017 05:53:26 +0000 Subject: [pstricks] cspline prroblem In-Reply-To: <0fb6fe65-19a7-4fb5-bec6-b025111fe91b@email.android.com> References: <0fb6fe65-19a7-4fb5-bec6-b025111fe91b@email.android.com> Message-ID: Dear Christoph, No problem. I should also take some time to look into the code but I was also too busy. Best regards, Patrice -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Tue Aug 29 09:12:23 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 29 Aug 2017 09:12:23 +0200 Subject: [pstricks] yLabels={...} problem is psgraph In-Reply-To: References: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> <51892.79.237.251.170.1503745156.webmail@webmail.zedat.fu-berlin.de> Message-ID: Am 26.08.2017 um 16:22 schrieb Patrice MEGRET: > No problem, I will use the clue. > > I was nevertheless curious that it was working with version 1.75 of pst-plot. > > By comparing the code, I think that the problem is on lines 2391 and 2436 of version 1.79: > > \multido{\nA=0+1,\rA=#3+\psk at Dx}{\numexpr#4-#3+1}{\uput{\psxlabelsep}[\pst at tempC]{\pst at xLabelsRot}(\rA,0){% > > \multido{\nA=0+1,\rA=#3+\psk at Dy}{\numexpr#4-#3+1}{\uput{\psylabelsep}[180]{\pst at yLabelsRot}(0,\rA){% > > Because \numexpr does not work properly when #3 or #4 are not integer. Patrice, please try http://comedy.dante.de/~herbert/texnik/tex/generic/pst-plot/pst-plot.tex Herbert From Patrice.MEGRET at umons.ac.be Wed Aug 30 15:28:16 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Wed, 30 Aug 2017 13:28:16 +0000 Subject: [pstricks] yLabels={...} problem is psgraph In-Reply-To: References: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> <51892.79.237.251.170.1503745156.webmail@webmail.zedat.fu-berlin.de> Message-ID: Dear Herbert, This version has still problems when: * Dx,Dy are not equal to 1 * (x1,y1)(x2,y2) if x1 or y1 is less than -1 *(x1,y1)(x2,y2) if x2 or y2 is more negative than x1, y1 Please find enclosed a modified version of the code that should work for every combinations of Dx,Dy, x1,y1,x2,y2. Best regards, Patrice -------------- next part -------------- A non-text attachment was scrubbed... Name: pst-plot_modified.tex Type: application/x-tex Size: 105680 bytes Desc: pst-plot_modified.tex URL: From Herbert.Voss at FU-Berlin.DE Wed Aug 30 19:25:59 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 30 Aug 2017 19:25:59 +0200 Subject: [pstricks] yLabels={...} problem is psgraph In-Reply-To: References: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> <51892.79.237.251.170.1503745156.webmail@webmail.zedat.fu-berlin.de> Message-ID: Am 30.08.2017 um 15:28 schrieb Patrice MEGRET: > This version has still problems when: Dear Patrice, I see. > * Dx,Dy are not equal to 1 but where is the sense to use these arguments when having \xLabels? > > * (x1,y1)(x2,y2) if x1 or y1 is less than -1 > > *(x1,y1)(x2,y2) if x2 or y2 is more negative than x1, y1 > > > Please find enclosed a modified version of the code that should work for every combinations of Dx,Dy, x1,y1,x2,y2. \multido{\nA=0+1,\rA=0+\psk at Dx}{\pst at pmtempe}{% \ifdim \nA pt < \z@ \def\nB{-\nA} \else \def\nB{\nA} \fi \uput{\psxlabelsep}[\pst at tempC]{\pst at xLabelsRot}(\rA,0){% \strut\expandafter\pshlabel\expandafter{\psPutXLabel{\nB}}}}% what is the meaning of "\nA pt < \z@"? \nA is by default a natural number and cannot be negativ. Maybe you mean "\rA pt < \z@"?? Herbert From Patrice.MEGRET at umons.ac.be Thu Aug 31 13:32:18 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Thu, 31 Aug 2017 11:32:18 +0000 Subject: [pstricks] yLabels={...} problem is psgraph In-Reply-To: References: <51324.79.237.251.170.1503739284.webmail@webmail.zedat.fu-berlin.de> <51892.79.237.251.170.1503745156.webmail@webmail.zedat.fu-berlin.de> Message-ID: Dear Herbert, I agree that Dy or Dx different from 1 is strange in that case, but is easy to that into account as it was the case in previous version of pst-plot (version 1.75 for example). The only advantage of Dx/Dy would be to increase the number ticks while still working in cm. If you keep Dx=Dy=1, you should change psunit to accomodate the number of ticks in a A4paper of example. Concerning \nA: yes it is an integer but as the max #4 is x2(y2) and the min #3 is x1(y1), the number of steps in \multido is positive if max>min and negative if min>max (it was already the case if the previous pst-plot version) ==> \rA is decreasing by steps of \psk at Dx and \nA is also decreasing by step of 1 and becomes negative but \psPutXlabels{} seems to work like a list with a positive index only from 0 to number of steps, so \nA should be a positive integer. The purpose of the test is just to take the absolute value of\nA. May the code could be optimize but I am not expert in Tex programming. Here is an example to compile with various pst-plot versions to see what going on when the y1 is negative (but < y2) as in \psaxes(0,-2)(5,3.2) or y2 more negative than y1 as in \psaxes(0,0)(5,-5) \documentclass{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{pst-plot} \begin{document} \psset{Dy=0.5} \begin{verbatim} \begin{pspicture}(-6,-2)(6,5) \psaxes[yLabels={A,B,C,D,E,F,G,H,I,J,K},xLabels={A,B,C,D,E,F,G,H,I,J,K}](0,-2)(5,3.2) \end{pspicture} \end{verbatim} \begin{pspicture}(-6,-2)(6,5) \psaxes[yLabels={A,B,C,D,E,F,G,H,I,J,K},xLabels={A,B,C,D,E,F,G,H,I,J,K}](0,-2)(5,3.2) \end{pspicture} \begin{verbatim} \begin{pspicture}(-6,-5)(6,0) \psaxes[yLabels={A,B,C,D,E,F,G,H,I,J,K},xLabels={A,B,C,D,E,F,G,H,I,J,K}](0,0)(5,-5) \end{pspicture} \end{verbatim} \begin{pspicture}(-6,-4)(6,2) \psaxes[yLabels={A,B,C,D,E,F,G,H,I,J,K},xLabels={A,B,C,D,E,F,G,H,I,J,K}](0,0)(5,-5) \end{pspicture} \end{document} Patrice -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss Envoy??: mercredi 30 ao?t 2017 19:26 ??: pstricks at tug.org Objet?: Re: [pstricks] yLabels={...} problem is psgraph Am 30.08.2017 um 15:28 schrieb Patrice MEGRET: > This version has still problems when: Dear Patrice, I see. > * Dx,Dy are not equal to 1 but where is the sense to use these arguments when having \xLabels? > > * (x1,y1)(x2,y2) if x1 or y1 is less than -1 > > *(x1,y1)(x2,y2) if x2 or y2 is more negative than x1, y1 > > > Please find enclosed a modified version of the code that should work for every combinations of Dx,Dy, x1,y1,x2,y2. \multido{\nA=0+1,\rA=0+\psk at Dx}{\pst at pmtempe}{% \ifdim \nA pt < \z@ \def\nB{-\nA} \else \def\nB{\nA} \fi \uput{\psxlabelsep}[\pst at tempC]{\pst at xLabelsRot}(\rA,0){% \strut\expandafter\pshlabel\expandafter{\psPutXLabel{\nB}}}}% what is the meaning of "\nA pt < \z@"? \nA is by default a natural number and cannot be negativ. Maybe you mean "\rA pt < \z@"?? 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: testylabels2_modified.pdf Type: application/pdf Size: 14897 bytes Desc: testylabels2_modified.pdf URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: testylabels2_1_83.pdf Type: application/pdf Size: 13993 bytes Desc: testylabels2_1_83.pdf URL: From denis.verges at wanadoo.fr Sat Sep 2 10:55:06 2017 From: denis.verges at wanadoo.fr (=?utf-8?Q?Denis_Verg=C3=A8s?=) Date: Sat, 2 Sep 2017 10:55:06 +0200 Subject: [pstricks] PostScript numbers Message-ID: Hello, In this code : %%%%%%%%% \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{fp} \usepackage{pstricks,pst-all,pst-func,pst-plot,pstricks-add} \begin{document} \newcommand\f[1]{#1 2 exp 4 div} \newcommand\ordon[1]{\psdots(!#1 \space \f{#1}) \uput[90](!#1 \space \f{#1})% {\psPrintValue{\f{#1} 1000 mul round 1000 div}}} \begin{center} %\psset{comma=true] \begin{pspicture}(-2,-1)(5,8) \psaxes{->}(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180] \psplot[linecolor=red]{-2}{5}{\f{x}} \multido{\i=-2+2}{4}{ \ordon{\i}} \ordon{3.5} \end{pspicture} \end{center} \end{document} %%%%%%%%%% (!#1 \space \f(#1)) are the coordinate in PostScript notation. How can I transforme this numbers in cartesian coordinate for write this numbers in french notation with the comma decimal separator ans possibility to use \np{}. Thanks Denis From Herbert.Voss at FU-Berlin.DE Sat Sep 2 15:50:21 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 2 Sep 2017 15:50:21 +0200 Subject: [pstricks] PostScript numbers In-Reply-To: References: Message-ID: <63d4e0e0-23d6-c86f-44c2-7756cb3f3119@FU-Berlin.DE> Am 02.09.2017 um 10:55 schrieb Denis Verg?s: > Hello, > > In this code : > > %%%%%%%%% > \documentclass[12pt]{article} > \usepackage[T1]{fontenc} > \usepackage[utf8]{inputenc} > \usepackage{fp} > \usepackage{pstricks,pst-all,pst-func,pst-plot,pstricks-add} > \begin{document} > \newcommand\f[1]{#1 2 exp 4 div} > \newcommand\ordon[1]{\psdots(!#1 \space \f{#1}) > \uput[90](!#1 \space \f{#1})% > {\psPrintValue{\f{#1} 1000 mul round 1000 div}}} Denis, do you mean something like this? \psPrintValue[comma]{...} > %\psset{comma=true] this should be \psset{comma=true} However, here is a solution with the algebraic mode: \documentclass[12pt]{article} \usepackage{pstricks,pst-plot} \begin{document} \newcommand*\f[1]{(#1)^2/4} \newcommand*\ordon[1]{\psdots(*#1 \f{#1})% \uput[90](*#1 \f{#1}){\psPrintValue[algebraic,comma,decimals=3]{#1,\f{#1}}}} \begin{center} \begin{pspicture}(-2,-1)(5,8) \psaxes{->}(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180] \psplot[linecolor=red,algebraic]{-2}{5}{\f{x}} \multido{\i=-2+2}{4}{ \ordon{\i}} \ordon{3.5} \end{pspicture} \end{center} \end{document} Herbert From denis.verges at wanadoo.fr Sun Sep 3 21:03:09 2017 From: denis.verges at wanadoo.fr (=?utf-8?Q?Denis_Verg=C3=A8s?=) Date: Sun, 3 Sep 2017 21:03:09 +0200 Subject: [pstricks] PSTricks Digest, Vol 175, Issue 2 In-Reply-To: References: Message-ID: <11326345-FDFC-4217-9518-59042BC007A9@wanadoo.fr> Sorry but if %%%%%%%%%%% \documentclass[12pt]{article} \usepackage{pstricks,pst-plot,pst-func} \newcommand\ordon[1]{% \psdots(!#1 \space \f{#1}) \uput[90](!#1 \space \f{#1})% {\psPrintValue[comma]{\f{#1} 100 mul round 100 div}}} \begin{document} \begin{center} \begin{pspicture}(-2,-1)(5,8) \newcommand\f[1]{#1 2 exp 4 div} \psaxes[ticksize=-.1 .1,subticks=2]{->}% (0,0)(-2,-1)(5,7)[$x$,-90][$y$,180] \psplot[linecolor=red]{-2}{5}{\f{x}} \multido{\i=-2+2}{4}{ \ordon{\i}} \ordon{3.5} \end{pspicture} \end{center} \end{document} %%%%%%%%% works fine the code of Herbert don?t compile : In the console : Missing $ inserted l.12 \multido{\i=-2+2}{4}{\ordon{\i}} and after run I have : %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop 1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push Dictionary stack: --dict:1163/1684(ro)(G)-- --dict:0/20(G)-- --dict:113/200(L)-- --dict:183/300(L)-- --dict:38/200(L)-- --dict:122/200(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 161120 GPL Ghostscript 9.07: Unrecoverable error, exit code 1 ### FAILED to generate /tmp/altpdflatex.3793-1504465091/antecedentimageH.Voss.pdf () Where is the problem ? Thanks for the quick answer. Denis > Le 3 sept. 2017 ? 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: PostScript numbers (Herbert Voss) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 2 Sep 2017 15:50:21 +0200 > From: Herbert Voss > To: pstricks at tug.org > Subject: Re: [pstricks] PostScript numbers > Message-ID: <63d4e0e0-23d6-c86f-44c2-7756cb3f3119 at FU-Berlin.DE> > Content-Type: text/plain; charset=utf-8; format=flowed > > Am 02.09.2017 um 10:55 schrieb Denis Verg?s: >> Hello, >> >> In this code : >> >> %%%%%%%%% >> \documentclass[12pt]{article} >> \usepackage[T1]{fontenc} >> \usepackage[utf8]{inputenc} >> \usepackage{fp} >> \usepackage{pstricks,pst-all,pst-func,pst-plot,pstricks-add} >> \begin{document} >> \newcommand\f[1]{#1 2 exp 4 div} >> \newcommand\ordon[1]{\psdots(!#1 \space \f{#1}) >> \uput[90](!#1 \space \f{#1})% >> {\psPrintValue{\f{#1} 1000 mul round 1000 div}}} > > Denis, > do you mean something like this? > \psPrintValue[comma]{...} > >> %\psset{comma=true] > > this should be \psset{comma=true} > > However, here is a solution with the algebraic mode: > > \documentclass[12pt]{article} > \usepackage{pstricks,pst-plot} > \begin{document} > \newcommand*\f[1]{(#1)^2/4} > \newcommand*\ordon[1]{\psdots(*#1 \f{#1})% > \uput[90](*#1 > \f{#1}){\psPrintValue[algebraic,comma,decimals=3]{#1,\f{#1}}}} > \begin{center} > \begin{pspicture}(-2,-1)(5,8) > \psaxes{->}(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180] > \psplot[linecolor=red,algebraic]{-2}{5}{\f{x}} > \multido{\i=-2+2}{4}{ \ordon{\i}} > \ordon{3.5} > \end{pspicture} > \end{center} > \end{document} > > Herbert > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > > > ------------------------------ > > End of PSTricks Digest, Vol 175, Issue 2 > **************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Sep 3 21:14:51 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 3 Sep 2017 21:14:51 +0200 Subject: [pstricks] PSTricks Digest, Vol 175, Issue 2 In-Reply-To: <11326345-FDFC-4217-9518-59042BC007A9@wanadoo.fr> References: <11326345-FDFC-4217-9518-59042BC007A9@wanadoo.fr> Message-ID: Am 03.09.2017 um 21:03 schrieb Denis Verg?s: > In the console : Missing $ inserted > l.12 \multido{\i=-2+2}{4}{\ordon{\i}} put \listfiles into your test document and compare the filelist, which is at the end of the logfile *File List* article.cls 2014/09/29 v1.4h Standard LaTeX document class size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option) pstricks.sty 2017/03/17 v0.63 LaTeX wrapper for `PSTricks' (RN,HV) iftex.sty 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX, and LuaTeX shellesc.sty 2016/06/07 v0.02a unified shell escape interface for LaTeX xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK) color.cfg 2016/01/02 v1.6 sample color configuration xetex.def 2017/06/24 v5.0h Graphics/color driver for xetex pstricks.tex 2017/08/24 v2.75 `PSTricks' (tvz,hv) pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) xkeyval.sty 2014/12/03 v2.7a package option processing (HA) xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) pst-fp.tex 2017/08/24 v2.75 `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 2017/08/31 1.84 `pst-plot' (tvz,hv) *********** Herbert From germain.boyer at ac-toulouse.fr Wed Sep 6 17:12:16 2017 From: germain.boyer at ac-toulouse.fr (Germain Boyer) Date: Wed, 06 Sep 2017 17:12:16 +0200 Subject: [pstricks] PSTricks Digest, Vol 175, Issue 3 In-Reply-To: References: Message-ID: Hello, In the code of Herbert \documentclass[12pt]{article} \usepackage{pstricks,pst-plot} \begin{document} \newcommand*\f[1]{(#1)^2/4} \newcommand*\ordon[1]{\psdots(*#1 \f{#1})% \uput[90](*#1 \f{#1}){\psPrintValue[algebraic,comma,decimals=3]{#1,\f{#1}}}} \begin{center} \begin{pspicture}(-2,-1)(5,8) \psaxes{->}(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180] \psplot[linecolor=red,algebraic]{-2}{5}{\f{x}} \multido{\i=-2+2}{4}{ \ordon{\i}} \ordon{3.5} \end{pspicture} \end{center} \end{document} replace \usepackage{pstricks,pst-plot} by \usepackage{pst-eucl,pst-plot} and it works. \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{fourier} \usepackage{pst-plot} \usepackage{pst-eucl} \begin{document} \newcommand*\f[1]{(#1)^2/4} \newcommand*{\ordon}[1]{\psdots(*#1 \f{#1})% \uput[90](*#1 \f{#1}){\psPrintValue[algebraic,comma,decimals=3]{#1,\f{#1}}}}\begin{center} \begin{pspicture}(-2,-1)(5,8) \psaxes{->}(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180] \psplot[linecolor=red,algebraic]{-2}{5}{\f{x}} \multido{\i=-2+2}{4}{ \ordon{\i}} \ordon{3.5} \end{pspicture} \end{center} \end{document} Germain From halbard7 at aol.com Mon Sep 18 00:29:50 2017 From: halbard7 at aol.com (halbard7 at aol.com) Date: Sun, 17 Sep 2017 18:29:50 -0400 Subject: [pstricks] Error when compiling documents with latest pstricks.pro Message-ID: <15e91f64650-c05-2b64@webjas-vad094.srv.aolmail.net> Dear Herbert, The addition of pst at angleunit to the /PtoC routine in the pstricks.pro 1.25 (the only code change as far as I can see) causes my compilations to throw errors in yap and gsview in certain cases. Rolling back to v1.24 makes these errors disappear. Is this a bug, or do I need to update other files? Gerry -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Sep 18 07:26:49 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 18 Sep 2017 07:26:49 +0200 Subject: [pstricks] Error when compiling documents with latest pstricks.pro In-Reply-To: <15e91f64650-c05-2b64@webjas-vad094.srv.aolmail.net> References: <15e91f64650-c05-2b64@webjas-vad094.srv.aolmail.net> Message-ID: <50881.87.144.118.217.1505712409.webmail@webmail.zedat.fu-berlin.de> halbard7 at aol.com schrieb: > The addition of pst at angleunit to the /PtoC routine in the pstricks.pro > 1.25 (the only code change as far as I can see) causes my compilations to > throw errors in yap and gsview in certain cases. Rolling back to v1.24 > makes these errors disappear. Is this a bug, or do I need to update other > files? Gerry, I need an example with \listfiles and the log file Herbert From halbard7 at aol.com Mon Sep 18 12:59:25 2017 From: halbard7 at aol.com (halbard7 at aol.com) Date: Mon, 18 Sep 2017 06:59:25 -0400 Subject: [pstricks] Error when compiling documents with latest pstricks.pro Message-ID: <15e94a48e1e-c0a-3ad@webjas-vab159.srv.aolmail.net> Dear Herbert, As requested, a log file. This problem appears to be more subtle than I thought. In an attempt to reduce the file size, I removed all file content before the offending pages. Lo and behold, the problem disappeared (v1.25). I put the content back, and the dreaded yapping of "This page could not be rendered" returned. None of this happens with v1.24 present in the files folder. What's going on? I've noticed something else: \listfiles only shows pstricks.pro present when it's in the same folder as the document (the generated ps file shows that the .pro file is loaded either way.) However, if I put pstricks.pro v1.24 in the same folder as my document, listfiles shows v1.25 loaded. Again I ask, what???? Gerry ############# MiKTeX yap.exe error notice ############# MiKTeX Problem Report Message: The page could not be rendered. Data: Source: Libraries\MiKTeX\Dvi\DviPage.cpp Line: 752 MiKTeX: 2.9 OS: Windows 7 Ultimate, 64-bit, Service Pack 1, build 7601 Invokers: explorer/XYplorer SystemAdmin: yes PowerUser: no Root0: g:\localtexmf Root1: G:\#Modules\Math2017\LaTeX Root2: G:\local.my Root3: G:\MiKTeX Root4: C:\ProgramData\MiKTeX\2.9 Root5: C:\Program Files\MiKTeX 2.9 UserInstall: G:\MiKTeX UserConfig: g:\localtexmf UserData: g:\localtexmf CommonInstall: C:\Program Files\MiKTeX 2.9 CommonConfig: C:\ProgramData\MiKTeX\2.9 CommonData: C:\ProgramData\MiKTeX\2.9 ############# \listfiles output with pstricks.pro *NOT* in the file's folder ############# This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6400 64-bit) (preloaded format=latex 2017.9.17)? 18 SEP 2017 11:33 entering extended mode **"K:/TEMP/C402 Integration 1/C402_integration1.tex" ("K:/TEMP/C402 Integration 1/C402_integration1.tex" LaTeX2e <2017-04-15> .... ### lines omitted ### .... ?*File List* ? memoir.cls??? 2013/05/30 v3.7b configurable book, report, article document cl ass ?? ifpdf.sty??? 2017/03/15 v3.2 Provides the ifpdf switch ? ifetex.sty??? 2011/12/15 v1.2 ifetex ?ifxetex.sty??? 2010/09/12 v0.6 Provides ifxetex conditional ifluatex.sty??? 2016/05/16 v1.4 Provides the ifluatex switch (HO) ?? leqno.clo??? 2016/12/29 v1.2a Standard LaTeX option (left equation numbers) ??? etex.sty??? 2016/08/01 v2.7 eTeX basic definition package (PEB,DPC) ?? mem14.clo??? 2008/01/30 v0.4 memoir class 14pt size option mempatch.sty??? 2009/07/24 v6.0f Patches for memoir class v1.6180339 ? wrisym.sty??? 1998/04/02 Mathematica 3.x fonts with LaTeX2e ? ifthen.sty??? 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC) ? xspace.sty??? 2014/10/28 v1.13 Space after command names (DPC,MH) ? module.sty??? ? layout.sty??? 2014/10/28 v1.2c Show layout parameters ?isodate.sty??? 2010/01/03 v2.30 Print dates with different formats (HH) ? substr.sty??? 2009/10/20 v1.2 Handle substrings ?english.idf??? 2010/01/03 v2.30 Language definitions for isodate package (HH) ?amsmath.sty??? 2017/09/02 v2.17a AMS math features ?amstext.sty??? 2000/06/29 v2.01 AMS text ? amsgen.sty??? 1999/11/30 v2.0 generic functions ? amsbsy.sty??? 1999/11/29 v1.2d Bold Symbols ? amsopn.sty??? 2016/03/08 v2.02 operator names ?amssymb.sty??? 2013/01/14 v3.01 AMS font symbols amsfonts.sty??? 2013/01/14 v3.01 Basic AMSFonts support ?mathabx.sty??? 2003/07/29 v0.0 Non-standard LaTeX package mathabx ?wasysym.sty??? 2003/10/30 v2.0 Wasy-2 symbol support package lastpage.sty??? 1994/06/25 v0.1b LaTeX2e package for refs to last page number ( JPG) ? xcolor.sty??? 2016/05/11 v2.12 LaTeX color extensions (UK) ?? color.cfg??? 2016/01/02 v1.6 sample color configuration ?? dvips.def??? 2017/06/20 v3.1d Graphics/color driver for dvips ? svgnam.def??? 2016/05/11 v2.12 Predefined colors according to SVG 1.1 (UK) multicol.sty??? 2017/04/11 v1.8q multicolumn formatting (FMi) ?xkeyval.sty??? 2014/12/03 v2.7a package option processing (HA) ?xkeyval.tex??? 2014/12/03 v2.7a key=value parser (HA) enumlist.sty??? 2005/08/06 paralist.sty??? 2017/01/22 v2.7 Extended list environments boxedminipage.sty??? ntheorem.sty??? 2011/08/15 1.33 ?mdwlist.sty??? 1996/05/02 1.1 Various list-related things ?mathenv.sty??? 1998/04/28 1.9 Various maths environments ? mdwtab.sty??? 1998/04/28 1.9 Table typesetting with style ?dcolumn.sty??? 2014/10/28 v1.06 decimal alignment package (DPC) ? clists.sty??? 2003/09/16 Local LaTeX package ? extras.sty??? 2003/09/16 Local LaTeX package ?answers.sty??? 2010/10/11 v2.13 Production of solution sheets in LaTeX2e ?myboxes.sty??? 2016/07/16 Local LaTeX package pst-func.sty??? 2017/08/17 package wrapper for pst-func.tex (hv) pstricks.sty??? 2017/07/16 v0.64 LaTeX wrapper for `PSTricks' (RN,HV) ?? iftex.sty??? 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX, ?and LuaTeX shellesc.sty??? 2016/06/07 v0.02a unified shell escape interface for LaTeX pstricks.tex??? 2017/09/12 v2.75a `PSTricks' (tvz,hv) pst-xkey.tex??? 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) ? pst-fp.tex??? 2017/09/12 v2.75a `PST-fp' (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??? 2017/08/31 1.84 `pst-plot' (tvz,hv) pst-math.sty??? 2014/07/30 package wrapper for PSTricks pst-math.tex pst-tools.sty??? 2012/01/01 package wrapper for pst-tools.tex (hv) pst-tools.tex??? 2017/08/31 v1.84 `PST-tools' (hv) pstricks-add.sty??? 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv ) pst-node.sty??? 2010/04/22 package wrapper for pst-node.tex pst-node.tex??? 2017/08/31 1.84 `pst-node' (tvz,hv) ? pst-3d.sty??? 2009/07/28 package wrapper for pst-3d.tex (hv) ? pst-3d.tex??? 2017/08/31 v1.84 `PST-3d' (hv) pstricks-add.tex??? 2017/08/31 v1.84 `PSTricks-add' (hv) pst-func.tex??? 2017/08/24 v0.88 `PST-func' (hv) pst-local.sty??? 2005/08/06 pst-grad.sty??? 2004/07/15 package wrapper for pst-grad.tex (hv) pst-grad.tex??? 2006/11/27 1.06 `pst-grad' (tvz) pst-coil.sty??? 2010/02/01 package wrapper for pst-coil.tex (hv) pst-coil.tex??? 2015/05/13 v1.07 `PST-coil' (tvz,hv) pst-tree.sty??? 2009/01/25 package wrapper for pst-tree.tex pst-tree.tex??? 2017/02/18 1.13 `pst-tree' (tvz,hv) ? cmaths.sty??? 2005/08/06 Local LaTeX package ? danger.sty??? pst-vue3d.sty??? 2007/03/26 package wrapper for pst-vue3d.tex (hv) pst-vue3d.tex??? 2008/02/21 v1.24 `pst-vue3d' (ML,hv) pst-lens.sty??? 2005/09/02 package wrapper for pst-lens.tex (hv) pst-lens.tex??? 2006/06/06 v1.02 `PST-lens' (hv) myextend.sty??? 2014/02/16 Local LaTeX package mysymbol.sty??? 2014/02/16 Local LaTeX package ?omlzwam.fd??? 1997/10/23 Fontinst v1.6 font definitions for OML/zwam. ?omszway.fd??? 1997/10/23 Fontinst v1.6 font definitions for OMS/zway. ?omxzwav.fd??? 1997/10/23 Fontinst v1.6 font definitions for OMX/zwav. ? ot1ptm.fd??? 2001/06/04 font definitions for OT1/ptm. ? ot1phv.fd??? 2001/06/04 scalable font definitions for OT1/phv. ? C4CH02.tex ?ot1zwar.fd??? 1997/10/23 Fontinst v1.6 font definitions for OT1/zwar. ??? umsa.fd??? 2013/01/14 v3.01 AMS symbols A ??? umsb.fd??? 2013/01/14 v3.01 AMS symbols B ?? uwasy.fd??? 2003/10/30 v2.0 Wasy-2 symbol font definitions ? omsptm.fd??? ? omsphv.fd??? C402_integration1.ans ?*********** ?) Here is how much of TeX's memory you used: ?18315 strings out of 493315 ?285349 string characters out of 3146797 ?511124 words of memory out of 3000000 ?21488 multiletter control sequences out of 15000+200000 ?34651 words of font info for 89 fonts, out of 3000000 for 9000 ?1141 hyphenation exceptions out of 8191 ?47i,16n,59p,707b,578s stack positions out of 5000i,500n,10000p,200000b,50000s Output written on C402_integration1.dvi (19 pages, 170112 bytes). ############# \listfiles output with pstricks.pro *v1.24* in the file's folder ############# ? This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6400 64-bit) (preloaded format=latex 2017.9.17)? 18 SEP 2017 11:38 entering extended mode **"K:/TEMP/C402 Integration 1/C402_integration1.tex" ("K:/TEMP/C402 Integration 1/C402_integration1.tex" LaTeX2e <2017-04-15> .... ### lines omitted ### .... ?*File List* ? memoir.cls??? 2013/05/30 v3.7b configurable book, report, article document cl ass ?? ifpdf.sty??? 2017/03/15 v3.2 Provides the ifpdf switch ? ifetex.sty??? 2011/12/15 v1.2 ifetex ?ifxetex.sty??? 2010/09/12 v0.6 Provides ifxetex conditional ifluatex.sty??? 2016/05/16 v1.4 Provides the ifluatex switch (HO) ?? leqno.clo??? 2016/12/29 v1.2a Standard LaTeX option (left equation numbers) ??? etex.sty??? 2016/08/01 v2.7 eTeX basic definition package (PEB,DPC) ?? mem14.clo??? 2008/01/30 v0.4 memoir class 14pt size option mempatch.sty??? 2009/07/24 v6.0f Patches for memoir class v1.6180339 ? wrisym.sty??? 1998/04/02 Mathematica 3.x fonts with LaTeX2e ? ifthen.sty??? 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC) ? xspace.sty??? 2014/10/28 v1.13 Space after command names (DPC,MH) ? module.sty??? ? layout.sty??? 2014/10/28 v1.2c Show layout parameters ?isodate.sty??? 2010/01/03 v2.30 Print dates with different formats (HH) ? substr.sty??? 2009/10/20 v1.2 Handle substrings ?english.idf??? 2010/01/03 v2.30 Language definitions for isodate package (HH) ?amsmath.sty??? 2017/09/02 v2.17a AMS math features ?amstext.sty??? 2000/06/29 v2.01 AMS text ? amsgen.sty??? 1999/11/30 v2.0 generic functions ? amsbsy.sty??? 1999/11/29 v1.2d Bold Symbols ? amsopn.sty??? 2016/03/08 v2.02 operator names ?amssymb.sty??? 2013/01/14 v3.01 AMS font symbols amsfonts.sty??? 2013/01/14 v3.01 Basic AMSFonts support ?mathabx.sty??? 2003/07/29 v0.0 Non-standard LaTeX package mathabx ?wasysym.sty??? 2003/10/30 v2.0 Wasy-2 symbol support package lastpage.sty??? 1994/06/25 v0.1b LaTeX2e package for refs to last page number ( JPG) ? xcolor.sty??? 2016/05/11 v2.12 LaTeX color extensions (UK) ?? color.cfg??? 2016/01/02 v1.6 sample color configuration ?? dvips.def??? 2017/06/20 v3.1d Graphics/color driver for dvips ? svgnam.def??? 2016/05/11 v2.12 Predefined colors according to SVG 1.1 (UK) multicol.sty??? 2017/04/11 v1.8q multicolumn formatting (FMi) ?xkeyval.sty??? 2014/12/03 v2.7a package option processing (HA) ?xkeyval.tex??? 2014/12/03 v2.7a key=value parser (HA) enumlist.sty??? 2005/08/06 paralist.sty??? 2017/01/22 v2.7 Extended list environments boxedminipage.sty??? ntheorem.sty??? 2011/08/15 1.33 ?mdwlist.sty??? 1996/05/02 1.1 Various list-related things ?mathenv.sty??? 1998/04/28 1.9 Various maths environments ? mdwtab.sty??? 1998/04/28 1.9 Table typesetting with style ?dcolumn.sty??? 2014/10/28 v1.06 decimal alignment package (DPC) ? clists.sty??? 2003/09/16 Local LaTeX package ? extras.sty??? 2003/09/16 Local LaTeX package ?answers.sty??? 2010/10/11 v2.13 Production of solution sheets in LaTeX2e ?myboxes.sty??? 2016/07/16 Local LaTeX package pst-func.sty??? 2017/08/17 package wrapper for pst-func.tex (hv) pstricks.sty??? 2017/07/16 v0.64 LaTeX wrapper for `PSTricks' (RN,HV) ?? iftex.sty??? 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX, ?and LuaTeX shellesc.sty??? 2016/06/07 v0.02a unified shell escape interface for LaTeX pstricks.tex??? 2017/09/12 v2.75a `PSTricks' (tvz,hv) pst-xkey.tex??? 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) ? pst-fp.tex??? 2017/09/12 v2.75a `PST-fp' (hv) pstricks.pro??? 2017/09/12 v. 1.25, PostScript prologue file (hv)??????? ############### interesting!? 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??? 2017/08/31 1.84 `pst-plot' (tvz,hv) pst-math.sty??? 2014/07/30 package wrapper for PSTricks pst-math.tex pst-tools.sty??? 2012/01/01 package wrapper for pst-tools.tex (hv) pst-tools.tex??? 2017/08/31 v1.84 `PST-tools' (hv) pstricks-add.sty??? 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv ) pst-node.sty??? 2010/04/22 package wrapper for pst-node.tex pst-node.tex??? 2017/08/31 1.84 `pst-node' (tvz,hv) ? pst-3d.sty??? 2009/07/28 package wrapper for pst-3d.tex (hv) ? pst-3d.tex??? 2017/08/31 v1.84 `PST-3d' (hv) pstricks-add.tex??? 2017/08/31 v1.84 `PSTricks-add' (hv) pst-func.tex??? 2017/08/24 v0.88 `PST-func' (hv) pst-local.sty??? 2005/08/06 pst-grad.sty??? 2004/07/15 package wrapper for pst-grad.tex (hv) pst-grad.tex??? 2006/11/27 1.06 `pst-grad' (tvz) pst-coil.sty??? 2010/02/01 package wrapper for pst-coil.tex (hv) pst-coil.tex??? 2015/05/13 v1.07 `PST-coil' (tvz,hv) pst-tree.sty??? 2009/01/25 package wrapper for pst-tree.tex pst-tree.tex??? 2017/02/18 1.13 `pst-tree' (tvz,hv) ? cmaths.sty??? 2005/08/06 Local LaTeX package ? danger.sty??? pst-vue3d.sty??? 2007/03/26 package wrapper for pst-vue3d.tex (hv) pst-vue3d.tex??? 2008/02/21 v1.24 `pst-vue3d' (ML,hv) pst-lens.sty??? 2005/09/02 package wrapper for pst-lens.tex (hv) pst-lens.tex??? 2006/06/06 v1.02 `PST-lens' (hv) myextend.sty??? 2014/02/16 Local LaTeX package mysymbol.sty??? 2014/02/16 Local LaTeX package ?omlzwam.fd??? 1997/10/23 Fontinst v1.6 font definitions for OML/zwam. ?omszway.fd??? 1997/10/23 Fontinst v1.6 font definitions for OMS/zway. ?omxzwav.fd??? 1997/10/23 Fontinst v1.6 font definitions for OMX/zwav. ? ot1ptm.fd??? 2001/06/04 font definitions for OT1/ptm. ? ot1phv.fd??? 2001/06/04 scalable font definitions for OT1/phv. ? C4CH02.tex ?ot1zwar.fd??? 1997/10/23 Fontinst v1.6 font definitions for OT1/zwar. ??? umsa.fd??? 2013/01/14 v3.01 AMS symbols A ??? umsb.fd??? 2013/01/14 v3.01 AMS symbols B ?? uwasy.fd??? 2003/10/30 v2.0 Wasy-2 symbol font definitions ? omsptm.fd??? ? omsphv.fd??? C402_integration1.ans ?*********** ?) Here is how much of TeX's memory you used: ?18316 strings out of 493315 ?285365 string characters out of 3146797 ?511188 words of memory out of 3000000 ?21489 multiletter control sequences out of 15000+200000 ?34651 words of font info for 89 fonts, out of 3000000 for 9000 ?1141 hyphenation exceptions out of 8191 ?47i,16n,59p,707b,578s stack positions out of 5000i,500n,10000p,200000b,50000s Output written on C402_integration1.dvi (19 pages, 170112 bytes). -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Sep 18 14:38:42 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 18 Sep 2017 14:38:42 +0200 Subject: [pstricks] Error when compiling documents with latest pstricks.pro In-Reply-To: <15e94a48e1e-c0a-3ad@webjas-vab159.srv.aolmail.net> References: <15e94a48e1e-c0a-3ad@webjas-vab159.srv.aolmail.net> Message-ID: Am 18.09.2017 um 12:59 schrieb halbard7 at aol.com: > I've noticed something else: \listfiles only shows pstricks.pro present > when it's in the same folder as the document (the generated ps file > shows that the .pro file is loaded either way.) However, if I put > pstricks.pro v1.24 in the same folder as my document, listfiles shows > v1.25 loaded. Again I ask, what???? Gerry, I can't see any problem here. Can you send me your tex file by private Mail? Herbert From poul.riis at skolekom.dk Thu Oct 5 09:12:39 2017 From: poul.riis at skolekom.dk (Poul Riis) Date: Thu, 05 Oct 2017 09:12:39 +0200 Subject: [pstricks] listplot In-Reply-To: <44945.195.145.33.202.1499095286.webmail@webmail.zedat.fu-berlin.de> References: <44945.195.145.33.202.1499095286.webmail@webmail.zedat.fu-berlin.de> Message-ID: Compiling the example below with xetex everything is perfect but compiling with latex and pdflatex I get a ghostscript error message: MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1 Poul Riis Graphics with PSTricks writes: >The coordinates are saved in the PS array Points and can be >used later if you put the array Points into the global dict >and the number of points is n. >The points are saved in the wrong order! > >\getCoor{8} will get the pair of x,y, counted from 1 >It can easily be extended to \getxCoor . In the below example I marked >three points by a cross > >Herbert > > >\documentclass{article} >\usepackage[dvips,x11names]{pstricks} >\usepackage{pst-plot} > >\makeatletter >\def\psbar at ii{\addto at pscode{startGlobal false \tx at NArray endGlobal >\psbar at iii}} >\def\psbar at iii{% > newpath > n 1 sub { > /Yval exch def /Xval exch def > 2 copy /YNext exch def Xval sub /DX exch def > Xval 0 moveto % Start Point > 0 YNext rlineto % relative move > DX 0 rlineto > 0 YNext neg rlineto > DX neg 0 rlineto > } repeat >}% >\let\UserCoor\tx at UserCoor >\makeatother >\def\getCoor#1{Points n #1 sub 2 mul get Points n #1 sub 2 mul 1 add get >\UserCoor} > > >\thispagestyle{empty} > >\begin{document} >\readdata{\data}{../Downloads/simon.dat} > >\psset{xAxisLabel=Time (minutes), > yAxisLabel=Load (W),xAxisLabelPos={c,-10},yAxisLabelPos={-5,c}}% >\begin{psgraph}[axesstyle=frame,xticksize=0 110,yticksize=0 >100,Dx=10,Dy=10,xsubticks=5,subticksize=1](0,0)(100,110){15cm}{11cm} >\listplot[linecolor=Red1,fillcolor=Cornsilk1,fillstyle=solid, > linewidth=0.1pt,plotstyle=bar,barwidth=0.4]{\data} >\listplot[linecolor=Blue1, linewidth=2pt]{\data} >\psline[arrows=->](0,0)(100,0) >\psline[arrows=->](0,0)(0,110) >% >\multido{\iA=0+2}{35}{\psdot(!Points \iA\space 2 getinterval aload pop >\UserCoor)} >\psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{3} ) >\psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{13} ) >\psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{30} ) >\end{psgraph} >\end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From poul.riis at skolekom.dk Thu Oct 5 09:16:25 2017 From: poul.riis at skolekom.dk (Poul Riis) Date: Thu, 05 Oct 2017 09:16:25 +0200 Subject: [pstricks] listplot Message-ID: ....xetex should have been XeLatex. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Patrice.MEGRET at umons.ac.be Thu Oct 5 09:20:22 2017 From: Patrice.MEGRET at umons.ac.be (Patrice MEGRET) Date: Thu, 5 Oct 2017 07:20:22 +0000 Subject: [pstricks] listplot In-Reply-To: References: <44945.195.145.33.202.1499095286.webmail@webmail.zedat.fu-berlin.de> Message-ID: Dear Riis, I tried your example but without the dat file I cannot see if I have the same problem as you. Best regards, Patrice De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Poul Riis Envoy? : jeudi 5 octobre 2017 09:13 ? : pstricks at tug.org Objet : Re: [pstricks] listplot Compiling the example below with xetex everything is perfect but compiling with latex and pdflatex I get a ghostscript error message: MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1 Poul Riis Graphics with PSTricks > writes: The coordinates are saved in the PS array Points and can be used later if you put the array Points into the global dict and the number of points is n. The points are saved in the wrong order! \getCoor{8} will get the pair of x,y, counted from 1 It can easily be extended to \getxCoor . In the below example I marked three points by a cross Herbert \documentclass{article} \usepackage[dvips,x11names]{pstricks} \usepackage{pst-plot} \makeatletter \def\psbar at ii{\addto at pscode{startGlobal false \tx at NArray endGlobal \psbar at iii}} \def\psbar at iii{% newpath n 1 sub { /Yval exch def /Xval exch def 2 copy /YNext exch def Xval sub /DX exch def Xval 0 moveto % Start Point 0 YNext rlineto % relative move DX 0 rlineto 0 YNext neg rlineto DX neg 0 rlineto } repeat }% \let\UserCoor\tx at UserCoor \makeatother \def\getCoor#1{Points n #1 sub 2 mul get Points n #1 sub 2 mul 1 add get \UserCoor} \thispagestyle{empty} \begin{document} \readdata{\data}{../Downloads/simon.dat} \psset{xAxisLabel=Time (minutes), yAxisLabel=Load (W),xAxisLabelPos={c,-10},yAxisLabelPos={-5,c}}% \begin{psgraph}[axesstyle=frame,xticksize=0 110,yticksize=0 100,Dx=10,Dy=10,xsubticks=5,subticksize=1](0,0)(100,110){15cm}{11cm} \listplot[linecolor=Red1,fillcolor=Cornsilk1,fillstyle=solid, linewidth=0.1pt,plotstyle=bar,barwidth=0.4]{\data} \listplot[linecolor=Blue1, linewidth=2pt]{\data} \psline[arrows=->](0,0)(100,0) \psline[arrows=->](0,0)(0,110) % \multido{\iA=0+2}{35}{\psdot(!Points \iA\space 2 getinterval aload pop \UserCoor)} \psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{3} ) \psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{13} ) \psdot[linecolor=red,dotstyle=x,dotscale=3](! \getCoor{30} ) \end{psgraph} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Thu Oct 5 10:25:20 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 5 Oct 2017 10:25:20 +0200 Subject: [pstricks] listplot In-Reply-To: References: <44945.195.145.33.202.1499095286.webmail@webmail.zedat.fu-berlin.de> Message-ID: <1145841f-3211-f372-3c28-1994b231c475@FU-Berlin.DE> Am 05.10.2017 um 09:12 schrieb Poul Riis: > Compiling the example below with xetex everything is perfect but > compiling with latex and pdflatex I get a ghostscript error message: > MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1 > \let\UserCoor\tx at UserCoor > \makeatother > \def\getCoor#1{Points n #1 sub 2 mul get Points n #1 sub 2 mul 1 add get > \UserCoor} try \def\getCoor#1{startGlobal Points n #1 sub 2 mul get Points n #1 sub 2 mul 1 add get \UserCoor endGlobal} Herbert From jcvdbeaware at laposte.net Sun Oct 15 08:20:54 2017 From: jcvdbeaware at laposte.net (JCVD) Date: Sun, 15 Oct 2017 08:20:54 +0200 Subject: [pstricks] Intersection of circles with pst-eucl Message-ID: <005a01d3457d$c21f8330$465e8990$@laposte.net> Hello, I have a problem with the pstInterCC command that does not display either the symbol or the name of the created points. The points are however created as shown in the attached example. I noticed that in the documentation, the points created in this way (page 20) did not appear either. Would you have a solution to the problem? Thanks in advance. Seb -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ECM.PDF Type: application/pdf Size: 6429 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ECM.TEX Type: application/octet-stream Size: 464 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ECM.LOG Type: application/octet-stream Size: 9695 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ECM.PS Type: application/postscript Size: 163156 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Sun Oct 15 16:13:50 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 15 Oct 2017 16:13:50 +0200 Subject: [pstricks] Intersection of circles with pst-eucl In-Reply-To: <005a01d3457d$c21f8330$465e8990$@laposte.net> References: <005a01d3457d$c21f8330$465e8990$@laposte.net> Message-ID: <63646.46.90.55.107.1508076830.webmail@webmail.zedat.fu-berlin.de> JCVD schrieb: > I have a problem with the pstInterCC command that does not display either > the symbol or the name of the created points. The points are however > created > as shown in the attached example. > > I noticed that in the documentation, the points created in this way (page > 20) did not appear either. > > Would you have a solution to the problem? Define the position of the labels: \documentclass[pstricks]{standalone} \usepackage{pst-eucl} \begin{document} \psset{unit=.8cm} \begin{pspicture}(-4,-3.5)(4,4.5) \pstGeonode[PosAngle=190](0,0){A} \pstGeonode[PosAngle=20](3,1.5){B} \pstLineAB{A}{B} \pstInterCC[RadiusA=\pstDistVal{3},RadiusB=\pstDistVal{3}, CodeFig=true,PosAngleA=90,PosAngleB=-90,PointNameA=D,PointNameB=D' ]{A}{B}{B}{A}{D}{d} \pstLineAB{A}{D} \end{pspicture} \end{document} Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot 7.png Type: image/png Size: 30428 bytes Desc: not available URL: From jcvdbeaware at laposte.net Mon Oct 23 16:41:23 2017 From: jcvdbeaware at laposte.net (JCVD) Date: Mon, 23 Oct 2017 16:41:23 +0200 Subject: [pstricks] Intersection of circles with pst-eucl Message-ID: <007a01d34c0d$000accf0$002066d0$@laposte.net> Hello, Thanks for the answer. Giving the points position works, but why is it necessary to do this? Is not there a problem? Sebastien -----Message d'origine----- De?: PSTricks [mailto:pstricks-bounces at tug.org] De la part de pstricks-request at tug.org Envoy??: dimanche 15 octobre 2017 16:14 ??: pstricks at tug.org Objet?: PSTricks Digest, Vol 176, Issue 4 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: Intersection of circles with pst-eucl (Herbert Voss) ---------------------------------------------------------------------- Message: 1 Date: Sun, 15 Oct 2017 16:13:50 +0200 From: "Herbert Voss" To: "Graphics with PSTricks" Subject: Re: [pstricks] Intersection of circles with pst-eucl Message-ID: <63646.46.90.55.107.1508076830.webmail at webmail.zedat.fu-berlin.de> Content-Type: text/plain; charset="utf-8" JCVD schrieb: > I have a problem with the pstInterCC command that does not display either > the symbol or the name of the created points. The points are however > created > as shown in the attached example. > > I noticed that in the documentation, the points created in this way (page > 20) did not appear either. > > Would you have a solution to the problem? Define the position of the labels: \documentclass[pstricks]{standalone} \usepackage{pst-eucl} \begin{document} \psset{unit=.8cm} \begin{pspicture}(-4,-3.5)(4,4.5) \pstGeonode[PosAngle=190](0,0){A} \pstGeonode[PosAngle=20](3,1.5){B} \pstLineAB{A}{B} \pstInterCC[RadiusA=\pstDistVal{3},RadiusB=\pstDistVal{3}, CodeFig=true,PosAngleA=90,PosAngleB=-90,PointNameA=D,PointNameB=D' ]{A}{B}{B}{A}{D}{d} \pstLineAB{A}{D} \end{pspicture} \end{document} Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot 7.png Type: image/png Size: 30428 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 176, Issue 4 **************************************** From germain.boyer at ac-toulouse.fr Sun Nov 5 02:29:37 2017 From: germain.boyer at ac-toulouse.fr (Germain Boyer) Date: Sun, 05 Nov 2017 02:29:37 +0100 Subject: [pstricks] \psBinomial and font Message-ID: Hello I do this graph \documentclass[a4paper,french,11pt]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{portrait,nohead,nofoot,left=3.5cm,right=3.5cm,top=2cm,bottom=1.5cm} \usepackage{fourier} \usepackage{pstricks-add} \usepackage{pst-func} \usepackage[french]{babel} \begin{document} \begin{minipage}{5cm} \psset{xunit=0.5cm,yunit=3.5cm} \begin{pspicture}(-1.5,0)(5,1) \scriptsize \psaxes[linewidth=1pt , tickwidth=0.4pt , Dy=0.1 , comma , arrows=->](0,0)(0,0)(5,0.75) \psaxes[unit=1cm](0,0)(-2mm,-2mm)(0,0) \psBinomial[markZeros,printValue,comma,fillstyle=solid,fillcolor=blue,barwidth=0.1]{4}{0.1} \end{pspicture} \\ \\ \hspace*{0.5cm} $n=4$, $p=0.1$ \end{minipage} % \begin{minipage}{4.5cm} \psset{xunit=0.5cm,yunit=7cm} \begin{pspicture}(0,0)(5,0.5) \scriptsize \psaxes[linewidth=1pt , tickwidth=0.4pt , Dy=0.05 , comma , arrows=-> , labelFontSize=\scriptstyle](0,0)(0,0)(6,0.4) \psaxes[unit=1cm](0,0)(-2mm,-2mm)(0,0) \psBinomial[markZeros,printValue,comma,fillstyle=solid,fillcolor=blue,barwidth=0.1]{5}{0.3} \end{pspicture} \\ \\ \hspace*{0.25cm} $n=5$, $p=0.3$ \end{minipage} % \begin{minipage}{4.5cm} \psset{xunit=0.5cm,yunit=7cm} \begin{pspicture}(0,0)(5,0.5) \scriptsize \psaxes[linewidth=1pt , tickwidth=0.4pt , Dy=0.05 , comma , arrows=->](0,0)(0,0)(7,0.4) \psaxes[unit=1cm](0,0)(-2mm,-2mm)(0,0) \psBinomial[markZeros,printValue,comma,fillstyle=solid,fillcolor=blue,barwidth=0.1]{6}{0.5} \end{pspicture} \\ \\ \hspace*{0.5cm} $n=6$, $p=0.5$ \end{minipage} \end{document} Is it possible to have the value of \psBinomial with the font \scriptsize or \scriptstyle ? Thanks for your answer. Germain From Herbert.Voss at FU-Berlin.DE Sun Nov 5 09:04:23 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 5 Nov 2017 09:04:23 +0100 Subject: [pstricks] \psBinomial and font In-Reply-To: References: Message-ID: <12b68b7c-990f-c0c2-e6e6-3d70381544ba@FU-Berlin.DE> Am 05.11.2017 um 02:29 schrieb Germain Boyer: > \psBinomial[markZeros,printValue,comma,fillstyle=solid,fillcolor=blue,barwidth=0.1]{4}{0.1} \psBinomial[markZeros,printValue,fontscale=6,% <-- see texdoc pst-tools comma,fillstyle=solid,fillcolor=blue,barwidth=0.1]{4}{0.1} Herbert From amunn at gmx.com Mon Dec 4 17:35:39 2017 From: amunn at gmx.com (Alan Munn) Date: Mon, 04 Dec 2017 11:35:39 -0500 Subject: [pstricks] Scaling problem with xdvipdfmx In-Reply-To: <5A256AA2.1050303@msu.edu> References: <5A256AA2.1050303@msu.edu> Message-ID: <5A25795B.3070404@gmx.com> The following document shows increasing horizontal line lengths when compiled with xelatex but not with latex+dvips. The effect is small but real. (Sorry to depend on a non-CTAN package.) The problem can be solved by redefining \pstnodescale which in xdvipdfmx.cfg is defined as: \def\pstverbscale{72.27 72 div dup scale }% \def\pstnodescale{72 72.27 div dup scale }% If I redefine \pstnodescale to be {1 1 div dup scale} things work. I suspect this is the same problem as reported here: https://tex.stackexchange.com/q/194683/2693 where Herbert gave a similar (local) solution. I have two questions: Why are the definitions of \pstverbscale and \pstnodescale different in the way they are? Is my redefinition correct, and if so should xdvipdfmx be changed? Thanks Alan % compiled with latex+dvips this works fine % compiled with xelatex the horizontal lines become increasingly longer \documentclass{article} \usepackage{OTtablx} % available here: http://sanders.phonologist.org/OTtablx/index.html %\def\pstnodescale{1 1 div dup scale } % uncommenting this line makes the problem disappear \begin{document} \begin{OTtableau}{3} \OTtoprow{AAA,BBB,CCC} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \end{OTtableau} \end{document} -- Alan Munnamunn at msu.edu Department of Linguistics and Germanic, Slavic, Asian and African Languages Fax. +1-517-432-2736 Michigan State University, East Lansing MI 48824 Tel. +1-517-355-7491 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Mon Dec 4 17:56:54 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 4 Dec 2017 17:56:54 +0100 Subject: [pstricks] Scaling problem with xdvipdfmx In-Reply-To: <5A25795B.3070404@gmx.com> References: <5A256AA2.1050303@msu.edu> <5A25795B.3070404@gmx.com> Message-ID: <3003aed1-753c-251f-f5e7-d8f299bdaf45@FU-Berlin.DE> Am 04.12.2017 um 17:35 schrieb Alan Munn: > % compiled with latex+dvips this works fine > % compiled with xelatex the horizontal lines become increasingly longer > \documentclass{article} > \usepackage{OTtablx} % available here: > http://sanders.phonologist.org/OTtablx/index.html > > %\def\pstnodescale{1 1 div dup scale } % uncommenting this line makes > the problem disappear > > \begin{document} > > \begin{OTtableau}{3} > \OTtoprow{AAA,BBB,CCC} > \OTcandrow{XXXXXXXXXX}{,,} > \OTcandrow{XXXXXXXXXX}{,,} > \OTcandrow{XXXXXXXXXX}{,,} > \OTcandrow{XXXXXXXXXX}{,,} > \OTcandrow{XXXXXXXXXX}{,,} > \OTcandrow{XXXXXXXXXX}{,,} > \end{OTtableau} > > \end{document} I cannot see aproblem. Compiling with latex->dvips->ps2pdf it uses the fonts CMR10 and TeX-tipa10 and compiling with xelatex it uses LMRoman10-Regular and DoulosSIL attached my output with up-to-date TL2017 Herbert -------------- next part -------------- A non-text attachment was scrubbed... Name: xelatex.png Type: image/png Size: 4878 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: latex.png Type: image/png Size: 4027 bytes Desc: not available URL: From amunn at gmx.com Mon Dec 4 18:03:56 2017 From: amunn at gmx.com (Alan Munn) Date: Mon, 04 Dec 2017 12:03:56 -0500 Subject: [pstricks] Scaling problem with xdvipdfmx In-Reply-To: <3003aed1-753c-251f-f5e7-d8f299bdaf45@FU-Berlin.DE> References: <5A256AA2.1050303@msu.edu> <5A25795B.3070404@gmx.com> <3003aed1-753c-251f-f5e7-d8f299bdaf45@FU-Berlin.DE> Message-ID: <5A257FFC.4050305@gmx.com> If you scale up the image in your viewer you will see the problem: Alan Herbert Voss wrote: > Am 04.12.2017 um 17:35 schrieb Alan Munn: >> % compiled with latex+dvips this works fine >> % compiled with xelatex the horizontal lines become increasingly longer >> \documentclass{article} >> \usepackage{OTtablx} % available here: >> http://sanders.phonologist.org/OTtablx/index.html >> >> %\def\pstnodescale{1 1 div dup scale } % uncommenting this line makes >> the problem disappear >> >> \begin{document} >> >> \begin{OTtableau}{3} >> \OTtoprow{AAA,BBB,CCC} >> \OTcandrow{XXXXXXXXXX}{,,} >> \OTcandrow{XXXXXXXXXX}{,,} >> \OTcandrow{XXXXXXXXXX}{,,} >> \OTcandrow{XXXXXXXXXX}{,,} >> \OTcandrow{XXXXXXXXXX}{,,} >> \OTcandrow{XXXXXXXXXX}{,,} >> \end{OTtableau} >> >> \end{document} > > I cannot see aproblem. Compiling with latex->dvips->ps2pdf > it uses the fonts CMR10 and TeX-tipa10 > > and compiling with xelatex it uses LMRoman10-Regular and DoulosSIL > > attached my output with up-to-date TL2017 > > 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: CompiledWith-latex.png Type: image/png Size: 19665 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CompiledWith-xelatex.png Type: image/png Size: 41768 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Mon Dec 4 19:58:57 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 4 Dec 2017 19:58:57 +0100 Subject: [pstricks] Scaling problem with xdvipdfmx In-Reply-To: <5A257FFC.4050305@gmx.com> References: <5A256AA2.1050303@msu.edu> <5A25795B.3070404@gmx.com> <3003aed1-753c-251f-f5e7-d8f299bdaf45@FU-Berlin.DE> <5A257FFC.4050305@gmx.com> Message-ID: <7c7963b2-2269-8dcf-5d18-7cf145d15589@FU-Berlin.DE> Am 04.12.2017 um 18:03 schrieb Alan Munn: > If you scale up the image in your viewer you will see the problem: But that has nothing to do with the scaling. The upper right node is ok but the lower right not. If it is a problem with scaling then _both_ should be in the wrong place. Try the attached mdified package. Herbert > > Alan > > Herbert Voss wrote: >> Am 04.12.2017 um 17:35 schrieb Alan Munn: >>> % compiled with latex+dvips this works fine >>> % compiled with xelatex the horizontal lines become increasingly longer >>> \documentclass{article} >>> \usepackage{OTtablx} % available here: >>> http://sanders.phonologist.org/OTtablx/index.html >>> >>> %\def\pstnodescale{1 1 div dup scale } % uncommenting this line makes >>> the problem disappear >>> >>> \begin{document} >>> >>> \begin{OTtableau}{3} >>> \OTtoprow{AAA,BBB,CCC} >>> \OTcandrow{XXXXXXXXXX}{,,} >>> \OTcandrow{XXXXXXXXXX}{,,} >>> \OTcandrow{XXXXXXXXXX}{,,} >>> \OTcandrow{XXXXXXXXXX}{,,} >>> \OTcandrow{XXXXXXXXXX}{,,} >>> \OTcandrow{XXXXXXXXXX}{,,} >>> \end{OTtableau} >>> >>> \end{document} >> >> I cannot see aproblem. Compiling with latex->dvips->ps2pdf >> it uses the fonts CMR10 and TeX-tipa10 >> >> and compiling with xelatex it uses LMRoman10-Regular and DoulosSIL >> >> attached my output with up-to-date TL2017 >> >> 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: OTtablx.sty Type: text/x-tex Size: 18909 bytes Desc: not available URL: From Herbert.Voss at FU-Berlin.DE Mon Dec 4 20:00:47 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 4 Dec 2017 20:00:47 +0100 Subject: [pstricks] Scaling problem with xdvipdfmx In-Reply-To: <5A257FFC.4050305@gmx.com> References: <5A256AA2.1050303@msu.edu> <5A25795B.3070404@gmx.com> <3003aed1-753c-251f-f5e7-d8f299bdaf45@FU-Berlin.DE> <5A257FFC.4050305@gmx.com> Message-ID: Am 04.12.2017 um 18:03 schrieb Alan Munn: > If you scale up the image in your viewer you will see the problem: forgot the new example: \documentclass{standalone} \usepackage{OTtablx} \begin{document} \rlap{% \begin{OTtableau}{3} \OTtoprow{AAA,BBB,CCC} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \end{OTtableau}}% % \def\pstnodescale{}% \makeatletter \addtopsstyle{OTx at normal@style}{linecolor=red}% \makeatother \begin{OTtableau}{3} \OTtoprow{AAA,BBB,CCC} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \OTcandrow{XXXXXXXXXX}{,,} \end{OTtableau} \end{document} Herbert From poul.riis at skolekom.dk Thu Dec 7 21:43:55 2017 From: poul.riis at skolekom.dk (Poul Riis) Date: Thu, 07 Dec 2017 21:43:55 +0100 Subject: [pstricks] psPrintValue and psPrintValueNew Message-ID: In the project below I just tested some features of pst-tools. I wonder why psPrintValue prints 1 decimal even if I have the option decimals=0, whereas psPrintValueNew prints the binomial coefficient as an integer (as intended). On the other hand, the option postString seems to work with psPrintValue but not with psPrintValueNew. Where can I find documentation on psPrintValueNew? Is it new or obsolete? Would it be possible to furthermore improve psPrintValue as to minimize the need for manual horizontal adjustments when combining text and postscript variables printed with psPrintValue? Or can I do it more elegantly with the existing psPrintValue command? Poul Riis \documentclass[a4paper,12pt]{article} \usepackage{pst-tools} \usepackage{pstricks-add} \usepackage[fleqn]{amsmath} \usepackage[left=1.5cm,top=1.5cm,right=1.5cm,bottom=1.5cm]{geometry} \pagestyle{empty} \begin{document} \begin{pspicture}(0,0)(16,8) \pstVerb{/PP [3 4] def /QQ [7 5] def /PplusQ PP QQ cxadd def /PmulQ PP QQ cxmul def} %Binomial coefficient, K(6,3): \uput{3pt}[0]{0}(1,0){$\begin{pmatrix}6\\3\end{pmatrix}=$\psPrintValue[decimals=0]{6 3 MoverN}} \uput{3pt}[0]{0}(10,0){$\begin{pmatrix}6\\3\end{pmatrix}=$\psPrintValueNew[decimals=0]{6 3 MoverN}} %Complex multiplication: \uput{3pt}[0]{0}(1,2){$($\psPrintValue[postString=+]{PP 0 get}\psPrintValue[xShift=10,postString=i]{PP 1 get}$\hspace{1.5em})\cdot($\psPrintValue[postString=+]{QQ 0 get}\psPrintValue[xShift=10,postString=i]{QQ 1 get}$\hspace{1.5em})=$\psPrintValue[postString=+]{PmulQ 0 get}\psPrintValue[xShift=10,postString=i]{PmulQ 1 get}} \uput{3pt}[0]{0}(10,2){$($\psPrintValueNew[postString=+]{PP 0 get}\psPrintValueNew[xShift=10,postString=i]{PP 1 get}$\hspace{1.5em})\cdot($\psPrintValueNew[postString=+]{QQ 0 get}\psPrintValueNew[xShift=10,postString=i]{QQ 1 get}$\hspace{1.5em})=$\psPrintValueNew[postString=+]{PmulQ 0 get}\psPrintValueNew[xShift=10,postString=i]{PmulQ 1 get}} \uput{3pt}[0]{0}(1,4){psPrintValue} \uput{3pt}[0]{0}(10,4){psPrintValueNew} \end{pspicture} \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sun Dec 10 22:52:03 2017 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 10 Dec 2017 22:52:03 +0100 Subject: [pstricks] psPrintValue and psPrintValueNew In-Reply-To: References: Message-ID: <4f3bc72a-78bb-b36a-db2e-8f741b6a8ead@FU-Berlin.DE> Am 07.12.2017 um 21:43 schrieb Poul Riis: > In the project below I just tested some features of pst-tools. > I wonder why psPrintValue prints 1 decimal even if I have the option > decimals=0, whereas psPrintValueNew prints the binomial coefficient as > an integer (as intended). > On the other hand, the option postString seems to work with psPrintValue > but not with psPrintValueNew. > Where can I find documentation on psPrintValueNew? Is it new or obsolete? It was "new" years ago and maybe finished some day ... and, of course, it is not documented. Herbert > Would it be possible to furthermore improve psPrintValue as to minimize > the need for manual horizontal adjustments when combining text and > postscript variables printed with psPrintValue? Or can I do it more > elegantly with the existing psPrintValue command? > > > Poul Riis > > > > > \documentclass[a4paper,12pt]{article} > \usepackage{pst-tools} > \usepackage{pstricks-add} > \usepackage[fleqn]{amsmath} > \usepackage[left=1.5cm,top=1.5cm,right=1.5cm,bottom=1.5cm]{geometry} > \pagestyle{empty} > \begin{document} > \begin{pspicture}(0,0)(16,8) > ????????\pstVerb{/PP [3 4] def /QQ [7 5] def /PplusQ PP QQ cxadd def > /PmulQ PP QQ cxmul def} > > %Binomial coefficient, K(6,3): > ????????\uput{3pt}[0]{0}(1,0){$\begin{pmatrix}6\\3\end{pmatrix}=$\psPrintValue[decimals=0]{6 3 MoverN}} > ????????\uput{3pt}[0]{0}(10,0){$\begin{pmatrix}6\\3\end{pmatrix}=$\psPrintValueNew[decimals=0]{6 3 MoverN}} > > %Complex multiplication: > ????????\uput{3pt}[0]{0}(1,2){$($\psPrintValue[postString=+]{PP 0 > get}\psPrintValue[xShift=10,postString=i]{PP 1 > get}$\hspace{1.5em})\cdot($\psPrintValue[postString=+]{QQ 0 > get}\psPrintValue[xShift=10,postString=i]{QQ 1 > get}$\hspace{1.5em})=$\psPrintValue[postString=+]{PmulQ 0 > get}\psPrintValue[xShift=10,postString=i]{PmulQ 1 get}} > ????????\uput{3pt}[0]{0}(10,2){$($\psPrintValueNew[postString=+]{PP 0 > get}\psPrintValueNew[xShift=10,postString=i]{PP 1 > get}$\hspace{1.5em})\cdot($\psPrintValueNew[postString=+]{QQ 0 > get}\psPrintValueNew[xShift=10,postString=i]{QQ 1 > get}$\hspace{1.5em})=$\psPrintValueNew[postString=+]{PmulQ 0 > get}\psPrintValueNew[xShift=10,postString=i]{PmulQ 1 get}} > ????????\uput{3pt}[0]{0}(1,4){psPrintValue} > ????????\uput{3pt}[0]{0}(10,4){psPrintValueNew} > \end{pspicture} > \end{document} > > > > _______________________________________________ > PSTricks mailing list > PSTricks at tug.org > http://tug.org/mailman/listinfo/pstricks > archive: http://www.tug.org/pipermail/pstricks/ >