[pstricks] Package Conflict by using \psVolume of pst-func with pst-solides3d?

robert.fischer10 at arcor.de robert.fischer10 at arcor.de
Sat Dec 12 10:48:40 CET 2009


Hello,

I have searched in the archive and internet. But nothing found. Problems arise with the macro: \psVolume, if also pst-solides3d is in use.:
working       \usepackage{pstricks-add,pst-func}
not working \usepackage{pstricks-add,pst-func,pst-solides3d} also not \usepackage{pst-solides3d,pstricks-add,pst-func}

below you find a minimal example and the complete log file (package versions and compete error messages). Main message:
! You can't use `macro parameter character #' in restricted horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##
                             2##3\in@@ {\ifx \in@ ##2\in at false \else \in at tru...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

Best Regards,
Robert Fischer.

Working Example:
--------------------
\documentclass{minimal}
\usepackage{xkeyval}% Important to have it before
\usepackage{pst-pdf}
\usepackage{pstricks-add,pst-func}

\pagestyle{empty}

\begin{document}

		\begin{pspicture}(-0.5,-2.5)(5.5,2.5)
			\psgrid[gridcolor=gray,subgridcolor=lightgray]
			%Axes
			\psaxes[arrowinset=0,arrowscale=1.5,labels=none,
				ticks=none]{->}(0,0)(0,-2)(5,2)
			%Volume
			\psVolume[fillstyle=solid,fillcolor=lightgray](0,4){20}{x sqrt}
		\end{pspicture}

\end{document}

Not working:
---------------
\documentclass{minimal}
\usepackage{xkeyval}% Important to have it before
\usepackage{pst-pdf}
\usepackage{pstricks-add,pst-func,pst-solides3d}

\pagestyle{empty}

\begin{document}

		\begin{pspicture}(-0.5,-2.5)(5.5,2.5)
			\psgrid[gridcolor=gray,subgridcolor=lightgray]
			%Axes
			\psaxes[arrowinset=0,arrowscale=1.5,labels=none,
				ticks=none]{->}(0,0)(0,-2)(5,2)
			%Volume
			\psVolume[fillstyle=solid,fillcolor=lightgray](0,4){20}{x sqrt}
		\end{pspicture}

\end{document}

LogFile with error:
--------------------
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=latex 2009.12.10)  12 DEC 2009 10:23
entering extended mode
**M01.tex
(M01.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\minimal.cls"
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) ("C:\Program Files\MiKTeX 2.7\tex\latex\xkeyval\xkeyval.sty"
Package: xkeyval 2008/08/13 v2.6a package option processing (HA)

("C:\Program Files\MiKTeX 2.7\tex\generic\xkeyval\xkeyval.tex"
\XKV at toks=\toks14
\XKV at tempa@toks=\toks15
\XKV at depth=\count79
File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)

("C:\Program Files\MiKTeX 2.7\tex\generic\xkeyval\keyval.tex")))
("C:\Program Files\MiKTeX 2.7\tex\latex\pst-pdf\pst-pdf.sty"
Package: pst-pdf 2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)
\c at pspicture=\count80

