Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [psfrag]

Replace strings in encapsulated PostScript figures.

1
vote
1answer
39 views

Adding latex to figures from Inkscape

I have been using psfrag to add latex to figures for a while. I make my figures in Inkscape and compile in MikTex using texniccenter. I switched laptops and installed the latest Inkscape and MikTex ...
0
votes
0answers
27 views

Package pstool Warning: No file containing macro

I have the following piece of Latex code. I receive this warning: Package pstool Warning: No file "epsfigure.tex" or "epsfigure-psfrag.tex" can be found that may contain macros for "epsfigure.eps" ...
0
votes
0answers
36 views

psfrag + tcolorbox + tikz + eps + pdflatex = Error: /undefined in pgfo

Minimal working example is: \documentclass{article} \usepackage{tikz} \usepackage{auto-pst-pdf} \usepackage{psfrag} \usepackage{tcolorbox} \newtcbox{\mybox}{} \begin{document} \begin{figure} \...
0
votes
0answers
27 views

Making \psfrag replacement without using --shell-escape option

I am trying to submit latex manuscript on ScholarOne. In the latex file, I have used \psfrag to make text replacement on .eps file. On my PC I can use auto-pst-pdf package and compile the .tex file ...
4
votes
1answer
27 views

How can I intercept postscript instructions in a file loaded with includegraphics?

The psfrag package has the capability to intercept certain instructions in eps files, and replace them with new instructions. In this way, it is possible to replace fonts in an image with the fonts ...
2
votes
2answers
51 views

auto-pst-pdf could not create pdf file

I want to include numerous graphs for my thesis. Recently, I learnt that we can format text and labels in LaTeX font using psfrag I use Texstudio with pdflatex and as such i had to enable --shell-...
0
votes
1answer
18 views

`psfragtrans` and parentheses

