[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 'destroys' latex files
From: |
Pseudo |
Subject: |
Re: Emacs 'destroys' latex files |
Date: |
16 Jan 2007 10:38:58 -0800 |
User-agent: |
G2/1.0 |
Dear Maarten,
Thank you for your reply. In fact, my emacs does not seem to know
latex-preview. I used the testfile you suggest
> \documentclass{amsart}
> \renewcommand{\AA}{\mathbb A}
> \begin{document}
> \[
> \AA
> \]
> \end{document}
it produces the following behaviour: the \AA inside the document
environment is visible as \AA, the first one in the header is displayed
in this strange form A with an o on its head.
Is there a 'logging' system in emacs that tells me what modules, parts,
whatsoever are run when opening a document? That would be a hint where
to search for my problem ...
Here is my .emacs file. Its mainly a collection of things I found
somewhere. And: on a much older version of debian / emacs it worked
quite well. Hope posting all these lines helps in understanding what I
messed up.
At least I don't see any strange parts in it.
(custom-set-variables
'(case-fold-search t)
'(current-language-environment "German")
'(global-font-lock-mode t nil (font-lock))
'(load-home-init-file t t)
'(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify))
t)
'(transient-mark-mode t))
(custom-set-faces)
;; -------------------- font lock mode
(cond ((fboundp 'global-font-lock-mode)
;; Turn on font-lock in all modes that support it
(global-font-lock-mode t)
;; Maximum colors
(setq font-lock-maximum-decoration t)))
;; ---------------------
;; --------------------- AUC-TEX
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
;; ---------------------
;; --------------------- REF-TEX
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
(add-hook 'LaTeX-mode-hook 'flyspell-mode)
(setq reftex-plug-into-AUCTeX t
reftex-enable-partial-scans t)
(setq reftex-use-external-file-finders t)
(setq reftex-external-file-finders
'(("tex" . "kpsewhich -format=.tex %f")
("bib" . "kpsewhich -format=.bib %f")))
;; ---------------------
;; --------------------- PHP
(setq load-path
(append '("~/elisp") load-path ))
(add-to-list 'auto-mode-alist '("\\.php3?\\'" . c-mode))
;; ---------------------- Start flyspell automatically
(setq ispell-dictionary "british")
(setq ispell-local-dictionary "british")
(setq flyspell-default-dictionary "british")
(defun turn-on-flyspell-mode()
(flyspell-mode t)
)
(add-hook 'latex-mode-hook 'turn-on-flyspell-mode)
(add-hook 'tex-mode-hook 'turn-on-flyspell-mode)
(add-hook 'html-mode-hook 'turn-on-flyspell-mode)
(setq minibuffer-max-depth nil)
- Emacs 'destroys' latex files, Pseudo, 2007/01/16
- Re: Emacs 'destroys' latex files, Maarten Bergvelt, 2007/01/16
- Re: Emacs 'destroys' latex files,
Pseudo <=
- Re: Emacs 'destroys' latex files, Maarten Bergvelt, 2007/01/16
- Re: Emacs 'destroys' latex files, Nikos Apostolakis, 2007/01/16
- Message not available
- Re: Emacs 'destroys' latex files, Pseudo, 2007/01/17
- Re: Emacs 'destroys' latex files, Nikos Apostolakis, 2007/01/17
- Message not available
- Re: Emacs 'destroys' latex files, Pseudo, 2007/01/17
Re: Emacs 'destroys' latex files, David Kastrup, 2007/01/16
Re: Emacs 'destroys' latex files, Peter Dyballa, 2007/01/16
Re: Emacs 'destroys' latex files, Stefan Monnier, 2007/01/17