Re: Problems with pictures after latest update
"George N. White III" <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <CAKTOP46LoGqk2AYDeTTOPnkMspKDELe7VgY5TUCZkVZ+yLhoHA@mail.gmail.com> |
My MiKTeX was last updated on October 23rd. The MWE works for me using
command-line
latex+dvips+ps2pdf, but xelatex gives:
------------------------------------------------------------------------
LaTeX Warning: Unused global option(s):
[pdfxelatex].
** WARNING ** Image format conversion for PSTricks failed.
** WARNING ** Interpreting special command pst: (ps:) failed.
** WARNING ** >> at page="1" position="(254.862, 526.588)" (in PDF)
** WARNING ** >> xxx "pst: tx@Dict begin STP newpath /ArrowA { moveto }
def /Ar
rowB "
** WARNING ** Image format conversion for PSTricks failed.
** WARNING ** Interpreting special command pst: (ps:) failed.
** WARNING ** >> at page="1" position="(254.862, 526.588)" (in PDF)
** WARNING ** >> xxx "pst: tx@Dict begin STP newpath /ArrowA { moveto }
def /Ar
rowB "
Output written on Sharad_MWE.pdf (1 page).
Transcript written on Sharad_MWE.log.
----------------------------------------------------------
The resulting PDF document has no lines. This error indicates a problem
with "dvipdfmx.cfg". Using
"initexmf --edit-config-file dvipdfmx" I get a 1-line file:
---------------------------------------------------
p 612bp,792bp
---------------------------------------------------
Adding the usual entry for MiKTeX ghostscript (mgs):
---------------------------------------------------
%% Use MiKTeX Ghostscript:
D "mgs.exe -q -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=pdfwrite
-dCompatibilityLevel=%v -dAutoFilterGrayImages=false
-dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false
-dColorImageFilter=/FlateEncode -sOutputFile=\"%o\" \"%i\" -c quit"
--------------------------------------------------
solved the missing axes problem. There are other recent reports of
problems with this file
(http://sourceforge.net/p/miktex/bugs/2289<http://sourceforge.net/p/miktex/bugs/2289/?limit=25>).
There have been some concerns that running
ghostscript could be a security risk, so it is possible the defaults have
been changed.
On Wed, Nov 13, 2013 at 9:41 AM, Sharad Chandarana <[email protected]>wrote:
> Here is a minimal working example:
>
> \documentclass[12pt,openany,pdfxelatex]{book}
> \usepackage{ifthen}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \usepackage{pstricks-add}
> \usepackage{pst-grad}
> \usepackage{pst-sigsys}
> \usepackage{pst-func}
> \usepackage{pst-text}
> \usepackage{pst-plot}
> \usepackage{ipa}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \begin{document}
> \begin{center}
> \psset{xunit=1cm,yunit=1cm}
> \begin{pspicture}(-3,-1)(5,5)
> \psset{arrowscale=1.9,arrowlength=2.3}%,algebraic}
> \psaxes[arrows=D>,linewidth=0.08pt,linestyle=dashed,
> ticks=none,labels=none]%
> {->}(0,0)(0, 0)(3, 4.5)[$x$,0][$y$,90]%
> %
> \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](0,0)(1,4)
> \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](1,4)(2,0)
> \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](0.25,1)(1.75,1)
> %
> \rput[1](0,-0.2){$\scriptstyle 0$}
> \rput[1](1,-0.2){$\scriptstyle 1$}
> \rput[1](2,-0.2){$\scriptstyle 2$}
> \rput[1](-0.2,4){$\scriptstyle 4$}
> \rput[1](-0.2,1){$\scriptstyle 1$}
> \end{pspicture}
> \end{center}
> \end{document}
>
> Thanks.
>
> > Date: Tue, 12 Nov 2013 14:08:57 -0400
> > From: [email protected]
> > To: [email protected]
> > Subject: Re: [MiKTeX] Problems with pictures after latest update
> >
> > I don't see the attachment -- the list software may have removed it. The
> > TeX fragment you posted earlier is far from minimal. In most cases a
> > minimal example is under 20 lines and can easily be pasted into an email.
> >
> >
> > On Tue, Nov 12, 2013 at 9:21 AM, Sharad Chandarana <[email protected]
> >wrote:
> >
> > > Attached is the complete .tex file. I use WinEdt and xelatex the file
> > > using the (default) PDFTeXify and compile to PDF. While using the
> command
> > > prompt, I use the command
> > >
> > > > xelatex picture-prob.tex
> > >
> > > The error
> > >
> > > MiKTeX GPL Ghostscript 9.05: Unrecoverable error, exit code 1
> > >
> > > still shows up.
> > >
> > > Thanks.
> > >
> > > SC
> > >
> > > > Date: Mon, 11 Nov 2013 18:21:24 -0400
> > > > From: [email protected]
> > > > To: [email protected]
> > > > Subject: Re: [MiKTeX] Problems with pictures after latest update
> > > >
> > > > Your example isn't complete -- you need to provide the preamble as
> well
> > > so
> > > > others can try to reproduce the problem. Please provide the complete
> > > .tex
> > > > file and the sequence of commands used to process it.
> > > >
> > > >
> > > > On Mon, Nov 11, 2013 at 3:47 PM, Sharad Chandarana <
> [email protected]
> > > >wrote:
> > > >
> > > > > Thanks for the quick response. Here a pdf of the output.
> > > > >
> > > > > The letter on the left is supposed to be an A. The one on the
> right is
> > > > > fine. Here is what was done to produce the A on the left:
> > > > >
> > > > > \begin{document}
> > > > > \begin{center}
> > > > > \psset{xunit=1cm,yunit=1cm}
> > > > > \begin{pspicture}(-1,-1)(5,5)
> > > > > \psset{arrowscale=1.9,arrowlength=2.3,algebraic}
> > > > > \psaxes[arrows=D>,linewidth=0.08pt,linestyle=dashed,
> > > > > ticks=none,labels=none]%
> > > > > {->}(0,0)(0, 0)(3, 4.5)[$x$,0][$y$,90]%
> > > > > %
> > > > > \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](0,0)(1,4)%
> > > > > \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](1,4)(2,0)%
> > > > >
> > >
> \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](0.25,1)(1.75,1)%
> > > > > %
> > > > > \rput[1](0,-0.2){$\scriptstyle 0$}
> > > > > \rput[1](1,-0.2){$\scriptstyle 1$}
> > > > > \rput[1](2,-0.2){$\scriptstyle 2$}
> > > > > \rput[1](-0.2,4){$\scriptstyle 4$}
> > > > > \rput[1](-0.2,1){$\scriptstyle 1$}
> > > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> > > > >
> > >
> \psline[linewidth=0.7pt,linestyle=solid,linecolor=mitti]{->}(3,2)(5.7,2)
> > > > > %\rput[1](4,2.5){\textcolor[rgb]{0.1,0.53,0.93}{$\scriptstyle L$}
> > > > > \rput[1](4,1.3){$\scriptstyle T= \left[
> > > > > \begin{array}{cc}
> > > > > \scriptstyle a & \scriptstyle b
> \\
> > > > > \scriptstyle c & \scriptstyle d
> \\
> > > > > \end{array}
> > > > > \right]$}
> > > > > \rput[1](4.23,2.25){$\scriptstyle L$}
> > > > > \rput[1](4.23,3.25){$\scriptstyle I$}
> > > > >
> > >
> \rput[1](4.23,2.7){\textcolor[rgb]{0.1,0.53,0.93}{\small\texttt{click}}}
> > > > >
> \pspolygon[linewidth=0.4pt,linecolor=red](4,3)(4.5,3)(4.5,3.5)(4,3.5)
> > > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> > > > > \hspace*{2.5in}
> > > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> > > > > \psset{arrowscale=1.9,arrowlength=2.3,algebraic}
> > > > > \psaxes[arrows=D>,linewidth=0.08pt,linestyle=dashed,
> > > > > ticks=none,labels=none]%
> > > > > {->}(0,0)(0, 0)(3, 4.5)[$x$,0][$y$,90]%
> > > > > %
> > > > > \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](0,0)(2,4)%
> > > > > %
> > > > > \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](2,4)(2,0)
> > > > > %
> > > > > \psline[linewidth=1.7pt,linestyle=solid,linecolor=blue](0.5,1)(2,1)
> > > > > %
> > > > > \rput[1](0,-0.2){$\scriptstyle 0$}
> > > > > \rput[1](1,-0.2){$\scriptstyle 1$}
> > > > > \rput[1](2,-0.2){$\scriptstyle 2$}
> > > > > \rput[1](-0.2,4){$\scriptstyle 4$}
> > > > > \rput[1](-0.2,1){$\scriptstyle 1$}
> > > > > \end{pspicture}
> > > > > \end{center}
> > > > > \end{document}
> > > > >
> > > > > The x and
> > > > > the y are on the arrows of the axes and parts of A are missing.
> This
> > > was
> > > > > not the case before the last update.
> > > > >
> > > > > Thanks for your help.
> > > > >
> > > > > SC
> > > > >
> > > > > > Date: Mon, 11 Nov 2013 15:21:12 -0400
> > > > > > From: [email protected]
> > > > > > To: [email protected]
> > > > > > Subject: Re: [MiKTeX] Problems with pictures after latest update
> > > > > >
> > > > > > Please provide a minimal working example that illustrates the
> > > problem.
> > > > > >
> > > > > >
> > > > > > On Mon, Nov 11, 2013 at 2:36 PM, Sharad Chandarana <
> > > [email protected]
> > > > > >wrote:
> > > > > >
> > > > > > > After updated miktex this morning and after compiling my latex
> > > > > documents,
> > > > > > > I am having the following problems with pictures drawn using
> > > pstricks:
> > > > > > >
> > > > > > > 1. The labels x and y are too close to the respective axes; in
> fact
> > > > > they
> > > > > > > are on the arrows.
> > > > > > > 2. Some lines drawn using \psline show up only partially.
> > > > > > >
> > > > > > > Any help would be appreciated.
> > > > > > >
> > > > > > > SC
> > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------------
> > > > > > > November Webinars for C, C++, Fortran Developers
> > > > > > > Accelerate application performance with scalable programming
> > > models.
> > > > > > > Explore
> > > > > > > techniques for threading, error checking, porting, and tuning.
> Get
> > > the
> > > > > most
> > > > > > > from the latest Intel processors and coprocessors. See
> abstracts
> > > and
> > > > > > > register
> > > > > > >
> > > > >
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> > > > > > > _______________________________________________
> > > > > > > MiKTeX-Users mailing list
> > > > > > > [email protected]
> > > > > > > https://lists.sourceforge.net/lists/listinfo/miktex-users
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > George N. White III <[email protected]>
> > > > > > Head of St. Margarets Bay, Nova Scotia
> > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------------
> > > > > > November Webinars for C, C++, Fortran Developers
> > > > > > Accelerate application performance with scalable programming
> models.
> > > > > Explore
> > > > > > techniques for threading, error checking, porting, and tuning.
> Get
> > > the
> > > > > most
> > > > > > from the latest Intel processors and coprocessors. See abstracts
> and
> > > > > register
> > > > > >
> > > > >
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> > > > > > _______________________________________________
> > > > > > MiKTeX-Users mailing list
> > > > > > [email protected]
> > > > > > https://lists.sourceforge.net/lists/listinfo/miktex-users
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> ------------------------------------------------------------------------------
> > > > > November Webinars for C, C++, Fortran Developers
> > > > > Accelerate application performance with scalable programming
> models.
> > > > > Explore
> > > > > techniques for threading, error checking, porting, and tuning. Get
> the
> > > most
> > > > > from the latest Intel processors and coprocessors. See abstracts
> and
> > > > > register
> > > > >
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> > > > > _______________________________________________
> > > > > MiKTeX-Users mailing list
> > > > > [email protected]
> > > > > https://lists.sourceforge.net/lists/listinfo/miktex-users
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > George N. White III <[email protected]>
> > > > Head of St. Margarets Bay, Nova Scotia
> > > >
> > >
> ------------------------------------------------------------------------------
> > > > November Webinars for C, C++, Fortran Developers
> > > > Accelerate application performance with scalable programming models.
> > > Explore
> > > > techniques for threading, error checking, porting, and tuning. Get
> the
> > > most
> > > > from the latest Intel processors and coprocessors. See abstracts and
> > > register
> > > >
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> > > > _______________________________________________
> > > > MiKTeX-Users mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/miktex-users
> > >
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > November Webinars for C, C++, Fortran Developers
> > > Accelerate application performance with scalable programming models.
> > > Explore
> > > techniques for threading, error checking, porting, and tuning. Get the
> most
> > > from the latest Intel processors and coprocessors. See abstracts and
> > > register
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> > > _______________________________________________
> > > MiKTeX-Users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/miktex-users
> > >
> > >
> >
> >
> > --
> > George N. White III <[email protected]>
> > Head of St. Margarets Bay, Nova Scotia
> >
> ------------------------------------------------------------------------------
> > November Webinars for C, C++, Fortran Developers
> > Accelerate application performance with scalable programming models.
> Explore
> > techniques for threading, error checking, porting, and tuning. Get the
> most
> > from the latest Intel processors and coprocessors. See abstracts and
> register
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> > _______________________________________________
> > MiKTeX-Users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/miktex-users
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> MiKTeX-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/miktex-users
>
--
George N. White III <[email protected]>
Head of St. Margarets Bay, Nova Scotia
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk