[pstricks] conflict graphics pst-3dplot

Herbert Voss Herbert.Voss at fu-berlin.de
Tue Apr 24 08:36:08 CEST 2018



Am 24.04.2018 um 00:27 schrieb Patrice MEGRET:
>
> I have the following problem : this small program perfectly compiles 
> with pdfLatex  in TexLive2016 but not in Texlive2017. (my Fig1 is a 
> pdf file)
>
> Indeed, in TL2017, it works if pst-3dplot is not loaded or loaded but 
> before graphicx. Moreover, if the rotation angle is not equal to 90 
> degrees than there is no error.
>
> Of course changing the package order solves the problem but it is not 
> always possible because some packages load graphics.
>
> Can you reproduce this strange behavior?
>

Patrice,

it is the default behaviour. You are loading a _latex_ package
but run _pdflatex_. This sometimes works and sometimes not. Use


\usepackage{ifpdf}
\ifpdf\else
   \usepackage{pst-3dplot}
\fi

Herbert

> \documentclass{report}
>
> \usepackage[T1]{fontenc}
>
> \usepackage[utf8]{inputenc}
>
> \usepackage{pstricks}
>
> \usepackage{graphicx}
>
> \usepackage{pst-3dplot}
>
> \begin{document}
>
> \rotatebox{90}{\includegraphics{Fig1}}
>
> \end{document}
>
> Error message in the log :
>
> <Fig1.pdf, id=1, 127.47626pt x 131.49126pt>
>
> File: Fig1.pdf Graphic file (type pdf)
>
> <use Fig1.pdf>
>
> Package pdftex.def Info: Fig1.pdf  used on input line 11.
>
> (pdftex.def) Requested size: 127.47594pt x 131.49092pt.
>
> [1
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> Non-PDF special ignored!
>
> ! pdfTeX error (\pdfsetmatrix): Unrecognized format..
>
> <to be read again>
>
>                    \endgroup \set at typeset@protect
>
> l.12 \end{document}
>
> *File List*
>
>   report.cls 2014/09/29 v1.4h Standard LaTeX document class
>
>   size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
>
> fontenc.sty
>
>    t1enc.def 2017/04/05 v2.0i Standard LaTeX file
>
> inputenc.sty 2015/03/17 v1.2c Input encoding file
>
>     utf8.def 2017/01/28 v1.1t UTF-8 support for inputenc
>
>    t1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc
>
>   ot1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc
>
>   omsenc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc
>
> pstricks.sty 2018/01/06 v0.67 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
>
>   pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
>
> pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
>
> 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)
>
> pstricks.tex 2018/01/06 v2.82 `PSTricks' (tvz,hv)
>
>   pst-fp.tex 2018/01/06 v2.82 `PST-fp' (hv)
>
> graphicx.sty 2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)
>
> graphics.sty 2017/06/25 v1.2c 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
>
> pst-3dplot.sty 2010/01/01 package wrapper for pst-3dplot.tex (hv)
>
>   pst-3d.sty 2009/07/28 package wrapper for pst-3d.tex (hv)
>
>   pst-3d.tex 2010/02/14 v1.11 `PST-3d' (hv)
>
> pst-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 2018/02/18 1.89 `pst-plot' (tvz,hv)
>
> pst-node.sty 2010/04/22 package wrapper for pst-node.tex
>
> pst-node.tex 2018/02/18 1.89 `pst-node' (tvz,hv)
>
> pst-3dplot.tex 2017/04/05 v2.04 `PST-3dplot' (hv)
>
> supp-pdf.mkii
>
> epstopdf-base.sty 2016/05/15 v2.6 Base part for package epstopdf
>
> infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
>
>   grfext.sty 2016/05/16 v1.2 Manage graphics extensions (HO)
>
> kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
>
> ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
>
> kvoptions.sty 2016/05/16 v3.12 Key value format for package options (HO)
>
> kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
>
> etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
>
> ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
>
> pdftexcmds.sty 2018/01/21 v0.26 Utility functions of pdfTeX for LuaTeX 
> (HO)
>
>    ifpdf.sty 2017/03/15 v3.2 Provides the ifpdf switch
>
> epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
>
>     Fig1.pdf    Graphic file (type pdf)
>
> ***********
>
> Patrice
>
>
>
> _______________________________________________
> 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: <http://tug.org/pipermail/pstricks/attachments/20180424/b63781c6/attachment-0001.html>


More information about the PSTricks mailing list