Replace strings in encapsulated PostScript figures.

learn more… | top users | synonyms

17
votes
3answers
9k 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
997 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
3k 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
886 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
7k 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
916 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 ...
5
votes
2answers
949 views

psfrag substitute when using pdflatex

My standard way of including math in figures so far was to use psfrag and latex+dvips+ps2pdf. I am now moving to pdflatex and tend to prepare my graphics in pdf format. I was wondering if there ...
4
votes
2answers
2k 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 ...
5
votes
2answers
113 views

Problem with psfrag + fncychap in TeXLive 2013

I am working with psfrag to do my plots and fncychap to have nice chapter titles. Please check the minimal example: ...
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
120 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
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 ...
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
139 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
938 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
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
406 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 ...