Replace strings in encapsulated PostScript figures.

learn more… | top users | synonyms

15
votes
2answers
8k views

Using psfrag with pdflatex

Is there any way of using psfrag with pdflatex? It seems fairly similar to the problem of using pstricks with pdflatex. Do they both depend on the same things, or does psfrag include pstricks? Can I ...
8
votes
1answer
1k views

Why is there no pdffrag package?

The psfrag package has been around for more than a decade* and is easy to use: \usepackage{graphicx}% http://ctan.org/pkg/graphicx \usepackage{psfrag}% http://ctan.org/pkg/psfrag ... ...
4
votes
2answers
895 views

Psfrag or comparable tagging method with XeTeX

I understand from this question that using psfrag to replace tags in eps-files works well with pdfLaTeX. I also think I understand from this question that there was no working mechanism to accomplish ...
11
votes
8answers
2k views

What do people use for modifying figures?

I usually create figures for my articles in Matlab: various plots of numerical and analytical solutions. One thing that I don't like about it is that the font is different in the figure and in the ...
3
votes
2answers
847 views

XeLaTeX and EPS figure with consistent fonts

I'm using Miktex 2.9 and XeLaTeX plus some EPS figures. For consistent fonts along the document, I used to play with psfrag or directly use pstricks. I'm facing the situation where none of the above ...
3
votes
3answers
6k views

Replacing labels in EPS file by LaTeX - text not where it should be

I am spawning a .eps file with octave by using this .m file: function dummy xlim([0 81]); x = [0:0.01:81]; y=x.^0.5+x.^0.4+x.^0.3+x.^0.2+x.^0.1; plot ...
3
votes
2answers
862 views

Using TikZ and psfrag

I use psfrag to replace tags in figures by LaTeX text and formulas. Recently I wanted to go one step further, lets say I have a figure that has two tags in it "a" and "b", I'd like to have a nice ...
4
votes
2answers
1k views

Tagging for PSFrag

What programs do people use to put their tags on ready to be replaced by psfrag? I've tried inkscape but if I write in the text "hello" say with inkscape then export as eps PSfrag doesn't seem to ...
0
votes
1answer
1k views

Add Latex font for figure labels, legends and equation annotations with .png and .eps figures

For exporting eps figures from Matlab i use matlabfrag and laprint functions so that i split the psfrag commands (.tex) and figure(.eps) streams. During the compilation using pstool or auto-pst-pdf ...
4
votes
1answer
2k views

How to use pstool in pdfLatex?

Update: After I adding those --shell -escape commands, when I run the code as below, it still cannot work. \documentclass[pdftex]{memoir} \usepackage{color} \usepackage{pstool} \input macros.tex ...
3
votes
0answers
114 views

Chemnum/PS-Frag with EPS-Files and PNG-Files [duplicate]

In my research report, I would like to include both, EPS files to achieve automatic numbering of my compounds in schemes with chemnum and also PNG files to include 3D structures of my molecules. I ...
3
votes
0answers
1k views

Alternatives to Inkscape for EPS tagging for psfrag [closed]

So it seems the latest version of Inkscape is not very psfrag-friendly: If you insert text tags into your EPS then upon saving (even if you deselect "Convert text to paths") it still encodes the tags ...
2
votes
1answer
110 views

How can I avoid manual deletion of all helper files when I use psfrag?

I have a problem in getting pstool to work with \psfragfig. I have a folder structure that looks as follows: main.tex images/ | |-testeps.eps The MWE is shown below. All the packages ...
2
votes
2answers
753 views

Bad font using \psfrag

I'm trying to include a figure that I made in MATLAB. I want to change the font using \psfrag, however there seems to be a problem when scaling the figure down. It keeps the font the same size as the ...
2
votes
1answer
1k views

pstool stopped working

In some figures I create for my thesis I want to replace the labels and such using the same font and size as in the rest of the thesis. A couple of month ago I already used psfrag and pstool (with ...
1
vote
2answers
1k views

Tight bounding box for EPS

This is a follow-up of the question EPS file with tight BB & Psfrag labels. I have this file named model.eps (see further below on how to get the file) and I am replacing the labels on the figure ...
0
votes
1answer
388 views

How to automate a job of changing tags in a bunch of EPS images and convert them to PDF

This post is a continuation to my earlier post here: Creating standalone eps files and using batch files to automate the process Xport gave good answers that work! One goal of this whole process ...