Use the psfrag package to replace strings in EPS images, so that they are typeset with the same body font as your LaTeX document. Note that your project need. An example using the pstool package to get \psfrag commands working images in pdflatex. There’s a caveat; after the initial compile, if you add more. PostScript (EPS) files with arbitrary LATEX constructions. LATEX commands, the user instructs PSfrag to remove that tag from the figure, and replace it with.

Author: Taramar Goltibar
Country: Turkey
Language: English (Spanish)
Genre: Art
Published (Last): 28 March 2006
Pages: 323
PDF File Size: 5.44 Mb
ePub File Size: 11.30 Mb
ISBN: 194-7-30848-997-2
Downloads: 62915
Price: Free* [*Free Regsitration Required]
Uploader: Najar

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

I can latex it without error, but when I try to pdfltex To the right of the figure is the figures’ designator letter a. When I pdflatex in order to create a PDF file, then getting the aforementioned error message, I justthrough it. The resulting PDF is a blank page, save for the figures’ letter designators, aband c in a column down the center of the page with the “Fig. The figure1a is in the same directory as the document files as figure1a.

I’ve imported figures in my own documents, but not in this fashion. I hate to re-tool this one if I can create something better and learn a new technique in the process.

psfrag – Replace strings in encapsulated PostScript figures

The psfrag package is used to remove labels and other text from. This can be used to ensure that fonts in figures are consistent with those in the main body of the document, regardless of whether your graphics software can access them.


It is particularly useful for inserting formulae and symbols, since a label in the eps file can be replaced by more or less arbitrary LaTeX code. In this example, the word ‘typography’ is replaced by an italic version in the current font.

Latex, psfrag and igor

There is a package called pstool which works around this problem. Provided that shell escape is enabled, this version of the example will work with pdflatex. In my work environment we are using WinaXe xserver application to view. This generates a bonafide. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

MiKTeX Package Information –

Home Questions Tags Users Unanswered. 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: I could not locate the file with any of the extensions: I’ve been able psfgag come up with scant little help in the Leslie Lamport book.

Can you tell me what the psfrag business is all about? TommyK 1 2 One issue here is that pdflatex can’t handle eps files straightforwardly. It is looking for any of the listed file types. Convert the eps to a pdf first and try again. See for example tex.


That’s best done using some automation. I’m kind of new to LaTeX also, should I post commentary here or on the linked page? TommyK as Joseph pointed out, psfrag is intended to be used along the latex route. For pdflatex one can also load psfrag and auto-pst-pdf and use psfrag ‘s original syntax.

This also requires shell-escape to be enabled. Easy Peasey Lemon Squeezy. Jeepers, I wish my predecessor would have left some documentation! Sign up or log in Sign up using Google. Sign up using Facebook.

Sign up using Email and Password. Post as a guest Name.

Email Required, but never shown. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.