Re: Problem with PSTricks using MikTex 2.9
"M.Kraft" <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Organization | M.Kraft - Software-Dokumentation |
| Message-ID | <[email protected]> |
Hi Bruce!
Jerzy's lines need to be the first lines of the document:
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
...
\documentclass{article}
Cheers,
Marckus
On 02.11.2016 05:42, Bruce Allison wrote:
> 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
>
--
Marckus Kraft - Software-Dokumentation
mailto: [email protected]
Homepage: http://www.software-dokumentation.net
Profil: http://profil.software-dokumentation.net
Mobil: +49 173 57 60 232 Office: +49 69 38 99 51 72
------------------------------------------------------------------------------
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