Replace strings in encapsulated PostScript figures.

learn more… | top users | synonyms

1
vote
1answer
14 views

standalone not working with psfrag

I have the following MWE \documentclass{standalone} \usepackage{psfrag} \begin{document} text \end{document} I use latex and dvipdf. I have two machines with MacTex-2016. I've just updated with ...
0
votes
0answers
20 views

Psfragfig generating duplicate figure without text

I am writing my project report and I want all my figures to have same font size and type as Main tex file even on resizing the figure. I am using gnuplot epslatex terminal to output my figure(foo.tex +...
2
votes
2answers
61 views

Issue with graphicx and auto-pst-pdf

This is the first time I write on this forum so I hope I do everything fine. I am using TexMaker and I have the latest version of MikTex 2.9. I am having serious issues with my thesis. I need to ...
1
vote
0answers
22 views

3D Rotate Type in .eps File and Using psfrag in Latex

I create my figures using Adobe Illustrator CC 2015. I see that type can be rotated within the plane of illustration and latex with psfrag will handle it just fine. But let's say I want some type that ...
1
vote
1answer
34 views

PSfrag does not change the text

I want to practice psfrag but it does not work! I don't know what to do. Here is my LaTeX document, \documentclass[12pt]{amsart} \usepackage[foot]{amsaddr} \usepackage{mathrsfs} \usepackage{graphics}...
0
votes
1answer
49 views

How to use \psfrag with Simulink?

I have tried to draw a block diagram in Simulink that has annotation fields. Then I have exported it in eps format from Matlab command window: print -deps -r300 -s resolver.eps The picture ...
0
votes
1answer
23 views

psfrag failing - related to white space?

I have the following .tex file: \documentclass{standalone} \usepackage{psfrag} \psfrag{Final Epidemic Size}[][][]{Final Epidemic Size} \begin{document} \includegraphics{../BookTemplate/intro/...
6
votes
0answers
110 views

Chemical compound numbering in pdfLaTeX without `--shell-escape`?

The package chemscheme, included in chemstyle, allows for temporary text "tags" in .eps files to be replaced with designated chemical compound enumerations (A, B, C, ...; 1, 2, 3, ... ; etc.). This ...
2
votes
2answers
48 views

overfull \hbox warning - two plots side-by-side

I am trying to create an environment for plotting two figures side-by-side: \begin{figure}[t] \begin{minipage}[b]{0.49\textwidth} \flushleft \psfragfig[frame,...
5
votes
1answer
128 views

Can't get psfrag to replace text in pdf

I have a PDF file converted to EPS using Acrobat 11. While I've successfully used psfrag in the same LaTeX document to replace text (replace font, basically) in EPS files generated by Matlab R2013a, I ...
2
votes
0answers
70 views

PSfrag comparable package / method for XeLaTeX

I am compiling my TEX files using XeLaTeX. I have created a lot of EPS files using MATLAB. However, the text and math fonts are not consistent. Unfortunately the PSfrag package is not compatible ...
1
vote
0answers
86 views

pdflatex with auto-pst-pdf won't compile anymore

I tried to compile a document with an eps figure in it the same way I used to before. After my update yesterday (first one in ... years...) compilation won't work anymore, even with old eps-figures ...
3
votes
3answers
112 views

LaTeX and Mathematica plot with same font/style

I know there are a couple of questions with answers to this but none of them seems to work for me so I ask here. Some basic facts: I have 1. Mac OSX 2. Very limited knowledge in Terminal (so things ...
1
vote
0answers
17 views

font sizes of points of x and y axes is large compared to script size

I am using psfrag to convert eps (converted from figure to eps) to pdf . But in the pdf that is generated, the font size of points of the axes is large and cant be adjusted properly. Please see the ...
2
votes
0answers
199 views

Psfrag not replacing tags into LaTeX typeset

I am trying to use the psfrags package to include LaTeX typeset into my .eps figures, but it is not working. I have followed the instructions provided in the following link. The psfrag.sty file is ...
1
vote
0answers
186 views

psfragfig/matlabfrag figure with LyX [closed]

I want to include some psfrag-figures in PDF output with LyX 2.1.3, e.g. ex02.eps & ex02.tex compiled from Matlabfrag's ex02.m, but it does not work. It worked with LyX 1.5.6, see Matlabfrag ...
2
votes
1answer
79 views

Psfragfig conflict with bibliography

I have a problem using psfragfig and \bibliopraphy. When I don't include the biblio-fille via \bibliography(biblio) the command \psfragfig works well. Once I apply \bibliography(biblio) I can read in ...
2
votes
1answer
122 views

Using Gael Varoquaux's garamond fonts with psfrag (ideally: non-root solution)

For my thesis, I really like to use the modified Garamond fonts by Gaël Varoquaux, because I think they are exceptionally pleasing visually. While Gael does not support the fonts any more, he suggests ...
2
votes
0answers
69 views

Is there a way i can make psfrag replace every number in a plot?

I want to replace every number in the axis of a plot. Can psfrag do this? If not, is there any other tool i can use to get the same effect?
2
votes
1answer
108 views

Is there some way i can edit a Octave eps and send it to LaTeX to be edited with psfrag?

I want to cut just a part of a eps plot made with Octave (its colorbar) and send it to LaTeX, still being able to use psfrag with it. Is there a way to do it?
2
votes
0answers
253 views

Converting EPS file to standalone PDF with PSFRAGs or compiling both data types in one Latex file

I have a few figure files and some of them are already PDF files, for example directly obtained from MATLAB as PDF standalone file. Some 3 or 4 files are EPS files with which I use PSFRAG to embed the ...
2
votes
2answers
238 views

Is it possible to substitute text inside a pdf figure?

I have a drawing made by the CAD DraftSight, I exported the drawing into a .pdf file and then I included it with \usepackage{graphicx} % ... \begin{figure}[!htb] \centering \includegraphics[scale=1]{...
2
votes
2answers
414 views

What does psfrag do, and can it be made to work with pdflatex?

I'm picking up a document, thus far, created by someone else who is unavailable for questioning. I have a vague idea what is trying to be accomplished with this: \clearpage \begin{figure}[h!] \...
1
vote
0answers
308 views

text replacement using psfrag in the .eps format

Can anyone tell how one can use the text replacement using psfrag in the .eps format of 3 dimensional matlab plot? \begin{figure}[h] \centering \psfrag{P_dbm}[cc][cc][0.7]{$P_{dBm}$} \psfrag{...
2
votes
0answers
283 views

No replacement of temporary labels by chemnum in a chemical sheme

I tried to replace the temporary labels TMP1, TMP2 and TMP3 in an .eps file made with ChemDraw using the chemnum package, so to get an automatic numbering of the compounds, but this did not work for ...
2
votes
0answers
104 views

Have auto-pst-pdf and pstool merged?

auto-pst-pdf can handle pstricks and psfrag in addition to .eps files when run with pdflatex. It is however slow since in each run it processes all files, even those that have been processes before ...
2
votes
1answer
821 views

PSfrag isn't working to add LaTeX symbols to eps figures

I have converted a jgraph file to eps, and am trying to replace text in the eps figure with LaTeX symbols. I have followed the instructions listed in this question but the solution suggested does not ...
5
votes
2answers
189 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: http://solidosunalmzl.wikispaces.com/file/view/minimal_example.zip/519340810/...
4
votes
0answers
147 views

Using pstool with LuaLaTeX

I am trying to use psfrag in conjunction with pstool an LuaLaTeX to replace a tag in an .eps plot generated with gnuplot. I'm not sure if pstool is generally working with LuaLaTeX, however, the ...
1
vote
1answer
309 views

Replace tag inbetween parentheses in eps with psfrag/chemnum

Question Is it possible to replace the TMP1 inbetween some parentheses (or other symbols and text) with chemnum? Examples The following shows the input (eps; left), and the output (compiled file; ...
5
votes
1answer
295 views

How to define a new temporary label, with a separate counter, using chemnum?

Is there a way, using chemnum, to create a different type of TMP-label in .eps files which can then be replaced in the text with a separate label/numbering? For example, I have many chemdraws which ...
1
vote
0answers
118 views

Wrong width in pstool

I try to set up a report with the assistance of matlabfrag and pstool. I have an issue to define the correct width of such an diagram. Especially in combination with includegraphics, the problem ...
1
vote
0answers
138 views

How to get `psfragfig` with sibling or super directories on windows?

Assume the following simple latex with some .eps file testeps.eps in the: same directory, the parent directory, and a subdirectory called testsub. \documentclass{article} \usepackage{pstool} \begin{...
0
votes
0answers
144 views

psfrag labeling gets url and color?

I am using psfrag command to replace labels in eps with text inside latex. The labels are generated correctly but the images behave like hyperlinked and as result the labels are produced in the color ...
5
votes
0answers
106 views

pstool + pgfplots + parskip conflict [closed]

I've recently observed extremely strange latex bug if pstool + pgfplots + parskip packages are used at the same time. \documentclass{article} \usepackage{pstool} \usepackage{pgfplots} \usepackage{...
4
votes
2answers
695 views

Using pstool with beamer

I would like to use pstool with beamer to create a presentation in pdflatex with figures processed by psfrag. However, as the simple example below shows, the figures are processed using the beamer ...
1
vote
0answers
321 views

Chemnum/PSfrag - Replacement of Characters in eps

Using the chemnum package, I encounter problems with replacing temporary labels in EPS files. I first thought that it is a chemnum problem, but the result is the same using psfrag instead of chemnum. ...
2
votes
2answers
194 views

An equivalent of psfrag and polyglossia together?

I need to use psfrag, and Georgian language, for which the only available possibility to get correct hyphenation that I could find was polyglossia. However, seemingly psfrag does not work with xelatex ...
5
votes
2answers
567 views

Why does my Mathematica figure not work with PSFrag?

I created an image in Mathematica with some labels that, for some reason, refuse to be substituted when using PSFrag. Specifically, the Mathematica code image = Plot[Sin[x], {x, 0, 2 π}, PlotLabel-&...
4
votes
1answer
2k views

pstool & psfragfig how to edit the EPS file for moving the placeholder to another position

I have generated EPS and TeX files from Matlab. Now I notice if I scale my image the text gets badly scaled such that my axis names are sitting on my axis even if I reduce the text size to \...
2
votes
1answer
58 views

Calling \psfrag{} inside a forloop

Allright, hi guys. Inside my EPS i got quite some texts that are quite similar. Only their index shall change from each one. So i'm trying to get those done in an own command. They are used inside an ...
2
votes
1answer
329 views

How to use display equations with psfrag?

I would like to include a display equation in an EPS figure using the pstool package. When the command for the replacement text is $\sum_{i=1}^{N} x_i^2$, then it compiles fine (see the vertical axis ...
1
vote
0answers
942 views

Problems converting matlab figures to pdf using /psfragfig

I am trying to include MATLAB figures as pdf files in my thesis. However after reinstalling my OS this doesn't work anymore and I am desperately trying to find a solution... What I do: I use the ...
6
votes
2answers
3k 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 ...
3
votes
0answers
138 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 ...
5
votes
1answer
1k views

How to compile a document with the pstool package using the pdflatexmk script?

To use psfrag with pdflatex I use the pstool package. Using TeXShop 3.25 I can compile the two minimal working examples given in this and this answer when I use the regular LaTeX typesetter. The ...
2
votes
1answer
228 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 ...
0
votes
0answers
225 views

pdflatex and pstool: how to keep the generated images in subdirectories?

I am trying to set up my system to write a large document using pdflatex and the package pstool. While there is no problem with basic operation, I have a problem when I try to use it in a more ...
1
vote
1answer
417 views

pdflatex amd Matlab LaTeX interpreter alternative to psfrag?

I use TexWorks that comes together with Tex Live 2012. After having read a lot on how to use "something similar" to psfrag with pdflatex, I have almost found my way. I have just discovered the ...
7
votes
1answer
227 views

Problem with \DeclareFixedFont and \psfrag in texlive2013

I have a problem with \DeclareFixedFont in combination with \psfrag which occurs in texlive2013 but not in texlive2010. When I use \DeclareFixedFont{\myFont}{T1}{ptm}{b}{n}{10} in the MWE the letter ...