Re: Problem with PSTricks using MikTex 2.9

"Jerzy Wrobel" <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Bruce,
If you need pdf then xelatex is probably the simplest solution.
It worked for me, also for the small example you have provided.
I am not familiar with WinEdt, so maybe you give a try to
TeXstudio, which I use? This editor understand lines like

% !TEX TS-program = xelatex

which simplifies compilation. Did you succeed with xelatex
on non-pstrick documents?
Jerzy


> Jerzy,
> Thanks for this suggestion.
>
>   I haven't seen lines like the ones you suggested adding.  I am working
> in WinEdt 6, so I just added the lines in the tex file after
> \documentclass{article}.  This was certainly not right, since they would
> just be ignored by latex because of the %.
>
> In any case, compiling to pdf (which is what I want) in xelatex gave the
> message "Sorry but xelatex.exe did not succeed".   Do you have a
> clarification of your suggestion?
> Bruce
>
>
> On 2016-11-01 3:32 AM, Jerzy Wrobel wrote:
>> Bruce,
>>
>> Try to compile to pdf with xelatex, in my case it works
>> without any additional steps. I just add two following
>> lines at the beginning:
>>
>> % !TEX TS-program = xelatex
>> % !TEX encoding = UTF-8 Unicode
>>
>> Jerzy
>>
>>> I am trying without success to draw a diagram using the latex package
>>> PSTricks.  A minimal version of the the command sequence that I am
>>> using
>>> is:
>>>
>>> \documentclass{article}
>>> \usepackage{pstricks}
>>> \begin{document}
>>> \begin{pspicture}(-1,-1)(5,2)
>>> \psline(0,0)(4,0)
>>> \psline(2,0)(2,1)
>>> \end{pspicture}
>>> \end{document}
>>>
>>> When I try to compile these commands using latex  in MikTex 2.9 (under
>>> WinEit 6), I get the message:
>>>          "MikTex Problem Report.  Some PostScript specials could not be
>>> rendered."
>>>
>>> Exactly the same commands compile without any problem using PCTex 6
>>> instead of MikTex 2.9 (but unfortunately PCTex 6 will not work for my
>>> whole project).
>>>
>>> I have uninstalled and then reinstalled MikTex (under Windows 10) but
>>> this doesn't help.
>>>
>>> I really need to draw a lot of similar pictures  in an article, and I
>>> have hit a wall here.  Any suggestions about how to avoid this PSTricks
>>> problem using Miktex will be greatly appreciated!
>>>
>>> Bruce
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Developer Access Program for Intel Xeon Phi Processors
>>> Access to Intel Xeon Phi processor-based developer platforms.
>>> With one year of Intel Parallel Studio XE.
>>> Training and support from Colfax.
>>> Order your platform today. http://sdm.link/xeonphi
>>> _______________________________________________
>>> Q: How can I leave the mailing list?
>>> A: See http://docs.miktex.org/faq/support.html#leavingml
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> _______________________________________________
>> Q: How can I leave the mailing list?
>> A: See http://docs.miktex.org/faq/support.html#leavingml
>
>
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Q: How can I leave the mailing list?
> A: See http://docs.miktex.org/faq/support.html#leavingml
>



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.