[OS X TeX] documentclass undefined

Morten Høgholm morten.hoegholm at gmail.com
Fri Aug 26 12:39:38 CEST 2005


On Fri, 26 Aug 2005 04:26:32 +0200, Vince Filby <vfilby at gmail.com> wrote:

> [Tigger:~/thesis] vfilby% latex x
> This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
> output format initialized to PDF
> entering extended mode
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/x.tex
> [Tigger:~/thesis] vfilby%
>
> x.log:
> This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
> (format=pdfetex 2005.8.25)  25 AUG 2005 22:18
> entering extended mode
> **x
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/x.tex
> ! .
> l.33   \batchmode \errmessage{}
>                                \csname @@end\endcsname \end
> This error message was generated by an \errmessage
> command, so I can't give any explicit help.
> Pretend that you're Hercule Poirot: Examine all clues,
> and deduce the truth by order and method.
>
>  )
> No pages of output.

Okay, what your log file should have started with is something like this:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=latex
2005.8.9)  26 AUG 2005 12:16
entering extended mode
**x
(/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/x.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,
ngerman, d
anish, dutch, italian, norsk, portuges, spanish, swedish, nohyphenation,
loaded
.


Clearly your system is set up incorrectly: When you call "latex" you get
plain pdfetex in pdf mode. I wonder how it got that way?

On your computer you have a file called fmtutil.cnf, which controls format
creation. On my computer, the relevant lines are

# Standard formats (plain, latex) with all engines:

# Change "tex.ini -> bplain.ini" and "- -> language.dat"
# if you want babel support in tex. Add -translate-file=cp227.tcx before
tex.ini
# if you want to make all characters directly "printable" for
# any \write (instead of ^^xy).
tex             tex             -               tex.ini

#! aleph                aleph           -               *aleph.ini
latex           pdfetex         language.dat    -translate-file=cp227.tcx
*latex.ini
etex            pdfetex         language.def    -translate-file=cp227.tcx
*etex.ini
pdftex          pdfetex         -       -translate-file=cp227.tcx
*pdftex.ini
pdflatex        pdfetex         language.dat    -translate-file=cp227.tcx
*pdflatex.ini
pdfetex         pdfetex         language.def    -translate-file=cp227.tcx
*pdfetex.ini
#! omega                omega           -       omega.ini
#! lambda               aleph           language.dat    lambda.ini

Check what it says on your computer.
-- 
Morten
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list