[OS X TeX] Configuring Emacs 21.3.50 for AUC-TeX on OS X 10.3

Massimiliano Gubinelli mgubi at mac.com
Fri Nov 26 17:57:55 CET 2004


On 26 Nov 2004, at 17:12, Bruno Voisin wrote:

> Le 26 nov. 04, à 16:37, David Firth a écrit :
>
>> On 27 Nov 2004, at 1:46 AM, Bruno Voisin wrote:
>>
>>> - Is there a way of replacing the default Courier font by Monaco?
>>
>> Yes, something along the lines of
>>
>> (setq default-frame-alist '((font .  
>> "-apple-monaco-*-14-*-mac-roman")))
>>
>> in your .emacs should do the trick.
>
> It works, but only in the sense that it affects all windows (or should  
> I say frames) opened after the first one. It doesn't affect this first  
> window opened when Enhanced Carbon Emacs is launched.
>


This is my setup (with apple-courier fonts which are not bad)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;;;;;;;
;;; Customize LaTeX parameters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;;;;;;;

;; Directories containing the sites TeX macro files and style files
(setq TeX-macro-global '("/usr/local/teTeX/share/texmf/tex/"
			 "/usr/local/teTeX/share/texmf.os/tex/"
			 "/usr/local/teTeX/share/texmf.local/tex/"
			 "~/Library/texmf/tex/"))

;; A4 default paper
(setq TeX-a4-paper t)

;; List of available printers (i'm too lazy to change this)
(setq TeX-printer-list '(("brother")
			 ("franconi-printer")))

;; Preferred view format: dvi, ps, pdf, pdfs
(setq TeX-view-format "dvi")

;; PDF previewer
;(setq pdf-previewer-program (if darwinp
;				  "open "
;				"acroread"))
(setq pdf-previewer-program (if darwinp
				  "open -a 'TeXniscope' "
				"acroread"))

;; PS previewer
(setq ps-previewer-program (if darwinp
				 "open -a 'TeXniscope'"
			       "gv"))

;; DVI previewer
;; (setq dvi-previewer-program (if darwinp
;; 				  "open -a 'MacDviX'"
;; 				"xdvi"))
(setq dvi-previewer-program (if darwinp
				  "open -a TeXniscope"
				"xdvi"))




;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;;;;;;;
;;; End
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;;;;;;;


(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-master nil)
  '(case-fold-search t)
  '(current-language-environment "Latin-1")
  '(default-input-method "latin-1-prefix")
  '(global-font-lock-mode t nil (font-lock))
  '(ispell-program-name "/sw/bin/ispell")
  '(show-paren-mode t nil (paren))
  '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify))))
(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.
  '(default ((t (:stipple nil :background "black" :foreground "light  
cyan" :inverse-video nil :box nil :strike-through nil :overline nil  
:underline nil :slant normal :weight normal :height 135 :width normal  
:family "apple-courier"))))
  '(cursor ((t (:background "LightBlue1"))) t)
  '(mouse ((t (:background "black"))) t)
  '(paren-face-match ((((class color)) (:background "gray30"))))
  '(paren-face-match-light ((((class color)) (:background "gray20")))))


------------------------------------------------
in the custom-set-variable command there is the font setup. If you have  
already a custom-set-variable then just add the line corresponding to  
font.

Without messing too much with .emacs you can customize emacs using the  
menu "Options"-"Customize Emacs" and try to get acquainted with the  
weird emacs graphics-like interface....


As for what concern the icon I think Enrico will add it to its next  
release (at least he told me that once.)

best,
Massimiliano







> Bruno Voisin
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list