Code covered by the BSD License  

Highlights from
Make Inkscape PostScript files compatible with psfrag in LaTeX

5.0

5.0 | 1 rating Rate this file 10 Downloads (last 30 days) File Size: 2.04 KB File ID: #29649

Make Inkscape PostScript files compatible with psfrag in LaTeX

by

 

eps files exported with Inkscape cannot be used with psfrag.

| Watch this File

File Information
Description

Open your PostScript file with "psfragcompatible"
The function searches the PostScript file for strings of the form <01020304>Tj or [<010203>-1<0405>-1<06>-1<07>1<08>129<090a06>]TJ and replaces them by strings of the form (int)Tj, where int is a number 1,2,3, ...
Finally you can use \psfrag{int}{your latex expression} in LaTeX.

This function is a modification of the function "replaceinfile" written by Pekka Kumpulainen.

The workaround is explained on http://tavmjong.free.fr/INKSCAPE/MANUAL/html/File-Export.html

Acknowledgements

Replace Strings In Text File inspired this file.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
13 Apr 2011 Paul

Great!

Does exactly what it says its does, and now \psfrag works, YAY! :)

Contact us