Active 7 years, 1 month ago. Viewed 15k times. Improve this question. Hendrik Vogt 36k 7 7 gold badges silver badges bronze badges.
Dom Dom 1 1 gold badge 7 7 silver badges 16 16 bronze badges. You were so keen on that capitalization that you missed the typo in the title :- As I see it, if we talk about the program pdflatex, we don't use capitalization. I will also thank you both, as they were originally my typos. Add a comment. Active Oldest Votes. Improve this answer. Will Robertson Will Robertson Thanks for the suggestions, I put auto-pst-pdf in for using pstricks and used the --shell-escape feature.
Does this mean that I can just include psfrag as well as pstricks after including the auto-pst-pdf package? See the pst-pdf no auto- documentation for further information. Thanks, this worked very well. Only thing I will say is it is very slow with large eps files approx 2Mb and Ghostscript maxed out my cpu for around 5 mins!
I like it though, makes everything much easier. Dom that sounds about right. This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website.
We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent.
You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience. Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. 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.
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. Update: In my work environment we are using WinaXe xserver application to view. This generates a bonafide. Sign up to join this community.
The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. What does psfrag do, and can it be made to work with pdflatex? Ask Question. Asked 7 years, 2 months ago. Active 1 year, 2 months ago. As they are all related to figures I generally find it best to nest them inside your figure environment. Inside this postscript environment you put the replacements eg. It will take slightly longer to compile, but this may not even be noticeable.
Summary of how it works: When you compile the document, it looks for any postscript environments. If it finds them, it escapes, and processes them with a different program which can handle postscript commands. Pingback: Script to process eps figures to pdf « Dominic Hosler's Blog. Prashant said:. Hello, After compiling the document, the figure is not included in the pdf even though filename-pics. Are you including it inside a postscript environment?
Are you passing the —shell-escape flag to the compiler? Is the picture in the same folder as the document? Does filename-pics.
0コメント