# [OS X TeX] problem with \usepackage{times}

Bruno Voisin bvoisin at mac.com
Thu Jun 21 15:09:23 EDT 2007

```Le 21 juin 07 à 20:43, Raymond N. Greenwell a écrit :

> To fix this, I tried going to the preferences, under miscellaneous,
> and changed the TeX Program from xetex to tex, and the Latex
> Program from xelatex to latex. Now I get the message: "This is
> pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)" with no error
> messages. The only small glitch is that the output comes out as a
> dvi file rather than a pdf file, but double clicking on that file
> causes it to open as a pdf. I get the warning message "The file was
> opened with MacOSRoman encoding. The file could not be opened with
> Unicode (UTF-8) encoding because it was not saved with that
> encoding." But I don't see any problem with the pdf file, so I
> guess my problem is solved.

I'm surprised you've got to do this. If I understood correctly, this
means you're using the Personal Script mechanism. You shouldn't need
to, this mechanism has been made largely obsolete when the Engine
mechanism has been introduced in TeXShop.

I would advise at the bottom of the Typeset menu to make sure
Personal Script isn't checked, and to check either Pdftex (for
direct .tex -> .pdf production) or TeX and Ghostscript (for PDF
production through the sequence .tex -> .dvi -> .ps -> .pdf). Then in
Preferences > Engine make sure the settings are:

Path settings > (pdf)TeX: /usr/texbin
Path settings > Distiller: /usr/local/bin

TeX + dvips + distiller > Tex Program: simpdftex tex --maxpfb
TeX + dvips + distiller > LaTeX Program: simpdftex latex --maxpfb

Then you should only need to use the Program pull-down menu in the
toolbar (the one by default between the Typeset button and the
printer icon) to switch between Plain TeX, LaTeX (both either with
pdfTeX or TeX + dvips + ps2pdf depending on what's checked at the
bottom of the Typeset menu), XeTeX and XeLaTeX.

Hope this helps,

Bruno Voisin