KTUGFaq
KTUG FAQ
占쏙옙占쏙옙占 › CustomBib › LaTeXSymbols&value=WinEdtTip › Yhchoe/ġ̵&value= › KTUGDocumentationProject&value=迬 › AUCTeX
1 ѱLaTeX Ұ AUCTeX ¶
from ѱLaTeX by
|
2 ¶
~/.emacs Ͽ ߰ϸ AUCTeX
Ȱ ִ. ڼ Ʒ Tips .
(setq-default TeX-master nil) (setq TeX-auto-save t) (setq TeX-parse-self t)
3 Ű ¶
- C-c C-c compile
- C-c C-r compile region
- C-c C-b compile buffer
- C-c C-e insert environment
- C-c C-m insert macro
- C-c C-f font
- C-c ; comment region
- C-c % comment paragraph
4.1.1 hermian ¶
2006-06-30 update _emacs NTEmacsԴϴ.
- DviOut InverseSearch/FowardSearch
- NTEmacs#s-6.1 DviOut
- NTEmacs#s-6.2 NTEmacs (Ʒ ȯϿ )
;;; ============================================================= ;;; Korean Language Environment ;;; ============================================================= ;; General korean langauge environment ;;(set-language-environment "Korean") (set-default-coding-systems 'utf-8) (set-keyboard-coding-system 'utf-8) (setq coding-system-for-read 'utf-8) ;;; ============================================================= ;;; Input Method ;;; ============================================================= ;; C-SPC or C-\ for toggling input method. ;; F9 for switching with hanja input, C-F9 for switching with symbol input ;; in Korean input method. ;; C-U C-SPC or C-U C-\ for other input method. ;; For Multilingual Input Method Package installed on Windows 95/NT ;; If your default keyboard type is 3 bulsik, uncomment following line. ;; (setq default-korean-keyboard "3") ;; Redefinition from `toggle-korean-input-method ' to `toggle-input-method' ;;(global-set-key [?\S- ] 'toggle-input-method) ;; Selection of major korean input method determines Korean keyboard type. ;; Verbose mode of hangul input method is needless for most Korean users. (add-hook 'input-method-activate-hook (function (lambda () (cond ((string= current-input-method "korean-hangul") (setq default-korean-keyboard "" input-method-verbose-flag nil input-method-highlight-flag nil)) ((string= current-input-method "korean-hangul3") (setq default-korean-keyboard "3" input-method-verbose-flag nil input-method-highlight-flag nil)))))) ;; (add-hook ;; 'input-method-inactivate-hook ;; (function (lambda () ;; (if (or (string= current-input-method "korean-hangul") ;; (string= current-input-method "korean-hangul3")) ;; (setq input-method-verbose-flag 'default ;; input-method-highlight-flag t))))) ;;=========================================================== ;; AUCTeX Setting ;;=========================================================== (setq TeX-auto-save t) (setq TeX-parse-self t) ;; If use \include or \input, for multi-file document. (setq-default TeX-master nil) ;(add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) ;(add-hook 'LaTeX-mode-hook 'turn-on-reftex) (setq reftex-plug-into-AUCTeX t) ;;settings for bib-cite.el ;;************************** ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (autoload 'turn-on-bib-cite "bib-cite") ;(add-hook 'LaTeX-mode-hook 'turn-on-bib-cite) ;;(when (eq system-type 'windows-nt) ;; (require 'tex-mik)) (add-hook 'LaTeX-mode-hook (function (lambda () ;; bib-cite (turn-on-auto-fill) (turn-on-reftex) (turn-on-bib-cite) (outline-minor-mode) (TeX-source-specials-mode 1) ;; PDF emacs ڵ PDF mode onؼ ;; pdflatex ϰ ȴ. ̰ disalbeѴ. ;; ʴ´. ;; 2006-07-01 ;; Local Variables TeX-PDF-mode: nil ߰Ѵ. (TeX-PDF-mode nil) (add-to-list 'TeX-expand-list '("%a" file "pdf" t)) ;; (add-to-list 'TeX-command-list ;; (list "LaTeX" "latex --src-specials \\nonstopmode\\input{%s}" ;; 'TeX-run-LaTeX nil t)) (add-to-list 'TeX-command-list (list "TeXify" "texify --src %t" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "Ghostview" "C:\\PROGRA~1\\Ghostgum\\gsview\\gsview32.exe %f" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "dviPS" "dvips %d -o %f" 'TeX-run-command nil t)) ;; (add-to-list 'TeX-command-list ;; (list "dvipdfm" "dvipdfmx %d" 'TeX-run-command nil t)) ;; (add-to-list 'TeX-command-list ;; (list "BibTeX" "bibtex %s" 'TeX-run-BibTeX nil nil)) ;; (add-to-list 'TeX-command-list ;; (list "Index" "makeindex %s" 'TeX-run-command nil t)) ;; (add-to-list 'TeX-command-list ;; (list "dviPS-landscape" "dvips %d -t landscape -o %f" 'TeX-run-command nil t)) ;; (add-to-list 'TeX-command-list ;; (list "Check" "lacheck %s" 'TeX-run-compile nil t)) ;; (add-to-list 'TeX-command-list ;; (list "GS PDFView" "C:\\gs\\Ghostgum\\gsview\\gsview32.exe %a" 'TeX-run-command nil t)) ;; (add-to-list 'TeX-command-list ;; (list "Acrobat" "C:\\PROGRA~1\\Adobe\\ACROBA~2.0\\Reader\\AcroRd32.exe %a" 'TeX-run-command nil t)) ;;(list "Acrobat" "AcroRd32.exe %a" 'TeX-run-command nil t) (add-to-list 'TeX-command-list (list "Foxit" "C:\\PROGRA~1\\FOXITS~1\\FOXITR~1\\FOXITR~1.EXE %a" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "DVIPDFMx" "dvipdfmx %d" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "dh-Index" "makeindex-dhucs -s dhucs %s" 'TeX-run-command nil t)) ;; (add-to-list 'TeX-command-list ;; (list "DVISearch" "yap.exe -1 -s %n%b %d" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "DVISearch" "c:\\TeX\\dviout\\dviout.exe -1 %d # %n %b" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "DviOut" "c:\\TeX\\dviout\\dviout.exe %d" 'TeX-run-command nil t)) ;;; key-binding (define-key LaTeX-mode-map [f9] 'do-LaTeX) (define-key LaTeX-mode-map [f10] 'do-DVISearch) (define-key LaTeX-mode-map [f11] 'do-DVIPDFMx) ))) (defun do-LaTeX () "LaTeX the curent file." (interactive) (TeX-command "LaTeX" 'TeX-master-file)) (defun do-DVISearch () "Forward search LaTeX the current file position." (interactive) (TeX-command "DVISearch" 'TeX-master-file)) (defun do-DVIPDFMx () "Running DVIPDFMx" (interactive) (TeX-command "DVIPDFMx" 'TeX-master-file))