[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] 11.84; TeX-next-error in PDFLaTeX brings up supp-pdf.tex
From: |
jay . p . belanger |
Subject: |
[Bug-AUCTeX] 11.84; TeX-next-error in PDFLaTeX brings up supp-pdf.tex |
Date: |
Thu, 26 Apr 2007 21:16:25 -0500 |
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. If the bug (or problem) 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.
------------------------------------------------------------------------
There's nothing new here; this seems to be a bug being discussed on the
AUCTeX and AUCTeX-devel mailing lists. But I wanted to add some information,
and I didn't want the bug-AUCTeX mailing list to feel left out.
Running TeXLive 2007 on Gentoo GNU/Linux, the problem appears when
running pdflatex on a file, but only if graphicx is being loaded.
(It doesn't matter if graphicx is given the pdftex option or not.)
Here's how to produce the problem:
Start emacs with "emacs -Q"
Load auctex.el
Open a LaTeX file which loads graphicx and contains an error, such as:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\[ x $
\end{document}
Change to PDF mode: C-cC-tC-p
LaTeX it: C-cC-cRET
Go to error: C-c `
The bottom window will contain the correct *TeX help* file, but the top
window will contain supp-pdf.tex instead of the original LaTeX file.
I don't know if it's relevant, but when graphicx is loaded, supp-pdf.tex
is loaded after the aux file.
>From the output buffer:
Without graphicx:
(/misc/attic/texlive/2007/texmf-dist/tex/latex/base/size10.clo)) (./cc.aux)
! Display math should end with $$.
<to be read again>
l.7 \[ x $
With graphicx:
...
(/misc/attic/texlive/2007/texmf/tex/latex/config/graphics.cfg)
(/misc/attic/texlive/2007/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(./cc.aux) (/misc/attic/texlive/2007/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
)
! Display math should end with $$.
<to be read again>
l.7 \[ x $
Emacs : GNU Emacs 22.0.98.3 (i686-pc-linux-gnu, GTK+ Version 2.10.9)
of 2007-04-25 on localhost
Package: 11.84
current state:
==============
(setq
AUCTeX-date "2007-01-12"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("style" "auto" "/home/belanger/.TeX/style"
"/home/belanger/.TeX/style" "/misc/attic/Comics/style"
"/misc/attic/Comics/style" "/home/belanger/.TeX/auto"
"/home/belanger/.TeX/auto" "/misc/attic/Comics/auto"
"/misc/attic/Comics/auto"
"/home/belanger/.emacs.d/elisp/auctex/auctex/style"
"/home/belanger/.emacs.d/elisp/auctex/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"))
)
- [Bug-AUCTeX] 11.84; TeX-next-error in PDFLaTeX brings up supp-pdf.tex,
jay . p . belanger <=