Re: Problem with PSTricks using MikTex 2.9
Ulrike Fischer <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <[email protected]> |
Am Fri, 4 Nov 2016 18:04:54 -0600 schrieb Bruce Allison: > Hello, > Thanks for all for the good suggestions regarding getting my pstricks > commands to compile in WinEdt 6/MikTex 2.9 (under Windows 10) and > produce a pdf file. (See earlier posts for the exact commands). Here > is an update on the success of the various suggestions: > > Suggestion 1. Compile using the sequence latex, dvips, ps2pdf from the > menu in WinEdt. > Result: Latex works (now that I have changed the dvi rendering method) > and produces a correct dvi file. Then dvips produces an error message > (Cannot run C:\Program~2\PCTex\PCTexv6\pctex6.exe > “My_path\Test_diagram.ps”), but also a ps file. I can't believe that dvips tries to start pctex6, but menus in winedt can do more complicated stuff. And an old winedt as your winedt 6 can perhaps try to call pctex6. You could try to install the new winedt 10 and look if it works better. Or compile on the command line. > Finally, ps2pdf > produces an error message (Cannot run “C:\Program Files > (x86)\Adobe\Reader 9.0\Reader\AcroRd32” “My_path\Test_diagram.pdf”), but > also a correct pdf file. Sounds as if the configuration of winedt points to the wrong acrobat. Check the pathes. > Suggestion 2: Add two lines at the beginning of the file (see Jerzy’s > post), There are not necessary if you call xelatex from a menu. > and compile using xelatex. Result: This doesn’t work for me. > MikTex reports that “Sorry, but xelatex did not succeed” and that > “XeLatex failed to product a pdf file”. The last line in the log > file is “\pst@toks=\toks25”. log-files normally doesn't end like this. Either you kill the process or miktex tried to install a missing package and failed. The best is to compile from a command line to get better error messages. -- Ulrike Fischer http://www.troubleshooting-tex.de/ ------------------------------------------------------------------------------ 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