[pstricks] ps4pdf.bat

Luciano Battaia batmathica at yahoo.it
Sun Mar 18 19:34:44 CET 2007


It is very strange. Try the following simple code:
   
  \documentclass{article}
\usepackage{pstricks}
\usepackage{pst-pdf}
\begin{document}
Lorem ipsum. Lorem ipsum. Lorem ipsum.
\begin{center}
\begin{pspicture}(-1,-1)(2,2)
\psdots(0,0)(1,0)(0,1)(1,1)
\end{pspicture}
\end{center}
Lorem ipsum. Lorem ipsum. Lorem ipsum.
\end{document}
   
  Then try directly items 4 and 5 of my previous message (that is without compiling with LaTeX).
   
  Luciano Battaia


Iosif Pinelis <ipinelis at mtu.edu> ha scritto:
  Luciano Battaia wrote:

> 
> One elementary way to use PDFLaTeX on a file with PSTricks code, under 
> Windows, is:
> 1.Put your tex file (myfile.tex) in a dir (mydir). In the same dir put 
> a copy of the file ps4pdf.bat (you can download it, for example, from 
> http://www.batmath.it/latex/down/ps4pdf.bat).
> 2.Work as usual with your file, WITHOUT compiling with PDFLaTeX.
> 3.When the file is ready (and not before) put the command 
> \usepackage{pst-pdf} in your document and compile again with LaTeX.

Thank you very much Luciano. I do this but get

LaTeX error: Something's wrong--perhaps a missing \item

I use TeXnicCenter, with latex profile

C:\texmf\MiKTeX\bin\latex.exe
--src -interaction=nonstopmode -max-print-line=120 "%Wm"

Iosif Pinelis

> 4.At a DOS prompt change the dir to mydir and then run "ps4pdf 
> myfile.tex".
> 5.Compile with PDFLaTeX as usual.
> That's all.
> Obviously you can configure your editor (for example WinEdt) to do all 
> this in a simpler way.
> 
> Luciano Battaia
>
>
> ------------------------------------------------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! 
> Mail 
> 
 		
---------------------------------
 L'email della prossima generazione? Puoi averla con la  nuova Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070318/52f5ba8c/attachment.html 


More information about the PSTricks mailing list