next up previous contents Jpgfdraw Home
Next: About this document ... Up: jdrutils Previous: jdr2tex   Contents

eps2jdr

Syntax:
eps2jdr [options] <eps file> <jdr file>

Options:
-bitmap <basename>
Extract bitmaps to be saved as <basename><n>.png.
-v1.0
Save as JDR version 1.0
-v1.1
Save as JDR version 1.1
-v1.2
Save as JDR version 1.2
-v1.3
Save as JDR version 1.3
-v1.4
Save as JDR version 1.4 (default)
-normalsize <n>
Set the normal LaTeX font size to <n>
-verbose
Verbose output
-version
Print current version number and exit

Purpose:

Converts an Encapsulated PostScript file to a JDR file.

Limitations:

Jpgfdraw doesn't have anything like the functionality of PostScript, so there are many limitations. There are many PostScript commands that are either not implemented at all or only work in a limited way. If eps2jdr doesn't work on an EPS file, try using eps2eps on the EPS file and try on the output of that. However there is still no guarantee that it will work.

If eps2jdr can't implement a PostScript command, it will do one of the following:

  1. Find the nearest approximation
  2. Print a warning message and ignore the command (popping any operands off the stack where necessary)
  3. Print an error message, and exit.

If the EPS file contains images (via the image or colorimage operators), each image will be extracted and saved as a PNG file with name <basename><n>.png, where <basename> is the basename of the output JDR file, unless the -bitmap option was used.

Font substitutions may occur, but you can create a PostScript to LaTeX font map in Jpgfdraw's configuration directory1. To do this, use your favourite text editor to create a file called psfontmap. Each line must be in the form:

<PostScript font name>=<Family declaration>,<Series declaration>,<Shape declaration>

The PostScript font name may be a regular express. For example:

.*obliquebold=,\bfseries,\slshape



Footnotes

... directory1
See the user manual

next up previous contents Jpgfdraw Home
Next: About this document ... Up: jdrutils Previous: jdr2tex   Contents
Nicola L. C. Talbot. School of Computing Sciences. University of East Anglia. Last Modified: 2008-08-16