I have the following string in eps-file (\(actual)S I need to insert an appropriate element into tex-file to translate it. I tried \psfragtrans{(actual}{(фактичні} But this doesn't work. I got the ...
1
vote
0answers
44 views

psfrag package and autocad .eps

is there a way use .eps figure from autocad and edit its labels using the psfrag package? I tried with exporting figure from autocad directly to .eps and then, in figure environment, I used \psfrag ...
0
votes
0answers
34 views

Sublime Text 3 - Custom Build - LaTeX + dvips + ps2pdf + view pdf

I am a new user to Sublime Text 3 (ST3). Prior to this, I was using Tex Maker (TM) with libraries from Tex Live. I am trying to have the same configuration settings in ST3 as I had in my TM editor. ...
1
vote
1answer
102 views

Trouble with psfrag and Mathematica's eps-images

My system: Windows10, MikTeX2.9, WinEdt10.2 I am preparing/updating a set of lecture notes. I ran into the following issue with psfrag. The relevant source snippet: \begin{figure}[ht] \psfrag{X}{$x$}...
1
vote
1answer
58 views

Change tag by equation using psfrag

I'd like change tag xlab to Polygonal vertices $\xi_1$. Figure and tex are above. My figure %!PS-Adobe-3.0 EPSF-3.0 %%DocumentNeededResources: font Helvetica %%+ font Helvetica-Bold %%+ font ...
1
vote
1answer
264 views

Greek letter in eps figure Latex

I'd like to plot a graph with y-label with a Greek letter beta. But in latex, I have the result present in the figure. How the latex interpret Greek letter? My eps figure code is given by %!PS-Adobe-...
2
votes
0answers
114 views

Alternative to psfrag that works with matplotlib / Python?

Is there an alternative to the psfrag library that works with plots made outside of the MATLAB program? For example, in Python, even if you save a figure with the .eps extension, it is not compatible ...
2
votes
1answer
74 views

why is pstool-psfrag reducing pdf file size?

I am using pstool & psfrag (with pdflatex) to replace text in eps files generated by Adobe Illustator. I noticed that the pdf files produced by pstool (using the \psfragfig command) are way ...
0
votes
0answers
100 views

Include both png and eps figures, with placed markers

I have a similar problem as described here Include both eps and png figures, problem with dvipdfmx Unfortunately, the answer to that question does not help me. The reason for this is that I placed ...
0
votes
1answer
104 views

PdfLatex - Grahics processing error using `matlabfrag` and `psfragfig` for logaritmic scales

I'm using TeX 3.14159265 (TeX Live 2015/Debian) on Ubuntu 16.04 LTS with frontend as Texmaker 4.4.1. I used matlabfrag script to produce an eps file to be used with psfragfig in pdflatex. The EPS ...
0
votes
0answers
70 views

Getting the bounding box of TeX labels embedded with psfrag?

I'm using the PSFrag package to embed LaTeX labels into my EPS figures (which I then import into my LaTeX document), which works fine except that my LaTeX labels aren't very visible, because the ...
4
votes
1answer
185 views

Is it possible to use the tex-dvi-ps-pdf route with luatex?

This question should be of general interest. It is triggered by the Japanese edition of my free physics text (see http://www.motionmountain.net/japanese.html ), where lualatex (from TexLive 2017) ...
2
votes
1answer
551 views

Enlarge font size eps figure

I have two eps figures and I'd like to enlarge the font size of labels Dimension 1 and Dimension 2 (Figure1) and Dimension 1, Dimension 2 and Frequency(Figure 2) in the two figures. This lables should ...
0
votes
0answers
84 views

Changing string in EPS figure

I want to change the string in the .eps figure. For, I am using the psfrag package. I use Winedt 9. Miktex compiles the file but doesn't change the string. Please let me know how to do it. Thanks!
0
votes
1answer
36 views

Only last value of a variable goes into \psfrag function

I make two calls, but it seems like only last value of \lRaise goes into the function, so both boxes are raised by -5pt: \newlength{\lRaise} \setlength{\lRaise}{-0.97pt} \psfrag{low-order}[B][][0.8]{\...
2
votes
2answers
332 views

Can I add a label to a figure that shows up next to the figure?

I'm writing my chemistry thesis and it involves a lot of reaction schemes How can I add a label that shows up? I want to label the first compound 1, and I want this to be a Latex label so I can refer ...
1
vote
1answer
66 views

Calling \psfrag{} inside a for loop for figure with monotonically increasing names

First of all my question is different from this question. The issue is that in my case I want to loop figures that are named with a monotonically increasing order from (1,2,\ldots,1000). I know how to ...
0
votes
1answer
84 views

Adjacent figures in latex and pdflatex

I use psfragfig along with matlabfrag for substituting figure texts, labels in Latex font. It works very well. Recently I switched for organizational purposes to use latex compiler instead of pdflatex ...
1
vote
1answer
274 views

Why won't psfrag replace string in certain eps files (from MestreNova)?

I am using psfrag to replace string in eps graphics, which works fine with most eps. There are certain eps graphics that won't work with it though, which are mainly graphics exported from MestreNova ...
1
vote
0answers
156 views

Displaced text when importing eps

I have a problem with my MATLAB plots. I need to use tikz/pgf created figures and display MATLAB plots where I want the font and fontsize to be equal in all figures even if I change the size of the ...
1
vote
0answers
372 views

psfrag in combination with epstopdf not working (MikTeX)

I am trying to use psfrag to alter axes labels of plots from Mathematica. Unfortunately eps files are not supported by pdflatex, so they are converted using epstopdf. To get the epstopdf working, I ...
1
vote
2answers
120 views

Text got misaligned after psfrag replacement took place in .eps

I need to translate to translate texts in eps files. For this i use psfrag package like this: \documentclass[12pt]{article} \usepackage{psfrag} \usepackage[dvips]{graphicx,color} \usepackage[utf8]{...
0
votes
1answer
299 views

Psfrag does not replace the tag more than one symbol

\documentclass[12pt]{amsart} \usepackage{mathrsfs} \usepackage{graphics} \usepackage{latexsym} \usepackage{cite} \usepackage{graphicx,psfrag} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{...
2
votes
1answer
580 views

chemnum: compounds numbers don't replace TMP at the right position in .eps file (chemdraw)

I'm really new to LaTeX, and even newer to this website, so forgive me in advance for all the mistakes I may have made. Here's my problem: I'm trying to replace the temporary labels (TMP1,...) in an ....
1
vote
1answer
448 views

Trying to find a simple example of pstool that compiles

There have been many posts on this site either requesting simple examples illustrating the pstool package, or providing (often not-simple) ones. I've tried all of them and none of them compile for me. ...
2
votes
1answer
516 views

Matlabfrag figure in latex

I have been trying to figure out the best way to include vector plots from Matlab in Latex. I rounded on to matlabfrag, which is relatively straight forward compared to matlab2tikz. Somehow, I am not ...
0
votes
1answer
459 views

Issues with \psfrag, pdflatex in beamer

I am using beamer to creating my presentation, I am using many Matlab generated figures and up until now, I was using \psfrag with 'auto-pst-pdf' for my articles. However, when I try to use the same ...
1
vote
0answers
57 views

type 3 fonts allowing \psfrag

I need help producing a file without type three fonts but at the same time allowing \psfrag to produce LaTeX text inside figures. Could someone help me with this? Thank you very much.
0
votes
1answer
310 views

psfrag substitutions occur only sometime

I am using TeX studio and I am using the dvi-->ps-->pdf so that the \psfrag substitutions occur on my .eps figures. But they replace only some of the texts. For example, if I want to replace O1 ...
1
vote
0answers
159 views

LaTeX with .eps embedded psfrags

I have encountered a problem with embed tags (psfrags) in .eps figures. On some of my figures it works beautiful, using the \tex[][][][]{} command on the figure and \psfragscanon in the figure ...
1
vote
1answer
357 views

change text colour in psfrag

I'm wondering if one could set final text colour to some rgb in psfrag? This: \psfrag{D}[lc][lc][0.85]{\color[rgb]{0, 110, 180}{Deuterium}} is not working. Thanks!
2
votes
1answer
273 views

Can chemnum replace TMP-Tags in any eps file, e.g. Origin? If so, how?

I'm using Origin and TeXStudio on Windows 10 to plot several graphs for a Lab report. It would be extremely helpful, if chemnum could replace compounds' TMP-Tags in Origin's exported eps-files (here ...
0
votes
2answers
526 views

Chemstyle: TMP labels not replaced

I am trying to use the chemstyle package but am failing to replace the TMP labels with the automatic label numbers. I could go back to manually editing each eps file and inserting it as figures, but ...
1
vote
0answers
111 views

Sharelatex: a0poster class not working with Latex selected as my compiler

I need to create an a0 poster, and I'd like to use the a0poster class. I'm editing my project on Sharelatex and I'm using \psfrag in my .tex file, so I'd like to use LaTeX as my compiler. However, ...
0
votes
1answer
131 views

Pistols and Background Package - figures contain the background

I am using pistols (\psfragfig) commands for font substitutions in .eps graphic files. In addition I am using the background package to have a graph paper background. With normal \includegraphics ...
1
vote
1answer
189 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 ...
2
votes
2answers
592 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 ...
0
votes
0answers
86 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
2k 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
399 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
73 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/...
5
votes
0answers
194 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 ...
1
vote
2answers
562 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,mode=nonstop]{...
4
votes
1answer
631 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 ...