[OS X TeX] TeXShop after migrating to a new MacBook Pro
R Martinez
rm.tech at mac.com
Fri Jun 15 18:53:02 EDT 2012
Herb,
The TeX distribution preference pane say TeXLive-2011 Intel 64. It's the only distribution I have; I deleted the old ones when MacTeX 2011 came out.
Here's what the console displays when I try to typeset: !LaTeX error: File 'article.cls' not found.
The text file I'm trying to typeset is one that I have been working on for some time on my old MacBook Pro, where it typeset with no problem.
Here's what happens when I type the terminal commands you suggested.
-------------------------
ls -afle@ /
total 30629
drwxr-xr-x 37 root wheel 1326 Jun 15 12:18 .
drwxr-xr-x 37 root wheel 1326 Jun 15 12:18 ..
srwxrwxrwx 1 root wheel 0 Jun 15 12:18 .dbfseventsd
d--x--x--x 7 root wheel 238 Jun 14 14:07 .DocumentRevisions-V100
---------- 1 root admin 0 Aug 16 2011 .file
drwx------ 428 RaulMart staff 14552 Jun 15 12:16 .fseventsd
-rw------- 1 root wheel 65536 Jun 14 09:59 .hotfiles.btree
drwx------ 5 root wheel 170 Mar 28 09:18 .Spotlight-V100
-rwxr-xr-x 1 root wheel 3784 Sep 24 2007 .SymAVQSFile
-rw-rw-rw- 1 root admin 7484 Nov 9 2011 .TechToolProtection.plist
d-wx-wx-wt 2 root wheel 68 Mar 28 09:23 .Trashes
-rw-rw---- 1 root wheel 16 Jan 7 2009 .vbt5
drwxr-xr-x@ 2 root wheel 68 Jun 29 2011 .vol
com.apple.FinderInfo 32
drwxrwxr-x+ 96 root admin 3264 Jun 14 15:34 Applications
0: group:everyone deny delete
drwxr-xr-x@ 39 root wheel 1326 Jun 14 16:27 bin
com.apple.FinderInfo 32
drwxrwxr-t@ 2 root admin 68 Aug 16 2011 cores
com.apple.FinderInfo 32
dr-xr-xr-x 3 root wheel 4176 Jun 15 12:16 dev
lrwxr-xr-x@ 1 root wheel 11 Mar 28 08:51 etc -> private/etc
com.apple.FinderInfo 32
dr-xr-xr-x 2 root wheel 1 Jun 15 12:24 home
drwxrwxr-x 4 root admin 136 Jun 14 14:45 Incompatible Software
drwxr-xr-x+ 67 root wheel 2278 Jun 14 15:04 Library
0: group:everyone deny delete
-rw-r--r--@ 1 root wheel 15572652 May 30 20:16 mach_kernel
com.apple.FinderInfo 32
dr-xr-xr-x 2 root wheel 1 Jun 15 12:24 net
drwxr-xr-x@ 2 root wheel 68 Aug 16 2011 Network
com.apple.FinderInfo 32
drwxr-xr-x@ 6 root wheel 204 Mar 28 08:53 private
com.apple.FinderInfo 32
drwxr-xr-x@ 62 root wheel 2108 Jun 14 16:27 sbin
com.apple.FinderInfo 32
drwxr-xr-x+ 4 root wheel 136 Jun 14 16:30 System
0: group:everyone deny delete
drwxr-xr-x 3 root admin 102 Jun 14 13:45 TechTool Protection
lrwxr-xr-x@ 1 root wheel 11 Mar 28 08:51 tmp -> private/tmp
com.apple.FinderInfo 32
lrwxr-xr-x 1 root wheel 60 Jun 14 14:51 User Guides And Information -> /Library/Documentation/User Guides and Information.localized
lrwxr-xr-x 1 root wheel 49 Jun 14 10:07 User Information -> /Library/Documentation/User Information.localized
drwxr-xr-x 5 root admin 170 Jun 14 14:53 Users
drwxr-xr-x@ 14 root wheel 476 Jun 14 19:35 usr
com.apple.FinderInfo 32
lrwxr-xr-x@ 1 root wheel 11 Mar 28 08:51 var -> private/var
com.apple.FinderInfo 32
drwxrwxrwt@ 3 root admin 102 Jun 15 12:16 Volumes
com.apple.FinderInfo 32
0: group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit
----------------------------------------
Rauls-MacBook-Pro:2011 RaulMart$ ls -afle@ /usr
total 16
drwxr-xr-x@ 14 root wheel 476 Jun 14 19:35 .
com.apple.FinderInfo 32
drwxr-xr-x 37 root wheel 1326 Jun 15 12:18 ..
drwxr-xr-x 959 root wheel 32606 Jun 14 16:30 bin
drwxr-xr-x 3 root wheel 102 Dec 9 2011 clang-ide
drwxr-xr-x 8 root wheel 272 Jun 14 14:33 include
drwxr-xr-x 301 root wheel 10234 Jun 14 16:30 lib
drwxr-xr-x 133 root wheel 4522 Jun 14 16:30 libexec
drwxrwxr-x 10 root wheel 340 Jun 14 14:45 local
drwxr-xr-x 259 root wheel 8806 Jun 14 16:30 sbin
drwxr-xr-x 56 root wheel 1904 Jun 14 14:53 share
drwxr-xr-x 4 root wheel 136 Mar 28 08:51 standalone
lrwxr-xr-x 1 root wheel 63 Jun 14 19:35 texbin -> /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin
drwxr-xr-x 8 root wheel 272 Mar 28 08:57 X11
lrwxr-xr-x 1 root wheel 3 Mar 28 08:57 X11R6 -> X11
---------------------------------------
Here's a sample text file extracted from the much longer original text file. The commands in the preamble are identical to the original's, and attempting to typeset it produces the same LatTeX error described previously in this note.
--------------
\listfiles
\documentclass[12pt]{article}
%-------Packages----------------------------------------
\usepackage{lmodern}
\usepackage{amsmath, amssymb,amsthm}
\usepackage{graphicx}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{definition}{Definition}
\newtheorem{property}{Property}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{mathrsfs}
\usepackage{xspace}
\DeclareFontFamily{OT1}{pzc}{}
\DeclareFontShape{OT1}{pzc}{m}{it}{<-> s * [1.100] pzcmi7t}{}
\DeclareMathAlphabet{\gyre}{OT1}{pzc}{m}{it}
\DeclareMathAlphabet{\gk}{OML}{txmi}{m}{it}
%-------New Commands------------------------------------
\DeclareMathOperator{\sgn}{sgn}
\newcommand\eg{e.g.,\xspace}
\newcommand\ie{i.e.,\xspace}
\newcommand\vs{vs.\ }
%-------------------------------------------------------
\begin{document}
%-------Title-------------------------------------------
\title{Title}
\author{J. R. Mart\'{\i}nez}
\date{11 June 2012}
\maketitle
%------------------------------------------------------
\section{Introduction}
\end{document}
---------------------
Again, many thanks for your help.
Raul Martinez
On Jun 15, 2012, at 1:55 PM, Herbert Schulz wrote:
>
> On Jun 15, 2012, at 3:27 PM, Herbert Schulz wrote:
>
>>
>> On Jun 15, 2012, at 3:17 PM, R Martinez wrote:
>>
>>> Dick, Herb,
>>>
>>> cd /usr/local/texlive/2011
>>>
>>> ls
>>>
>>> This is what I see.
>>>
>>> LICENSE.CTAN install-tl texmf-config
>>> LICENSE.TL install-tl.log texmf-dist
>>> README readme-html.dir texmf-var
>>> README.usergroups readme-txt.dir texmf.cnf
>>> bin release-texlive.txt texmfcnf.lua
>>> doc.html temp tlpkg
>>> index.html texmf
>>>
>>> The TeXShop->Preferences->Engine Path settings are: (1) (pdf)TeX setting is /usr/texbin and Distiller is /usr/local/bin.
>>>
>>
>> Howdy,
>>
>> Looks good to me.
>>
>>> ------
>>>
>>> which pdflatex returns
>>>
>>> /usr/texbin/pdflatex
>>>
>>
>> That's correct too. So PATH is ok (fixed by FixMacTeX2011)
>>
>> By the way... you did have MacTeX-2011 installed didn't you?
>>
>>> BTW, the TeX distribution preference pane is Build 150, just as the documentation says.
>>>
>>> I really appreciate your help.
>>>
>>> Raul Martinez
>>>
>>
>> That's the correct version. What TeX distribution does it say is active?
>>
>>
>> You say you can't typeset from within TeXShop. What exactly do you do to typeset and happens when you try to typeset. Do you have a sample document you can show?
>>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>>
>
>
> Howdy,
>
> Could you also let us know what you get when you run
>
> ls -afle@ /
>
> and
>
> ls -afle@ /usr
>
> in Terminal?
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
More information about the MacOSX-TeX
mailing list