KTUGFaq
KTUG FAQ
Karnes/LyX/XeTeX&value=LaTeX/WordIndex › 트타逃昉청歐&value=DVI드라이버 › WinEdtTip/ȣԷ › 占쏙옙占쏙옙占쏙옙占쏙옙占 › TeXġϱ&value=TeX%BC%B3%C4%A1%C7%CF%B1%E2 › AUCTeX
1 ѱLaTeX Ұ AUCTeX ¶
from ѱLaTeX by
|
2.1.1 hermian ¶
2006-06-30 update _emacs NTEmacsԴϴ.
- DviOut InverseSearch/FowardSearch
- NTEmacs#s-6.1 DviOut
- NTEmacs#s-6.2 NTEmacs (Ʒ ȯϿ )
;;=========================================================== ;; 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))