|Published (Last):||27 August 2004|
|PDF File Size:||3.12 Mb|
|ePub File Size:||17.96 Mb|
|Price:||Free* [*Free Regsitration Required]|
The easiest way is running xelatex instead of pdflatex. It detects itself PostScript code or eps images in the document and does the conversion on the fly. If you do not want to use xelatex then there are other solutions:. If you have an older system use. For more information see PSTricks web page. For Windows you have to install a Perl version, if you want to use the full power of the auto-pst-pdf package. However, if you do not want or cannot install Perl then use.
There is also a Perl script pst2pdf which can create the document with pdflatex and also the PSTricks images as pdf png whatever images. It takes the preamble of the main document and creates stand-alone-documents for all PostScript specific code. While I was not aware of the solution provided by Herbert, let me also introduce another solution. Include the pstricks package in your. Now, when processing your files to generate the final pdf file go through these steps in the following it is assumed that main.
Fortunately, all these steps can be automated in a makefile I wish there would be a way to attach a file to these answers but I have found none in the advanced help, sorry about that :. If you copy and paste this makefile to one of yours make sure to put the tabs at the right locations. An advantage of this approach is that it works smoothly, just typing make after editing your LaTeX files will make all the hard work for you with no other intermediate steps for you to take care of.
If you have to process bib references then type: make , then bibtex and make again. Sign up to join this community. The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered. Ask Question. Asked 9 years, 5 months ago. Active 5 years ago. Viewed 89k times. Martin Vseticka Martin Vseticka 2, 4 4 gold badges 19 19 silver badges 16 16 bronze badges.
Active Oldest Votes. I see one shortcoming with pstricks and tikz mentioned several times by other users : this is the fact that we have to compile over and over the same figures when working on a report.
With the shell escape, it becomes problematic because the compilation takes longer. Equivalently, it may be more relevant to compile the pstricks figures separately separate files and then, input the pic. Any thoughts? I suppose it'd be possible to do something like get the MD5 hash of the output and the input, put it in the aux file, and then on recompile, if the hash of the input or output do not match the stored one, recompute.
Jan 6 '11 at I've just been using it on a very picture-intensive document separate pictures and it saved a lot of hanging around waiting for the thing to compile. You can easily use pstricks with pdflatex following this procedure: Include the pstricks package in your. How about if you are not using a command line or for that much linux at all?
This isn't a way of using pdfLaTeX. It avoids the use of pdfLaTeX instead. Make sure you compile it with pdflatex --shell-escape filename. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Subscribe to RSS
There is a wide array of commands available for making graphics. Coordinates in PSTricks are always represented in parentheses, as the following example scaled illustrates:. PSTricks commands are low level, so many LaTeX packages have been made in order to ease the creation of several kinds of graphics that are commonly used on mathematical typesetting. The previous example also illustrate that TeX commands can be used as elements into the pictures.
Using PSTricks with pdflatex on Overleaf