看板 Editor 關於我們 聯絡資訊
大家好 小弟又碰到一個 emacs的問題: 使用 TeX-mode 時 可以 C-c C-c 選擇 LaTeX 進行 compile 而且錯誤時 會回報錯誤訊息 但是卻不能使用 PDFLaTeX google後 得到了一個解決方案 ;; AUC-Tex ; Defining a couple of additional commands (add-hook 'LaTeX-mode-hook (function (lambda () (add-to-list 'TeX-command-list (list "PDFLaTeX" "pdflatex %s.tex" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "ViewPDF" "xpdf %s.pdf" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "DVIPS" "dvips -o %s.ps %s.dvi" 'TeX-run-command nil t)) (add-to-list 'TeX-command-list (list "Clean" "rm %s.log %s.aux %s.out %s.idx" 'TeX-run-command nil t)) ))) ref: http://old.pubhealth.ku.dk/bsa/software/applications/index.html 但是 如果 tex 中有問題,emacs並不會回應或停止compile 不知道有沒有人 有看過解決方案呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.243.226
kosinyj:版本:emacs-snapshot, auctex (11.83-7.3) 04/02 15:34