[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] AucTeX and Texlive 2009
From: |
Guilhem Bourrié |
Subject: |
Re: [AUCTeX] AucTeX and Texlive 2009 |
Date: |
Thu, 31 Dec 2009 16:24:38 +0100 |
Hi Pierfranco,
thank you very much.
I did the modifications, and accordingly the customization.el file was
modified as follows:
(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.
'(TeX-macro-global (quote ("/usr/local/texlive/2009/texmf-dist/
bibtex/bst/" "/usr/local/texlive/2009/texmf-dist/tex/" "/usr/local/
texlive/2009/../texmf-local/bibtex/bst/" "/usr/local/texlive/2009/../
texmf-local/tex/" "/usr/local/texlive/2009/texmf/tex/" "/usr/local/
texlive/2009/texmf-var/tex/")))
'(aquamacs-additional-fontsets nil t)
'(aquamacs-customization-version-id 190 t)
'(current-language-environment "English")
'(global-font-lock-mode t nil (font-lock))
'(mac-option-modifier nil)
'(one-buffer-one-frame-mode t nil (aquamacs-frame-setup))
'(setq-default case-fold-search)
'(text-mode-hook (quote ((lambda nil (auto-fill-mode 1)) turn-on-
auto-fill)))
'(transient-mark-mode t))
(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.
)
;; for compatibility with older Aquamacs versions
(defvar aquamacs-140-custom-file-upgraded t)
(unless (fboundp 'auto-detect-longlines) (defun auto-detect-
longlines () t))
Le 31 déc. 09 à 14:53, Pierfranco Minsenti a écrit :
However, Aquamacs still uses the Texlive2008:
Running `LaTeX' on `fig' with ``pdflatex --file-line-error -synctex=1
-interaction=nonstopmode "\input" fig.tex''
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
file:line:error style messages enabled.
%&-line parsing enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
dumylang, nohyphenation, german-x-2008-06-18, ngerman-x-2008-06-18,
ancientgreek, ibycus, arabic, basque, bulgarian, catalan, pinyin,
coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi,
finnish, french, galician, german, ngerman, monogreek, greek,
hungarian, icelandic, indonesian, interlingua, irish, italian, latin,
lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish,
portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian,
spanish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh,
loaded.
(./fig.tex (/usr/local/texlive/2008/texmf-dist/tex/latex/base/
article.cls
etc.
I wonder if the .emacs file should not be modified, or inactivated.
My .emacs file is the following:
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/
paste it!
;; Your init file should contain only one such instance.
'(setq-default case-fold-search nil)
'(current-language-environment "English")
'(global-font-lock-mode t nil (font-lock))
'(text-mode-hook (quote ((lambda nil (auto-fill-mode 1)) turn-on-
auto-fill)))
'(transient-mark-mode t))
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or cut/paste
it!
;; Your init file should contain only one such instance.
)
(setq default-major-mode 'text-mode)
;;(line-number-mode 0)
(setq text-mode-hook 'turn-on-auto-fill)
(setq-default transient-mark-mode t)
(setq tex-dvi-view-command "xdvik")
(setq tex-dvi-print-command "dvips")
(setq mac-keyboard-text-encoding 'kTextEncodingISOLatin1)
(setq user-mail-address "address@hidden")
;;Flyspell
;;(set-default 'ispell-local-dictionary "francais")
;;(require 'flyspell)
;;(add-hook 'text-mode-hook (lambda()(flyspell-mode 1)))
;;(setq ispell-skip-sgml t)
;;(global-set-key [f4] 'flyspell-mode)
;;LaTex
;; Add auto-fill for tex files
(add-hook 'text-mode-hook
'(lambda()(auto-fill-mode 1)))
;; Allow to shift auto-fill mode on/off easily
;;(global-set-key [f6] 'auto-fill-mode)
When I try to customize the .emacs, I do not succeed, and all
modifications are written in the customization.el file.
How can I modify the .emacs by Custom ?
With my best wishes for the new year,
Guilhem Bourrié
Hi Guilhelm,
I am not an expert but if I were you I would try the customization
of AUCTeX.
In this case I would follow this sequence of operations:
1. launch the command: M-x customize-group
2. RET
3. The line Customize group (default emacs):
appears.
type: auctex
4.RET
5. inside the auctex group select using the mouse: TeX File
6. inside the TeX File group select using the mouse: Tex Macro Global
7. Click on the gray button to Show values were they not visible.
In my case, since I still use TeXLIve 2007 these are the values I
find:
INS DEL /usr/local/texlive/2007/texmf-dist/bibtex/bst/
INS DEL /usr/local/texlive/2007/texmf-dist/tex/
INS DEL /usr/local/texlive/2007/texmf/tex/
INS DEL /usr/local/texlive/2007/../texmf-local/bibtex/bst/
INS DEL /usr/local/texlive/2007/../texmf-local/tex/
Probably you will find similar values relating to your TeXLive 2008
installation.
8. Manually correct the 5 paths of the directores in the strings
visible in the lines beneath by replacing in the 5 lines the old
paths with the paths of the new directories of the TeXLive 2009
installation.
Before doing the correction: it can be safe to copy in a text file
the values relating to the 2008 installation, so as to be able to go
back to the present situation.
9. At the end: click on the State gray button and select: Save for
future sessions.
Hope this is enough and helpful.
Please post a message just to say if you have found this useful and
in this case what has been the result.
Best wishes
pierfranco