Hi all,
I wonder why the following has not been reported yet.
I'm working with emacs (trunk) and AUC-TeX (CVS)
and TeXLive (latest version) under Windows.
The TeXLive banners read like this :
Running `LaTeX' on `parametric-agents' with ``pdflatex --synctex=1 -interaction=nonstopmode "\input" "parametric-agents.tex"''
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/W32TeX)
(for the W32 version). Whenever I ask for TeX-next-error, AUC-TeX tries
to parse an error on the banner because of the '(TeX Live 2012/W32TeX)'
part.
I have found only one quick and dirty way to avoid it by applying this patch:
diff -u -r1.292 tex-buf.el
--- tex-buf.el 26 Nov 2012 19:56:21 -0000 1.292
+++ tex-buf.el 17 Jan 2013 15:42:06 -0000
@@ -1537,7 +1537,10 @@
t))
;; New file -- Push on stack
- ((match-beginning 3)
+ ((and (match-beginning 3)
+ (string-match "\\(Web2C 20\\|TeX Live 20\\)" (TeX-match-buffer 3)
))
+ t)
+ ((match-beginning 3)
(let ((file (TeX-match-buffer 3))
(end (match-end 3)))
;; Strip quotation marks and remove newlines if necessary
If you know of a better way, please let me know.
Regards,
--
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------