all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to point at (latex) compiling error line ?
@ 2003-03-26 21:35 Pierre Albarede
  2003-03-26 23:09 ` David Kastrup
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Albarede @ 2003-03-26 21:35 UTC (permalink / raw)


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)
        ))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to point at (latex) compiling error line ?
  2003-03-26 21:35 how to point at (latex) compiling error line ? Pierre Albarede
@ 2003-03-26 23:09 ` David Kastrup
  2003-03-27 13:08   ` Pierre Albarede
  0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2003-03-26 23:09 UTC (permalink / raw)


Pierre Albarede <albanews@free.fr> writes:

> 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)

You are obviously using AUCTeX.  AUCTeX can jump to the next error
when you type C-c ` but it would appear that you have overwritten the
commands that it uses for that purpose.

Why?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to point at (latex) compiling error line ?
  2003-03-26 23:09 ` David Kastrup
@ 2003-03-27 13:08   ` Pierre Albarede
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre Albarede @ 2003-03-27 13:08 UTC (permalink / raw)


David Kastrup:
> 
> You are obviously using AUCTeX.  AUCTeX can jump to the next error
> when you type C-c ` but it would appear that you have overwritten the
> commands that it uses for that purpose.
> 

Right. You solve my problem. I am so stupid sometimes. Thanks alot.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-27 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-26 21:35 how to point at (latex) compiling error line ? Pierre Albarede
2003-03-26 23:09 ` David Kastrup
2003-03-27 13:08   ` Pierre Albarede

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.