Graphics, Figures & Tablespstricks and perl

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mikjsmith
Posts: 9
Joined: Fri Dec 24, 2010 10:18 pm

pstricks and perl

Post by mikjsmith »

Following on from my comment in this thread (http://www.latex-community.org/forum/vi ... 251#p43242) I thought it would be easier to separate it out.

pstricks (and specifically pst-barcode) under pdflatex need perl to complete. I have initially installed ActivePerl but CrazyHorse notes any version of Perl is fine. I use portable MiKTeX and so wondered if I could get a portable version of Perl (http://strawberryperl.com/releases.html) working with it.

I assume pstricks (?) will use either a Window environment variables or file association to run the perl script? Is this correct or is the location hard coded? Can I specify the location of Perl so that I can use the portable version?

thanks

mike

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

pstricks and perl

Post by CrazyHorse »

mikjsmith wrote: pstricks (and specifically pst-barcode) under pdflatex need perl to complete. I have initially installed ActivePerl but CrazyHorse notes any version of Perl is fine. I use portable MiKTeX and so wondered if I could get a portable version of Perl (http://strawberryperl.com/releases.html) working with it.

I assume pstricks (?) will use either a Window environment variables or file association to run the perl script? Is this correct or is the location hard coded? Can I specify the location of Perl so that I can use the portable version?
PSTricks doesn't use Perl. It is the program pdfcrop which cuts all whitespace around the already created pdf. You can try to use the option [crop=off] for auto-pst-pdf. In this case the coordinates from the pspicture environment are taken for the created image width/height.

Herbert
Post Reply