[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need help with Auctex installation
From: |
Tong Wang |
Subject: |
Need help with Auctex installation |
Date: |
Sat, 18 Mar 2006 13:21:34 -0800 |
Hi there,
I am trying to install Auctex for Emacs and got some problems here. I
have been struggled for a while, please
help me out here.
System: windows XP + Cygwin
Emacs: emacs-21.3 (for windows, binary downloaded and used without
installation)
Latex: Miktex ( I have put its directory c:/texmf/miktex/bin at the
biginning of both PATH variable of Cygwin and Windows)
Auctex: auctex-11.82
Compilation: ./configure --prefix='c:/cygwin/home/Owner/emacs-21.3'
--with-texmf-dir='/cygdrive/c/localtexmf' --disable-pre
view ( followed by make, make install, ALL WENT THROUGH WITHOUT ERROR)
.emacs: (setq load-path (cons "~/auctex-11.82" load-path)) ; (require
'tex-site) NO ERROR ON STARTING EMACS
But when I try to latex a file in emacs, I always got the following error:
" This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea: Running mktexfmt latex.fmt
/usr/bin/mktexfmt: line 333: /texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `latex.fmt'! "
My guessing: It looks the emacs is still trying to use the Latex comes with
Cygwin, but even if I do : latex myfile.tex in Cygwin , it calls the miktex
and works very well. Could someone tell me how to refer emacs to the Miktex.
Thanks tons in advance.
best
tong
- Need help with Auctex installation,
Tong Wang <=