[OS X TeX] how include .eps in TeXShop using default
Luci Ellis
luci at verbeia.com
Mon Oct 3 04:12:12 CEST 2011
On 03/10/2011, at 12:30 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> How in TeXShop (2.43) do I go about getting an included .eps or .pdf file in the pdf output when I typeset a LaTeX source file?
>
> I have
>
> \usepackage[dvips]{graphics}
>
> in the preamble. And for getting the graphics, I try to use:
>
>
> \begin{center}
> \scalebox{0.5}{\includegraphics{mygraph.eps}}
> \end{center}
>
> Then no graphics whatsoever appears in the pdf file obtained by typesetting in TeXShop.
>
> If, instead, I create my graphic directly as a .pdf (by export from Mathematica) and then use correspondingly \includegraphics{mygraph.pdf}, then in the output from typesetting in TeXShop the graphic appears but grossly enlarged and overwriting text. (The bounding box informamay have gotten lost.)
>
> (Sorry for this seemingly naive question. I'm a recent convert to MacTeX from the Windows world, and this sort of thing was very easy to do with an obvious workflow .tex -> .dvi -> .ps -> .pdf there.)
>
Dear Murray
Have you tried creating the EPS from Mathematica, then opening in Preview (which creates a PDF) and then using that PDF in your LaTeX document? I find that the PDFs Mathematica creates are sometimes too large and a bit flaky.
Two other things to try are the scale option in \includegraphics, and changing the Printing Environment or Screen Environment in Mathematica to match each other. PDF export uses the Printing Environment.
Hope that helps.
Luci
>
More information about the macostex-archives
mailing list