("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: dvips.def on input line 91.

("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\dvips.def"
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\Gin at req@height=\dimen102
\Gin at req@width=\dimen103
)
Package pst-pdf Info: MODE: 0 (dvi -- extraction mode) on input line 102.

No auxiliary output files.

("C:\Program Files\MiKTeX 2.7\tex\latex\pstricks\pstricks.sty"
Package: pstricks 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)

("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pstricks.tex"
`PSTricks' v1.31  <2009/11/27> (tvz)
\pst at dima=\dimen104
\pst at dimb=\dimen105
\pst at dimc=\dimen106
\pst at dimd=\dimen107
\pst at dimg=\dimen108
\pst at dimh=\dimen109
\pst at hbox=\box26
\pst at boxg=\box27
\pst at cnta=\count81
\pst at cntb=\count82
\pst at cntc=\count83
\pst at cntd=\count84
\pst at cntg=\count85
\pst at cnth=\count86
\pst at toks=\toks16
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pstricks.con")
\psunit=\dimen110
\psxunit=\dimen111
\psyunit=\dimen112
\pslinewidth=\dimen113
\pst at customdefs=\toks17
\pslinearc=\dimen114
\everypsbox=\toks18
\psframesep=\dimen115
\pslabelsep=\dimen116
\pst at shift=\dimen117
\theoverlaybox=\box28
)
File: pstricks.tex 2009/11/27 v1.31 `PSTricks' (tvz,hv)

("C:\Program Files\MiKTeX 2.7\tex\latex\xcolor\xcolor.sty"
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\color.cfg"
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: dvips.def on input line 225.
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:\Program Files\MiKTeX 2.7\tex\latex\preview\preview.sty"
Package: preview 2006/08/25 11.84 (AUCTeX/preview-latex)

("C:\Program Files\MiKTeX 2.7\tex\latex\preview\prtightpage.def"
\PreviewBorder=\dimen118
)
\pr at snippet=\count87
\pr at box=\box29
\pr at output=\toks19
)
\pdfoutput=\count88

("C:\Program Files\MiKTeX 2.7\tex\latex\pdftex-def\pdftex.def"
File: pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX
\Gread at gobject=\count89
))
("C:\Program Files\MiKTeX 2.7\tex\latex\pstricks-add\pstricks-add.sty"
Package: pstricks-add 2009/03/17 v. 0.13 package wrapper for pstricks-add.tex (
hv)

("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks-add\pstricks-add.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pst-plot.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\multido\multido.tex"
 v1.41, 2004/05/18 <tvz>
\multido at count=\count90
\multidocount=\count91
\multido at stuff=\toks20
)  v1.04, 2009/06/08)
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pst-node.tex"
 v1.01, 2008/11/26
\psrow=\count92
\pscol=\count93
\psmatrixcnt=\count94
\psrowsep=\skip41
\pscolsep=\skip42
) ("C:\Program Files\MiKTeX 2.7\tex\generic\pst-3d\pst-3d.tex" ("C:\Program Fil
es\MiKTeX 2.7\tex\generic\xkeyval\pst-xkey.tex"
File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
)
`PST-3d' v1.00, 2005/09/03 (tvz))
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks-add\pst-fp.tex"
`pst-fp' v0.04, 2009/11/24 (hv)
\pstFP at xs=\count95
\pstFP at xia=\count96
\pstFP at xib=\count97
\pstFP at xfa=\count98
\pstFP at xfb=\count99
\pstFP at rega=\count100
\pstFP at regb=\count101
\pstFP at regs=\count102
\pstFP at times=\count103
)
("C:\Program Files\MiKTeX 2.7\tex\generic\pst-math\pst-math.tex"
`pst-math' v0.23 , (CJ,hv)) `pstricks-add' v3.36, 2009/11/14 (dr,hv)
\pst at dimm=\dimen119
\pst at dimn=\dimen120
\pst at dimo=\dimen121
\pst at dimp=\dimen122
\pst at cntm=\count104
\pst at cntn=\count105
\pst at cnto=\count106
\pst at cntp=\count107
\@zero=\count108
\pstRadUnit=\dimen123
\pstRadUnitInv=\dimen124
\psLoopIndex=\count109
\pshooklength=\dimen125
\pshookwidth=\dimen126
\@digitcounter=\count110
\psk at subticksize=\dimen127
\pst at xticksizeA=\dimen128
\pst at xticksizeB=\dimen129
\pst at xticksizeC=\dimen130
\pst at yticksizeA=\dimen131
\pst at yticksizeB=\dimen132
\pst at yticksizeC=\dimen133
\psk at llx=\dimen134
\psk at lly=\dimen135
\psk at urx=\dimen136
\psk at ury=\dimen137
\pst at xunit=\dimen138
\pst at yunit=\dimen139
\linecnt=\count111
\chart at ColorIndex=\dimen140
\chart at ColorStep=\dimen141
\pst at chartHeight=\dimen142
\pst at chartStackDepth=\dimen143
\pst at chartStackWidth=\dimen144
\chart at Toggle=\count112
)
File: pstricks-add.tex 2009/11/14 v3.36 `PSTricks-add' (hv)
File: pstricks-add.pro 2009/03/17 v. 0.22, PostScript prologue file (hv)

("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks-add\pst-fp.tex")
File: pst-fp.tex 2009/11/14 v3.36 `PST-fp' (hv)
)
("C:\Program Files\MiKTeX 2.7\tex\latex\pst-func\pst-func.sty"
Package: pst-func 2008/03/21 package wrapper for pst-func.tex (hv)

("C:\Program Files\MiKTeX 2.7\tex\generic\pst-func\pst-func.tex"
`PST-func' v0.60, 2009/10/08 (hv)
\psk at zeroLineWidth=\dimen145
)
File: pst-func.tex 2009/10/08 v0.60 `PST-func' (hv)
)
("C:\Program Files\MiKTeX 2.7\tex\latex\pst-solides3d\pst-solides3d.sty"
Package: pst-solides3d 2009/07/25 package wrapper for pst-solides3d

("C:\Program Files\MiKTeX 2.7\tex\generic\pst-solides3d\pst-solides3d.tex"
`PSTSOLIDESIIID' v4.16, 2009/08/11
\test at mode=\count113
)
File: pst-solides3d.tex 2009/08/11 v4.16 `PST-solides3D'
) (M01.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 13.
LaTeX Font Info:    ... okay on input line 13.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 13.
LaTeX Font Info:    ... okay on input line 13.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 13.
LaTeX Font Info:    ... okay on input line 13.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 13.
LaTeX Font Info:    ... okay on input line 13.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 13.
LaTeX Font Info:    ... okay on input line 13.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 13.
LaTeX Font Info:    ... okay on input line 13.

Preview: Fontsize 10pt
! You can't use `macro parameter character #' in restricted horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##
                             2##3\in@@ {\ifx \in@ ##2\in at false \else \in at tru...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in restricted horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##2##
                                3\in@@ {\ifx \in@ ##2\in at false \else \in at tru...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! Extra \else.
\XKV at ch@ckch at ice ... at tempa \@firstofone \fi \else 
                                                  \ifXKV at pl \XKV at addtomacro@...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

Package xkeyval Info: value `\def \XKV at resa {false}\@firstofone ' is not allowe
d on input line 21.
! Extra \else.
\XKV at s@tk at ys ...XKV at tfam \XKV at s@tk at ys@ {#3}}\else 
                                                  \XKV at whilist \XKV at fams \XK...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\use at par ...t \pst at par ,\@nil \def \pst at par {}\fi 
                                                  
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

! You can't use `macro parameter character #' in restricted horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##
                             2##3\in@@ {\ifx \in@ ##2\in at false \else \in at tru...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in restricted horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##2##
                                3\in@@ {\ifx \in@ ##2\in at false \else \in at tru...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! Extra \else.
\XKV at ch@ckch at ice ... at tempa \@firstofone \fi \else 
                                                  \ifXKV at pl \XKV at addtomacro@...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

Package xkeyval Info: value `\def \XKV at resa {false}\@firstofone ' is not allowe
d on input line 21.
! Extra \else.
\XKV at s@tk at ys ...XKV at tfam \XKV at s@tk at ys@ {#3}}\else 
                                                  \XKV at whilist \XKV at fams \XK...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\use at par ...t \pst at par ,\@nil \def \pst at par {}\fi 
                                                  
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

! You can't use `macro parameter character #' in restricted horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##
                             2##3\in@@ {\ifx \in@ ##2\in at false \else \in at tru...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in restricted horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##2##
                                3\in@@ {\ifx \in@ ##2\in at false \else \in at tru...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! Extra \else.
\XKV at ch@ckch at ice ... at tempa \@firstofone \fi \else 
                                                  \ifXKV at pl \XKV at addtomacro@...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

Package xkeyval Info: value `\def \XKV at resa {false}\@firstofone ' is not allowe
d on input line 21.
! Extra \else.
\XKV at s@tk at ys ...XKV at tfam \XKV at s@tk at ys@ {#3}}\else 
                                                  \XKV at whilist \XKV at fams \XK...
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\use at par ...t \pst at par ,\@nil \def \pst at par {}\fi 
                                                  
l.21 ...olid,fillcolor=lightgray](0,4){20}{x sqrt}
                                                  
I'm ignoring this; it doesn't match any \if.

Preview: Tightpage -32891 -32891 32891 32891
[1] ) 
Here is how much of TeX's memory you used:
 4273 strings out of 95333
 60483 string characters out of 1184215
 209514 words of memory out of 1500000
 7472 multiletter control sequences out of 110000
 3640 words of font info for 14 fonts, out of 3000000 for 5000
 14 hyphenation exceptions out of 8191
 37i,3n,39p,273b,357s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on M01.dvi (1 page, 37612 bytes).




More information about the PSTricks mailing list