help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to point at (latex) compiling error line ?


From: Pierre Albarede
Subject: how to point at (latex) compiling error line ?
Date: Wed, 26 Mar 2003 22:35:45 +0100
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

Hello.

I would like emacs to point at any latex compiling error line, right in the source buffer. So far (see .emacs below), I only get edition in the log window, with ugly format (and after answering E to tex).

Same problem with any compiler providing error line number.

Thanks for hints.

GNU Emacs 21.3.50.4 (powerpc-apple-darwin6.2) of 2002-12-01 on marx.local.

% cat .emacs
[...]
;; The LaTeX command menu, completely customisable
(setq TeX-command-list
      (list
       (list "TeX" "tex '\\nonstopmode\\input %t'" 'TeX-run-TeX nil t)
;;       (list "LaTeX" "%l '\\nonstopmode\\input{%t}'" 'TeX-run-LaTeX nil t)
       (list "LaTeX" "%l '\\input{%t}'" 'TeX-run-interactive nil t)
       (if TeX-a4-paper
           (list "Postscript" "dvips -ta4 %d -o %f " 'TeX-run-command t nil)
         (list "Postscript" "dvips %d -o %f " 'TeX-run-command t nil))
       (list "PDF" "dvipdf %d %s.pdf" 'TeX-run-command t nil)
       (list "PDF (scalable)" (concat dvipdf-scalable-program " %d %s.pdf")
             'TeX-run-command t nil)

       (list "View" "%s" 'TeX-run-view-command nil nil)
       (list "Print" "%p %r " 'TeX-run-command t nil)
       (list "Queue" "%q" 'TeX-run-background nil nil)
       (list "Convert to HTML" "htlatex %t;open %s.html" 'TeX-run-command t nil)
       (list "BibTeX" "bibtex %s" 'TeX-run-BibTeX nil nil)
       (list "Index" "makeindex %s" 'TeX-run-command nil t)
       (list "Check" "lacheck %s" 'TeX-run-compile nil t)
       (list "Spell" "<ignored>" 'TeX-run-ispell-on-document nil nil)
       (list "Makeinfo" "makeinfo %t" 'TeX-run-compile nil t)
       (list "Makeinfo HTML" "makeinfo --html %t" 'TeX-run-compile nil t)
       (list "AmSTeX" "amstex '\\nonstopmode\\input %t'" 'TeX-run-TeX nil t)
(list "pdfLaTeX & view" "pdflatex '\\nonstopmode\\input{%t}';open %s.pdf" 'TeX-run-LaTeX nil t)
       (list "Other..." "" 'TeX-run-command t t)
       ))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]