<div>I have just tried the code with TexnicCenter and all works well.</div> <div>I suggest you to make a last try.</div> <div>Put your dir with the file and the ps4pdf.bat directly in a subdir of C:, using names WITHOUT SPACES. I think that dos prompt does not work well in directories with spaces.</div> <div>Good luck!</div> <div>Luciano Battaia<BR><BR><B><I>Iosif Pinelis <ipinelis@mtu.edu></I></B> ha scritto:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Luciano Battaia wrote:<BR><BR>> It is very strange. Try the following simple code:<BR>> <BR>> \documentclass{article}<BR>> \usepackage{pstricks}<BR>> \usepackage{pst-pdf}<BR>> \begin{document}<BR>> Lorem ipsum. Lorem ipsum. Lorem ipsum.<BR>> \begin{center}<BR>> \begin{pspicture}(-1,-1)(2,2)<BR>> \psdots(0,0)(1,0)(0,1)(1,1)<BR>> \end{pspicture}<BR>> \end{center}<BR>> Lorem ipsum. Lorem ipsum. Lorem
ipsum.<BR>> \end{document}<BR>> <BR>> Then try directly items 4 and 5 of my previous message (that is <BR>> without compiling with LaTeX).<BR><BR>This time I get a message from "16 bit MS-DOS Subsystem":<BR><BR>C:\Windows\system32\cmd.exe - ps4pdf ipsum.tex<BR>The NTVDM CPU has encountered an illegal instruction.<BR>C5:0e0a IP:0019 OP:63 03 00 fb 01<BR><BR>Then it compains again that it can't find header file tex.pro:<BR><BR>><BR>> Microsoft Windows XP [Version 5.1.2600]<BR>> (C) Copyright 1985-2001 Microsoft Corp.<BR>><BR>> C:\Documents and Settings\Owner>cd My Documents<BR>><BR>> C:\Documents and Settings\Owner\My Documents>cd mtu<BR>><BR>> C:\Documents and Settings\Owner\My Documents\mtu>ps4pdf ipsum.tex<BR>> ps4pdf: the batch script could not be found.<BR>><BR>> C:\Documents and Settings\Owner\My Documents\mtu>ps4pdf ipsum.tex<BR>><BR>> C:\Documents and Settings\Owner\My Documents\mtu>latex --src
<BR>> -interaction=nonsto<BR>> pmode "ipsum.tex" 1>"ipsum-ps4pdfa.log"<BR>> C:\Documents and Settings\Owner\My Documents\mtu>dvips -o <BR>> "ipsum-pics.ps" "ipsum<BR>> .dvi" 1>>"ipsum-ps4pdfb.log"<BR>> This is dvips(k) 5.95a Copyright 2005 Radical Eye Software <BR>> (www.radicaleye.com)<BR>> dvips: ! Couldn't find header file tex.pro<BR>> *** An error message appeared. Abnormal termination! Look at <BR>> ipsum-pst-pdf.log *<BR>> **<BR>> Press any key to continue . . .<BR><BR>Thank you again for your help.<BR><BR>Iosif Pinelis<BR><BR>> <BR>> Luciano Battaia<BR>><BR>><BR>> */Iosif Pinelis <IPINELIS@MTU.EDU>/* ha scritto:<BR>><BR>> Luciano Battaia wrote:<BR>><BR>> ><BR>> > One elementary way to use PDFLaTeX on a file with PSTricks code,<BR>> under<BR>> > Windows, is:<BR>> > 1.Put your tex file (myfile.tex) in a dir (mydir). In the same<BR>> dir put<BR>> > a copy of the
file ps4pdf.bat (you can download it, for example,<BR>> from<BR>> > http://www.batmath.it/latex/down/ps4pdf.bat).<BR>> > 2.Work as usual with your file, WITHOUT compiling with PDFLaTeX.<BR>> > 3.When the file is ready (and not before) put the command<BR>> > \usepackage{pst-pdf} in your document and compile again with LaTeX.<BR>><BR>> Thank you very much Luciano. I do this but get<BR>><BR>> LaTeX error: Something's wrong--perhaps a missing \item<BR>><BR>> I use TeXnicCenter, with latex profile<BR>><BR>> C:\texmf\MiKTeX\bin\latex.exe<BR>> --src -interaction=nonstopmode -max-print-line=120 "%Wm"<BR>><BR>> Iosif Pinelis<BR>><BR>> > 4.At a DOS prompt change the dir to mydir and then run "ps4pdf<BR>> > myfile.tex".<BR>> > 5.Compile with PDFLaTeX as usual.<BR>> > That's all.<BR>> > Obviously you can configure your editor (for example WinEdt) to<BR>> do all<BR>> > this in a
simpler way.<BR>> ><BR>> > Luciano Battaia<BR>> ><BR>> ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> > L'email della prossima generazione? Puoi averla con la nuova Yahoo!<BR>> > Mail<BR>> > <BR>><BR>> ------------------------------------------------------------------------<BR>> L'email della prossima generazione? Puoi averla con la nuova Yahoo! <BR>> Mail <BR>> </BLOCKQUOTE><p> 
                <hr size=1><font face="Arial"
size="2"> L'email della prossima generazione? Puoi averla con la <a href=" http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/* http://it.docs.yahoo.com/nowyoucan.html">nuova Yahoo! Mail</a></font>