[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] PDF mode
From: |
Peter Horst |
Subject: |
[AUCTeX] PDF mode |
Date: |
Sat, 16 Jun 2007 15:38:55 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.0 |
Sometime in the past few weeks my AUCTeX setup seems to have stopped
setting PDF mode automatically upon loading. It's not of course a big
deal to hit C-c C-t C-p, but it makes me wonder what else I might have
screwed up in the inner workings of my AUCTeX system. I cannot pinpoint
any specific changes I've made, and in fact I don't remember making any
at all (I am not so good about keeping track of that sort of stuff,
sadly). Needless to say I am not getting any helpful syntax errors
reported during startup.
In lieu of any better ideas, I've attached the meat of the AUCTeX bug
report output, followed by my .emacs. Thank you for any input.
<------------------------------------------------------->
Emacs : GNU Emacs 22.0.990.1 (i386-mingw-nt5.1.2600)
of 2007-05-20 on NEUTRINO
Package: 2007-01-23
current state:
==============
(setq
AUCTeX-date "2007-01-23"
window-system 'w32
LaTeX-version "2e"
TeX-style-path '("style" "auto" "c:/Emacs/site-lisp/auctex/style"
"c:/Programme/Emacs/var/auctex")
TeX-auto-save t
TeX-parse-self t
TeX-master nil
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil
(plain-tex-mode ams-tex-mode texinfo-mode) :help
"Run plain TeX")
("LaTeX" "%`%l%(mode)%' %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)%' %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"))
)
<------------------------------------------------------->
(setq debug-on-error t)
(add-hook 'window-setup-hook
#'(lambda () (w32-send-sys-command ?\xF030)))
;(setq load-path (cons (expand-file-name "c:/.emacs.d/lisp") load-path))
;; transient mark mode - fill region
(setq transient-mark-mode 1)
;; hitting delete will delete the highlighted region
(pending-delete-mode 1)
;; allows one to overwrite with a \macro in AUCTeX
(put 'TeX-insert-backslash 'delete-selection t)
;; Always end a file with a newline
(setq require-final-newline t)
;; Stop at the end of the file, not just add lines
(setq next-line-add-newlines nil)
;; use y or n instead of yes or no
(fset 'yes-or-no-p 'y-or-n-p)
;; use "occur-mode"
(global-set-key (kbd "C-c o") 'occur)
(setq default-major-mode 'text-mode)
(add-hook 'text-mode-hook 'text-mode-hook-identify)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
;; a bunch of stuff don't understand
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(add-hook 'LaTeX-mode-hook 'turn-on-auto-fill)
(add-hook 'LaTeX-mode-hook (lambda () (TeX-fold-mode 1)))
(setq reftex-plug-into-AUCTeX t)
;; code from Ralf Angeli for "Hsub" subsection
(eval-after-load "latex"
'(progn
(add-to-list 'LaTeX-section-list '("Hsub" 3))
(add-to-list 'LaTeX-section-label '("Hsub" . nil))))
(add-hook 'LaTeX-mode-hook
(lambda ()
(add-to-list 'font-latex-match-sectioning-3-keywords-local "Hsub")
(font-latex-match-sectioning-3-make)))
;; Turn on font-lock mode to color text in certain modes
(global-font-lock-mode t)
(require 'tex-mik)
;; Turn off that damn splash-screen
(setq inhibit-startup-message t)
;; Make sure spaces are used when indenting code
(setq-default indent-tabs-mode nil)
;;; Also highlight parens
(setq show-paren-delay 0
show-paren-style 'parenthesis)
(show-paren-mode 1)
(setq LaTeX-section-hook '(LaTeX-section-heading
LaTeX-section-title
LaTeX-section-toc
LaTeX-section-section
LaTeX-section-label))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(LaTeX-csquotes-close-quote "}")
'(LaTeX-csquotes-open-quote "\\enquote{")
'(TeX-PDF-mode t)
'(TeX-newline-function (quote reindent-then-newline-and-indent))
'(backup-directory-alist (quote (("" . ""))))
'(canlock-password "85b3ab3659c45f28cd8c4d2f9c182aaf3256fda7")
'(make-backup-files nil)
'(size-indication-mode t)
'(tab-stop-list (quote (4 4 4 4 8 16 24 32 40 48 56 64 72 80 88 96 104
112 120))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(gnus-summary-normal-read ((default (:foreground "blue")) (nil nil))))
- [AUCTeX] PDF mode,
Peter Horst <=
- Re: [AUCTeX] PDF mode, Ralf Angeli, 2007/06/16
- Re: [AUCTeX] PDF mode, Peter Horst, 2007/06/16
- Re: [AUCTeX] PDF mode, Ralf Angeli, 2007/06/16
- Re: [AUCTeX] PDF mode, Peter Horst, 2007/06/16
- Re: [AUCTeX] PDF mode, David Kastrup, 2007/06/17
- Re: [AUCTeX] PDF mode, Peter Horst, 2007/06/17
- Re: [AUCTeX] PDF mode, Ralf Angeli, 2007/06/17
- Re: [AUCTeX] PDF mode, Peter Horst, 2007/06/17
- Re: [AUCTeX] PDF mode, Dirk Van Hertem, 2007/06/17
- [AUCTeX] Re: PDF mode, Alan Ristow, 2007/06/19