PDF Frag by Daniel Vogtland is a front end, combining LaTeX with the PsFrag package and GhostScript. It was inspired by the program PSFragger by Primoz Cermelj. The goal is to benefit from the power of PsFrag within PDF LaTeX documents. Labels can be used as placeholders to be replaced with LaTeX output. Additionally PDF Frag crops the resulting PDF to relevant content. Another feature is the automatic search for floating point numbers as appearing in EPS graphs produced by GnuPlot.

Requirements: For using PDF Frag some tools must be installed on your system. First of all you will need JAVA with JDK 1.5 (or higher) to run PDF Frag. The free JAVA library iText is located in the lib folder, so there is no need to install it on your system (if you want to write your own PDF code you will have to do so, of course). External programs are the LaTeX compiler, the DviPs converter (these programs have been taken from the MiKTeX 2.4.1461 distribution during testing) and the Ghostscript compiler (gswin32c.exe version 8.54 has been tested). All external programs must allow command line batch mode.

Starting the Application: Installation is done by extracting the archive files to a new directory. It is not possible to use a JAR file because of using relative paths during calculations. You have to call the main class Application.class instead. Do not forget to add the iText library to the class path. If you switch to the application directory of your install, you may call
    java -classpath ./bin;./lib/itext-2.0.2.jar pdffrag.Application "."
The optional argument sets the initial directory for image files. There is a ready-to-use batch file called start.bat in the application directory that should work in most cases.

What do you want to know?

User Interface Description

Processing Pipeline

Setting Defaults

Solving Errors