auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Problems installing AUCTeX


From: Yevgeniy Makarov
Subject: [AUCTeX] Problems installing AUCTeX
Date: Thu, 29 Jun 2006 18:34:24 -0400
User-agent: Mozilla Thunderbird 1.0.8 (X11/20060508)

Hello,

I am having trouble installing AUCTeX 11.83 from http://www.gnu.org/software/auctex/. My .emacs file is the following.

;*********************************************************************
(add-to-list 'load-path (concat (getenv "HOME") "/emacs/"))

(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)

(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)

(eval-after-load 'info '(add-to-list 'Info-directory-list "~/info"))

;*********************************************************************

The version information is below.

I am a non-privileged user working on a university machine. Under section "6 Installation for non-privileged users" of INSTALL file it talks about --prefix option and load-path variable but it does not say anything about --with-texmf-dir option (it says "If you want others to be able to share your installation, you should configure it using `--without-texmf-dir'" but I don't want to share my installation). Therefore, the first time my installation failed because "make install" tried to install files in /usr/share/texmf directory which was prohibited. It would probably be helpful to mention this option in the section for non-privileged users.

Second, when I load a file without \begin{document} and compile it, AUCTeX does not ask me for the name of the main file even though TeX-master is nil, TeX-auto-save is t, and TeX-parse-self is t. Therefore, TeX produces an error on the first \chapter command in the file.

Third, even though I have the line about Info-directory-list in my .emacs file, when I select in the menu to read AUCTeX manual, I get the one for AUCTeX 11.55 from the machine-wide place somewhere in /usr/share, not from ~/info. In fact, when I look the value of Info-directory-list variable, all elements in the list start with /usr/share.

I would greatly appreciate any help.

Yevgeniy

**********************************************************************
Emacs  : GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-09-28 on wink
Package: 11.83

current state:
==============
(setq
 AUCTeX-date "2006-06-07"
 window-system 'x
 LaTeX-version "2e"
TeX-style-path '("style" "auto" "/u/emakarov/research/my/bibliography/style" "/u/emakarov/tex/inputs/style" "/u/emakarov/research/my/bibliography/auto"
                  "/u/emakarov/tex/inputs/auto" "/u/emakarov/emacs/auctex/style"
                  "/u/emakarov/var/auctex")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master nil
TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\"" TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain 
TeX")
("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil (latex-mode doctex-mode)
                     :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil 
(texinfo-mode) :help
                     "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil (texinfo-mode) :help
                     "Run Makeinfo with HTML output")
("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\"" TeX-run-TeX nil
                     (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t" 
TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt once")
("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil (context-mode) :help
                     "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run 
BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible
                     TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
                     "Generate PostScript file")
("Index" "makeindex %s" TeX-run-command nil t :help "Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help
                     "Check LaTeX file for correctness")
                    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil 
t :help
                     "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help "Run an arbitrary 
command"))
 )





reply via email to

[Prev in Thread] Current Thread [Next in Thread]