[pstricks] pdflatex question

Iosif Pinelis ipinelis at mtu.edu
Fri Mar 16 16:12:34 CET 2007


Thank you very much Luciano. Is it possible to run pst-pdf on plain 
Windows (without Cygwin)? If so, what is a better way to do that? (I 
have only found instructions for Unix/Linux(?) online).

Iosif Pinelis

Luciano Battaia wrote:

> Now with the new package pst-pdf it is possible to run pdflatex also 
> in files with pstricks code. You must preprocess files using pst-pdf 
> that automatically extracts pstricks (and other postscript) code from 
> the Latex source and then reinserts it during pdflatex compilation. 
> Details also in the pstricks site.
> It's preferable to use this way, instead of making separate files with 
> psticks pictures.
> I have written a small guide for my students (at High School), but  it 
> is in italian!
> Luciano Battaia
>  
>
>
> */"Andrzej J. Maciejewski" <andrzej.j.maciejewski at gmail.com>/* ha scritto:
>
>     Iosif,
>     the problem is that to produce a pdf file from latex there are at
>     least two ways:
>     the one you described and the other is to run pdflatex (in the
>     office they know only the last one). But having a pstricks code in
>     latex  file you cannot run pdflatex on it.
>     Thus, you can remove pictures from your paper and send them
>     separately as ps files
>     or you can make ps files with figures and insert them to your file
>     using graphics package.
>     -Andrzej
>
>     On 3/15/07, *Iosif Pinelis* <ipinelis at mtu.edu
>     <mailto:ipinelis at mtu.edu>> wrote:
>
>         Sorry for a wrong subject of my previous message!
>
>         Iosif Pinelis wrote:
>
>         > Hi,
>         >
>         > I have received a message from the editorial assistant of a
>         journal,
>         > saying
>         >
>         >
>         >> Would you know how I can successfully run PDFLaTeX on your
>         file? The
>         >> problem is the pspictures. I need PDFLaTex to generate the
>         JIPAM files.
>         >
>         >
>         > Apparently the problem is with pictures like this:
>         >
>         > \usepackage{pstricks}
>         >
>         > %% My definition
>         > \newcommand{\mvec}[1]{\mbox{\bfseries\itshape #1}}
>         > \renewcommand{\u}{\,%
>         > \psset{unit=.7pt}
>         > \begin{pspicture}(0,0)(9,10)%(10,20)
>         > %\psset{unit=1pt}
>         > \psline[linewidth=.3pt,origin={0,1}]{-}(0,0)(2,5)(7,5)(9,10)
>         > \end{pspicture}
>         >
>         > I use either TeXnicCenter to produce pdf files on Windows
>         (without
>         > knowing how the black box works) or, on Linux, dvips -o
>         followed by
>         > ps2pdf. I don't use pdflatex explicitly. Could you please
>         tell me what
>         > the problem may be and how to solve it? Thank you.
>         >
>         > Iosif Pinelis
>
>         _______________________________________________
>         pstricks mailing list
>         pstricks at tug.org <mailto:pstricks at tug.org>
>         http://tug.org/mailman/listinfo/pstricks
>
>
>
>
>     -- 
>     Andrzej J. Maciejewski                       Institute of Astronomy
>     tel. +48 68 328 30 21                        University of Zielona
>     Góra
>     fax. +48 68 328 73 60                       Podgórna 50, 65-246
>     Zielona Góra
>     http://astro.ia.uz.zgora.pl/~maciejka/
>     <http://astro.ia.uz.zgora.pl/%7Emaciejka/>    POLAND
>     _______________________________________________
>     pstricks mailing list
>     pstricks at tug.org
>     http://tug.org/mailman/listinfo/pstricks
>
>
> ------------------------------------------------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! 
> Mail 
> <%20http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*%20http://it.docs.yahoo.com/nowyoucan.html> 
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>pstricks mailing list
>pstricks at tug.org
>http://tug.org/mailman/listinfo/pstricks
>  
>



More information about the PSTricks mailing list