[Top][All Lists]

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

[AUCTeX] MikTex and Auctex 11.85; tex-auto-global and style-path

From: Sivaram Neelakantan
Subject: [AUCTeX] MikTex and Auctex 11.85; tex-auto-global and style-path
Date: Sun, 30 Mar 2008 09:10:33 +0530
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2 (windows-nt)

This is going to be a bit convoluted as I might be doing something

Since tetex is no longer supported on cygwin, I decided to switch to
miktex.  so I have tetex under cygwin and miktex in c:\miktex2.7, currently.

I compiled and installed auctex as

$ echo $PATH

$./configure --with-emacs=c:/gnu/emacs-22.1/bin/emacs --disable-preview 
--with-texmf-dir=c:/MiKTeX-2.7/miktex/tex/ --prefix=c:/gnu/ 

This works and I'm able to generate pdfs without any issues though the
log, C-c C-l has those unsightly ^Ms.

While trying to insert a graphic, the C-c RET macro was not bringing
includegraphics option.

1.  I had the graphicx package defined and so did a C-c C-n.  That didn't work
2.  Checking google and checking the following vars
TeX-auto-global value is  "c:/usr/local/var/auctex"
TeX-auto-private value is nil
TeX-style-global is "c:/gnu/elisp/auctex/style"
TeX-style-path is ("style" "auto" "c:/gnu/elisp/auctex/style" 

Try as I might, I'm not able to make configure, generate a Makefile
which will make the style path point to the site-lisp under
Emacs-22.1.  What am I doing wrong?
And interestingly, changing all this path and stuff, I'm not able to
generate a bug report M-x tex-submit-bug as I get

byte-code: Opening output file: no such file or directory, 

My .Emacs settings

(setq exec-path  (cons "C:/gnu/bin/" exec-path))
(setq exec-path (cons "c:/cygwin/usr/bin" (cons "C:/cygwin/bin" exec-path)))
(setq exec-path  (cons "C:/MiKTeX2.7/miktex/bin" exec-path))
(setenv "PATH" (concat 
 (getenv "PATH")))

;; NT-emacs assumes a Windows command shell, which you change
;; here.
(setq process-coding-system-alist '(("bash" . undecided-unix)))
(setq w32-quote-process-args ?\")
(setq shell-file-name "bash")
(setenv "SHELL" shell-file-name) 
(setq explicit-shell-file-name shell-file-name) 

(add-hook 'comint-output-filter-functions
(load "auctex.el" nil t t)
;;(require 'tex-site)
(require 'tex-mik)
;; ;;; some basic customizations
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)


reply via email to

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