# [OS X TeX] Memoir class book template

Herbert Schulz herbs at wideopenwest.com
Mon Sep 10 13:39:33 EDT 2012

```On Sep 10, 2012, at 12:26 PM, Themis Matsoukas <tmatsoukas at me.com> wrote:

>
> On Sep 10, 2012, at 9:29 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
>>
>> On Sep 10, 2012, at 8:15 AM, Themis Matsoukas <tmatsoukas at me.com> wrote:
>>
>>> ...
>>> \usepackage{graphicx,epstopdf}
>>> ...
>>> \synctex=1
>>> ...
>>
>> Howdy,
>>
>> I'm not a user of memoir (usually use the article class and dislike memoir's emulation) but I have a couple of comments about your preamble.
>>
>> Recent (at least TL2011 but, I think, even TL2010) the graphicx package automatically loads epstopdf. Also there is no need to use --shell-escape since the graphicx package runs a restricted version of the epstopdf program but that won't allow for any additional inclusions (e.g., tiff->png). With TL2012 it becomes pretty easy to add additional conversion tools to the list of ``approved'' programs for the restricted shell escape; see the TeXLive2012Changes document available at <https://dl.dropbox.com/u/10932738/index.html>.
>>
>> The \synctex=1 command is not usually needed with TeXShop (from the leading lines I assume you are using TeXshop as your front end---true with TeXworks too) since that is set by default when calling pdflatex.
>
> I was not aware of these updates. Prompted by your comment I removed the call to \usepackage{graphicx,epstopdf} and \synctex=1, and sure enough, everything run smoothly.
>
> Thanks!
>
> Themis

Howdy,

You will want to retain the \usepackage{graphicx} if you are going to include any graphics files in your document (jpg, pgn, pdf, eps [which will be converted on the fly). You need not explicitly include the epstopdf package.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

```