\\G{\([^}]*\)} -> \1
Cocoa Emacsに同梱する場合.
${DIR} は /path/to/nextstep.mew-6.5.31 以前で stunnel-4.39 以降を使う場合は mew-ssl.el の書き換えが必要(→Computer/OpenSource/Mew).
./configure --prefix=/${DIR}/Emacs.app/Contents/MacOS \ --with-emacs=/${DIR}/Emacs.app/Contents/MacOS/Emacs \ --with-elispdir=/${DIR}/Emacs.app/Contents/Resources/site-lisp/mew \ --with-etcdir=/${DIR}/Emacs.app/Contents/Resources/etc/mew \ --localstatedir=/${DIR}/Emacs.app/Contents/Resources/var \ --infodir=/${DIR}/Emacs.app/Contents/Resources/info \ --mandir=/${DIR}/Emacs.app/Contents/Resources/man $ make && make install-jinfo && make install
Cocoa Emacsに同梱する場合.
makefileを次のように書き換える.${DIR} は /path/to/nextstep.
PREFIX = /${DIR}/Emacs.app/Contents/Resources EMACS = /${DIR}/Emacs.app/Contents/MacOS/Emacs EMACSDIR = ${PREFIX}
$ make install && make install-info
`Symbol's value as variable is void: last-command-char'のエラーが出る場合は,Emacs.app/Contents/Resources/site-lisp/yatex/-.el中の`last-command-char'を`last-command-event'に書き換える.
Emacs 22 と Emacs 23 を両方使う場合(Carbon Emacs と Cocoa Emacs など).
;; ~/.emacs.d/init.el (cond ((string-match "GNU Emacs 23\\." (emacs-version)) (load "~/.emacs.d/.emacs23.el")) ((string-match "GNU Emacs 22\\." (emacs-version)) (load "~/.emacs.d/.emacs22.el")))
;; ~/.emacs.d/.emacs23.el ; Japanese, UTF8 (set-language-environment 'Japanese) (prefer-coding-system 'utf-8) ; Shift (mac-add-key-passed-to-system 'shift) ; Command-Key and Option-Key (setq ns-command-modifier (quote meta)) (setq ns-alternate-modifier nil) ; YaTeX-mode (setq auto-mode-alist (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) ; Mew (load-file "~/.mew.el") (autoload 'mew "mew" nil t) (autoload 'mew-send' "mew" nil t)
他にフォントの設定が必要.