[TxMt] Re: textmate Digest, Vol 81, Issue 28
Dustin Wheeler
mskblackbelt at me.com
Wed Feb 18 16:09:42 UTC 2015
Tao,
You might look into the capabilities of ghostscript. It should be installed with your LaTeX install (MacTeX or equivalent), but if not, you can install it using Homebrew via brew install gs. Specifically, ghostscript should install a utility called ps2pdf that (IIRC) produces clean PDF files from an input EPS.
FYI, the following MWE worked on my system using TextMate 2.0-beta6.8. Note that the order in which graphicx and epstopdf are loaded is important.
\documentclass{article}
\usepackage{graphicx,epstopdf}
\begin{document}
A sample figure:
\begin{figure}[h]
\centering
\includegraphics[width=.9\textwidth]{Figures/sample.eps}
\caption{caption}
\label{fig:sample}
\end{figure}
\end{document}
–
Dustin Wheeler
mskblackbelt at me.com
On February 18, 2015 at 07:00:10, textmate-request at lists.macromates.com (textmate-request at lists.macromates.com) wrote:
Question about converting eps files to pdf files on the
fly. (Tao Zha)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20150218/05e0a2e1/attachment.html>
More information about the textmate
mailing list