Remember to cover the basics, that is, what you expected to happen and what in fact did happen.
Be sure to consult the FAQ section in the manual before submitting a bug report. In addition check if the bug is reproducable with an up-to-date version of AUCTeX. So please upgrade to the version available from http://www.gnu.org/software/auctex/ if your installation is older than the one available from the web site. If the bug is triggered by a specific (La)TeX file, you should try to produce a minimal sample file showing the problem and include it in your report. Your bug report will be posted to the AUCTeX bug reporting list. ------------------------------------------------------------------------ Dear Sirs,I recently moved to a new laptop running XP with SP3 and installed the precompiled version emacs-23.1-bin-i386.zip from ftp://ftp.gnu.org/gnu/emacs/windows/ to C:\Programme\emacs\emacs-23.1. Thereafter, using cygwin, I installed auctex-11.85.zip from http://www.gnu.org/software/auctex/download-for-windows.html
Everything worked fine from the scratch until I had an error in a LaTeX file with a space in the full path name. Invoking TeX-next-error via C-c `, my emacs wasn't able to find the LaTeX source file to position the cursor to the error. With the LaTeX file being "c:/Sync/Lap09Install/a b/xx.tex", AucTeX opened a buffer instead of the LaTeX source file that appeared in the buffer list in the form: . a 0 LaTeX c:/Sync/Lap09Install/a b/"c:/Sync/Lap09Install/a
I traced the problem back to TeX-parse-error. Analyzing the file xx_output enclosed, in the first pass of the while loop, "MiKTeX 2.8" was pushed in line 57 of TeX-parse-error to TeX-error-file. In the third pass, "\"c:\\Sync\\Lap09Install\\a" was pushed instead of the full file name or whatever was expected to TeX-error-file, and in the fourth pass "\"C:\\Programme\\MiKTeX", which is also incomplete. Thus, I guess, the problem of not correctly identifying the full file names is somewhere in the regexp starting at line 6.
Unfortunately, the regexp withstood my attempts of a quick and dirty modification so that I would be really grateful for help. In case of any addition information needed, please do not hesitate to contact me.
Kind regards,
Peter Pichler
Emacs : GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
of 2009-07-30 on SOFT-MJASON
Package: 11.85
current state:
==============
(setq
AUCTeX-date "2008-02-10"
window-system 'w32
LaTeX-version "2e"
TeX-style-path '("style" "auto"
"c:/Dokumente und Einstellungen/pichler/Eigene
Dateien/bibtex/style" "c:/Dokumente und Einstellungen/pichler/Eigene
Dateien/bibtex/auto"
"c:/Programme/emacs/emacs-23.1/site-lisp/auctex/style"
"c:/Programme/emacs/emacs-23.1/var/auctex")
TeX-auto-save nil
TeX-parse-self nil
TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil
(plain-tex-mode ams-tex-mode texinfo-mode) :help
"Run plain TeX")
("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help "Run LaTeX")
("Makeinfo" "makeinfo %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with HTML output")
("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
("ConTeXt" "texexec --once --texutil %(execopts)%t"
TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
(context-mode) :help "Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
"Run BibTeX")
("View" "%V" TeX-run-discard t t :help "Run Viewer")
("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help
"View the printer queue" :visible TeX-queue-command)
("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
"Generate PostScript file")
("Index" "makeindex %s" TeX-run-command nil t :help
"Create index file")
("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
:help "Check LaTeX file for correctness")
("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
t :help "Spell-check the document")
("Clean" "TeX-clean" TeX-run-function nil t :help
"Delete generated intermediate files")
("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
"Delete generated intermediate and output files")
("Other" "" TeX-run-command t t :help
"Run an arbitrary command")
)
)
xx.tex
Description: TeX document
Running `LaTeX' on `xx' with ``latex -interaction=nonstopmode "\input"
"xx.tex"''
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation,
german, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
("c:\Sync\Lap09Install\a b\xx.tex"
("C:\Programme\MiKTeX 2.8\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Programme\MiKTeX 2.8\tex\latex\base\size10.clo"))
("c:\Sync\Lap09Install\a b\xx.aux")
! Missing $ inserted.
<inserted text>
$
l.4 right_
x
! Missing $ inserted.
<inserted text>
$
l.5 \end{document}
[1] ("c:\Sync\Lap09Install\a b\xx.aux") )
(see the transcript file for additional information)
Output written on xx.dvi (1 page, 272 bytes).
Transcript written on xx.log.
LaTeX exited abnormally with code 1 at Wed Sep 09 13:51:46
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
